Fix x86, x86_64 fmax, fmin sNaN handling, add tests (bug 20947).
[glibc.git] / ChangeLog
blob3f7e5d6e2002e9b5d86693d425a2faaa12636f37
1 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20947]
4         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5         either is a signaling NaN.
6         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7         follow fmaxl more closely.
8         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9         when either is a signaling NaN.
10         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
14         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
15         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
16         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
17         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
18         (fmin_test_data): Likewise.
20 2016-12-15  Andreas Schwab  <schwab@suse.de>
22         * support/support_test_main.c (support_test_main): Don't shadow
23         file-local variable test_pid.
25 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #20947]
28         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
29         either is a signaling NaN.
30         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
32 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
34         [BZ #20947]
35         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
36         when either is a signaling NaN.
37         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
39         * bits/long-double.h: New file.
40         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
41         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
42         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
43         * sysdeps/mips/bits/long-double.h: Likewise.
44         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
45         * math/Makefile (headers): Add bits/long-double.h.
46         * misc/sys/cdefs.h: Include <bits/long-double.h>.
47         * stdlib/strtold.c: Include <bits/long-double.h> instead of
48         <bits/wordsize.h>.
49         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
50         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
51         * math/math.h: Do not include <bits/mathdef.h>.
52         * sysdeps/aarch64/bits/mathdef.h: Remove file.
53         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
54         inclusion.
55         * sysdeps/ia64/bits/mathdef.h: Remove file.
56         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
57         * sysdeps/mips/bits/mathdef.h: Likewise.
58         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59         * sysdeps/s390/bits/mathdef.h: Likewise.
60         * sysdeps/sparc/bits/mathdef.h: Likewise.
61         * sysdeps/x86/bits/mathdef.h: Likewise.
62         * sysdeps/s390/s390-32/bits/wordsize.h
63         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
64         conditional code.
65         * sysdeps/s390/s390-64/bits/wordsize.h
66         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
67         Likewise.
68         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
69         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
70         Likewise.
71         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
72         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
73         Likewise.
74         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
75         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
76         Likewise.
78         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
79         <linux/falloc.h>.
80         (FALLOC_FL_KEEP_SIZE): Remove.
81         (FALLOC_FL_PUNCH_HOLE): Likewise.
82         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
83         (FALLOC_FL_ZERO_RANGE): Likewise.
85 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
87         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
89 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
91         * sysdeps/unix/sysv/linux/renameat.c: New file.
92         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
94         * sysdeps/unix/sysv/linux/rename.c: New file.
95         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
97 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
99         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
100         * string/strtok.c (strtok): Change to tailcall __strtok_r.
101         * string/strtok_r.c (__strtok_r): Optimize for performance.
102         * string/string-inlines.c (__old_strtok_r_1c): New function.
103         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
105 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
107         * math/Makefile (gen-libm-calls): Add w_log1pF.
108         (libm-calls): Remove w_log1pF.
109         * math/w_log1p.c: Remove.
110         * math/w_log1pf.c: Likewise.
111         * math/w_log1pl.c: Likewise.
112         * math/w_log1p_template.c: New file with type-generic
113         implementation based on math/w_log1p.c.
114         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
115         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
117 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
119         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
121 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
123         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
124         kernel version to 4.9.
126 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
128         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
129         ($(inst_libdir)/libm.a): Fix rule to create the target only.
131 2016-12-13  Andreas Schwab  <schwab@suse.de>
133         * sysdeps/powerpc/dl-procinfo.c: Don't define
134         _dl_powerpc_platforms.
135         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
136         constants instead of referencing _dl_powerpc_platforms.
137         (_dl_platform_string): Remove.
139 2016-12-13  Florian Weimer  <fweimer@redhat.com>
141         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
143 2016-12-13  Florian Weimer  <fweimer@redhat.com>
145         * Rules (binaries-shared-tests, binaries-pie-tests)
146         (binaries-static-tests): Link with $(link-extra-libs-tests).
147         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
148         Remove $(link-extra-libs-tests).
150 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
152         * sysdeps/powerpc/powerpc64/multiarch/Makefile
153         (sysdep_routines): Add strncmp_power9.
154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
155         (strncmp): Add __strncmp_power9 to list of strncmp functions.
156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
157         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
158         (strncmp): Add __strncmp_power9 to ifunc list.
159         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
161 2016-12-12  Florian Weimer  <fweimer@redhat.com>
163         [BZ #17252]
164         Add getentropy, getrandom.
165         * stdlib/sys/random.h: New file.
166         (headers): Add it.
167         * stdlib/Makefile (routines): Add getentropy, getrandom.
168         (tests): Add tst-getrandom.
169         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
170         * stdlib/getentropy.c: New file.
171         * stdlib/getrandom.c: Likewise.
172         * stdlib/tst-getrandom.c: Likewise.
173         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
174         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
175         * manual/crypt.texi (Unpredictable Bytes): New section.
176         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
177         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
178         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
190         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
191         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
193         Likewise.
194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
195         Likewise.
196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
209 2016-12-10  Florian Weimer  <fweimer@redhat.com>
211         [BZ #20956]
212         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
213         as additional compiler barriers.
214         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
215         (fn2, do_test): Declare with external linkage.
216         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
217         (do_test): Declare with external linkage.
218         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
219         (do_test): Declare with external linkage.
220         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
221         (do_test): Declare with external linkage.
223 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
225         * support/support_test_main.c (support_test_main): Use correct
226         timeout.
228 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
229             Florian Weimer  <fweimer@redhat.com>
231         [BZ #16421]
232         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
233         and __u6_addr32 members.
234         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
235         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
236         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
237         Use __u6_addr32.
238         * inet/tst-checks.c: Use <support/test-driver.c>
239         * inet/tst-checks-posix.c: New file.
240         * inet/Makefile (tests): Add it.
241         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
243 2016-12-09  Florian Weimer  <fweimer@redhat.com>
245         New subdirectory support for build and test infrastructure.
246         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
247         setting install-lib.
248         * Makeconfig (link-extra-libs-tests): Define.
249         (+link-pie-tests, +link-static-tests, +link-tests): Use
250         link-extra-libs-tests.
251         (rpath-dirs, all-subdirs): Add support.
252         (built-modules): Add libsupport.
253         (libsupport): Define.
254         * support: New directory.
255         * support/Makefile: New file.
256         * support/check.c: Likewise.
257         * support/check.h: Likewise.
258         * support/delayed_exit.c: Likewise.
259         * support/ignore_stderr.c: Likewise.
260         * support/oom_error.c: Likewise.
261         * support/set_fortify_handler.c: Likewise.
262         * support/support.h: Likewise.
263         * support/temp_file-internal.h: Likewise.
264         * support/temp_file.c: Likewise.
265         * support/test-driver.c: Likewise.
266         * support/test-driver.h: Likewise.
267         * support/test_main.c: Likewise.
268         * support/write_message.c: Likewise.
269         * support/xasprintf.c: Likewise.
270         * support/xcalloc.c: Likewise.
271         * support/xmalloc.c: Likewise.
272         * support/xpthread_barrier_destroy.c: Likewise.
273         * support/xpthread_barrier_init.c: Likewise.
274         * support/xpthread_barrier_wait.c: Likewise.
275         * support/xpthread_cancel.c: Likewise.
276         * support/xpthread_check_return.c: Likewise.
277         * support/xpthread_cond_wait.c: Likewise.
278         * support/xpthread_create.c: Likewise.
279         * support/xpthread_detach.c: Likewise.
280         * support/xpthread_join.c: Likewise.
281         * support/xpthread_mutex_lock.c: Likewise.
282         * support/xpthread_mutex_unlock.c: Likewise.
283         * support/xpthread_sigmask.c: Likewise.
284         * support/xpthread_spin_lock.c: Likewise.
285         * support/xpthread_spin_unlock.c: Likewise.
286         * support/xrealloc.c: Likweise.
287         * support/xsignal.h: Likewise.
288         * support/xthread.h: Likewise.
289         * support_tempfile.h: Likewise.
290         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
291         (TEST_DATA_LIMIT): Remove unused macro.
292         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
293         <support/check.h>.
294         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
295         (ignore_stderr, set_fortify_handler): Remove.  Now in
296         <support/support.h>.
297         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
298         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
299         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
300         (xpthread_join): Remove.  Now in <support/xthread.h>.
301         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
302         Introduce legacy wrappers.
303         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
304         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
305         (write_message): Remove.
306         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
307         test-skeleton.c.
308         * io/test-open-tmpfile: Likewise.
309         * io/tst-posix_fallocate-common.c: Likewise.
310         * libio/tst-fseek.c: Likewise.
311         * malloc/tst-malloc-backtrace.c: Likewise.
312         * malloc/tst-malloc-fork-deadlock.c: Likewise.
313         * malloc/tst-malloc-thread-exit.c: Likewise.
314         * nptl/tst-cancel7.c: Likewise.
315         * nptl/tst-cleanup0.c: Likewise.
316         * posix/tst-posix_fadvise-common.c: Likewise.
317         * rt/tst-shm.c: Likewise.
318         * time/bug-getdate1.c: Likewise.
319         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
320         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
321         * elf/Makefile (tst-piemod1.so): Link against libsupport.
323 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
325         * Rules [$(run-built-tests) != no] (tests-expected): Add
326         $(tests-printers).
327         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
329 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
331         [BZ #20539]
332         * math/Makefile (install-lib-ldscripts): Add libm.a.
333         (install_subdir): Remove.
334         (install-others): Add.
335         ($(inst_libdir)/libm.a): Add rule for installation as
336         linker script.
337         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
339 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
341         * INSTALL: Regenerated.
342         * Makeconfig: Add comments and whitespace to make the control flow
343         clearer.
344         (+link-printers-tests, +link-pie-printers-tests,
345         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
346         built-rtld-LDFLAGS, link-libc-rpath,
347         link-libc-tests-after-rpath-link,
348         link-libc-printers-tests): New.
349         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
350         link-libc-tests): Use the new variables as required.
351         * Makerules ($(py-const)): New rule.
352         generated: Add $(py-const).
353         * README.pretty-printers: New file.
354         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
355         (others): Depend on $(py-const).
356         (tests): Depend on $(tests-printers-programs) or
357         $(tests-printers-out),
358         as required.  Pass $(tests-printers) to merge-test-results.sh.
359         * manual/install.texi: Add requirements for testing the pretty
360         printers.
361         * nptl/Makefile (gen-py-const-headers, pretty-printers,
362         tests-printers, CFLAGS-test-mutexattr-printers.c
363         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
364         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
365         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
366         * nptl/nptl-printers.py: New file.
367         * nptl/nptl_lock_constants.pysym: Likewise.
368         * nptl/test-cond-printers.c: Likewise.
369         * nptl/test-cond-printers.py: Likewise.
370         * nptl/test-condattr-printers.c: Likewise.
371         * nptl/test-condattr-printers.py: Likewise.
372         * nptl/test-mutex-printers.c: Likewise.
373         * nptl/test-mutex-printers.py: Likewise.
374         * nptl/test-mutexattr-printers.c: Likewise.
375         * nptl/test-mutexattr-printers.py: Likewise.
376         * nptl/test-rwlock-printers.c: Likewise.
377         * nptl/test-rwlock-printers.py: Likewise.
378         * nptl/test-rwlockattr-printers.c: Likewise.
379         * nptl/test-rwlockattr-printers.py: Likewise.
380         * scripts/gen-py-const.awk: Likewise.
381         * scripts/test_printers_common.py: Likewise.
382         * scripts/test_printers_exceptions.py: Likewise.
384 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
386         * scripts/build-many-glibcs.py (Context.__init__): Take strip
387         argument.
388         (Glibc.build_glibc): Strip installed shared libraries if
389         requested.
390         (get_parser): Add --strip option.
391         (main): Update Context call.
393 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
394             Dominik Vogt  <vogt@linux.vnet.ibm.com>
396         [BZ #20847]
397         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
398         array bounds for else branch.
399         (__execvpe): Style fixes.
400         * posix/tst-vfork3.c (run_script): New function.
401         (create_script): Likewise.
402         (do_test): Use run_script internal function.
403         (do_prepare): Use create_script internal function.
405 2016-12-07  Andreas Schwab  <schwab@suse.de>
407         * sysdeps/unix/sysv/linux/x86/elision-conf.h
408         (__elision_available): Don't declare.
409         * sysdeps/unix/sysv/linux/x86/elision-conf.c
410         (__elision_available): Don't define.
411         (elision_init): Don't set __elision_available.
413 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
415         [BZ #20940]
416         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
417         return Inf for arguments Inf and sNaN.
418         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
419         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
420         Likewise.
421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
422         Likewise.
423         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
424         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
425         for arguments Inf and sNaN.  When returning a NaN, compute it by
426         arithmetic on the arguments.
427         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
428         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
429         arguments.
431 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
433         [BZ #20916]
434         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
435         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
436         to compute result.
437         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
438         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
440 2016-12-05  Torvald Riegel  <triegel@redhat.com>
442         * include/atomic.h (__atomic_check_size_ls): New.
443         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
444         atomic_store_release): Use it.
445         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
446         (elision_adapt, ELIDE_LOCK): Use atomics.
447         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
448         atomics and improve code comments.
449         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
450         (__lll_trylock_elision): Likewise.
452 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
454         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
455         programs.
457 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
459         [BZ #20916]
460         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
461         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
462         arguments to compute result.
463         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
464         1 for arguments (sNaN, 0) or (1, sNaN).
465         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
468         [BZ #20919]
469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
470         NaN first argument when raised to power 0.
471         * math/w_pow.c (__pow): Do not check for NaN or zero results from
472         raising to power zero.
473         * math/w_powf.c (__powf): Likewise.
474         * math/w_powl.c (__powl): Likewise.
475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
476         pow (0, 0) or pow (NaN, 0).
478 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
480         [BZ #20918]
481         * configure.ac: Test for static NSS cryptographic libraries and set
482         libc_cv_static_nss_crypt.
483         * configure: Regenerate.
484         * config.make.in (static-nss-crypt): Define.
485         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
486         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
487         (CFLAGS-tst-linkall-static.c): Define.
488         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
489         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
490         ($(objpfx)tst-linkall-static): Define.
491         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
492         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
494 2016-12-02  Florian Weimer  <fweimer@redhat.com>
496         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
497         (one-hundred, tst-tls-many-dynamic-modules): Define.
498         (modules-names): Add $(tst-tls-many-dynamic-modules).
499         (tst-tls-manydynamic%mod.os): Build with special preprocessor
500         macros.
501         (tst-tls-manydynamic): Link against libdl, libpthread.
502         (tst-tls-manydynamic.out): The test needs the test modules at run
503         time.
504         * elf/tst-tls-manydynamic.c: New file.
505         * elf/tst-tls-manydynamic.h: Likewise.
506         * elf/tst-tls-manydynamicmod.c: Likewise.
508 2016-12-02  Florian Weimer  <fweimer@redhat.com>
510         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
511         (TLS_DTV_UNALLOCATED): Add.
512         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
513         offsets.
515 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
517         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
519 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
521         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
522         Add -fno-optimize-sibling-calls.
524 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
526         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
527         New declaration.
528         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
529         macro.
530         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
531         New macro.
532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
534         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
535         (llogbf): Likewise.
536         (llogbl): Likewise.
537         * math/Makefile (gen-libm-calls): Add w_llogbF.
538         (tests): Add test-fp-llogb-constants.
539         * math/w_llogb_template.c: New file.  Based on
540         math/w_ilogb_template.c.
541         * math/libm-test.inc (llogb_test_data): New array.
542         (llogb_test): New function.
543         (main): Call llogb_test.
544         * math/test-fp-llogb-constants.c: New file.  Based on
545         math/test-fp-ilogb-constants.c.
546         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
547         (do_test): Call check_return_llogb.
548         * math/test-tgmath.c (NCALLS): Increase to 126.
549         (F(compile_test)): Call llogb.
550         (F(llogb)): New function.
551         * manual/math.texi (Exponents and Logarithms): Document llogb,
552         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
553         * manual/libm-err-tab.pl (@all_functions): Add llogb.
554         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
555         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
556         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
557         (CFLAGS-nldbl-llogb.c): New variable.
558         * sysdeps/nacl/libm.abilist: Update.
559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
562         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
569         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
570         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
572         Likewise.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
574         Likewise.
575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
576         Likewise.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
578         Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
585         Likewise.
586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
587         Likewise.
588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
592 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
594         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
595         _Float128 instead of long double.
596         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
598         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
599         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
600         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
601         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
602         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
603         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
604         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
605         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
606         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
607         Likewise.
609 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
611         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
612         Remove redirection to __strrchr_ppc.
614 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
616         * sysdeps/powerpc/powerpc64/multiarch/Makefile
617         (sysdep_routines): Add strcmp_power9.
618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
619         (strcmp): Add __strcmp_power9 to list of strcmp functions.
620         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
621         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
622         (strcmp): Add __strcmp_power9 to ifunc list.
623         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
625 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
627         * bits/fp-logb.h: New file.
628         * sysdeps/ia64/bits/fp-logb.h: Likewise.
629         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
630         * sysdeps/x86/bits/fp-logb.h: Likewise.
631         * math/Makefile (headers): Add bits/fp-logb.h.
632         * math/math.h: Include <bits/fp-logb.h>.
633         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
634         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
635         * bits/mathdef.h (FP_ILOGB0): Remove.
636         (FP_ILOGBNAN): Likewise.
637         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
638         (FP_ILOGBNAN): Likewise.
639         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
640         (FP_ILOGBNAN): Likewise.
641         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
642         (FP_ILOGBNAN): Likewise.
643         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
644         (FP_ILOGBNAN): Likewise.
645         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
646         (FP_ILOGBNAN): Likewise.
647         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
648         (FP_ILOGBNAN): Likewise.
649         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
650         (FP_ILOGBNAN): Likewise.
651         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
652         (FP_ILOGBNAN): Likewise.
653         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
654         (FP_ILOGBNAN): Likewise.
656         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
657         time module.
658         (Context.__init__): Initialize self.logsdir_old.
659         (Context.run_builds): Handle bot action.
660         (Context.bot_cycle): Copy logs directory before running builds.
661         (Context.bot_run_self): Take argument for whether to check
662         subprocess result.  Flush stdout before running subprocess.
663         (Context.bot): New function.
664         (get_parser): Allow bot action.
666 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
668         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
669         Import email.mime.text, email.utils and smtplib modules.
670         (Context.__init__): Initialize self.bot_config_json.
671         (Context.run_builds): Handle bot-cycle action.
672         (Context.load_bot_config_json): New function.
673         (Context.part_build_old): Likewise.
674         (Context.bot_cycle): Likewise.
675         (Context.bot_build_mail): Likewise.
676         (Context.bot_run_self): Likewise.
677         (get_parser): Allow bot-cycle action.
679 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
682         Remove redirection to __stpcpy_ppc.
684 2016-11-30  Florian Weimer  <fweimer@redhat.com>
686         Remove __libc_memalign from ld.so because it is unused.
687         * elf/dl-minimal.c: Update comment on the malloc implementation.
688         (malloc): Renamed from __libc_memalign, replacing the original
689         malloc implementation.  Replace the align parameter with
690         MALLOC_ALIGNMENT.
691         * elf/Versions (ld): Update comment and remove __libc_memalign.
692         * sysdeps/nacl/ld.abilist: Likewise.
693         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
694         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
711         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
713         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
716         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
717         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
718         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
719         * sysdeps/generic/localplt.data (ld.so): Likewise.
720         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
721         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
722         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
723         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
724         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
725         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
726         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
727         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
728         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
730         (ld.so): Likewise.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
732         (ld.so): Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
734         Likewise.
735         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
736         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
737         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
739         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
741 2016-11-30  Florian Weimer  <fweimer@redhat.com>
743         [BZ #16628]
744         Implement _dl_catch_error, _dl_signal_error in libc.so.
745         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
746         (catch_hook): Define as thread-local or regular variable,
747         depending on DL_ERROR_BOOTSTRAP.
748         (CATCH_HOOK): Remove.
749         (dl_signal_error, _dl_catch_error): Use
750         catch_hook.  Add hidden definition for libc.
751         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
752         for DL_ERROR_BOOTSTRAP only.
753         * elf/dl-error.c: New file.
754         * elf/dl-error-minimal.c: Likewise.
755         * elf/tst-latepthread.c: Likewise.
756         * elf/tst-latepthreadmod.c: Likewise.
757         * elf/Makefile (routines): Add dl-error.
758         (dl-routines): Remove dl-error.
759         (rtld-routines): Add dl-error-minimal.
760         [build-shared] (tests): Add tst-latepthread.
761         (module-names): Add tst-latepthreadmod.
762         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
763         symbol.
764         (tst-latepthreadmod.so): Link against libpthread.
765         (tst-latepthread): Link against libdbl.
766         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
767         _dl_catch_error.
768         [ld] (GLIBC_PRIVATE): Likewise.
769         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
770         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
771         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
772         directly.
773         * elf/dl-tsd.c: Remove file.
774         * elf/rtld.c (_rtld_global_ro): Remove initializers for
775         _dl_catch_error, _dl_signal_error.
776         (_dl_initial_error_catch_tsd): Remove definition.
777         (do_preload): Remove initialization of dl_error_catch_tsd.
778         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
779         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
780         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
781         * dlfcn/dlopen.c (dlopen_doit): Likewise.
782         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
783         set dl_error_catch_tsd.
784         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
785         _dl_error_catch_tsd member.
786         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
787         members.
788         (_dl_initial_error_catch_tsd): Remove declaration.
789         (_dl_dprintf): Provide definition for use outside of ld.so.
790         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
791         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
792         prototype for libc.
793         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
794         _dl_catch_error.
795         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
796         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
797         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
798         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
799         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
800         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
801         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
802         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
803         Likewise.
804         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
806         (ld.so): Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
808         (ld.so): Likewise.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
810         Likewise.
811         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
812         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
813         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
814         Likewise.
815         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
816         Likewise.
817         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
819 2016-11-30  Florian Weimer  <fweimer@redhat.com>
821         [BZ #4099]
822         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
823         _IO_BUFSIZ (8192).
825 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
827         * PROJECTS: Remove file.
829 2016-11-29  Florian Weimer  <fweimer@redhat.com>
831         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
833 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
834             Steve Ellcey  <sellcey@caviumnetworks.com>
836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
837         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
838         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
839         fxstatat.
840         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
841         lxstat.
842         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
843         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
844         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
845         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
846         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
847         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
848         __xstat.
850 2016-11-29  Florian Weimer  <fweimer@redhat.com>
852         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
853         Define.
854         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
855         definition.
857 2016-11-29  Florian Weimer  <fweimer@redhat.com>
859         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
860         version and turn into strong alias.  Remove compat symbol.
862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
863         (__longjmp): Remove.
865 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
867         * bits/fp-fast.h: New file.
868         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
869         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
870         * math/Makefile (headers): Add bits/fp-fast.h.
871         * math/math.h: Include <bits/fp-fast.h>.
872         * bits/mathdef.h (FP_FAST_FMA): Remove.
873         (FP_FAST_FMAF): Likewise.
874         (FP_FAST_FMAL): Likewise.
875         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
876         (FP_FAST_FMAF): Likewise.
877         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
878         (FP_FAST_FMAF): Likewise.
879         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
880         (FP_FAST_FMAF): Likewise.
881         (FP_FAST_FMAL): Likewise.
882         * sysdeps/arm/bits/mathdef.h: Remove file.
883         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
884         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
885         * sysdeps/tile/bits/mathdef.h: Likewise.
887 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
889         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
890         * math/w_ilogb.c: Remove.
891         * math/w_ilogbf.c: Likewise.
892         * math/w_ilogbl.c: Likewise.
893         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
894         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
895         * math/Makefile (gen-libm-calls): Add w_ilogbF.
896         (libm-calls): Remove w_ilogbF.
897         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
898         (LDOUBLE_ilogbl_libm_version): New macro.
900         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
902         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
903         [!__STRICT_ANSI__ && !__cplusplus].
905 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
907         [BZ #20750]
908         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
909         of PIC.
911 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
912             Yury Norov  <ynorov@caviumnetworks.com>
913             Steve Ellcey  <sellcey@caviumnetworks.com>
915         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
916         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
917         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
918         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
919         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
920         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
921         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
922         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
923         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
924         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
925         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
926         to get correct reg name for ILP32.
927         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
928         (RELA_SIZE): New Macro.
929         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
930         to support ILP32.
931         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
932         cast for ILP32 mode.
933         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
934         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
935         * sysdeps/aarch64/memset.S (__memset): Ditto.
936         * sysdeps/aarch64/strchr.S (strchr): Ditto.
937         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
938         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
939         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
940         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
941         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
942         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
943         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
944         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
945         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
946         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
947         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
948         change PTR_MANGLE call to use register numbers instead of names.
949         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
950         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
951         ILP32 mode, change PTR_MANGLE calls to use register numbers.
952         * sysdeps/aarch64/start.S (_start): Ditto.
953         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
954         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
955         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
956         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
957         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
958         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
959         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
960         Make defined values dependent on __ILP32__.
961         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
962         (sem_t): Change __align type.
963         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
964         PTR_SIZE): New Macros.
965         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
966         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
967         Set when in ILP32 mode.
968         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
969         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
970         Set elf flags for ILP32.
971         (add_system_dir): Set ILP32 library directories.
972         * sysdeps/unix/sysv/linux/aarch64/init-first.c
973         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
974         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
975         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
976         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
977         New Macros.
978         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
980 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
982         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
983         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
984         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
986 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
988         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
989         <asm/cachectl.h>.
991 2016-11-27  Zack Weinberg  <zackw@panix.com>
993         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
994         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
996 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
998         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
999         error_t to fix usage in C++ programs.
1001 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1003         * scripts/build-many-glibcs.py: Import datetime module.
1004         (Context.__init__): Load JSON build state.  Initialize list of
1005         status logs.
1006         (Context.run_builds): Update saved build state.
1007         (Context.add_makefile_cmdlist): Update list of status logs.
1008         (Context.load_build_state_json): New function.
1009         (Context.store_build_state_json): Likewise.
1010         (Context.clear_last_build_state): Likewise.
1011         (Context.update_build_state): Likewise.
1012         (CommandList.status_logs): Likewise.
1014 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1016         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1017         script being executed.
1018         (Context.get_script_text): New function.
1019         (Context.exec_self): Likewise.
1020         (Context.checkout): Re-exec script if changed by checkout process.
1022 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1024         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1025         (setpayloadsig): New declaration.
1026         * math/Versions (setpayloadsig): New libm symbol at version
1027         GLIBC_2.25.
1028         (setpayloadsigf): Likewise.
1029         (setpayloadsigl): Likewise.
1030         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1031         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1032         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1033         (setpayloadsig_test_data): New array.
1034         (setpayloadsig_test): New function.
1035         (main): Call setpayloadsig_test.
1036         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1037         setpayloadsigf and setpayloadsigl.
1038         * manual/libm-err-tab.pl: Update comment on interfaces without
1039         ulps tabulated.
1040         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1041         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1046         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1047         setpayloadsig.
1048         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1049         * sysdeps/nacl/libm.abilist: Update.
1050         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1063         Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1065         Likewise.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1067         Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1069         Likewise.
1070         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1076         Likewise.
1077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1083         * scripts/build-many-glibcs.py: Import json module.
1084         (Context.__init__): Take replace_sources argument.  Load
1085         versions.json.
1086         (Context.load_versions_json): New function.
1087         (Context.store_json): Likewise.
1088         (Context.store_versions_json): Likewise.
1089         (Context.set_component_version): Likewise.
1090         (Context.checkout): Update versions.json.  Check for and handle
1091         changes of version.  Prefer previously explicitly specified
1092         version to default version.
1093         (Context.checkout_vcs): Return a revision identifier.
1094         (Context.git_checkout): Likewise.
1095         (Context.gcc_checkout): Likewise.
1096         (get_parser): Add --replace-sources option.
1097         (main): Pass replace_sources argument to Context call.
1099 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1101         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1102         * nptl/allocatestack.c (allocate_stack): Likewise.
1103         (__reclaim_stacks): Likewise.
1104         (setxid_signal_thread): Obtain pid through syscall.
1105         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1106         (sighandle_setxid): Likewise.
1107         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1108         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1109         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1110         Likewise.
1111         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1112         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1113         comment.
1114         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1115         * nptl/descr.h (struct pthread): Change comment about pid value.
1116         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1117         pid assert.
1118         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1119         Do not set pid value.
1120         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1121         pid cache check.
1122         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1123         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1124         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1125         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1126         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1127         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1128         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1129         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1130         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1131         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1132         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1133         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1134         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1135         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1136         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1137         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1138         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1139         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1140         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1141         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1142         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1143         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1144         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1145         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1146         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1149         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1150         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1151         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1152         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1153         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1154         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1155         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1156         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1157         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1158         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1159         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1160         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1161         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1162         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1163         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1164         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1167         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1168         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1169         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1170         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1171         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1172         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1173         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1174         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1175         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1176         struct access.
1177         (clone_test): Remove function.
1178         (do_test): Rewrite to take in consideration pid is not cached anymore.
1180 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1182         * bits/flt-eval-method.h: New file.
1183         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1184         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1185         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1186         * math/Makefile (headers): Add bits/flt-eval-method.h.
1187         * math/math.h: Include <bits/flt-eval-method.h>.
1188         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1189         [__USE_ISOC99] (double_t): Likewise.
1190         * bits/mathdef.h (float_t): Remove.
1191         (double_t): Likewise.
1192         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1193         (double_t): Likewise.
1194         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1195         (double_t): Likewise.
1196         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1197         (double_t): Likewise.
1198         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1199         (double_t): Likewise.
1200         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1201         (double_t): Likewise.
1202         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1203         (double_t): Likewise.
1204         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1205         (double_t): Likewise.
1206         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1207         (double_t): Likewise.
1208         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1209         (double_t): Likewise.
1210         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1211         (double_t): Likewise.
1212         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1213         (double_t): Likewise.
1214         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1215         (double_t): Likewise.
1216         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1217         (double_t): Likewise.
1219 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1221         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1222         instead of PIC.
1224 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1226         [BZ #20859]
1227         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1228         (-0x7fffffff) instead of 0x80000001.
1229         * math/test-fp-ilogb-constants.c: New file.
1230         * math/Makefile (tests): Add test-fp-ilogb-constants.
1232 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1234         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1235         (_init): Use it in place of hardcoded R_MIPS_JALR.
1236         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1237         (_init): Use it in place of hardcoded R_MIPS_JALR.
1238         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1239         (_init): Use it in place of hardcoded R_MIPS_JALR.
1241 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #20787]
1244         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1245         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1246         (double_t): Do not define to double if [__x86_64__] when
1247         __FLT_EVAL_METHOD__ is nonzero.
1248         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1249         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1250         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1251         test-flt-eval-method-387 and test-flt-eval-method-sse.
1252         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1253         variable.
1254         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1256 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1258         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1259         use of -fno-isolate-erroneous-paths options for tilepro.
1261 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1263         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1264         structure initialization is no longer needed.
1266 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1268         [BZ #20855]
1269         * bits/mathdef.h (float_t): Define to float.
1270         * math/test-flt-eval-method.c: New file.
1271         * math/Makefile (tests): Add test-flt-eval-method.
1272         (CFLAGS-test-flt-eval-method.c): New variable.
1274 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1276         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1277         and __fstatfs.  Make them aliases of __fstatfs64 if
1278         STATFS_IS_STATFS64 is set to non-zero.
1279         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1280         and __statfs64.
1281         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1282         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1283         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1284         for __statfs and statfs.
1285         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1286         to 0.
1287         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1288         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1289         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1290         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1291         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1292         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1295         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1296         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1297         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1298         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1300 2016-11-22  Andreas Schwab  <schwab@suse.de>
1302         * misc/mkstemp.c: Include <fcntl.h>.
1303         * misc/mkstemps.c: Likewise.
1304         * misc/mkostemp.c: Likewise.
1305         * misc/mkostemps.c: Likewise.
1307 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1309         [BZ #20847]
1310         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1311         array bounds.
1312         (__execvpe): Likewise.
1314 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1316         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1317         -fno-isolate-erroneous-paths options for tilepro.
1319 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1321         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1322         to 0 when in 32 bit mode.
1323         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1324         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1325         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1326         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1328         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1329         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1330         XSTAT_IS_XSTAT64 test.
1331         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1332         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1333         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1334         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1335         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1336         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1337         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1338         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1339         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1340         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1341         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1343 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1345         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1346         (setpayload): New declaration.
1347         * math/Versions (setpayload): New libm symbol at version
1348         GLIBC_2.25.
1349         (setpayloadf): Likewise.
1350         (setpayloadl): Likewise.
1351         * math/Makefile (libm-calls): Add s_setpayloadF.
1352         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1353         test_Ff_b1_data.
1354         (RUN_TEST_Ff_b1): New macro.
1355         (RUN_TEST_LOOP_Ff_b1): Likewise.
1356         (canonicalize_test_data): Update type.
1357         (setpayload_test_data): New array.
1358         (setpayload_test): New function.
1359         (main): Call setpayload_test.
1360         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1361         setpayloadf and setpayloadl.
1362         * manual/libm-err-tab.pl: Update comment on interfaces without
1363         ulps tabulated.
1364         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1365         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1366         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1367         Likewise.
1368         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1369         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1371         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1372         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1373         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1374         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1376         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1377         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1378         setpayload.
1379         (CFLAGS-nldbl-setpayload.c): New variable.
1380         * sysdeps/nacl/libm.abilist: Update.
1381         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1389         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1394         Likewise.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1396         Likewise.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1398         Likewise.
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1400         Likewise.
1401         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1402         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1403         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1404         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1405         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1407         Likewise.
1408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1409         Likewise.
1410         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1414 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1416         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1417         * include/unistd.h: Extend comment about __access_noerrno return
1418         semantics.
1419         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1420         (access_common): Correct typo for EACCES.
1422 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1424         * sysdeps/tile/math-tests.h: New file.
1426         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1427         (__old_set_dataplane): Rename from set_dataplane and make a
1428         compatibility symbol.
1429         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1430         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1431         sys/dataplane.h.
1433 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1435         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1436         script quote words in command output to log suitably for input to
1437         the shell.
1439 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1440             Maciej W. Rozycki  <macro@imgtec.com>
1442         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1443         `.Lno_weak_fn' label.
1444         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1445         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1447 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1448             Yury Norov  <ynorov@caviumnetworks.com>
1450         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1451         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1452         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1453         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1454         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1456         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1458         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1459         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1460         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1461         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1462         (sysdep_routines): Remove oldgetrlimit64.
1463         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1464         (sysdep_routines): Likewise.
1465         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1466         (sysdep_routines): Likewise.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1468         [$(subdir) = resource] (sysdep_routines): Likewise.
1469         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1470         [$(subdir) = resource] (sysdep_routines): Likewise.
1471         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1472         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1473         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1474         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1475         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1476         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1477         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1478         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1479         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1480         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1481         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1482         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1483         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1484         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1485         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1486         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1487         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1488         setrlimit and getrlimit.
1489         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1490         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1491         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1495         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1496         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1498         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1499         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1500         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1501         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1502         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1503         (__old_getrlimit64): Add compatibility symbol.
1504         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1506 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1508         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1509         newly built gmp, mpfr and mpc.
1511         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1513 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1515         * conform/Makefile (linknamespace-libs): Rename to
1516         linknamespace-libs-thr.
1517         (linknamespace-libs-posix): New variable.
1518         (linknamespace-libs-xsi): Likewise.
1519         (linknamespace-libs-XPG3): Include libcrypt.a.
1520         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1521         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1522         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1523         (linknamespace-libs-XOPEN2K): Likewise.
1524         (linknamespace-libs-XOPEN2K8): Likewise.
1525         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1527         [BZ #20829]
1528         * stdio-common/Versions (__snprintf): Add to version
1529         GLIBC_PRIVATE.
1530         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1531         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1532         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1533         of snprintf.
1534         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1536 2016-11-16  Zack Weinberg  <zackw@panix.com>
1538         * string/string.h: Remove obsolete comment stating that
1539         strcoll_l and strxfrm_l have not yet been standardized.
1541 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1543         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1544         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1545         __access_noerrno.
1546         * io/access.c (__access_noerrno): New function.
1547         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1548         (hurd_fail_seterrno): Likewise.
1549         (access_common): Likewise.
1550         (__access_noerrno): Likewise.
1551         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1552         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1553         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1554         macro.
1556 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1558         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1559         Only declare fpregs if [__SH_FPU_ANY__].
1561 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1564         Make code unconditional.
1565         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1567 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1569         * manual/sysinfo.texi (S_APPEND): Delete.
1570         (S_IMMUTABLE): Likewise.
1572 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1573             Magnus Granberg  <zorry@gentoo.org>
1574             Mike Frysinger  <vapier@gentoo.org>
1576         [BZ #20662]
1577         * configure.ac (libc_cv_predef_stack_protector): Also check for
1578         __stack_chk_fail_local symbols.
1579         * configure: Regenerated.
1581 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1583         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1584         (libc_hidden_def): Remove redefinition.
1585         (__sigsetjmp): Add hidden definition.
1586         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1587         (libc_hidden_def): Remove redefinition.
1588         (__sigsetjmp): Add hidden definition.
1590 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1592         * scripts/build-many-glibcs.py (os.path): Do not import.
1593         (Context): Inherit explicitly from object.  Remove blank line
1594         between class and docstring.
1595         (Config): Likewise.
1596         (Glibc): Likewise.
1597         (Command): Likewise.
1598         (CommandList): Likewise.
1599         (Context.write_files): Store chmod mode in a variable.
1601         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1602         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1603         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1605 2016-11-14  Zack Weinberg  <zackw@panix.com>
1607         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1608         creating or re-creating it.
1610         * string/bits/string2.h: Fix typo in comment.
1612 2016-11-14  Zack Weinberg  <zackw@panix.com>
1614         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1615         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1616         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1617         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1618         of redirected function names.
1620         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1621         as well.  Document that MESSAGE must be a single string literal.
1623 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1625         * scripts/build-many-glibcs.py: New file.
1627         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1628         (do_test): Disable -Wmaybe-uninitialized around uses of
1629         except_mask.
1631         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1633 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1635         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1636         (atomic_store_release): Provide tilepro-specific implementations.
1638 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1640         * math/math.h (__MATH_TG): New macro.
1641         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1642         [__USE_ISOC99] (signbit): Likewise.
1643         [__USE_ISOC99] (isfinite): Likewise.
1644         [__USE_ISOC99] (isnan): Likewise.
1645         [__USE_ISOC99] (isinf): Likewise.
1646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1649         __MATH_TG and __MATH_EVAL_FMT2.
1650         * sysdeps/generic/math_private.h (fabs_tg): Define using
1651         __MATH_TG.
1652         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1653         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1654         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1655         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1656         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1657         macro.
1658         (__iscanonical): Likewise.
1659         (iscanonical): Define using __MATH_TG.
1661 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1663         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1664         guards.
1666         * sysdeps/unix/sysv/linux/access.c: New file.
1667         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1669 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1671         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1672         and __WORDSIZE32_PTRDIFF_LONG.
1674 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1676         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1678 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1680         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1681         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1682         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1683         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1684         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1686         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1687         * sysdeps/unix/sysv/linux/truncate.c: New file.
1688         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1689         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1690         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1691         Remove.
1692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1693         Likewise.
1695         * posix/tst-truncate-common.c: New file.
1696         * posix/tst-truncate.c: Use tst-truncate-common.c.
1697         * posix/tst-truncate64.c: Likewise and add LFS tests.
1698         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1699         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1700         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1701         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1702         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1704         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1705         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1706         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1707         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1708         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1709         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1710         Remove.
1711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1712         Likewise.
1714 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1716         [BZ #20790]
1717         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1718         to MAXLINESIZE.
1719         * sunrpc/bug20790.x: New file.
1720         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1721         variable.
1722         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1723         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1725         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1727         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1729         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1730         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1731         calloc, realloc, free, memalign and __libc_memalign rather than
1732         making them optional.
1734         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1735         for libc.so.
1737 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1739         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1740         ptw-lseek64.
1741         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1742         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1743         Likewise.
1744         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1745         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1746         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1747         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1748         * sysdeps/unix/sysv/linux/lseek.c: New file.
1749         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1750         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1751         __libc_lseek64 from auto-generation.
1752         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1753         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1755 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1757         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1758         * nptl/tst-cleanup1.c (do_test): Likewise.
1759         * nptl/tst-cleanup3.c (do_test): Likewise.
1760         * nptl/tst-key1.c (do_test): Likewise.
1761         * nptl/tst-key2.c (tf, do_test): Likewise.
1762         * nptl/tst-key3.c (tf, do_test): Likewise.
1763         * nptl/tst-stdio1.c (do_test): Likewise.
1764         * nptl/tst-stdio2.c (do_test): Likewise.
1766         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1767         * nptl/tst-kill6.c (handler): Likewise.
1768         * nptl/tst-tls2.c (CB): Likewise.
1769         * nptl/tst-tls3.c (CB): Likewise.
1771 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1773         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1775 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1776             Steve Ellcey  <sellcey@caviumnetworks.com>
1778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1779           __ASSUME_ST_INO_64_BIT as 0
1780         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1781         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1782           over the code where __ASSUME_ST_INO_64_BIT is used.
1783         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1784         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1785         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1787 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1789         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1790         Document ABI exposure of the __kind offset.
1791         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1792         Mention reason for the __kind offset exposure in the ABI.
1793         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1794         Likewise.
1795         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1796         Likewise.
1797         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1798         Likewise.
1799         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1800         (struct __pthread_mutex_s): Likewise.
1801         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1802         Likewise.
1803         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1804         Likewise.
1805         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1806         Likewise.
1807         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1808         Likewise.
1809         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1810         Likewise.
1811         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1812         Likewise.
1813         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1814         (struct __pthread_mutex_s): Likewise.
1815         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1816         (struct __pthread_mutex_s): Likewise.
1817         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1818         Likewise.
1820 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1822         * test-skeleton.c: Document do_test usage.
1824 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1826         * iconv/gconv.h (__gconv_info): Define __data element using a
1827         zero-length array.
1829 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1831         * math/test-tgmath2.c: Split up test function.
1833 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1835         * Rules (tests-expected): New variable, depending on
1836         $(run-built-tests).
1837         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1838         $(tests).
1840         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1841         $(tests-unsupported).
1843 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1845         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1846         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1848 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1850         [BZ #20768]
1851         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1852         __fegetenv instead of fegetenv.
1854         [BZ #14139]
1855         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1856         (find_files): Obtain platform name from libm-test-ulps-name and
1857         store in %pplatforms.
1858         (canonicalize_platform): Remove.
1859         (print_platforms): Use $pplatforms directly.
1860         (by_platforms): Do not allow for platforms missing from
1861         %pplatforms.
1862         * sysdeps/aarch64/libm-test-ulps-name: New file.
1863         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1864         * sysdeps/arm/libm-test-ulps-name: Likewise.
1865         * sysdeps/generic/libm-test-ulps-name: Likewise.
1866         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1867         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1868         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1869         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1870         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1871         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1872         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1873         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1874         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1875         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1876         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1877         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1878         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1879         * sysdeps/sh/libm-test-ulps-name: Likewise.
1880         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1881         * sysdeps/tile/libm-test-ulps-name: Likewise.
1882         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1884         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1886         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1887         (test-xfail-check-execstack): New variable.
1889         * sysdeps/mips/localplt.data: New file.
1891 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1892             Steve Ellcey  <sellcey@caviumnetworks.com>
1894         * bits/wordsize.h: Add documentation.
1895         * sysdeps/aarch64/bits/wordsize.h : New file
1896         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1897         definitions.
1898         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1899         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1900         with #if instead of #ifdef.
1901         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1902         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1903         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1904         Add or change defines.
1905         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1906         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1907         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1908         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1909         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1910         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1911         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1912         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1913         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1915         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1916         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1917         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1918         * sysdeps/x86/bits/wordsize.h: Likewise.
1920 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1921             Kevin Petit  <kevin.petit@arm.com>
1923         * sysdeps/aarch64/memchr.S (__memchr): New file.
1925 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1927         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1929 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1931         [BZ #19398]
1932         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1933         $(linknamespace-symlists-tests).
1935 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1937         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1939 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1940             Carlos O'Donell  <carlos@redhat.com>
1942         [Bug #20729]
1943         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1944         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1945         for -Os related change.
1947 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1949         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1951 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1953         [BZ #19673]
1954         * manual/math.texi (Exponents and Logarithms): Correct description
1955         of clog10.
1957 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1959         [Bz #20729]
1960         * locale/weight.h: Include libc-internal.h.
1961         * locale/weightwc.h: Likewise.
1962         * nptl/nptl_dbP.h: Likewise.
1964 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1966         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1967         when it is MACH_PORT_NULL.
1969 2016-10-31  Andreas Schwab  <schwab@suse.de>
1971         [BZ #20707]
1972         * posix/glob.c (glob): Initialize pglob before checking for
1973         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1974         valid brace expression despite GLOB_BRACE.
1975         * posix/globtest.sh: Test it.
1977 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1979         [BZ #20729]
1980         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1981         Define.
1982         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1983         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1984         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1985         for seq2.back_us and seq1.back_us only for -Os compiles.
1986         * locale/weightwc.h (findix): Likewise.
1987         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1988         DB_GET_FIELD_ADDRESS only for -Os compiles.
1989         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1990         for slen only for -Os compiles.
1991         * string/strcoll_l.c (get_next_seq): Ignore
1992         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1993         for -Os compiles.
1995         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1996         * include/crypt.h: New file.
1998 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2000         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2001         from test-skeleton.c.
2002         (statclass): Replace calls to write with calls to write_message.
2004 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2006         * math/math.h
2007         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2008         New macro.
2009         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2010         Likewise.
2011         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2012         Likewise.
2013         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2014         SNANL.
2015         * math/test-double.h (snan_value_MACRO): New macro.
2016         * math/test-float.h (snan_value_MACRO): Likewise.
2017         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2018         * math/libm-test.inc (issignaling_test_data): Add tests of
2019         snan_value_MACRO.
2021 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2023         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2024         behavior when eliding a lock not held by the current thread.
2025         * sysdeps/powerpc/nptl/elide.h: Likewise.
2027 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2029         [BZ #20728]
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2031         branch to _exit() by a function call.
2033 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2035         * malloc/malloc.c: Update chunk layout comments.
2036         (chunk_main_arena): Update comment.
2038 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2040         * crypt/sha256.c, crypt/sha256-block.c,
2041         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2042         sha256_process_block to __sha256_process_block.
2043         * crypt/sha512.c, crypt/sha512-block.c,
2044         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2045         sha512_process_block to __sha512_process_block.
2047 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2049         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2051         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2053 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2055         [BZ #20019]
2056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2057         definition in unrelocated shared library.
2058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2060 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2062         [BZ #20729]
2063         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2064         * sysdeps/unix/sysv/linux/i386/Makefile
2065         (uses-6-syscall-arguments): Define.
2066         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2067         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2068         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2069         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2070         Likewise.
2071         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2072         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2073         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2074         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2075         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2076         (CFLAGS-fallocate64.os): Likewise.
2077         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2078         (CFLAGS-pthread_rwlock_timedrdlock.os)
2079         (CFLAGS-pthread_rwlock_timedwrlock.o)
2080         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2081         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2082         (CFLAGS-sem_timedwait.os): Likewise.
2084 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2086         * elf/tst-linkall-static.c: New file.
2087         * elf/Makefile (tests-static): Add tst-linkall-static.
2088         (tst-linkall-static): Link against static libraries.
2090 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2092         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2093         mmaped chunks.
2095 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2097         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2098         members to mchunk_prev_size, mchunk_size.
2099         (chunk_main_arena): Reverse sense and rename from
2100         chunk_non_main_arena.
2101         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2102         mchunk_size instead of size.
2103         (set_non_main_arena): Define.
2104         (chunksize): Use chunksize_nomask instead of direct member access.
2105         (chunksize_nomask): Define.
2106         (next_chunk): Use chunksize instead of direct member access.
2107         (prev_size, set_prev_size): Define.
2108         (prev_chunk): Use prev_size instead of direct member access.
2109         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2110         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2111         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2112         (mchunk_prev_size, mchunk_size): Poison tokens.
2113         (unlink): Use chunksize_nomask, prev_size accessors.
2114         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2115         (do_check_free_chunk): Use prev_size accessor.
2116         (sysmalloc): Use set_prev_size, set_head accessors.
2117         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2118         (__libc_free): Use chunksize_nomask accessor.
2119         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2120         chunk_main_arena accessors.
2121         (_int_free): Use chunksize_nomask, prev_size accessors.
2122         (malloc_consolidate): Use chunksize, prev_size accessors.
2123         (_int_realloc): Use chunksize_nomask accessor.
2124         (_int_memalign): Use set_prev_size accessor.
2125         (__malloc_info): Use chunksize_nomask accessor.
2126         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2127         accessors.
2128         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2129         (heap_trim): Use chunksize_nomask, prev_size accessors.
2131 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2133         [BZ #19380]
2134         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2135         for inexact results.
2136         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2137         of inexact result where mpfr_subnormalize is the only inexact
2138         step.
2139         * stdlib/tst-strtod-round-data.h: Regenerated.
2140         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2141         Define to 0.
2142         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2144 2016-10-27  David S. Miller  <davem@davemloft.net>
2146         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2148 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2150         * malloc/malloc.c (do_set_mallopt_check): New function.
2151         (do_set_mmap_threshold): Likewise.
2152         (do_set_mmaps_max): Likewise.
2153         (do_set_top_pad): Likewise.
2154         (do_set_perturb_byte): Likewise.
2155         (do_set_trim_threshold): Likewise.
2156         (do_set_arena_max): Likewise.
2157         (do_set_arena_test): Likewise.
2158         (__libc_mallopt): Use them.
2160 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2162         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2163         (canonicalize): New declaration.
2164         * math/Versions (canonicalize): New libm symbol at version
2165         GLIBC_2.25.
2166         (canonicalizef): Likewise.
2167         (canonicalizel): Likewise.
2168         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2169         * math/s_canonicalize_template.c: New file.
2170         * math/libm-test.inc: Update comment on functions tested and
2171         testing of NaN payloads.
2172         (TEST_NAN_PAYLOAD): New macro.
2173         (NO_TEST_INLINE): Update value.
2174         (XFAIL_TEST): Likewise.
2175         (ERRNO_UNCHANGED): Likewise.
2176         (ERRNO_EDOM): Likewise.
2177         (ERRNO_ERANGE): Likewise.
2178         (IGNORE_RESULT): Likewise.
2179         (NON_FINITE): Likewise.
2180         (TEST_SNAN): Likewise.
2181         (NO_TEST_MATHVEC): Likewise.
2182         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2183         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2184         (struct test_Ffp_b1_data): New type.
2185         (RUN_TEST_Ffp_b1): New macro.
2186         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2187         (canonicalize_test_data): New array.
2188         (canonicalize_test): New function.
2189         (main): Call canonicalize_test.
2190         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2191         canonicalizef and canonicalizel.
2192         * manual/libm-err-tab.pl: Update comment on interfaces without
2193         ulps tabulated.
2194         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2195         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2196         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2197         canonicalize.
2198         (CFLAGS-nldbl-canonicalize.c): New variable.
2199         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2200         to ...
2201         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2202         ... here.
2203         (do_test): Also test canonicalizel.
2204         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2205         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2206         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2207         file.
2208         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2209         Use libm_hidden_def.
2210         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2211         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2212         (do_test): Also test canonicalizel.
2213         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2214         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2215         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2216         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2217         libm_hidden_def.
2218         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2219         macro.
2220         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2221         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2222         * sysdeps/nacl/libm.abilist: Update.
2223         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2224         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2227         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2228         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2229         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2230         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2231         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2233         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2234         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2236         Likewise.
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2238         Likewise.
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2240         Likewise.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2242         Likewise.
2243         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2246         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2247         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2249         Likewise.
2250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2251         Likewise.
2252         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2256         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2257         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2258         getpayload.
2259         (CFLAGS-nldbl-getpayload.c): New variable.
2261 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2263         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2264         integer from the format string.
2266 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2268         [BZ #19473]
2269         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2270         declarations.
2271         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2272         weak aliases.
2273         * malloc/hooks.c (__malloc_get_state): Remove definition.
2274         (malloc_get_state): New stub implementation as
2275         compatibility symbol.
2276         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2277         compat symbol.
2278         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2279         malloc_set_state.
2280         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2282 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2284         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2285         (names): Turn into concatenation of strings.
2286         (gconv_init): Adapt iteration over names.
2288 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2290         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2291         make const.
2292         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2293         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2294         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2295         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2296         character in sbconv.
2297         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2298         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2299         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2301 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2303         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2305         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2306         (M_TRIM_THRESHOLD): Likewise.
2308         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2309         (M_ARENA_MAX): Likewise.
2310         * malloc/malloc.c: Remove obsolete comment.
2312         * manual/memory.texi: Add environment variable alternatives to
2313         setting mallopt parameters.
2315 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2317         * include/atomic.h
2318         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2319         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2321 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2323         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2324         * stdlib/tst-strfrom.h: New file.
2325         * stdlib/tst-strfrom.c: New file.
2326         * stdlib/tst-strfrom-locale.c: New file.
2328         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2329         * stdlib/bug-strtod2.c: Likewise.
2330         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2331         * stdlib/tst-strtod6.c: Likewise.
2332         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2334 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2336         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2337         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2338         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2339         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2340         * stdlib/stdlib.h (strfromd): New declaration.
2341         (strfromf): Likewise.
2342         (strfroml): Likewise.
2343         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2344         strfrom.
2345         * stdlib/strfromd.c: New file.
2346         * stdlib/strfromf.c: Likewise.
2347         * stdlib/strfroml.c: Likewise.
2348         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2349         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2350         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2351         * sysdeps/arm/nacl/libc.abilist: Update.
2352         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2370         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2371         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2372         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2373         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2379         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2381 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2383         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2384         instead of cmpli.
2385         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2386         instead of cmpli.
2388 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2390         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2391         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2392         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2393         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2394         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2395         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2397 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2399         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2400         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2401         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2402         SYSCALL_LL64_PRW.
2403         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2404         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2405         __ASSUME_PRW_DUMMY_ARG.
2406         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2407         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2408         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2409         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2410         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2411         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2413 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2415         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2417 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2419         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2420         "C++", to override a potential extern "C" directive around the
2421         header file inclusion.
2423 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2425         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2427 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2429         * sysdeps/powerpc/fpu/fenv_private.h:
2430         (_FPU_MASK_ALL): Rename to...
2431         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2432         XE FPSCR bits.
2434         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2436         (_FPU_MASK_ROUNDING): Rename to...
2437         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2438         NI bits.
2440         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2441         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2442         bits and rounding bits.
2444         (__libc_feholdbits_ppc): New inline function to mask, set,
2445         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2446         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2447         (libc_feholdexcept_setround_ppc): Likewise.
2449         (__libc_femergeenv_ppc): New function to dynamically mask both
2450         old and new FP environments and merge.
2451         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2452         (libc_feresetround_ppc): Likewise.
2453         (libc_feupdateenv_test_ppc): Likewise.
2454         (libc_feupdateenv_ppc): Likewise.
2456         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2457         of ISA RN bits, and update macro names.
2458         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2459         effectively the same as the previously mentioned function.
2461         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2462         usage with fe_resetround_ppc.
2464         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2465         to be used.
2466         (libc_feholdexcept_setround_ctxf): Likewise.
2467         (libc_feholdexcept_setround_ctxl): Likewise.
2469 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2471         [BZ #20715]
2472         * math/math.h [__cplusplus] (iszero): Define as function template.
2473         * math/Makefile [CXX] (tests): Add test-math-iszero.
2474         (CFLAGS-test-math-iszero.cc): Set.
2475         * math/test-math-iszero.cc: New file.
2477 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2479         [BZ #20660]
2480         * sysdeps/arm/e_sqrt.c: New file.
2481         * sysdeps/arm/e_sqrtf.c: Likewise.
2483 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2485         [BZ #20718]
2486         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2487         not use floating-point comparisons to test sign.
2488         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2489         Likewise.
2491         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2492         (getpayload): New declaration.
2493         * math/Versions (getpayload): New libm symbol at version
2494         GLIBC_2.25.
2495         (getpayloadf): Likewise.
2496         (getpayloadl): Likewise.
2497         * math/Makefile (libm-calls): Add s_getpayloadF.
2498         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2499         (struct test_f_f_data): Add comment.
2500         (RUN_TEST_fp_f): New macro.
2501         (RUN_TEST_LOOP_fp_f): Likewise.
2502         (getpayload_test_data): New array.
2503         (getpayload_test): New function.
2504         (main): Call getpayload_test.
2505         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2506         descriptor.
2507         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2508         getpayloadf and getpayloadl.
2509         * manual/libm-err-tab.pl: Update comment on interfaces without
2510         ulps tabulated.
2511         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2512         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2513         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2515         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2516         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2517         * sysdeps/nacl/libm.abilist: Update.
2518         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2522         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2523         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2524         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2525         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2526         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2527         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2528         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2529         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2531         Likewise.
2532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2533         Likewise.
2534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2535         Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2537         Likewise.
2538         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2544         Likewise.
2545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2546         Likewise.
2547         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2548         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2549         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2551 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2553         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2554         tst-fallocate{64}.
2555         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2556         on syscall return.
2558 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2560         [BZ #20689]
2561         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2562         usable.
2564 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2566         * sysdeps/generic/nan-high-order-bit.h: New file.
2567         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2568         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2569         * sysdeps/hppa/math_private.h: Remove file.
2570         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2571         not define here.
2572         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2573         <nan-high-order-bit.h>.
2574         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2575         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2576         <nan-high-order-bit.h>.
2577         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2578         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2579         <nan-high-order-bit.h>.
2580         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2581         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2582         <nan-high-order-bit.h>.
2583         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2584         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2585         <nan-high-order-bit.h>.
2586         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2587         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2588         <nan-high-order-bit.h>.
2589         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2590         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2591         <nan-high-order-bit.h>.
2592         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2593         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2594         <nan-high-order-bit.h>.
2595         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2596         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2597         <nan-high-order-bit.h>.
2598         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2599         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2600         <nan-high-order-bit.h>.
2601         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2602         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2603         <nan-high-order-bit.h>.
2604         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2605         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2606         <nan-high-order-bit.h>.
2607         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2608         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2609         <nan-high-order-bit.h>.
2610         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2611         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2612         <nan-high-order-bit.h>.
2613         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2614         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2615         <nan-high-order-bit.h>.
2616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2617         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2618         <nan-high-order-bit.h>.
2619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2620         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2621         <nan-high-order-bit.h>.
2622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2623         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2624         <nan-high-order-bit.h>.
2625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2627 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2629         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2631 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2633         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2634         abort-instr.h.
2635         (EFAULT): Remove conditional define.
2636         (ENOSYS): Likewise.
2637         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2638         instead of conditional branch instructions.
2640 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2642         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2643         (totalordermag): New declaration.
2644         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2645         New macro.
2646         * math/Versions (totalordermag): New libm symbol at version
2647         GLIBC_2.25.
2648         (totalordermagf): Likewise.
2649         (totalordermagl): Likewise.
2650         * math/Makefile (libm-calls): Add s_totalordermagF.
2651         * math/libm-test.inc (totalordermag_test_data): New array.
2652         (totalordermag_test): New function.
2653         (main): Call totalordermag_test.
2654         * math/test-tgmath.c (NCALLS): Increase to 125.
2655         (F(compile_test)): Call totalordermag.
2656         (F(totalordermag)): New function.
2657         * manual/arith.texi (FP Comparison Functions): Document
2658         totalordermag, totalordermagf and totalordermagl.
2659         * manual/libm-err-tab.pl: Update comment on interfaces without
2660         ulps tabulated.
2661         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2662         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2663         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2664         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2665         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2666         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2667         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2668         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2669         totalordermag.
2670         (CFLAGS-nldbl-totalordermag.c): New variable.
2671         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2672         (do_test): Also test totalordermagl.
2673         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2674         Likewise.
2675         * sysdeps/nacl/libm.abilist: Update.
2676         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2685         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2686         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2687         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2689         Likewise.
2690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2691         Likewise.
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2693         Likewise.
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2695         Likewise.
2696         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2697         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2698         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2699         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2700         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2709 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2711         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2712         boolean.
2714 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2716         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2717         raising FE_INVALID with feraisexcept in case where part of
2718         argument is infinite, subtract that part of argument from itself.
2719         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2720         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2721         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2723 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2725         * math/libm-test.inc (totalorder_test_data): Add more tests.
2727 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2729         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2730         Undefine weak_alias and add a comment why mips64 require
2731         versioning.
2733 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2735         [BZ #20647]
2736         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2737         maximum CPUID level is less than 2.
2739 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2741         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2742         (totalorder): New declaration.
2743         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2744         New macro.
2745         * math/Versions (totalorder): New libm symbol at version
2746         GLIBC_2.25.
2747         (totalorderf): Likewise.
2748         (totalorderl): Likewise.
2749         * math/Makefile (libm-calls): Add s_totalorderF.
2750         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2751         string.
2752         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2753         (qnan_value_pl): Likewise.
2754         (snan_value_pl): Likewise.
2755         (qnan_value): Define using qnan_value_pl.
2756         (snan_value): Define using snan_value_pl.
2757         (struct test_ff_i_data): Add comment about which tests use this
2758         structure.
2759         (RUN_TEST_ff_b): New macro.
2760         (RUN_TEST_LOOP_ff_b): Likewise.
2761         (totalorder_test_data): New array.
2762         (totalorder_test): New function.
2763         (main): Call totalorder_test.
2764         * math/test-tgmath.c (NCALLS): Increase to 122.
2765         (F(compile_test)): Call totalorder.
2766         (F(totalorder)): New function.
2767         * manual/arith.texi (FP Comparison Functions): Document
2768         totalorder, totalorderf and totalorderl.
2769         * manual/libm-err-tab.pl: Update comment on interfaces without
2770         ulps tabulated.
2771         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2772         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2773         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2776         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2778         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2779         totalorder.
2780         (CFLAGS-nldbl-totalorder.c): New variable.
2781         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2782         file.
2783         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2784         Add test-totalorderl-ldbl-128ibm.
2785         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2786         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2787         test-totalorderl-ldbl-96.
2788         * sysdeps/nacl/libm.abilist: Update.
2789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2804         Likewise.
2805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2808         Likewise.
2809         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2811         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2815         Likewise.
2816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2817         Likewise.
2818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2822 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2824         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2825         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2826         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2827         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2828         remove ENOSYS implementation.
2829         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2830         Consolidate all Linux implementations.
2832 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2834         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2835         * resolv/herror.c (herror): Cast away const-ness.
2836         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2837         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2839 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2841         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2842         instead of M_NAN + M_NAN.
2843         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2845 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2847         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2848         unused variable 'p'.
2850 2016-10-09  Alan Modra  <amodra@gmail.com>
2851             Andreas Schwab  <schwab@linux-m68k.org>
2853         [BZ #20554]
2854         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2855         [PIC && !SHARED]: Set up PIC register for PLT call.
2857 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2859         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2860         conditional on value of [__FLT_EVAL_METHOD__].
2861         * math/test-iseqsig-excess-precision.c: New file.
2862         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2864 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2866         * math/s_iseqsig_template.c: Include math-private.h.
2868         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2869         * posix/tst-posix_fadvise.c: New file.
2870         * posix/tst-posix_fadvise64.c: Likewise.
2871         * posix/tst-posix_fadvise-common.c: Likewise.
2872         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2873         (__ASSUME_FADVISE64_64_6ARG): Define.
2874         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2875         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2876         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2877         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2878         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2879         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2880         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2881         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2882         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2883         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2884         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2885         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2888         Likewise.
2889         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2890         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2891         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2892         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2893         Alias to __posix_fadvise64_l32.
2894         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2895         Add compat definition to posix_fadvise64.
2896         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2897         Add versioned definition to posix_fadvise64.
2898         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2899         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2900         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2901         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2902         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2904         * io/Makefile (tests): Add tst-posix_fallocate and
2905         tst-posix_fallocate64.
2906         * io/tst-posix_fallocate-common.c: New file.
2907         * io/tst-posix_fallocate.c: Likewise.
2908         * io/tst-posix_fallocate64.c: Likewise.
2909         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2910         file.
2911         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2912         Likewise.
2913         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2914         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2915         Likewise.
2916         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2918         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2919         SYSCALL_LL to pass both offset and len arguments.
2920         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2923         __libc_pwrite64 alias used by posix_fallocate64.
2925         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2926         tst-fallocate64.
2927         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2928         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2929         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2930         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2931         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2932         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2933         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2934         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2935         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2936         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2937         macro on offset argument.
2938         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2939         SYSCALL_LL64 on offset argument.
2941         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2942         tst-fallocate64.
2943         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2944         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2945         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2946         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2947         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2948         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2949         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2950         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2951         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2952         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2953         macro on offset argument.
2954         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2955         SYSCALL_LL64 on offset argument.
2956         * test-skeleton.c (FAIL_RET): Add macro.
2957         (FAIL_EXIT): Likewise.
2958         (FAIL_EXIT1): Likewise.
2959         (_FAIL): Likewise.
2961 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2963         [BZ #20629]
2964         resolv: Remove RES_USEBSTRING and its implementation.
2965         * resolv/resolv.h (RES_USEBSTRING): Remove.
2966         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2967         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2968         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2969         (labellen): Remove extended label types support.
2970         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2971         * resolv/res_init.c (res_setoptions): Likewise.
2972         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2974 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2976         resolv: Remove RES_NOIP6DOTINT and its implementation.
2977         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2978         (RES_NOIP6DOTINT): Remove.
2979         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2980         handling.
2981         * resolv/res_debug.c (p_option): Likewise.
2982         * resolv/res_init.c (res_setoptions): Likewise.
2983         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2985 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2987         resolv: Deprecate unimplemented flags.
2988         * misc/sys/cdefs.h (__glibc_macro_warning1)
2989         (__glibc_macro_warning): Define.
2990         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2991         (RES_KEEPTSIG): Mark as deprecated.
2992         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2993         RES_NOCHECKNAME, RES_KEEPTSIG.
2994         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2996 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2998         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2999         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3000         Use strong_alias to create symbols for glibc verison 2.19.
3002 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3004         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3006 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3008         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3010 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3012         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3014 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3016         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3017         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3018         in header for using it as type for ifunc function because __GI_* symbols
3019         for ppc32 do not target the ifunc symbols.
3020         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3022 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3024         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3025         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3026         libc_ifunc_hidden_def.
3027         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3028         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3029         Redirect ifunced function in header for using it as type of ifunc'ed
3030         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3031         function for __GI_* symbol.
3032         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3033         * include/libc-symbols.h
3034         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3036 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3038         [BZ #20478]
3039         * sysdeps/s390/multiarch/ifunc-resolve.h
3040         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3041         to create ifunc symbols.
3042         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3043         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3044         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3045         for using it as type for ifunc function.
3046         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3047         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3048         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3049         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3050         * sysdeps/s390/multiarch/strcat.c: Likewise.
3051         * sysdeps/s390/multiarch/strchr.c: Likewise.
3052         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3053         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3054         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3055         * sysdeps/s390/multiarch/strlen.c: Likewise.
3056         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3057         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3058         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3059         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3060         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3061         * sysdeps/s390/multiarch/strspn.c: Likewise.
3062         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3063         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3064         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3065         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3066         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3067         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3068         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3069         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3070         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3071         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3072         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3073         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3075 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3077         * include/libc-symbols.h (__ifunc_resolver):
3078         New macro is used by __ifunc* macros.
3079         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3080         depending on HAVE_GCC_IFUNC.
3081         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3082         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3084         Redirect ifunced function in header for using as type for ifunc function.
3085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3089         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3092         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3093         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3094         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3095         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3096         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3098         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3105         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3106         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3107         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3108         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3109         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3110         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3111         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3112         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3113         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3114         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3115         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3116         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3117         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3119         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3120         instead of libc_ifunc() macro.
3121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3124 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3126         * config.h.in (HAVE_GCC_IFUNC): New undef.
3127         * configure.ac: Add check if gcc supports attribute ifunc feature.
3128         * configure: Regenerated.
3129         * manual/install.texi: Add recommendation for gcc with
3130         indirect-function support.
3131         * INSTALL: Regenerated.
3133 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3135         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3136         macro.
3137         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3138         (__iseqsig): New declaration.
3139         * math/s_iseqsig_template.c: New file.
3140         * math/Versions (__iseqsigf): New libm symbol at version
3141         GLIBC_2.25.
3142         (__iseqsig): Likewise.
3143         (__iseqsigl): Likewise.
3144         * math/libm-test.inc (iseqsig_test_data): New array.
3145         (iseqsig_test): New function.
3146         (main): Call iseqsig_test.
3147         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3148         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3149         * manual/libm-err-tab.pl: Update comment on interfaces without
3150         ulps tabulated.
3151         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3152         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3153         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3154         * sysdeps/nacl/libm.abilist: Update.
3155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3168         Likewise.
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3172         Likewise.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3174         Likewise.
3175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3181         Likewise.
3182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3183         Likewise.
3184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3188 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3190         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3191         do_sincos_2, sloww, sloww1): Update comments.
3193         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3194         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3196         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3197         K boolean and rename it.
3198         (__sin): Adjust.
3199         (__cos): Adjust.
3201 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3202             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3204         * manual/nss.texi: Fix typos in the manual.
3206 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3208         * manual/contrib.texi: Fix typos in the manual.
3210         * manual/maint.texi: Fix typos in the manual.
3212         * manual/install.texi: Fix typos in the manual.
3213         * INSTALL: Regenerated.
3215         * manual/lang.texi: Fix typos in the manual.
3217         * manual/probes.texi: Fix typos in the manual.
3219         * manual/threads.texi: Fix typos in the manual.
3221         * manual/debug.texi: Fix typos in the manual.
3223         * manual/crypt.texi: Fix typos in the manual.
3225         * manual/conf.texi: Fix typos in the manual.
3227         * manual/sysinfo.texi: Fix typos in the manual.
3229         * manual/users.texi: Fix typos in the manual.
3231         * manual/job.texi: Fix typos in the manual.
3233         * manual/process.texi: Fix typos in the manual.
3235         * manual/argp.texi: Fix typos in the manual.
3236         * manual/getopt.texi: Likewise.
3237         * manual/startup.texi: Likewise.
3239         * manual/signal.texi: Fix typos in the manual.
3241         * manual/setjmp.texi: Fix typos in the manual.
3243         * manual/resource.texi: Fix typos in the manual.
3245         * manual/time.texi: Fix typos in the manual.
3247         * manual/arith.texi: Fix typos in the manual.
3249         * manual/math.texi: Fix typos in the manual.
3251         * manual/syslog.texi: Fix typos in the manual.
3253         * manual/terminal.texi: Fix typos in the manual.
3255         * manual/socket.texi: Fix typos in the manual.
3257         * manual/filesys.texi: Fix typos in the manual.
3259         * manual/llio.texi: Fix typos in the manual.
3261         * manual/stdio.text: Fix typos in the manual.
3263 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3265         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3266         instead of K1.
3268         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3269         SHIFT_QUADRANT and make it bool.
3270         (do_sincos_2): Likewise.
3271         (sloww): Likewise.
3272         (sloww1): Likewise.
3273         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3274         (__cos): Likewise.
3276 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3278         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3280 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3282         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3283         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3284         0x7fffffffL].
3285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3287 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3289         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3290         inline by __inline__.
3291         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3292         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3293         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3295         sigset_t from signal.h.
3296         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3297         which is already required.
3299 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3301         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3303 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3305         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3306         (struct tcp_repair_window): New type.
3308 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3310         * libio/tst-memstream3.c: Include string.h.
3312 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3314         [BZ #18241]
3315         [BZ #20181]
3316         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3317         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3318         write position is at the end the buffer.
3319         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3320         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3321         (_IO_str_seekoff): Set correct offset from negative displacement and
3322         set EINVAL for invalid ones.
3323         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3324         buffer length.
3325         (_IO_wstr_switch_to_get_mode): New function.
3326         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3327         set EINVAL for invalid ones.
3328         * libio/tst-memstream3.c: New file.
3329         * libio/tst-wmemstream3.c: Likewise.
3330         * manual/examples/memstrm.c: Remove warning when priting size_t.
3332 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3334         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3335         macro to use __builtin_fma.
3336         * sysdeps/x86_64/fpu/dla.h: Remove file.
3338         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3339         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3340         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3342 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3344         [BZ #20292]
3345         * elf/Makefile (routines): Add dl-addr-obj.
3346         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3347         tst-_dl_addr_inside_object.
3348         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3349         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3350         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3351         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3352         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3353         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3354         * elf/dl-open.c: Likewise.
3355         * elf/dl-addr-obj.c: New file.
3356         * elf/tst-_dl_addr_inside_object.c: New file.
3358 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3360         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3361         <bits/iscanonical.h>.
3362         * bits/iscanonical.h: New file.
3363         * math/s_iscanonicall.c: Likewise.
3364         * math/Versions (__iscanonicall): New libm symbol at version
3365         GLIBC_2.25.
3366         * math/libm-test.inc (iscanonical_test_data): New array.
3367         (iscanonical_test): New function.
3368         (main): Call iscanonical_test.
3369         * math/Makefile (headers): Add bits/iscanonical.h.
3370         (type-ldouble-routines): Add s_iscanonicall.
3371         * manual/arith.texi (Floating Point Classes): Document
3372         iscanonical.
3373         * manual/libm-err-tab.pl: Update comment on interfaces without
3374         ulps tabulated.
3375         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3376         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3377         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3378         Likewise.
3379         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3380         test-iscanonical-ldbl-128ibm.
3381         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3382         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3383         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3384         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3386         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3389         Likewise.
3390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3391         Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3393         Likewise.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3397         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3399 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3401         * string/bits/string3.h: Remove C++ style comments.
3403 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3405         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3406         instead of ternary condition.
3407         (do_sincos_2): Likewise.
3408         (__sin): Likewise.
3409         (__cos): Likewise.
3410         (slow): Likewise.
3411         (sloww): Likewise.
3412         (sloww1): Likewise.
3413         (bsloww): Likewise.
3414         (bsloww1): Likewise.
3416         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3417         instead of ternary condition.
3418         (do_sin_slow): Likewise.
3419         (do_sincos_1): Likewise.
3420         (do_sincos_2): Likewise.
3421         (__cos): Likewise.
3422         (sloww): Likewise.
3423         (sloww1): Likewise.
3424         (sloww2): Likewise.
3425         (bsloww): Likewise.
3426         (bsloww1): Likewise.
3427         (bsloww2): Likewise.
3429         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3430         check from here...
3431         (slow2): ... and here...
3432         (__sin): ... to here.
3434 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3436         * math/math.h
3437         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3438         Cast argument to its own type.
3439         * math/test-iszero-excess-precision.c: New file.
3440         * math/Makefile (tests): Add test-iszero-excess-precision.
3441         (CFLAGS-test-iszero-excess-precision.c): New variable.
3443 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3445         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3446         field, add err field.
3447         (__spawni_child): Report error through err member instead of pipe.
3448         (__spawnix): Likewise.
3450 2016-09-28  Zack Weinberg  <zackw@panix.com>
3452         * scripts/check-installed-headers.sh: Generalize treatment of
3453         sys/elf.h to all target architectures.
3455         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3456         deleted typedef ucontext_t.
3458 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3460         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3461         (__INTERNAL_SYSCALL1): Likewise.
3462         (__INTERNAL_SYSCALL2): Likewise.
3463         (__INTERNAL_SYSCALL3): Likewise.
3464         (__INTERNAL_SYSCALL4): Likewise.
3465         (__INTERNAL_SYSCALL5): Likewise.
3466         (__INTERNAL_SYSCALL6): Likewise.
3467         (__INTERNAL_SYSCALL7): Likewise.
3468         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3469         (__INTERNAL_SYSCALL_NARGS): Likewise.
3470         (__INTERNAL_SYSCALL_DISP): Likewise.
3471         (INTERNAL_SYSCALL_CALL): Likewise.
3472         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3473         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3474         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3475         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3476         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3477         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3478         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3479         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3480         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3481         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3482         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3483         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3484         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3486 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3488         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3489         macro.
3490         * math/libm-test.inc (iszero_test_data): New array.
3491         (iszero_test): New function.
3492         (main): Call iszero_test.
3493         * manual/arith.texi (Floating Point Classes): Document iszero.
3494         * manual/libm-err-tab.pl: Update comment on interfaces without
3495         ulps tabulated.
3497 2016-09-23  Zack Weinberg  <zackw@panix.com>
3499         * scripts/check-installed-headers.sh: New script.
3500         * Rules: In each directory that defines header files to be installed,
3501         run check-installed-headers.sh on them as a special test.
3502         * Makefile: Likewise for the headers installed at top level.
3504         * include/aliases.h, include/alloca.h, include/argz.h
3505         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3506         * include/elf.h, include/envz.h, include/err.h
3507         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3508         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3509         * include/link.h, include/malloc.h, include/mcheck.h
3510         * include/mntent.h, include/netinet/ether.h
3511         * include/nss.h, include/obstack.h, include/printf.h
3512         * include/pty.h, include/resolv.h, include/rpc/auth.h
3513         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3514         * include/rpc/clnt.h, include/rpc/des_crypt.h
3515         * include/rpc/key_prot.h, include/rpc/netdb.h
3516         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3517         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3518         * include/rpc/rpc_msg.h, include/rpc/svc.h
3519         * include/rpc/svc_auth.h, include/rpc/xdr.h
3520         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3521         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3522         * include/rpcsvc/ypupd.h, include/shadow.h
3523         * include/stdio_ext.h, include/sys/epoll.h
3524         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3525         * include/sys/prctl.h, include/sys/profil.h
3526         * include/sys/statfs.h, include/sys/sysctl.h
3527         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3528         * sysdeps/arm/nacl/include/bits/setjmp.h
3529         * sysdeps/mips/include/sys/asm.h
3530         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3531         * sysdeps/unix/sysv/linux/include/sys/timex.h
3532         * sysdeps/x86/fpu/include/bits/fenv.h:
3533         Add #ifndef _ISOMAC guard around internal declarations.
3534         Add multiple-inclusion guard if not already present.
3536 2016-09-23  Zack Weinberg  <zackw@panix.com>
3538         * sysdeps/generic/sys/ucontext.h
3539         * sysdeps/arm/sys/ucontext.h
3540         * sysdeps/i386/sys/ucontext.h
3541         * sysdeps/m68k/sys/ucontext.h
3542         * sysdeps/mips/sys/ucontext.h
3543         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3544         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3545         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3546         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3547         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3548         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3549         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3550         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3551         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3552         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3553         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3554         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3555         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3556         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3557         Include both bits/sigcontext.h and bits/sigstack.h.
3558         Fix grammar error in comment, if present.
3560         * bits/sigstack.h
3561         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3562         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3563         * sysdeps/unix/sysv/linux/bits/sigstack.h
3564         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3565         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3566         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3567         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3568         * bits/sigcontext.h
3569         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3570         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3571         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3572         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3573         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3574         as well as signal.h, if this was not already allowed.  Request
3575         definition of size_t if necessary.  Minimize semantically-null
3576         differences across files.
3578 2016-09-23  Zack Weinberg  <zackw@panix.com>
3580         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3581         Remove all logic conditional on __need macros.  Move all the
3582         conditionally defined types to their own headers...
3583         * time/bits/types/clock_t.h: Define clock_t here.
3584         * time/bits/types/clockid_t.h: Define clockid_t here.
3585         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3586         * time/bits/types/struct_timespec.h: Define struct timespec here.
3587         * time/bits/types/struct_timeval.h: Define struct timeval here.
3588         * time/bits/types/struct_tm.h: Define struct tm here.
3589         * time/bits/types/time_t.h: Define time_t here.
3590         * time/bits/types/timer_t.h: Define timer_t here.
3591         * time/Makefile: Install the new headers.
3593         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3594         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3595         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3596         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3597         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3598         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3599         * sysdeps/unix/sysv/linux/bits/resource.h
3600         * sysdeps/unix/sysv/linux/bits/timex.h
3601         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3602         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3603         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3604         * sysdeps/unix/sysv/linux/sys/acct.h
3605         * sysdeps/unix/sysv/linux/sys/timerfd.h
3606         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3607         * time/sys/time.h, time/sys/timeb.h
3608         Use the new bits/types headers.
3610         * include/time.h: Remove __need logic.
3611         * include/bits/time.h
3612         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3613         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3614         * include/bits/types/struct_itimerspec.h
3615         * include/bits/types/struct_timespec.h
3616         * include/bits/types/struct_timeval.h
3617         * include/bits/types/struct_tm.h:
3618         New wrapper headers.
3620 2016-09-23  Zack Weinberg  <zackw@panix.com>
3622         * sysdeps/mach/hurd/net/if_ppp.h
3623         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3624         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3625         if __USE_MISC is defined, to ensure struct ifreq is declared.
3627         * inet/netinet/ether.h: Condition all function prototypes
3628         on __USE_MISC, to ensure struct ether_addr is declared.
3630         * socket/bits/types/struct_osockaddr.h: New header.
3631         * include/bits/types/struct_osockaddr.h: New wrapper.
3632         * socket/Makefile: Install the new header.
3633         * socket/sys/socket.h, inet/protocols/talkd.h:
3634         Refer to bits/types/struct_osockaddr.h for the definition of
3635         struct osockaddr.
3637 2016-09-23  Zack Weinberg  <zackw@panix.com>
3639         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3640         * inet/protocols/routed.h, inet/protocols/talkd.h
3641         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3642         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3643         * sysdeps/generic/netinet/if_ether.h
3644         * sysdeps/generic/netinet/in_systm.h
3645         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3646         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3647         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3648         * sysdeps/mach/hurd/net/if_arp.h
3649         * sysdeps/mach/hurd/net/if_ppp.h
3650         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3651         * sysdeps/unix/sysv/linux/bits/in.h
3652         * sysdeps/unix/sysv/linux/net/ethernet.h
3653         * sysdeps/unix/sysv/linux/net/if_arp.h
3654         * sysdeps/unix/sysv/linux/net/if_ppp.h
3655         * sysdeps/unix/sysv/linux/net/if_shaper.h
3656         * sysdeps/unix/sysv/linux/net/route.h
3657         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3658         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3659         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3660         * sysdeps/unix/sysv/linux/netipx/ipx.h
3661         * sysdeps/unix/sysv/linux/sys/acct.h
3662         * include/arpa/nameser.h, include/resolv.h:
3663         Change all uses of u_char to unsigned char,
3664         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3665         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3666         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3667         and u_int64_t and u_quad_t to uint64_t.
3669         * mach/sys/reboot.h: Remove two casts of integer literals
3670         to the types they already have.
3672         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3673         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3674         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3675         from referring to 'unsigned char' to 'uint8_t' for consistency with
3676         the macro definition below.
3678         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3679         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3680         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3681         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3682         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3683         * sysdeps/unix/sysv/linux/sys/acct.h
3684         * include/arpa/nameser.h, include/resolv.h:
3685         Fix indentation disrupted by mechanical edits.
3687         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3688         * sysdeps/generic/netinet/in_systm.h
3689         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3690         * sysdeps/gnu/netinet/udp.h
3691         * sysdeps/unix/sysv/linux/net/ethernet.h
3692         * sysdeps/unix/sysv/linux/net/if_arp.h
3693         * sysdeps/unix/sysv/linux/net/if_ppp.h
3694         * sysdeps/unix/sysv/linux/net/if_shaper.h
3695         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3696         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3697         * sysdeps/unix/sysv/linux/netipx/ipx.h
3698         * sysdeps/unix/sysv/linux/sys/acct.h
3699         Include stdint.h for uintNN_t definitions.
3700         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3702 2016-09-23  Zack Weinberg  <zackw@panix.com>
3704         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3705         * sysdeps/unix/sysv/linux/netrose/rose.h:
3706         Include sys/socket.h and netax25/ax25.h.
3708         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3709         * resolv/arpa/nameser_compat.h:
3710         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3712         * sysdeps/unix/sysv/linux/sys/quota.h:
3713         Use __caddr_t instead of caddr_t.
3714         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3715         Use __clockid_t instead of clockid_t.
3717         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3719         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3720         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3721         expanding it.
3723         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3724         Define __glibc_c99_flexarr_available to 1 when the compiler
3725         supports C99-compatible flexible array members, 0 otherwise.
3726         * sysdeps/unix/sysv/linux/bits/socket.h
3727         * sysdeps/mach/hurd/bits/socket.h
3728         * bits/socket.h: Use __glibc_c99_flexarr_available in
3729         definitions of struct cmsghdr and CMSG_DATA.
3731 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3733         * manual/nss.texi (NSS Modules Interface): Adjust function return
3734         type to enum nss_status.  Document errnop argument.  Clarify
3735         h_errnop semantics.  Fix cross-reference formatting.
3736         (NSS Module Function Internals): Mention that *errnop needs to be
3737         set on failure, but not to zero.
3739 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3741         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3742         (get_random_name): New functions.
3743         (check_wrapper_flags_mode): Use linkat to give the new file a name
3744         determined by get_random_name.
3745         (do_test): Add calls to test open64 and openat64.
3747 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3749         * test-skeleton.c: Remove #include <stdarg.h>.
3751 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3753         [BZ #19826]
3754         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3755         initialization of static TLS entries.
3756         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3757         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3759 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3761         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3762         _hurd_malloc_fork_prepare.
3763         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3764         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3765         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3766         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3767         (_hurd_fork_child_hook): Drop malloc_fork_child.
3768         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3769         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3770         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3771         after locking locks (notably hurd_dtable_lock). Call
3772         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3773         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3774         __malloc_fork_unlock_child.
3775         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3777 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3779         * soft-fp/extendhftf2.c: New.
3780         * soft-fp/fixhfti.c: Likewise.
3781         * soft-fp/fixunshfti.c: Likewise.
3782         * soft-fp/floattihf.c: Likewise.
3783         * soft-fp/floatuntihf.c: Likewise.
3784         * soft-fp/half.h: Likewise.
3785         * soft-fp/trunctfhf2.c: Likewise.
3787 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3789         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3790         macro.
3791         * math/libm-test.inc (issubnormal_test_data): New array.
3792         (issubnormal_test): New function.
3793         * manual/arith.texi (Floating Point Classes): Document
3794         issubnormal.
3795         * manual/libm-err-tab.pl: Update comment on interfaces without
3796         ulps tabulated.
3798         * sysdeps/generic/stdint.h: Define
3799         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3800         <bits/libc-header-start.h> instead of including <features.h>.
3801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3834         * manual/arith.texi (Integers): Document these macros for types
3835         specified by width properties.
3836         * manual/lang.texi (Width of Type): Document these macros for
3837         other standard typedefs.
3838         * stdlib/tst-width-stdint.c: New file.
3839         * stdlib/Makefile (tests): Add tst-width-stdint.
3841 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3843         [BZ #20016]
3844         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3845         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3846         Move ...
3847         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3848         ... here, as compatibility symbols in a new file.
3849         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3850         * resolv/res_init.c (__res_vinit): Adjust member names.
3851         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3852         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3853         (res_send_rhook): Remove.
3854         (struct __res_state): Rename qhook, rhook members.
3856 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3858         malloc: Use __libc_lock wrappers.
3859         * malloc/arena.c (list_lock, free_list_lock): Define using
3860         __libc_lock_define_initialized.
3861         (arena_lock): Adjust formatting.
3862         * malloc/malloc.c (struct malloc_state): Define mutex using
3863         __libc_lock_define.
3864         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3865         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3866         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3867         (mutex_unlock, mutex_trylock): Remove.
3868         (__pthread_initialize): Remove unused macro.
3869         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3870         (mutex_unlock, mutex_trylock): Remove.
3872 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3874         [BZ #20592]
3875         Remove RR type classification macros.
3876         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3877         (ns_t_udp_p, ns_t_xfr_p): Remove.
3879 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3881         Remove misleading version information.
3882         * resolv/arpa/nameser.h (__NAMESER): Remove.
3883         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3885 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3887         Remove the always-defined BIND_4_COMPAT macro.
3888         * resolv/arpa/nameser.h: Unconditionally include
3889         <arpa/nameser_compat.h>.
3890         (BIND_4_COMPAT): Remove.
3891         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3893 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3895         [BZ #20591]
3896         Remove obsolete DNSSEC support.
3897         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3898         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3899         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3900         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3901         (ns_cert_types): Add comment.
3902         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3903         separately.
3904         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3905         (dst_s_dns_key_id): Remove.
3906         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3907         variables.
3909 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3911         [BZ #20524]
3912         * manual/string.texi (String/Array Comparison): Clarify the
3913         strverscmp behavior.
3915 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3917         * test-skeleton.c (xasprintf): Add function.
3918         * io/tst-open-tmpfile.c: New test.
3919         * io/Makefile (tests): Add it.
3921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3923         Avoid running $(CXX) during build to obtain header file paths.
3924         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3925         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3926         * Makerules (cstdlib, cmath): Remove variables.  Use
3927         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3928         * configure: Regenerate.
3930 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3932         * Makeconfig (all-object-suffixes): Include .op only if
3933         $(build-profile).
3935 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3937         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3938         conditionals.  Do not define PATH_MAX.
3940 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3942         * posix/Makefile (tests): Add tst-spawn3.
3943         * posix/tst-spawn3.c: New file.
3944         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3945         if it is already opened for open action.
3947         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3948         all signals when executing the clone vfork child.
3949         (SIGALL_SET): Remove macro.
3951         * nptl/Makefile (tests): Add tst-exec5.
3952         * nptl/tst-exec5.c: New file.
3953         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3954         asynchronous cancellation.
3956 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3958         * hurd/exc2signal.c: #include <hurd/signal.h>
3959         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3960         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3961         accordingly.
3962         * mach/mach_error.c (mach_error): Fix old-style function definition.
3963         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3965 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3967         * math/Makefile (libm-calls): Remove s_nanF.
3968         (gen-libm-calls): Add s_nanF.
3970         * math/s_nan.c: Refactor into ...
3971         * math/s_nan_template.c: New file.
3973         * math/s_nanf.c: Removed.
3974         * math/s_nanl.c: Removed.
3975         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3976         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3978         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3979         (LDOUBLE_nanl_libm_version): New macro.
3981         * sysdeps/generic/math-type-macros-double.h:
3982         (M_STRTO_NAN): New macro.
3983         * sysdeps/generic/math-type-macros-float.h: Likewise.
3984         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3986         * sysdeps/generic/math-type-macros.h: Document
3987         M_STRTO_NAN.
3989 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3991         * math/s_nanf.c: Remove __nanf undef.
3992         * math/s_nan.c: Remove __nan undef.
3993         * math/s_nanl.c: Remove __nanl undef.
3995         * sysdeps/generic/math_private.h (__nan): Remove macro
3996         override.
3997         (__nanf): Likewise.
3998         (__nanl): Likewise.
4000 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4002         * math/Makefile (gen-all-calls): New variable.
4003         (generated): Replace gen-libm-calls with gen-all-calls.
4004         (gen-libm-templates.stmp): Likewise.  Also, ensure
4005         the output directory exists or is created and add
4006         dependency on the Makefile.
4007         (calls): Move s_ldexpF into gen-calls.
4008         (gen-calls): New variable.
4010         * math/s_ldexpf.c: Removed.
4011         * math/s_ldexpl.c: Removed.
4012         * math/s_ldexp.c: Refactored into ...
4013         * math/s_ldexp_template.c: New file.
4015         * sysdeps/generic/math-type-macros-double.h: Remove
4016         redundant fall-through definition of declare_mgen_alias.
4017         (declare_mgen_alias_2): New macro.
4019         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4020         New macro for function aliased to two exported symbols.
4022         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4023         new template file.
4024         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4026 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4028         * Makeconfig (all-object-suffixes): Remove .og.
4029         * Makerules (elide-routines.og): Remove.
4030         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4031         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4032         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4034 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4036         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4037         .os objects.
4039 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4041         [BZ #20615]
4042         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4043         fpu directory by non-fpu.
4044         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4045         on non-fpu directory from a fpu directory.
4047 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4049         * include/limits.h: Define
4050         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4051         <bits/libc-header-start.h> instead of including <features.h>.
4052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4063         * manual/lang.texi (Width of Type): Document these macros.
4064         * stdlib/tst-width.c: New file.
4065         * stdlib/Makefile (tests): Add tst-width.
4067 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4069         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4070         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4072 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4074         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4075         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4076         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4078 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4080         [BZ #18243]
4081         * rt/Makefile (test): Add tst-shm-cancel.
4082         * rt/tst-shm-cancel.c: New file.
4083         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4085         [BZ #18243]
4086         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4087         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4088         definition.
4089         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4090         uncontended case.
4091         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4092         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4093         (tf): Fix check for uncontended case.
4094         (do_test): Likewise.
4095         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4096         (tf): Fix check for uncontended case.
4097         (do_test): Likewise.
4098         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4099         (tf): Fix check for uncontended case.
4100         (do_test): Likewise.
4101         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4102         (tf): Fix check for uncontended case.
4103         (do_test): Likewise.
4105         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4106         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4108         [BZ #15765]
4109         * nptl/Makefile (tests): Add tst-sem16.
4110         * nptl/tst-sem16.c: New file.
4111         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4113         * nptl/sem_open.c (sem_open): Init pad value to 0.
4114         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4115         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4117 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4119         [BZ #20611]
4120         * inet/Makefile (routines): Add inet6_scopeid_pton.
4121         (tests): Add tst-inet6_scopeid_pton.
4122         * inet/inet6_scopeid_pton.c: New file.
4123         * inet/net-internal.h: Likewise.
4124         * inet/tst-inet6_scopeid_pton.c: New test.
4125         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4126         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4129 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4131         Remove support for compiling wrappers with PTW.
4132         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4133         * nptl/Makefile (pthread-compat-wrappers): Define.
4134         (libpthread-routines): Use pthread-compat-wrappers.
4135         * sysdeps/unix/sysv/linux/alpha/Makefile
4136         (libpthread-routines, libpthread-shared-only-routines): Remove
4137         ptw- prefix.
4138         * sysdeps/s390/nptl/Makefile
4139         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4140         * sysdeps/ia64/nptl/Makefile
4141         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4142         * sysdeps/nacl/Makefile (libpthread-routines): Use
4143         pthread-compat-wrappers to filter the routines list instead of the
4144         ptw- prefix.
4146 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4148         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4149         with L() and remove explicit suffix, convert real literals
4150         which can be equivalentally substituted with integers, and
4151         transform -L(x) to L(-x).
4153         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4159         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4163         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4167         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4168         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4170         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4171         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4172         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4174         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4175         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4187         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4188         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4189         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4190         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4192         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4193         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4194         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4195         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4198         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4199         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4200         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4201         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4202         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4204 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4206         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4208 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4210         * malloc/Makefile (tests): Remove individual static test names
4211         and just add all of tests-static.
4213         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4215 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4217         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4218         file.
4220         * sysdeps/sparc/fpu/fegetmode.c: New file.
4221         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4223         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4224         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4226         * sysdeps/s390/fpu/fegetmode.c: New file.
4227         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4229         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4230         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4231         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4232         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4233         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4234         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4236         * sysdeps/mips/fpu/fegetmode.c: New file.
4237         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4239         * sysdeps/m68k/fpu/fegetmode.c: New file.
4240         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4242         * sysdeps/ia64/fpu/fegetmode.c: New file.
4243         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4245         * sysdeps/hppa/fpu/fegetmode.c: New file.
4246         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4248         * sysdeps/arm/fegetmode.c: New file.
4249         * sysdeps/arm/fesetmode.c: Likewise.
4251         * sysdeps/alpha/fpu/fegetmode.c: New file.
4252         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4254         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4255         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4257         * math/fegetmode.c: New file.
4258         * math/fesetmode.c: Likewise.
4259         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4260         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4261         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4262         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4263         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4265         declaration.
4266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4267         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4268         typedef.
4269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4270         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4271         (femode_t): New typedef.
4272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4273         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4274         (femode_t): New typedef.
4275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4276         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4277         (femode_t): New typedef.
4278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4279         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4280         (femode_t): New typedef.
4281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4282         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4283         (femode_t): New typedef.
4284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4285         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4286         (femode_t): New typedef.
4287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4288         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4289         (femode_t): New typedef.
4290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4291         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4292         (femode_t): New typedef.
4293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4294         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4295         (femode_t): New typedef.
4296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4297         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4298         (femode_t): New typedef.
4299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4300         declaration.
4301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4302         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4303         (femode_t): New typedef.
4304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4305         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4306         (femode_t): New typedef.
4307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4308         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4309         (femode_t): New typedef.
4310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4311         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4312         (femode_t): New typedef.
4313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4314         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4315         (femode_t): New typedef.
4316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4317         * manual/arith.texi (FE_DFL_MODE): Document macro.
4318         (fegetmode): Document function.
4319         (fesetmode): Likewise.
4320         * math/Versions (fegetmode): New libm symbol at version
4321         GLIBC_2.25.
4322         (fesetmode): Likewise.
4323         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4324         (tests): Add test-femode and test-femode-traps.
4325         * math/test-femode-traps.c: New file.
4326         * math/test-femode.c: Likewise.
4327         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4328         alias for __fe_dfl_env.
4329         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4330         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4331         (__fe_dfl_mode): Likewise.
4332         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4333         version GLIBC_2.25.
4334         * sysdeps/nacl/libm.abilist: Update.
4335         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4348         Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4352         Likewise.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4365         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4366         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4368 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4370         [BZ #20495]
4371         [BZ #20508]
4372         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4373         processors, set Use_dl_runtime_resolve_slow and set
4374         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4375         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4376         New.
4377         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4378         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4379         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4380         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4381         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4382         if Use_dl_runtime_resolve_opt is set.  Use
4383         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4384         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4385         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4386         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4387         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4388         New.
4389         (_dl_runtime_resolve_opt): Likewise.
4390         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4391         defined.
4393 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4395         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4396         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4398 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4400         Convert malloc to __libc_lock.  Automated part, using this Perl
4401         s/// command:
4402           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4403             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4404         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4405         conversion.
4407 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4409         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4410         (linknamespace-symlists-tests): Likewise.
4411         (linknamespace-header-tests): Likewise.
4413 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4415         [BZ #19810]
4416         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4417         * elf/tst-noload.c: New test case.
4418         * elf/Makefile (tests): Add tst-noload.
4420 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4422         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4424         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4425         not any more.
4427         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4429 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4431         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4432         (do_cos_slow): Likewise.
4433         (do_sin): Likewise.
4434         (do_sin_slow): Likewise.
4435         (slow): Likewise.
4436         (slow1): Likewise.
4437         (slow2): Likewise.
4438         (sloww): Likewise.
4439         (sloww1): Likewise.
4440         (sloww2): Likewise.
4441         (bsloww): Likewise.
4442         (bsloww1): Likewise.
4443         (bsloww2): Likewise.
4444         (cslow2): Likewise.
4446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4448         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4449         arguments.  Consolidate input partitioning from callers here.
4450         (do_cos_slow): Likewise.
4451         (do_sin): Likewise.
4452         (do_sin_slow): Likewise.
4453         (do_sincos_1): Remove the no longer necessary input partitioning.
4454         (do_sincos_2): Likewise.
4455         (__sin): Likewise.
4456         (__cos): Likewise.
4457         (slow1): Likewise.
4458         (slow2): Likewise.
4459         (sloww1): Likewise.
4460         (sloww2): Likewise.
4461         (bsloww1): Likewise.
4462         (bsloww2): Likewise.
4463         (cslow2): Likewise.
4465 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4467         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4468         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4469         outside of allocated array.
4471 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4473         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4474         instead of MB_CUR_MAX to avoid variable-length array.
4476 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4478         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4479         (type-double-routines): Add k_rem_pio2.
4480         (type-float-routines): Add k_rem_pio2f.
4482         * sysdeps/generic/math_private.h:
4483         (__kernel_rem_pio2l): Removed.
4485         * math/k_rem_pio2l.c: Removed.
4486         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4487         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4488         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4489         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4491 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4493         * math/Makefile (gen-libm-calls): Add s_fmin
4494         (libm-calls): Remove above.
4496         * math/s_fmin.c: Refactor into ...
4497         * math/s_fmin_template.c: New file.
4499         * math/s_fminf.c: Removed.
4500         * math/s_fminl.c: Removed.
4501         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4502         (LDOUBLE_fmin_libm_version): New macro.
4504         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4505         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4507 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4509         * math/Makefile: (gen-libm-calls): Add s_fmax.
4510         (libm-calls): Remove above.
4512         * math/s_fmax.c: Refactor into ...
4513         * math/s_fmax_template.c: New file.
4514         * math/s_fmaxf.c: Removed.
4515         * math/s_fmaxl.c: Removed.
4517         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4518         (LDOUBLE_fmaxl_libm_version): New macro.
4520         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4521         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4523         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4524         s_fmin.c to pick the aarch64 version of the file.
4525         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4526         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4528 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4530         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4531         (libm-calls): Remove above.
4533         * math/s_nextdown.c: Refactor into ...
4534         * math/s_nextdown_template.c: New file.
4535         * math/s_nextdownf.c: Removed.
4536         * math/s_nextdownl.c: Removed.
4538         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4540 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4542         * math/Makefile (gen-libm-calls): Add s_fdim.
4543         (libm-calls): Move to above.
4545         * math/s_fdim.c: Renamed and refactored into to ...
4546         * math/s_fdim_template.c: New file.
4547         * math/s_fdiml.c: Removed.
4548         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4549         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4551         * sysdeps/generic/math-type-macros-double.h:
4552         (declare_mgen_alias): Don't declare if already declared.
4553         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4554         Likewise.
4556         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4557         (declare_mgen_alias): Don't declare if already declared.
4558         (M_LIBM_NEED_COMPAT): Likewise.
4559         (declare_mgen_libm_compat): Likewise.
4560         (LDOUBLE_fdiml_libm_version): New macro.
4562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4563         Include math/s_fdim.c now that ldbl-opt version is not needed.
4564         (declare_mgen_alias): New macro to disable aliasing.
4566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4567         (declare_mgen_alias): Likewise.
4568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4569         (declare_mgen_alias): Likewise.
4570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4571         (declare_mgen_alias): Likewise.
4572         (M_LIBM_NEED_COMPAT): Likewise.
4574 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4576         [BZ #20525]
4577         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4578         Include <linux/quota.h>.
4579         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4580         and btodb.
4581         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4582         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4583         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4584         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4585         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4586         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4587         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4588         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4589         types.
4590         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4591         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4593 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4595         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4596         (gammal_positive): Fix spacing.
4597         (__ieee754_gammal_r): Likewise.
4599 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4601         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4602         (_Float128): Define as long double, always.
4603         (L): Apply long double type suffix, always.
4605         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4606         _Float128, excepting comments.
4608         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4609         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4610         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4615         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4616         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4620         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4621         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4622         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4623         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4624         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4625         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4626         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4627         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4628         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4643         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4645         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4648         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4649         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4665         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4674         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4675         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4677         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4678         _Float128, and include math_private.h.
4679         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4682         long double semantics.
4683         (_Float128): Likewise.
4684         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4685         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4686         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4687         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4689 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4691         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4692         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4693         * sysdeps/s390/configure: Regenerated.
4694         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4695         instruction for raising over-/underflow if z196 zarch is supported
4696         by default.
4697         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4699 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4701         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4702         it point to a dumb buffer for RPC to fill it.
4704 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4706         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4707         instead of if/else.
4708         (do_sin_slow): Likewise.
4709         (do_sincos_1): Use fabs instead of if/else.
4710         (do_sincos_2): Likewise.
4711         (__sin): Likewise.
4712         (__cos): Likewise.
4713         (slow2): Likewise.
4714         (sloww): Likewise.
4715         (sloww1): Likewise.  Drop argument M.
4716         (sloww2): Use fabs instead of if/else.
4717         (bsloww): Likewise.
4718         (bsloww1): Likewise.
4719         (bsloww2): Likewise.
4721         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4722         fall through comment.
4723         (do_sincos_1): Likewise.
4725         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4726         Consolidate switch cases 0 and 2.
4728 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4730         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4731         (libm-calls): Remove the above.
4733         * math/s_cexp_template.c: Update using type-generic macros.
4734         * math/s_clog10_template.c: Likewise.
4735         * math/s_cpow_template.c: Likewise.
4736         * math/s_clog_template.c: Likewise.
4737         * math/s_cproj_template.c: Likewise.
4738         * math/s_csqrt_template.c: Likewise.
4740         * math/s_cexp.c: Removed.
4741         * math/s_cexpf.c: Removed.
4742         * math/s_cexpl.c: Removed.
4743         * math/s_clog10.c: Removed.
4744         * math/s_clog10f.c: Removed.
4745         * math/s_clog10l.c: Removed.
4746         * math/s_cpow.c: Removed.
4747         * math/s_cpowf.c: Removed.
4748         * math/s_cpowl.c: Removed.
4749         * math/s_clog.c: Removed.
4750         * math/s_clogf.c: Removed.
4751         * math/s_clogl.c: Removed.
4752         * math/s_cproj.c: Removed.
4753         * math/s_cprojf.c: Removed.
4754         * math/s_cprojl.c: Removed.
4755         * math/s_csqrt.c: Removed.
4756         * math/s_csqrtf.c: Removed.
4757         * math/s_csqrtl.c: Removed.
4759         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4760         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4761         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4762         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4763         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4764         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4766         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4767         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4768         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4769         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4770         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4771         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4772         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4773         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4774         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4775         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4776         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4778         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4779         version.
4781         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4782         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4783         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4784         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4786 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4788         * s_cexp_template.c: Copy of s_cexp.c.
4789         * s_clog_template.c: Copy of s_clog.c.
4790         * s_clog10_template.c: Copy of s_clog10.c.
4791         * s_cpow_template.c: Copy of s_cpow.c.
4792         * s_cproj_template.c: Copy of s_cproj.c.
4793         * s_csqrt_template.c: Copy of s_csqrt.c.
4795 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4797         [BZ #20517]
4798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4799         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4800         exported.
4802 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4804         * math/fetestexceptflag.c: New file.
4805         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4806         Stefan Liebler.
4807         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4808         (fetestexceptflag): New function declaration.
4809         * manual/arith.texi (fetestexceptflag): Document function.
4810         * math/Versions (fetestexceptflag): New libm symbol at version
4811         GLIBC_2.25.
4812         * math/Makefile (libm-support): Add fetestexceptflag.
4813         (tests): Add test-fetestexceptflag.
4814         * math/test-fetestexceptflag.c: New file.
4815         * sysdeps/nacl/libm.abilist: Update.
4816         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4833         Likewise.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4837         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4842         Likewise.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4849 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4851         [BZ #20432]
4852         Avoid strong references to malloc-internal symbols when linking
4853         statically, to support statically interposed mallocs.
4854         * include/libc-symbols.h (call_function_static_weak): New macro.
4855         * malloc/Makefile (tests): Add tst-interpose-nothread,
4856         tst-interpose-thread, tst-interpose-static-nothread,
4857         tst-interpose-static-thread.
4858         (tests-static): Add tst-interpose-static-nothread,
4859         tst-interpose-static-thread.
4860         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4861         tst-interpose-aux-thread.o.
4862         (test-extras): Add tst-interpose-aux-nothread,
4863         tst-interpose-aux-thread.
4864         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4865         tst-interpose-aux-nothread.o.
4866         (tst-interpose-thread, tst-interpose-static-thread): Link with
4867         tst-interpose-aux-thread.o and libthread.
4868         * malloc/tst-interpose-aux-nothread.c: New file.
4869         * malloc/tst-interpose-aux-thread.c: Likewise.
4870         * malloc/tst-interpose-aux.c: Likewise.
4871         * malloc/tst-interpose-aux.h: Likewise.
4872         * malloc/tst-interpose-nothread.c: Likewise.
4873         * malloc/tst-interpose-skeleton.c: Likewise.
4874         * malloc/tst-interpose-static-nothread.c: Likewise.
4875         * malloc/tst-interpose-static-thread.c: Likewise.
4876         * malloc/tst-interpose-thread.c: Likewise.
4877         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4878         * sysdeps/mach/hurd/fork.c (__fork): Only call
4879         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4880         __malloc_fork_unlock_child if defined.
4881         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4883 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4885         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4886         timespec C99 designated initialization.
4888 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4890         [BZ #19946]
4891         Avoid expected SIGALRM signals.
4892         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4893         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4894         (xpthread_create, xpthread_detach, xpthread_join)
4895         (delayed_exit_thread, delayed_exit): New functions.
4896         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4897         (tf): Use xpthread_cond_wait.
4898         (do_test): Likewise.  Replace alarm with delayed_exit.
4899         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4900         (do_test): Call delayed_exit.  Report failure.
4901         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4902         (do_test): Call delayed_exit.
4903         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4904         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4905         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4906         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4907         error.
4908         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4909         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4910         error.
4911         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4912         (do_test): Call delayed_exit.
4913         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4914         (do_test): Call delayed_exit.
4915         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4916         (do_test): Call delayed_exit instead of alarm.  Use
4917         xpthread_mutex_lock.
4918         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4919         (do_test): Call delayed_exit instead of alarm.  Use
4920         xpthread_mutex_lock.
4921         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4922         (do_test): Call delayed_exit instead of alarm.
4923         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4924         (do_test): Call delayed_exit instead of alarm.  Use
4925         xpthread_spin_lock.
4926         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4927         (do_test): Call delayed_exit instead of alarm.  Use
4928         xpthread_join.
4930 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4932         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4933         adjust CFA when allocating register save area on re-aligned
4934         stack.
4936 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4938         * string/tst-cmp.c: New test.
4939         * string/Makefile (tests): Add it.
4941 2016-08-25  Mark Wielaard  <mark@klomp.org>
4943         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4944         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4945         (check_tree_recurse): Use newly defined accessors.
4946         (check_tree): Likewise.
4947         (maybe_split_for_insert): Likewise.
4948         (__tfind): Likewise.
4949         (__tdelete): Likewise.
4950         (trecurse): Likewise.
4951         (tdestroy_recurse): Likewise.
4952         (__tsearch): Likewise. And add asserts for malloc alignment.
4953         (__twalk): Cast root to node in case CHECK_TREE is defined.
4955 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4957         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4959 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4961         * math/Makefile (libm-gen-calls): Add
4962         catan, catanh, ctan, ctanh.
4963         (libm-calls): Remove the above.
4965         * math/s_catan_template.c: Update using type-generic macros.
4966         * math/s_catanh_template.c: Likewise.
4967         * math/s_ctan_template.c: Likewise.
4968         * math/s_ctanh_template.c: Likewise.
4970         * math/s_catanf.c: Removed.
4971         * math/s_catan.c: Removed.
4972         * math/s_catanl.c: Removed.
4973         * math/s_catanhf.c: Removed.
4974         * math/s_catanh.c: Removed.
4975         * math/s_catanhl.c: Removed.
4976         * math/s_ctanf.c: Removed.
4977         * math/s_ctan.c: Removed.
4978         * math/s_ctanl.c: Removed.
4979         * math/s_ctanhf.c: Removed.
4980         * math/s_ctanh.c: Removed.
4981         * math/s_ctanhl.c: Removed.
4983         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4984         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4985         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4986         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4987         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4988         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4990         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4991         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4992         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4993         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4995 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4997         * s_catan_template.c: Copy of s_catan.c.
4998         * s_catanh_template.c: Copy of s_catanh.c.
4999         * s_ctan_template.c: Copy of s_ctan.c.
5000         * s_ctanh_template.c: Copy of s_ctanh.c.
5002 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5004         * math/Makefile (gen-libm-calls): Move
5005         casin, casinh, csin, csinh here.
5006         (libm-calls): Remove the above.
5008         * math/s_casin_template.c: Update using type-generic macros.
5009         * math/s_casinh_template.c: Likewise.
5010         * math/s_csin_template.c: Likewise.
5011         * math/s_csinh_template.c: Likewise.
5012         * math/k_casinh_template.c: Likewise.
5014         * math/s_casinf.c: Removed.
5015         * math/s_casin.c: Removed.
5016         * math/s_casinl.c: Removed.
5017         * math/s_casinh.c: Removed.
5018         * math/s_casinhf.c: Removed.
5019         * math/s_casinhl.c: Removed.
5020         * math/s_csin.c: Removed.
5021         * math/s_csinf.c: Removed.
5022         * math/s_csinl.c: Removed.
5023         * math/s_csinh.c: Removed.
5024         * math/s_csinhf.c: Removed.
5025         * math/s_csinhl.c: Removed.
5026         * math/k_casinh.c: Removed.
5027         * math/k_casinhf.c: Removed.
5028         * math/k_casinhl.c: Removed.
5030         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5031         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5032         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5033         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5035         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5036         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5037         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5038         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5039         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5040         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5041         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5042         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5044         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5045         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5046         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5047         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5049         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5050         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5051         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5052         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5054 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5056         * s_casin_template.c: Copy of s_casin.c.
5057         * s_casinh_template.c: Copy of s_casinh.c.
5058         * s_csin_template.c: Copy of s_csin.c.
5059         * s_csinh_template.c: Copy of s_csinh.c.
5060         * k_casinh_template.c: Copy of k_casinh.c.
5062 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5064         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5066 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5068         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5069         (mul_split) Remove, rename as mul_splitl, remove
5070         redundant float.h include, and include via mul_splitl.h
5072         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5074         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5075         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5076         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5078         * math/mul_splitl.h: New file.
5080         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5081         Move into mul_split.h, and remove redundant float.h include.
5083         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5084         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5085         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5086         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5088         * math/mul_split.h: New file.
5090 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5092         * math/Makefile (libm-gen-calls): Move
5093         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5094         (libm-calls): Remove above.
5096         * math/s_cacos_template.c: Update using type-generic macros.
5097         * math/s_cacosh_template.c: Likewise.
5098         * math/s_ccos_template.c: Likewise.
5099         * math/s_ccosh_template.c: Likwise.
5101         * math/s_cacosf.c: Removed.
5102         * math/s_cacos.c: Removed.
5103         * math/s_cacosl.c: Removed.
5104         * math/s_cacoshf.c: Removed.
5105         * math/s_cacosh.c: Removed.
5106         * math/s_cacoshl.c: Removed.
5107         * math/s_ccosf.c: Removed.
5108         * math/s_ccos.c: Removed.
5109         * math/s_ccosl.c: Removed.
5110         * math/s_ccoshf.c: Removed.
5111         * math/s_ccosh.c: Removed.
5112         * math/s_ccoshl.c: Removed.
5114         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5115         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5116         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5117         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5118         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5119         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5121         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5122         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5123         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5124         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5126         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5127         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5128         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5129         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5131 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5133         * s_cacos_template.c: Copy of s_cacos.c.
5134         * s_cacosh_template.c: Copy of s_cacosh.c.
5135         * s_ccos_template.c: Copy of s_ccos.c.
5136         * s_ccosh_template.c: Copy of s_ccosh.c.
5138 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5140         * stdlib/tst-strtod-round-skeleton.c:
5141         Refactored from tst-strtod-round.c.
5143         (L_): New macro to apply literal modifier.
5144         (FNPFX): New macro to select str or wcs prefix.
5145         (CHAR): New macro to choose wchar_t or char.
5146         (STRM): New macro to choose printf for tested character type.
5148         (STRTO): New macro to choose appropriate string -> real function.
5149         (FNPFXS): Stringitized version of FNPFX.
5150         (STR): Support for above macro.
5151         (STRX): Likewise.
5153         (TEST): Update with above macros.
5154         (test): Likewise.
5155         (GEN_ONE_TEST): Likewise.
5156         (test_in_one_mode): Likewise.
5158         * stdlib/tst-strtod-round.c: New file.
5159         * wcsmbs/tst-wcstod-round.c: New file.
5161         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5162         (tst-wcstod-round): Add libm depencency for fesetround.
5164 2016-08-19  Zack Weinberg  <zackw@panix.com>
5166         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5168 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5170         [BZ #20477]
5171         * resolv/res_hconf.c (do_init): Use atomic access.
5172         * resolv/res_hconf.h: Add comments.
5173         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5174         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5177 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5179         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5180         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5181         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5182         Likewise.
5184 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5186         [BZ #16907]
5187         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5188         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5189         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5190         (__attribute__): Remove definition.
5192 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5194         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5195         Remove unused sqrtl declaration.
5197 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5199         * math/Makefile: (gen-libm-templates.stmp): New rule.
5200         (libm-calls): Move carg conj cimag and cabs into ...
5201         (gen-libm-calls): New variable.
5202         (generated): Inform Make objects from gen-libm-calls
5203         may be generated.
5205         * sysdeps/generic/math-type-macros.h: New file.
5206         * sysdeps/generic/math-type-macros-float.h: Likewise.
5207         * sysdeps/generic/math-type-macros-double.h: Likewise.
5208         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5209         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5210         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5212         * math/cabs.c: Refactor into
5213         * math/cabs_template.c: new file.
5214         * math/cabsf.c: Removed.
5215         * math/cabsl.c: Removed.
5216         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5217         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5219         * math/carg.c: Refactor into
5220         * math/carg_template.c: new file.
5221         * math/cargf.c: Removed.
5222         * math/cargl.c: Removed.
5223         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5224         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5226         * math/conj.c: Refactor into
5227         * math/conj_template.c: new file.
5228         * math/conjf.c: Removed.
5229         * math/conjl.c: Removed.
5230         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5231         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5233         * math/cimag.c: Refactor into
5234         * math/cimag_template.c: new file.
5235         * math/cimagf.c: Removed.
5236         * math/cimagl.c: Removed.
5237         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5238         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5240         * math/cimag.c: Refactor into
5241         * math/cimag_template.c: new file.
5242         * math/cimagf.c: Removed.
5243         * math/cimagl.c: Removed.
5244         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5245         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5247 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5249         Reduce time to expected nptl/tst-once5 failure.
5250         * nptl/tst-once5.cc (TIMEOUT): Define.
5252 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5254         [BZ #20452]
5255         Avoid additional copies of objects in libc.a in static libraries.
5256         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5257         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5258         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5259         rt-sysdep.
5260         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5261         Add nptl-sysdep.
5262         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5263         Add ptw-sysdep.
5264         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5265         rt-sysdep.
5266         * sysdeps/unix/sysv/linux/alpha/Makefile
5267         (libpthread-shared-only-routines): Add ptw-sysdep,
5268         ptw-sigprocmask, ptw-rt_sigaction.
5269         * sysdeps/unix/sysv/linux/ia64/Makefile
5270         (librt-shared-only-routines): Add rt-sysdep.
5271         * sysdeps/unix/sysv/linux/i386/Makefile
5272         (libpthread-shared-only-routines): Add libc-do-syscall.
5273         * sysdeps/unix/sysv/linux/microblaze/Makefile
5274         (libpthread-shared-only-routines): Add sysdep.
5275         * sysdeps/unix/sysv/linux/powerpc/Makefile
5276         (librt-shared-only-routines): Add rt-sysdep.
5277         (libpthread-shared-only-routines): Add sysdep.
5278         * sysdeps/unix/sysv/linux/s390/Makefile
5279         (librt-shared-only-routines): Add rt-sysdep.
5280         * sysdeps/unix/sysv/linux/sparc/Makefile
5281         (librt-shared-only-routines): Add rt-sysdep.
5282         (libpthread-shared-only-routines): Add sysdep.
5283         * sysdeps/unix/sysv/linux/tile/Makefile
5284         (libpthread-shared-only-routines): Likewise.
5286 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5288         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5289         Mask implicit bit out of unpacked value.
5290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5294         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5296         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5298         * sysdeps/s390/fpu/fesetexcept.c: New file.
5300         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5301         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5302         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5304         * sysdeps/mips/fpu/fesetexcept.c: New file.
5306         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5308         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5310         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5312         * sysdeps/arm/fesetexcept.c: New file.
5314         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5316         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5318         * math/fesetexcept.c: New file.
5319         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5320         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5321         * math/fenv.h: Define
5322         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5323         <bits/libc-header-start.h> instead of including <features.h>.
5324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5325         declaration.
5326         * manual/arith.texi (fesetexcept): Document function.
5327         * math/Versions (fesetexcept): New libm symbol at version
5328         GLIBC_2.25.
5329         * math/Makefile (libm-support): Add fesetexcept.
5330         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5331         * math/test-fesetexcept.c: New file.
5332         * math/test-fesetexcept-traps.c: Likewise.
5333         * sysdeps/nacl/libm.abilist: Update.
5334         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5336         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5339         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5341         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5342         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5349         Likewise.
5350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5351         Likewise.
5352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5367 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5369         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5370         New.
5371         (do_test): Apply default_stack_size_in_mb if not set.
5372         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5374 2016-08-15  Andreas Schwab  <schwab@suse.de>
5376         [BZ #20435]
5377         CVE-2016-6323
5378         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5379         as .cantunwind.
5381 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5383         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5384         comment from fraiseexcpt.c.
5386         * math/test-fexcept.c (feraiseexcept_exact): New function.
5387         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5388         (test_except): Likewise.
5390 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #20455]
5393         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5394         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5395         to be restored.
5397         * math/test-fexcept-traps.c: New file.
5398         * math/test-fexcept.c: Likewise.
5399         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5400         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5401         macro.
5402         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5403         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5405 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5407         * include/atomic.h (atomic_fetch_and_relaxed,
5408         atomic_fetch_and_release, atomic_fetch_or_release,
5409         atomic_fetch_xor_release): New.
5411 2016-08-06  Christian Seiler  <christian@iwakd.de>
5413         [BZ #20444]
5414         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5415         MACH_PORT_NULL.
5417 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5419         * math/s_fdim.c: Avoid alias renamed.
5420         * math/s_fdimf.c: Likewise.
5421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5422         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5423         Add s_fdimf-vis3, s_fdim-vis3.
5424         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5425         (CFLAGS-s_fdim-vis3.c): Likewise.
5426         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5427         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5429 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5432         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5433         Remove s_fdimf-vis3, s_fdim-vis3.
5434         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5435         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5442         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5443         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5445 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5447         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5448         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5449         -Wa,-Av9a -mvis.
5451 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5453         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5454         LIT() to individual constants in simple expressions
5455         after splitting on spaces.
5456         (_apply_lit): Rename replaced version, and use it to
5457         apply to what appears to be a token.
5459         * math/libm-test.inc: Fix many, many issues with
5460         spacing.
5462 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5464         * math/math.h: Move comment about <bits/mathdef.h> definitions
5465         above inclusion of <bits/mathdef.h>.  Do not mention
5466         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5468 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5470         * include/atomic.h (atomic_exchange_relaxed): New.
5472 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5474         * math/e_scalb.c: Do not include <fenv.h>.
5475         (invalid_fn): Do calculation resulting in NaN instead of raising
5476         FE_INVALID and returning a NaN explicitly.
5477         * math/e_scalbf.c: Do not include <fenv.h>.
5478         (invalid_fn): Do calculation resulting in NaN instead of raising
5479         FE_INVALID and returning a NaN explicitly.
5480         * math/e_scalbl.c: Do not include <fenv.h>.
5481         (invalid_fn): Do calculation resulting in NaN instead of raising
5482         FE_INVALID and returning a NaN explicitly.
5484 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5486         * po/de.po: Updated from Translation Project.
5487         * po/fi.po: Likewise.
5488         * po/sv.po: Likewise.
5490 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5492         [BZ #20452]
5493         Use sysdep.o from libc.a in static libraries.
5494         * sysdeps/unix/sysv/linux/i386/Makefile
5495         (libpthread-shared-only-routines): Add sysdep.
5496         (librt-shared-only-routines): Likewise.
5498 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5500         * math/tgmath.h (nextdown): Define if
5501         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5502         (nextup): Likewise.
5504         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5505         macro.
5506         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5507         Document.
5508         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5509         Document macro.
5510         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5511         (exp10f): Likewise.
5512         (exp10l): Likewise.
5513         * math/bits/mathcalls.h (exp10): Declare if
5514         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5516         * manual/arith.texi (nextup): Fix typo in last change.
5518 2016-08-03  Zack Weinberg  <zackw@panix.com>
5520         [BZ #19239]
5521         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5522         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5523         define major, minor, and makedev to issue deprecation warnings on use.
5524         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5525         previously-activated deprecation warnings for these macros and prevent
5526         subsequent inclusions of this header from having any effect.
5527         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5528         including <sys/sysmacros.h>, and undefine it again afterward.
5530 2016-08-03  Zack Weinberg  <zackw@panix.com>
5532         * sysdeps/generic/sys/sysmacros.h: Delete file.
5533         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5534         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5535         * bits/sysmacros.h: ... here; this encoding is now the generic
5536         encoding.  Now defines only the following macros:
5537         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5538         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5539         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5541         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5542         bits/sysmacros.h and the above new macros to generate the
5543         public implementations of major, minor, and makedev.
5544         * misc/tst-makedev.c: New test.
5545         * include/sys/sysmacros.h: New wrapper.
5547         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5548         (routines): Add makedev.
5549         (tests): Add tst-makedev.
5550         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5551         gnu_dev_makedev.
5552         * posix/Makefile (headers): Remove sys/sysmacros.h.
5553         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5555         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5556         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5557         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5558         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5559         * sysdeps/unix/sysv/linux/arm/libc.abilist
5560         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5561         * sysdeps/unix/sysv/linux/i386/libc.abilist
5562         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5563         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5564         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5565         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5566         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5567         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5568         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5569         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5570         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5575         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5576         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5577         * sysdeps/unix/sysv/linux/sh/libc.abilist
5578         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5579         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5582         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5583         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5584         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5585         Add GLIBC_2.25.
5587         * include/features.h (__glibc_clang_prereq): New macro.
5588         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5589         (__attribute_deprecated_msg__): New macros.
5591 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5593         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5594         macro.
5595         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5596         * manual/arith.texi (issignaling): Document as ISO from TS
5597         18661-1:2014.
5598         (nextup): Likewise.
5599         (nextupf): Likewise.
5600         (nextupl): Likewise.
5601         (nextdown): Likewise.
5602         (nextdownf): Likewise.
5603         (nextdownl): Likewise.
5604         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5605         macro.
5606         * math/math.h: Define
5607         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5608         <bits/libc-header-start.h> instead of including <features.h>.
5609         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5610         [__USE_GNU].
5611         * math/bits/mathcalls.h (nextdown): Declare if
5612         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5613         (nextup): Likewise.
5614         (__issignaling): Likewise.
5616 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5618         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5619         check, and remove __glibc_likely hint
5620         from FP_INFINITE check.
5621         * s_csinhf.c (__csinhf): Likewise.
5623         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5624         hint from FP_INFINITE check.
5625         * s_csinhl.c (__csinhl): Likewise.
5627 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5629         * math/Makefile (libm-calls): Insert F placeholder into
5630         object names.  Move w_lgamma_compat* routines into
5631         (libm-compat-calls): New variable.
5632         (libm-compat-calls-ldouble-yes): New variable.
5633         (calls): Insert F placeholder.
5634         (generated): Redefine using new type-foreach macro call.
5635         (routines): Likewise.
5637         (types): New variable to hold a list of symbolic names
5638         for each type supported by the target machine.
5639         (libm-routines): Redefine using new types variable.
5640         (type-foreach): macro to replace fooF with the
5641         appropriately suffixed foo for each types.
5643         (type-ldouble-suffix): New variable.
5644         (type-ldouble-routines): Likewise.
5645         (type-ldouble-yes): Likewise.
5646         (type-double-suffix): Likewise.
5647         (type-double-routines): Likewise.
5648         (type-float-suffix): Likewise.
5649         (type-float-routines): Likewise.
5651         (dbl-only-routines): Remove.
5652         (long-c-yes): Likewise.
5653         (long-m-routines): Likewise.
5654         (long-m-support): Likewise.
5655         (long-m-yes): Likewise.
5656         (test-longdouble-yes): Likewise.
5658         (test-float.o): Simplify by increasing the scope of the
5659         recipe which adds libm-test.stmp to the vector types.
5660         (test-ifloat.o): Likewise.
5661         (test-float-finite.o): Likewise.
5662         (test-double.o): Likewise
5663         (test-idouble.o): Likewise.
5664         (test-double-finite.o): Likewise.
5665         (test-ldouble.o): Likewise
5666         (test-ildoubl.o): Likewise.
5667         (test-ldouble-finite.o): Likewise.
5669         (libm-tests): Redefine type tests using foreach and the
5670         list of types in types.
5672         (CPPFLAGS-test-ildoubl.c): Rename to
5673         (CPPFLAGS-test-ildouble.c): New variable
5675         * math/test-ildoubl.c: Rename to
5676         * math/test-ildouble.c: New file.
5678 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5680         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5681         Use fabsl instead of fabs.
5682         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5683         Likewise.
5684         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5685         Add long double suffix to constant to ensure proper
5686         promotion to long double.
5688 2016-08-03  Tom Tromey  <tom@tromey.com>
5690         [BZ #20311]
5691         * nptl_db/Makefile (headers): Add proc_service.h.
5692         * nptl_db/proc_service.h: Add include guard.  Use
5693         __BEGIN/__END_DECLS.
5694         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5695         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5696         arguments.
5699 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5701         [BZ #17730]
5702         Avoid using memalign for TCB allocations.
5703         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5704         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5705         Avoid alignment gap in the TLS_DTV_AT_TP case.
5706         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5707         determine the pointer to free.
5708         * nptl/tst-tls3-malloc.c: New test.
5709         * nptl/Makefile (tests): Add it.
5710         (tst-tls3-malloc): Link with libdl, libpthread.
5711         (LDFLAGS-tst-tls3-malloc): Set.
5712         (tst-tls3-malloc.out): Depend on DSO used in test.
5714 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5716         [BZ #17730]
5717         Avoid using memalign for TLS allocations.
5718         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5719         is_static member with to_free member.
5720         (union dtv): Use struct dtv_pointer.
5721         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5722         dtv_pointer instead of is_static.
5723         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5724         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5725         instead of val.
5726         (allocate_dtv_entry): New function.
5727         (allocate_and_init): Return struct dtv_pointer.  Call
5728         allocate_dtv_entry instead of __libc_memalign.
5729         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5730         instead of val.
5731         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5732         instead of is_static.  Adjust call to allocate_and_init.
5733         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5734         struct dtv_pointer instead of val.
5736 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5738         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5739         (MALLOC_ALIGN_MASK): Move ...
5740         * malloc/malloc-internal.h: ... to here.
5741         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5743 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5745         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5746         (UDP_ENCAP_GTP1U): Likewise.
5748         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5749         (PF_MAX): Update value.
5750         (AF_QIPCRTR): New macro.
5752 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5754         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5755         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5756         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5758         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5759         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5760         s_truncf-vis3, s_trunc-vis3.
5761         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5762         (CFLAGS-s_ceil-vis3.c): Likewise.
5763         (CFLAGS-s_floorf-vis3.c): Likewise.
5764         (CFLAGS-s_floor-vis3.c): Likewise.
5765         (CFLAGS-s_truncf-vis3.c): Likewise.
5766         (CFLAGS-s_trunc-vis3.c): Likewise.
5767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5775         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5776         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5777         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5778         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5780 2016-08-02  David S. Miller  <davem@davemloft.net>
5782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5783         (__nearbyint_vis3): Don't check for sNaN before float register is
5784         loaded with the incoming argument.
5785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5786         (__nearbyintf_vis3): Likewise.
5787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5788         Likewise.
5789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5790         Likewise.
5792         * string/test-strncmp.c (do_test_limit): Make sure the test data
5793         stream is aligned as required for the type "CHAR".
5794         (do_test): Likewise.
5796 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5798         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5799         by beq instructions jumping to the end of the function.
5800         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5801         clobber list. Use "i" constraint instead of "X".
5802         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5803         of "X".
5805 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5807         * bits/libc-header-start.h: New file.
5808         * Makefile (headers): Add bits/libc-header-start.h.
5809         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5810         (__GLIBC_USE): New macro.
5811         * libio/stdio.h: Define
5812         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5813         <bits/libc-header-start.h> instead of including <features.h>.
5814         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5815         (open_memstream): Likewise.
5816         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5817         (__asprintf): Likewise.
5818         (asprintf): Likewise.
5819         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5820         (getdelim): Likewise.
5821         (getline): Likewise.
5822         * string/string.h: Define
5823         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5824         <bits/libc-header-start.h> instead of including <features.h>.
5825         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5826         (strndup): Likewise.
5827         * wcsmbs/wchar.h: Define
5828         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5829         <bits/libc-header-start.h> instead of including <features.h>.
5830         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5831         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5833 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5835         Support linking against compatibility symbols, for use in tests.
5836         * include/libc-symbols.h (symbol_version_reference): New macro.
5837         (symbol_version): Use it.
5838         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5839         (compat_symbol): Use compat_symbol_reference.
5840         (compat_symbol_1, compat_symbol_2): Remove.
5841         (compat_symbol_reference, compat_symbol_reference_1)
5842         (compat_symbol_reference_2): New macro.  Use
5843         symbol_version_reference.
5845 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5847         [BZ #19469]
5848         * malloc/Makefile (CPPFLAGS): Compile tests with
5849         -DTEST_NO_MALLOPT.
5850         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5852 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5854         [BZ #20033]
5855         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5856         finite version.
5857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5858         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5859         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5860         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5861         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5864         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5870         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5872         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5873         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5874         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5875         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5876         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5877         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5878         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5879         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5880         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5881         in zero power.
5883 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5885         [BZ #20370]
5886         * malloc/arena.c (get_free_list): Update comment.  Assert that
5887         arenas on the free list have no attached threads.
5888         (remove_from_free_list): New function.
5889         (reused_arena): Call it.
5891 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5893         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5894         when it is a NaN.
5895         [_IEEE_FP_INEXACT] Remove.
5896         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5897         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5898         when it is a NaN.
5899         [_IEEE_FP_INEXACT] Remove.
5900         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5901         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5902         when it is a NaN.
5903         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5904         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5905         when its absolute value is greater than 0x1.0p52.
5906         [_IEEE_FP_INEXACT] Remove.
5907         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5908         when its absolute value is greater than 0x1.0p23.
5909         [_IEEE_FP_INEXACT] Remove.
5911 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5913         * version.h (RELEASE): Set to "development"
5914         (VERSION): Set to 2.24.90.
5915         * NEWS: Add 2.25 section.
5917         * version.h (RELEASE): Set to "stable"
5918         (VERSION): Set to 2.24.
5919         * include/features.h (__GLIBC_MINOR__): Set to 24.
5921         * NEWS: Add 2.24 fixed bugs.
5922         * po/libc.pot: Regenerate.
5924 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5927         [$(subdir) = math] (libm-sysdep_routines): Remove.
5928         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5929         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5930         s_truncf-vis3, s_trunc-vis3.
5931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5933         file.
5934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5967         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5968         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5969         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5970         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5971         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5972         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5973         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5974         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5975         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5976         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5978 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5980         [BZ #20384]
5981         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5982         test-double-libmvec-sincos-avx-main.o,
5983         test-double-libmvec-sincos-avx2-main.o,
5984         test-double-libmvec-sincos-main.o,
5985         test-float-libmvec-sincosf-avx-main.o,
5986         test-float-libmvec-sincosf-avx2-main.o and
5987         test-float-libmvec-sincosf-main.o.
5988         test-float-libmvec-sincosf-avx512-main.o.
5989         ($(objpfx)test-double-libmvec-sincos): Also link with
5990         $(objpfx)test-double-libmvec-sincos-main.o.
5991         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5992         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5993         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5994         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5995         ($(objpfx)test-float-libmvec-sincosf): Also link with
5996         $(objpfx)test-float-libmvec-sincosf-main.o.
5997         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5998         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5999         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6000         test-double-libmvec-sincos-avx512-main.o and
6001         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6002         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6003         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6004         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6005         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6006         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6007         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6008         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6009         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6010         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6011         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6012         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6013         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6014         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6015         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6016         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6017         -DREQUIRE_AVX2.
6018         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6019         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6020         -DREQUIRE_AVX512F.
6021         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6022         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6023         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6024         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6025         file.
6026         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6027         Likewise.
6028         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6029         Likewise.
6030         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6031         Likewise.
6032         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6033         Likewise.
6034         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6035         Likewise.
6036         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6037         Likewise.
6038         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6039         Likewise.
6041 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6043         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6045 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6047         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6048         and typo in a comment about AT_HWCAP entry.
6050 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6052         * sysdeps/aarch64/libm-test-ulps: Updated.
6054 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6056         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6057         of r13 as it is not restored in mvcle case.
6059 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6061         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6062         Rename "ret" to "__ret".
6063         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6064         inline_syscall5, inline_syscall6): Likewise.
6066 2016-07-19   Will Newton  <will.newton@gmail.com>
6068         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6069         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6070         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6071         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6072         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6074 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6076         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6077         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6078         -mfpmath=387 with $(rtld-CFLAGS).
6079         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6080         $(rtld-CFLAGS).
6082 2016-07-18   Ross Burton  <ross.burton@intel.com>
6083              Khem Raj  <raj.khem@gmail.com>
6085         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6086         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6087         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6088         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6089         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6090         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6091         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6092         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6093         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6094         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6095         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6096         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6097         R_METAG_TLS_DTPOFF): New.
6099 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6100             Matt Clay  <mclay@lycos.com>
6102         [BZ #20357]
6103         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6104         to call __mpsin/__mpcos and to negate values.
6105         * math/auto-libm-test-in: Add test.
6106         * math/auto-libm-test-out: Regenerate.
6108 2016-07-18  Zack Weinberg  <zackw@panix.com>
6110         * grp/Makefile: Don't install the internal header grp-merge.h.
6112 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6114         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6116 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6118         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6120 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6122         [BZ #15368]
6123         * sysdeps/unix/sysv/linux/nptl-signals.h
6124         (__nptl_clear_internal_signals): New function.
6125         (__libc_signal_block_all): Likewise.
6126         (__libc_signal_block_app): Likewise.
6127         (__libc_signal_restore_set): Likewise.
6128         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6129         implementation.
6130         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6131         the cached pid/tid value in pthread structure.
6133 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6135         [BZ #20347]
6136         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6138 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6140         [BZ #20348]
6141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6142         preadv64, pwrite64 and pwritev64.
6144 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6146         [BZ #20350]
6147         * posix/tst-preadwrite.c: Renamed to ...
6148         * posix/tst-preadwrite-common.c: This.
6149         (PREAD): Removed.
6150         (PWRITE): Likewise.
6151         (STRINGIFY): Likewise.
6152         (STRINGIFY2): Likewise.
6153         (do_prepare): Make it static and remove function arguments.
6154         (do_test): Likewise.
6155         (PREPARE): Updated.
6156         (TEST_FUNCTION): New.
6157         (name): Make it static.
6158         (fd): Likewise.
6159         (do_prepare): Use create_temp_file.
6160         (do_test): Renamed to ...
6161         (do_test_with_offset): This.  Make it static and accept offset.
6162         Properly check return value of PWRITE and PREAD.  Return bytes
6163         read.  Don't close fd nor unlink name.
6164         * posix/tst-preadwrite.c: Rewrite.
6165         * posix/tst-preadwrite64.c: Likewise.
6167 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6169         [BZ #20309]
6170         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6171         -mtls-dialect=gnu2 works.
6172         * configure: Regenerated.
6173         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6174         (tests): Add tst-gnu2-tls1.
6175         (modules-names): Add tst-gnu2-tls1mod.
6176         ($(objpfx)tst-gnu2-tls1): New.
6177         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6178         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6179         * elf/tst-gnu2-tls1.c: New file.
6180         * elf/tst-gnu2-tls1mod.c: Likewise.
6181         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6182         bytes for push in the PLT entry to align the stack.
6184 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6186         [BZ #20349]
6187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6189 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6191         [BZ #18707]
6192         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6193         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6195 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6197         * sysdeps/unix/sysv/linux/sysdep.h
6198         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6199         guards.
6200         * misc/tst-preadvwritev-common.c: New file.
6201         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6202         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6203         a check for files larger than 2GB.
6205         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6206         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6207         * sysdeps/unix/sysv/linux/pread.c
6208         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6209         __OFF_T_MATCHES_OFF64_T.
6210         * sysdeps/unix/sysv/linux/pread64.c
6211         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6212         * sysdeps/unix/sysv/linux/preadv.c
6213         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6214         * sysdeps/unix/sysv/linux/preadv64.c
6215         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6216         * sysdeps/unix/sysv/linux/pwrite.c
6217         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6218         * sysdeps/unix/sysv/linux/pwrite64.c
6219         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6220         * sysdeps/unix/sysv/linux/pwritev.c
6221         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6222         * sysdeps/unix/sysv/linux/pwritev64.c
6223         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6225 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6227         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6228         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6230 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6232         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6234 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6236         [BZ #20240]
6237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6238         (CFLAGS-s_modf-ppc32.c): New variable.
6239         (CFLAGS-s_modff-ppc32.c): Likewise.
6240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6241         (CFLAGS-s_modf-ppc64.c): Likewise.
6242         (CFLAGS-s_modff-ppc64.c): Likewise.
6244 2016-07-07  Andreas Schwab  <schwab@suse.de>
6246         [BZ #20263]
6247         * nptl/tst-robust10.c: New test.
6248         * nptl/Makefile (tests): Add tst-robust10.
6250 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6252         [BZ #20263]
6253         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6255 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6257         * sysdeps/s390/linkmap.h (struct link_map_machine):
6258         Remove member gotplt and add member jmprel.
6259         * sysdeps/s390/s390-32/dl-machine.h
6260         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6261         instead of gotplt with &got[3].
6262         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6263         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6265 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6267         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6269 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6271         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6272         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6273         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6274         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6275         * libio/vtables.c (_IO_vtable_check)
6276         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6277         * libio/libioP.h (IO_set_accept_foreign_vtables)
6278         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6280 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6282         [BZ #20314]
6283         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6284         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6285         $(common-objpfx)cmath.
6286         ($(common-objpfx)cstdlib): New target.
6287         ($(common-objpfx)cmath): Likewise.
6289 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6291         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6293 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6295         [BZ #20327]
6296         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6297         are not part of the string.
6299 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6301         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6302         * nptl/tst-cancel4-common.h (fifoname): New variable.
6303         (fifofd): Likewise.
6304         (cl_fifo): New function.
6305         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6306         SIGINT.
6307         (tf_open): Add early cancel test.
6309 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6311         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6313 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6315         * sysdeps/generic/ldsodefs.h
6316         (dl_symbol_visibility_binds_local_p): New inline function.
6317         * elf/dl-addr.c (determine_info): Treat hidden and internal
6318         symbols as local.
6319         * elf/dl-lookup.c (do_lookup_x): Likewise.
6320         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6322 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6324         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6325         invalid exception for a sNaN input.
6326         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6327         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6328         (__nearbyint_vis3): Likewise
6329         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6330         (__nearbyintf_vis3): Likewise
6331         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6332         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6333         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6334         Likewise.
6335         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6336         Likewise.
6338 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6340         [BZ #20139]
6341         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6342         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6343         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6344         2.24 or above.
6345         (HAVE_AVX512_ASM_SUPPORT): Removed.
6346         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6347         * sysdeps/x86_64/configure: Regenerated.
6348         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6349         check unconditional.
6350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6351         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6352         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6353         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6354         Likewise.
6355         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6356         Likewise.
6357         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6358         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6359         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6360         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6361         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6362         Likewise.
6363         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6364         Likewise.
6365         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6366         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6367         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6368         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6369         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6370         Likewise.
6371         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6372         Likewise.
6373         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6374         Likewise.
6375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6376         Likewise.
6377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6378         Likewise.
6379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6380         Likewise.
6381         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6382         Likewise.
6383         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6384         Likewise.
6385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6386         Likewise.
6387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6388         Likewise.
6389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6390         Likewise.
6392 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6394         [BZ #20024]
6395         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6397         of this implementation of vector function.
6398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6399         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6401         Likewise.
6402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6403         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6404         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6405         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6406         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6407         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6408         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6409         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6410         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6411         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6413         for testing vector sincos with fixed ABI.
6414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6415         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6416         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6417         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6418         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6420         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6421         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6422         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6423         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6424         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6425         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6426         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6427         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6428         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6429         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6431 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6433         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6435 2016-06-30  Anton Blanchard  <anton@samba.org>
6437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6438         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6439         s_sinf-ppc64.
6440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6443         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6445 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6449         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6450         e_expf-ppc64.
6451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6454         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6456 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6458         [BZ #20277]
6459         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6460         when SHARED is defined.
6462 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6464         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6465         (index_arch_Prefer_ERMS): Likewise.
6466         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6467         __memcpy_erms for Prefer_ERMS.
6468         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6469         (__memmove_erms): Enabled for libc.a.
6470         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6471         __memmove_erms or Prefer_ERMS.
6472         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6473         __mempcpy_erms for Prefer_ERMS.
6474         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6475         __memset_erms for Prefer_ERMS.
6477 2016-06-30  Andreas Schwab  <schwab@suse.de>
6479         [BZ #20262]
6480         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6481         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6482         of memory.
6484 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6486         [BZ #18645]
6487         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6488         (test-extras): Add tst-cleanupx4aux.
6489         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6490         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6491         tst-cleanupx4aux.o.
6492         * nptl/tst-cleanupx4aux.c: New file.
6494 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6496         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6498 2016-06-29  Andreas Schwab  <schwab@suse.de>
6500         [BZ #20260]
6501         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6502         address before the beginning of the string as an integer to avoid
6503         array-bounds warning.
6505 2016-06-28  Richard Henderson  <rth@redhat.com>
6507         * elf/elf.h (EM_BPF): New.
6508         (EM_NUM): Update.
6509         (R_BPF_NONE, R_BPF_MAP_FD): New.
6511         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6512         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6513         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6514         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6515         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6516         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6517         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6518         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6519         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6520         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6521         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6522         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6523         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6524         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6525         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6526         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6527         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6528         (EM_NUM): Update.
6530 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6532         [BZ #18960]
6533         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6534         Set _nl_current_LC_CATEGORY_used to two instead of one.
6536 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6538         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6539         (do_test): ... this.
6540         (TEST_FUNCTION): New macro.
6541          Include test-skeleton.c.
6542         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6543         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6545 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6547         [BZ #15479]
6548         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6549         floating-point environment rather than just control word.
6550         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6551         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6552         floating-point environment, with "invalid" exceptions merged in,
6553         rather than just control word.
6554         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6555         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6556         "inexact" exceptions.
6558         [BZ #15479]
6559         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6560         floating-point environment rather than just control word.
6561         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6562         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6563         floating-point environment, with "invalid" exceptions merged in,
6564         rather than just control word.
6565         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6566         * math/libm-test.inc (floor_test_data): Do not allow spurious
6567         "inexact" exceptions.
6569         [BZ #15479]
6570         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6571         floating-point environment rather than just control word.
6572         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6573         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6574         floating-point environment, with "invalid" exceptions merged in,
6575         rather than just control word.
6576         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6577         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6578         "inexact" exceptions.
6580 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6582         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6583         __libc_vfork.
6584         (__vfork) [IS_IN (libc)]: Remove alias.
6585         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6586         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6587         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6589 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6591         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6592         of atomic_compare_and_exchange_bool_rel.
6593         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6594         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6595         catomic_compare_and_exchange_bool_rel): Remove.
6596         * sysdeps/aarch64/atomic-machine.h
6597         (atomic_compare_and_exchange_bool_rel): Likewise.
6598         * sysdeps/alpha/atomic-machine.h
6599         (atomic_compare_and_exchange_bool_rel): Likewise.
6600         * sysdeps/arm/atomic-machine.h
6601         (atomic_compare_and_exchange_bool_rel): Likewise.
6602         * sysdeps/mips/atomic-machine.h
6603         (atomic_compare_and_exchange_bool_rel): Likewise.
6604         * sysdeps/microblaze/atomic-machine.h
6605         ( __arch_compare_and_exchange_bool_8_rel,
6606         __arch_compare_and_exchange_bool_16_rel): Likewise.
6607         * sysdeps/powerpc/atomic-machine.h
6608         ( __arch_compare_and_exchange_bool_8_rel,
6609         __arch_compare_and_exchange_bool_16_rel): Likewise.
6610         * sysdeps/powerpc/powerpc32/atomic-machine.h
6611         ( __arch_compare_and_exchange_bool_32_rel,
6612         __arch_compare_and_exchange_bool_64_rel): Likewise.
6613         * sysdeps/powerpc/powerpc64/atomic-machine.h
6614         ( __arch_compare_and_exchange_bool_32_rel,
6615         __arch_compare_and_exchange_bool_64_rel): Likewise.
6616         * sysdeps/tile/atomic-machine.h
6617         (atomic_compare_and_exchange_bool_rel): Likewise.
6619 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6621         [BZ #20296]
6622         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6623         when either argument is a NaN.
6624         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6625         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6627         * math/libm-test.inc (snan_value_ld): New macro.
6628         (isgreater_test_data): Add sNaN tests.
6629         (isgreaterequal_test_data): Likewise.
6630         (isless_test_data): Likewise.
6631         (islessequal_test_data): Likewise.
6632         (islessgreater_test_data): Likewise.
6633         (isunordered_test_data): Likewise.
6634         (nextafter_test_data): Likewise.
6635         (nexttoward_test_data): Likewise.
6636         (remainder_test_data): Likewise.
6637         (remquo_test_data): Likewise.
6638         (significand_test_data): Likewise.
6639         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6641 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6643         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6644         environment macros are defined.
6645         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6647 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6649         [BZ #20191]
6650         Implement vtable verification in libio.
6651         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6652         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6653         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6654         _IO_new_file_init_internal instead of _IO_file_init.
6655         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6656         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6657         * libio/Makefile (routines): Add vtables.
6658         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6659         (_IO_init): Remove, not for internal use.
6660         (_IO_init_internal): Declare, internal replacement for _IO_init.
6661         (_IO_file_init): Remove, not for internal use.
6662         (_IO_new_file_init): Remove, not for internal use.
6663         (_IO_new_file_init_internal): Declare, internal replacement for
6664         _IO_new_file_init.
6665         (_IO_old_file_init): Remove, not for internal use.
6666         (_IO_old_file_init_internal): Declare, internal replacement for
6667         _IO_old_file_init.
6668         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6669         internal use.
6670         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6671         Declare.
6672         (libio_vtable): New macro.
6673         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6674         functions.
6675         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6676         _IO_new_file_init.
6677         (_IO_new_file_init): New externally visible wrapper which disables
6678         vtable verification.
6679         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6680         Define as vtables.
6681         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6682         (_IO_init): New externally visible wrapper which disables
6683         vtable verification.
6684         * libio/iofdopen.c (_IO_new_fdopen): Call
6685         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6686         comment.
6687         * libio/iofopen.c (__fopen_internal): Call
6688         _IO_new_file_init_internal instead of _IO_file_init.
6689         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6690         Define as vtables.
6691         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6692         _IO_new_file_init_internal instead of _IO_file_init.
6693         * libio/iopopen.c (_IO_new_popen): Likewise.
6694         (_IO_proc_jumps): Define as vtable.
6695         * libio/iovdprintf.c (_IO_vdprintf): Call
6696         _IO_new_file_init_internal instead of _IO_file_init.
6697         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6698         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6699         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6700         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6701         _IO_old_file_init.
6702         (_IO_old_file_init): New externally visible wrapper which disables
6703         vtable verification.
6704         (_IO_old_file_jumps): Define as vtable.
6705         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6706         _IO_old_file_init_internal instead of _IO_old_file_init.
6707         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6708         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6709         (_IO_old_proc_jumps): Define as vtable.
6710         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6711         Define as vtables.
6712         * libio/vtables.c: New file.
6713         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6714         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6715         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6716         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6717         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6718         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6719         instead of _IO_init.
6721 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6723         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6725 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6727         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6728         potentially unused.
6730 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6732         * test-skeleton.c (write_message): New function.
6733         * malloc/tst-mallocfork2.c (write_message): Remove.
6734         * debug/tst-longjmp_chk2.c (write_indented): New function.
6735         (write_message): Remove.
6736         (stackoverflow_handler): Call write_indented.
6738 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6740         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6741         "inexact" exceptions after fnstenv.
6742         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6743         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6744         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6746 2015-06-22  Zack Weinberg  <zackw@panix.com>
6748         * sysdeps/generic/bits/hwcap.h: Moved to ...
6749         * bits/hwcap.h: Here.
6751 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6753         * sysdeps/aarch64/memcpy.S (memcpy):
6754         Further tuning for performance.
6756 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6758         [BZ #20284]
6759         * malloc/arena.c (reused_arena): Do not return NULL if we start
6760         out with a non-corrupted arena.
6762 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6764         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6765         * misc/tst-preadvwritev.c: New file.
6766         * misc/tst-preadvwritev64.c: Likewise.
6767         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6768         usage.
6769         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6770         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6771         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6772         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6774 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6776         [BZ #19654]
6777         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6778         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6779         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6780         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6781         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6782         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6783         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6784         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6785         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6786         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6787         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6788         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6789         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6790         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6791         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6792         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6793         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6794         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6795         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6796         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6797         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6798         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6799         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6800         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6801         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6802         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6804 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6806         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6807         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6809 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6811         * sysdeps/aarch64/memcpy.S (memcpy):
6812         Rewrite of optimized memcpy and memmove.
6813         * sysdeps/aarch64/memmove.S (memmove): Remove
6814         memmove code (merged into memcpy.S).
6816 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6818         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6819         * sysdeps/generic/dl-dtv.h: New file.
6820         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6821         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6822         (dtv_t): Remove.
6823         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6824         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6825         (dtv_t): Remove.
6826         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6827         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6828         (dtv_t): Remove.
6829         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6830         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6831         (dtv_t): Remove.
6832         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6833         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6834         (dtv_t): Remove.
6835         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6836         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6837         (dtv_t): Remove.
6838         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6839         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6840         (dtv_t): Remove.
6841         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6842         (dtv_t): Remove.
6843         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6844         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6845         (dtv_t): Remove.
6846         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6847         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6848         (dtv_t): Remove.
6849         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6850         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6851         (dtv_t): Remove.
6852         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6853         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6854         (dtv_t): Remove.
6855         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6856         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6857         (dtv_t): Remove.
6858         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6859         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6860         (dtv_t): Remove.
6861         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6862         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6863         (dtv_t): Remove.
6864         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6865         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6866         (dtv_t): Remove.
6868 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6870         Revert symbol poisoning of  __malloc_initialize_hook.
6871         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6872         poisoning.
6873         * malloc/Makefile: Remove un-poisoning.
6874         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6875         instead of old__malloc_initialize_hook.
6876         * malloc/malloc-hooks.h: Likewise.
6877         * malloc/malloc.c: Likewise.
6878         * malloc/mcheck-init.c: Likewise.
6880 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6882         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6884 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6886         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6887         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6888         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6889         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6891 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6893         * NEWS: Mention addition of nextup and nextdown.
6894         * manual/arith.texi: Document nextup and nextdown.
6895         * manual/libm-err-tab.pl: Add nextup and nextdown.
6896         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6897         * math/Versions (libm): Add GLIBC_2.24.
6898         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6899         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6900         Add new test.
6901         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6902         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6903         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6904         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6905         (nextup_test_data): Likewise.
6906         (nextdown_test_data): Likewise.
6907         * math/s_nextdown.c: New file.
6908         * math/s_nextdownf.c: Likewise.
6909         * math/s_nextdownl.c: Likewise.
6910         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6911         F(nextup): New function.
6912         F(nextdown): Likewise.
6913         * math/tgmath.h: Add nextup and nextdown.
6914         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6915         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6916         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6917         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6918         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6919         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6920         Add nextup and nextdown.
6921         (CFLAGS-nldbl-nextup.c): New variable.
6922         (CFLAGS-nldbl-nextdown.c): Likewise.
6923         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6924         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6925         * sysdeps/nacl/libm.abilist: Update.
6926         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6940         Likewise.
6941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6955 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6957         * manual/pattern.texi: Fix typos & grammar errors.
6959 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6961         * manual/search.texi: Fix typos & grammar errors.
6963 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6965         * manual/message.texi: Fix typos & grammar errors.
6967 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6969         * manual/contrib.texi: Fix spelling typos.
6970         * manual/crypt.texi: Likewise.
6971         * manual/filesys.texi: Likewise.
6972         * manual/locale.texi: Likewise.
6973         * manual/message.texi: Likewise.
6974         * manual/nss.texi: Likewise.
6975         * manual/string.texi: Likewise.
6977 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6979         * manual/locale.texi: Fix typos & grammar errors.
6981 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6983         * manual/charset.texi: Fix typos & grammar errors.
6985 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6987         * manual/string.texi: Fix typos.
6989 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6991         * manual/ctype.texi: Fix typos.
6993 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6995         * manual/memory.texi: Fix various typos & grammar errors.
6997 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6999         [BZ #20255]
7000         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7001         * math/libm-test.inc (fdim_test_data): Add another test.
7003         [BZ #6796]
7004         [BZ #20255]
7005         [BZ #20256]
7006         * math/s_fdim.c: Include <math_private.h>.
7007         (__fdim): Use math_narrow_eval on result.
7008         * math/s_fdimf.c: Include <math_private.h>.
7009         (__fdimf): Use math_narrow_eval on result.
7010         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7011         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7012         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7013         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7014         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7015         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7016         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7017         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7018         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7019         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7020         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7021         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7022         overflow.  Add sNaN tests.
7024         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7025         fpclassify.
7026         * math/s_fdimf.c (__fdimf): Likewise.
7027         * math/s_fdiml.c (__fdiml): Likewise.
7029 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7031         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7032         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7034         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7035         ifunc'ed strcasecmp/strncasecmp.
7036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7037         [EALIGN]: Removed.
7038         [END]: Likewise.
7039         [__strcasecmp]: Define instead of the above to control symbol name.
7040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7041         for __strcasecmp_power8.
7042         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7043         for __strncasecmp_power8.
7044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7046         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7047         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7048         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7049         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7051 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #20252]
7054         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7055         arguments when second argument is a NaN.
7056         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7057         qNaN tests.
7059         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7060         (conj_test_data): Likewise.
7061         (copysign_test_data): Likewise.
7062         (creal_test_data): Likewise.
7063         (fma_test_data): Likewise.
7064         (fmod_test_data): Likewise.
7066         [BZ #20250]
7067         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7068         itself.
7069         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7070         zero input to itself.
7071         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7072         Likewise.
7073         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7074         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7076         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7077         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7079 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7081         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7082         * nptl/tst-cancel4-common.c: New file.
7083         * nptl/tst-cancel4-common.h: Likewise.
7084         * nptl/tst-cancel4.c: Move common definitions to
7085         tst-cancel4-common.{c,h} file.
7086         * nptl/tst-cancel4_1.c: New test.
7087         * nptl/tst-cancel4_2.c: New test.
7089 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7091         [BZ #20248]
7092         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7093         (write_message): New function.
7094         (stackoverflow_handler): Call it instead of printf, to avoid
7095         excessive stack usage by printf.
7096         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7098 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7100         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7101         (prio_inherit_missing): Remove define.
7102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7103         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7105         Likewise.
7106         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7107         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7108         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7109         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7111         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7113 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7115         [BZ #19670]
7116         [BZ #19672]
7118         * io/test-lfs.c (do_prepare): Use xmalloc.
7119         * io/tst-fcntl.c (do_prepare): Likewise.
7120         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7121         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7122         * login/tst-utmp.c (do_prepare): Likewise.
7123         * posix/tst-exec.c (do_prepare): Likewise.
7124         * posix/tst-pathconf.c (prepare): Likewise.
7125         * posix/tst-spawn.c (do_prepare): Likewise.
7126         * posix/tst-truncate.c (do_prepare): Likewise.
7127         * rt/tst-aio.c (do_prepare): Likewise.
7128         * rt/tst-aio64.c (do_prepare): Likewise.
7130 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7132         [BZ #20237]
7133         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7134         (get*ent): Set entidx to NULL during initialization.  If entidx is
7135         NULL, start iteration from the beginning.
7137 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7139         * malloc/malloc.c (musable): Return correct size for dumped fake
7140         mmapped chunk.
7142 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7144         [BZ #20222]
7145         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7146         (_IO_cookie_write): Likewise.
7147         (_IO_cookie_seek): Likewise.
7148         (_IO_cookie_close): Likewise.
7149         (_IO_old_cookie_seek): Likewise.
7150         (set_callbacks): New function.
7151         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7153 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7155         * locale/programs/localedef.c (oldstyle_tables): Remove.
7156         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7158 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7160         [BZ #20240]
7161         * math/Makefile (CFLAGS-s_modf.c): New variable.
7162         (CFLAGS-s_modff.c): Likewise.
7163         (CFLAGS-s_modfl.c): Likewise.
7164         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7166 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7168         [BZ #20215]
7169         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7170         [!__GNUC_PREREQ (3,2)]: Likewise.
7172 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7174         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7175         (msghdr.msg_controllen): Likewise.
7176         (cmsghdr.cmsg_len): Likewise.
7177         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7178         ptw-oldsendmsg.
7179         (CFLAGS-oldrecvmsg.c): Remove rule.
7180         (CFLAGS-oldsendmsg.c): Likewise.
7181         (CFLAGS-recvmsg.c): Add rule.
7182         (CFLAGS-sendmsg.c): Likewise.
7183         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7184         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7185         (CFLAGS-recvmsg.c): Remove rule.
7186         (CFLAGS-sendmsg.c): Likewise.
7187         (CFLAGS-oldrecvmsg.c): Likewise.
7188         (CFLAGS-oldsendmsg.c): Likewise.
7189         (CFLAGS-recvmmsg.c): Likewise.
7190         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7191         to kernel defined interfaces.
7192         (msghdr.msg_controllen): Likewise.
7193         (cmsghdr.cmsg_len): Likewise.
7194         (msghdr.__glibc_reserved1): Remove member.
7195         (msghdr.__glibc_reserved2): Likewise.
7196         (cmsghdr.__glibc_reserved1): Likewise.
7197         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7198         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7199         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7200         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7201         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7202         version.
7203         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7204         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7205         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7206         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7207         Remove recvmsg and sendmsg.
7208         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7209         Likewise.
7210         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7213         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7214         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7217         Likewise.
7218         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7219         [libc] (GLIBC_2.24): Likewise.
7220         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7221         Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7223         Likewise.
7224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7225         [libc] (GLIBC_2.24): Likewise.
7226         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7227         Likewise.
7228         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7229         Likewise.
7230         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7231         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7232         Likewise.
7233         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7234         Likewise.
7235         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7236         Likewise.
7237         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7240         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7241         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7242         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7243         version for {recv,send,recm,sendm}msg.
7244         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7254         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7255         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7259         Likewise.
7260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7274 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7276         [BZ #19564]
7277         Remove __malloc_initialize_hook from the API.
7278         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7279         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7280         #pragma GCC poison.
7281         * malloc/malloc-hooks.h: New file.
7282         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7283         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7284         (old__malloc_initialize_hook): Rename from
7285         __malloc_initialize_hook to evade poisoning.  Turn into compat
7286         symbol.
7287         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7288         __malloc_initialize_hook.
7289         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7290         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7291         * manual/memory.texi (Hooks for Malloc): Remove
7292         __malloc_initialize_hook.  Adjust hook example.
7294 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7296         [BZ #20235]
7297         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7298         itself.
7299         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7300         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7302         [BZ #20234]
7303         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7304         infinity or NaN input to itself.
7306         [BZ #20233]
7307         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7308         to itself.
7310         [BZ #20232]
7311         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7312         itself.
7314 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7316         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7317         __libc_start_main via GOT.
7319 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7321         * sysdeps/x86_64/memcopy.h: New file.
7322         * sysdeps/x86_64/wordcopy.c: Likewise.
7324 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7326         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7327         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7328         <cstdlib>.
7329         (optimization_barrier): New.
7330         (do_test): Use it.  Call quick_exit in the global namespace.
7331         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7332         instead of <cstdlib>, <thread>.
7333         (optimization_barrier): New.
7334         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7335         Call quick_exit in the global namespace.
7336         (do_test): Call optimization_barrier.  Use pthread_create,
7337         pthread_join instead of std::thread.
7339 2016-06-09  Andreas Schwab  <schwab@suse.de>
7341         [BZ #19755]
7342         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7343         new entries in auto-propagate mode.
7344         * nscd/grpcache.c (cache_addgr): Likewise.
7346 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7348         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7349         New functions.
7350         (add_temp_file): Use them.
7352 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7354         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7356 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7358         [BZ #20229]
7359         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7360         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7361         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7363         [BZ #20228]
7364         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7365         itself.
7366         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7367         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7369         [BZ #20227]
7370         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7371         itself.
7372         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7373         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7374         * math/libm-test.inc (log_test_data): Add sNaN tests.
7376         [BZ #20226]
7377         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7378         itself.
7379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7380         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7381         (exp10_test_data): Likewise.
7382         (expm1_test_data): Likewise.
7384         [BZ #20225]
7385         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7386         itself.
7387         * math/s_ldexpf.c (__ldexpf): Likewise.
7388         * math/s_ldexpl.c (__ldexpl): Likewise.
7389         * math/w_scalbln.c (__w_scalbln): Likewise.
7390         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7391         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7392         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7393         (scalbln_test_data): Likewise.
7395         [BZ #20224]
7396         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7397         argument to itself.
7398         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7400 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7402         [BZ #19776]
7403         * sysdeps/x86_64/memcpy.S: Make it dummy.
7404         * sysdeps/x86_64/mempcpy.S: Likewise.
7405         * sysdeps/x86_64/memmove.S: New file.
7406         * sysdeps/x86_64/memmove_chk.S: Likewise.
7407         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7408         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7409         * sysdeps/x86_64/memmove.c: Removed.
7410         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7411         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7412         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7413         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7414         Likewise.
7415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7418         memcpy-sse2-unaligned, memmove-avx-unaligned,
7419         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7421         (__libc_ifunc_impl_list): Replace
7422         __memmove_chk_avx512_unaligned_2 with
7423         __memmove_chk_avx512_unaligned.  Remove
7424         __memmove_chk_avx_unaligned_2.  Replace
7425         __memmove_chk_sse2_unaligned_2 with
7426         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7427         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7428         with __memmove_avx512_unaligned.  Replace
7429         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7430         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7431         with __memcpy_chk_avx512_unaligned.  Remove
7432         __memcpy_chk_avx_unaligned_2.  Replace
7433         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7434         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7435         Replace __memcpy_avx512_unaligned_2 with
7436         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7437         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7438         with __mempcpy_chk_avx512_unaligned.  Remove
7439         __mempcpy_chk_avx_unaligned_2.  Replace
7440         __mempcpy_chk_sse2_unaligned_2 with
7441         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7442         Replace __mempcpy_avx512_unaligned_2 with
7443         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7444         Replace __mempcpy_sse2_unaligned_2 with
7445         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7446         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7447         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7448         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7449         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7450         (ENTRY): Removed.
7451         (END): Likewise.
7452         (ENTRY_CHK): Likewise.
7453         (libc_hidden_builtin_def): Likewise.
7454         Don't include ../memcpy.S.
7455         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7456         __memcpy_chk_avx512_unaligned_erms and
7457         __memcpy_chk_avx512_unaligned.  Use
7458         __memcpy_chk_avx_unaligned_erms and
7459         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7460         Default to __memcpy_chk_sse2_unaligned.
7461         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7462         Change function suffix from unaligned_2 to unaligned.
7463         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7464         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7465         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7466         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7467         (ENTRY): Removed.
7468         (END): Likewise.
7469         (ENTRY_CHK): Likewise.
7470         (libc_hidden_builtin_def): Likewise.
7471         Don't include ../mempcpy.S.
7472         (mempcpy): New.  Add a weak alias.
7473         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7474         __mempcpy_chk_avx512_unaligned_erms and
7475         __mempcpy_chk_avx512_unaligned.  Use
7476         __mempcpy_chk_avx_unaligned_erms and
7477         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7478         Default to __mempcpy_chk_sse2_unaligned.
7480 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7482         [BZ #19881]
7483         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7484         into ...
7485         * sysdeps/x86_64/memset.S: This.
7486         (__bzero): Removed.
7487         (__memset_tail): Likewise.
7488         (__memset_chk): Likewise.
7489         (memset): Likewise.
7490         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7491         defined.
7492         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7493         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7494         (__memset_zero_constant_len_parameter): Check SHARED instead of
7495         PIC.
7496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7497         memset-avx2 and memset-sse2-unaligned-erms.
7498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7499         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7500         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7501         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7502         (__bzero): Enabled.
7503         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7504         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7505         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7506         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7507         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7508         (memset): Removed.
7509         (__memset_chk): Likewise.
7510         (MEMSET_SYMBOL): New.
7511         (libc_hidden_builtin_def): Replace __memset_sse2 with
7512         __memset_sse2_unaligned.
7513         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7514         __memset_chk_sse2 and __memset_chk_avx2 with
7515         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7516         Use __memset_chk_sse2_unaligned_erms or
7517         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7518         __memset_chk_avx512_unaligned_erms and
7519         __memset_chk_avx512_unaligned.
7521 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7523         * math/gen-auto-libm-test.c (fp_format_desc): remove
7524         suffix member.
7525         (output_generic_value): Remove usage of suffix member,
7526         and the resulting unuse of the fp_format argument.
7527         (output_for_one_input_case): Remove unused fp_format
7528         parameter.
7530         * math/auto-libm-test-out: Regenerate.
7532         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7533         usage with TEST_COND_ibm128.
7534         (TEST_COND_flt_32): Remove.
7535         (TEST_COND_dbl_64): Remove.
7536         (TEST_COND_ldbl_96_intel): Remove.
7537         (TEST_COND_ldbl_96_m68k): Remove.
7538         (TEST_COND_ldbl_128): Remove.
7540 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7542         * auto-libm-test-in:
7543         Replace flt-32 usage with binary32.
7544         Replace dbl-64 usage with binary64.
7545         Replace ldbl-intel-96 usage with intel96.
7546         Replace ldbl-m68k-96 usage with m68k96.
7547         Replace ldbl-128ibm usage with ibm128.
7548         Replace ldbl-128 usage with binary128.
7550         * auto-libm-test-out: Regenerate.
7552 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7554         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7555         (parse_ulps): Dynamically generate type name matching
7556         string from all_floats.
7557         (get_ulps): Generate the ulps as an array instead.
7558         (output_ulps): Dynamically compose the type based
7559         on the number of supported formats, and print
7560         the indices as type specific helper macros.
7562         * math/libm-test.inc: Remove comment about CHOOSE.
7563         (ulp_data): Generate the type in libm-test-ulps.h.
7564         (ULP_IDX): New macro.
7565         (find_ulps): Update usage of max_ulp.
7567         * math/test-double-vlen2.h (CHOOSE): Remove.
7568         * math/test-double-vlen4.h (CHOOSE): Likewise.
7569         * math/test-double-vlen8.h (CHOOSE): Likewise.
7570         * math/test-float.c (CHOOSE): Likewise.
7571         * math/test-float-finite.c (CHOOSE): Likewise.
7572         * math/test-double.c (CHOOSE): Likewise.
7573         * math/test-double-finite.c (CHOOSE): Likewise.
7574         * math/test-idouble.c (CHOOSE): Likewise.
7575         * math/test-ifloat.c (CHOOSE): Likewise.
7576         * math/test-ildoubl.c (CHOOSE): Likewise.
7577         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7578         * math/test-ldouble.c (CHOOSE): Likewise.
7580         * math/test-float.h (TEST_FLOAT): Remove.
7581         * math/test-double.h (TEST_DOUBLE): Likewise.
7582         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7584 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7586         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7587         (parse_args): Strip C suffix from floating point literals
7588         typed with 'f' and wrap them with LIT().
7590         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7591         (test_ff_f_data_nexttoward): Rename to
7592         (test_fj_f_data): New struct.
7593         (nexttoward_test_data): Relabel tests as
7594         TEST_fj_f instead of TEST_ff_f.
7596 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7598         Emacs bug 23726.
7599         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7600         (__libc_realloc): Correct size computation for dumped fake mmapped
7601         chunks.
7603 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7605         [BZ #20219]
7606         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7607         to itself.
7608         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7610         [BZ #20218]
7611         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7612         to itself.
7613         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7615 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7617         [BZ #20195]
7618         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7619         check to ...
7620         (init_cpu_features): Here.
7622 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7624         [BZ #20214]
7625         * sysdeps/unix/sysv/linux/bits/in.h
7626         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7627          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7628         Define to 1.
7629         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7630          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7631         Define to 0.
7632         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7633         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7635 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7637         [BZ #20198]
7638         * stdlib/Makefile (tests): Add tst-quick_exit, and
7639         tst-thread-quick_exit.
7640         [ifeq ($(have-cxx-thread_local),yes)]
7641         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7642         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7643         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7644         (LDLIBS-tst-thread-quick_exit): Likewise.
7645         [ifneq ($(have-cxx-thread_local),yes)]
7646         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7647         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7648         If run_dtors is true call __call_tls_dtors.
7649         (exit): Call __run_exit_handlers with run_dtors set to true.
7650         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7651         definition.
7652         * stdlib/quick_exit.c (quick_exit): Remove function.
7653         (__new_quick_exit): New function.
7654         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7655         function.
7656         * stdlib/tst-quick_exit.cc: New file.
7657         * stdlib/tst-thread-quick_exit.cc: New file.
7658         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7659         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7660         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7661         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7662         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7663         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7664         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7665         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7666         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7667         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7668         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7669         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7670         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7671         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7672         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7673         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7678         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7679         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7680         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7681         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7682         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7685         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7686         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7687         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7689 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7691         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7692         a typo in comments.
7694 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #20213]
7697         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7698         argument to itself.
7699         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7701 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7703         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7704         required flags.
7705         (CFLAGS-pwritev64.c): Likewise.
7706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7708         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7709         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7710         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7711         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7712         syscall from auto-generation.
7713         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7714         [WORDSIZE == 64] (pwritev64): Remove macro.
7715         [!PWRITEV] (PWRITEV): Likewise.
7716         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7717         [!PWRITEV] (PWRITE): Likewise.
7718         [!PWRITEV] (OFF_T): Likewise.
7719         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7720         (LO_HI_LONG): Remove macro.
7721         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7722         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7723         (PWRITEV): Remove macro.
7724         (PWRITEV_REPLACEMENTE): Likewise.
7725         (PWRITE): Likewise.
7726         (OFF_T): Likewise.
7727         (pwritev64): New function.
7728         * nptl/tst-cancel4.c (tf_writev): Add test.
7730         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7731         required flags.
7732         (CFLAGS-preadv64.c): Likewise.
7733         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7734         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7735         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7736         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7737         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7738         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7739         syscall from auto-generation.
7740         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7741         [WORDSIZE == 64] (preadv64): Remove macro.
7742         [!PREADV] (PREADV): Likewise.
7743         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7744         [!PREADV] (PREAD): Likewise.
7745         [!PREADV] (OFF_T): Likewise.
7746         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7747         (LO_HI_LONG): Remove macro.
7748         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7749         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7750         (PREADV): Remove macro.
7751         (PREADV_REPLACEMENTE): Likewise.
7752         (PREAD): Likewise.
7753         (OFF_T): Likewise.
7754         (preadv64): New function.
7755         * nptl/tst-cancel4.c (tf_preadv): Add test.
7757 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7759         [BZ #20212]
7760         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7761         argument to itself.
7762         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7764 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7766         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7767         New symbol defined as libc_hidden_def.
7768         (strcasestr): Became a weak alias to __strcasestr.
7769         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7770         according to multi-arch support.  Move __stpncpy hidden
7771         definition from here to...
7772         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7773         symbol stpncpy.
7774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7775         libc_hidden_builtin_def.
7776         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7777         memset symbol to use when multi-arch support is available.
7779 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7781         * dlfcn/tst-rec-dlopen.c: Include string.h.
7783 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7785         * manual/install.texi: Remove mention of --without-tls
7786         * INSTALL: Regenerate.
7788 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7790         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7791         Remove.
7792         (call_function, interposed_malloc_called): New variables.
7793         (malloc): New function.
7794         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7795         and clear call_function as needed.
7797 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7799         * include/wchar.h (__wmemset): Use __typeof.
7801 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7803         * include/wchar.h (__wmemset): Declare function without typeof.
7805 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7807         [BZ #20205]
7808         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7809         exponent when incrementing negative subnormal with low mantissa
7810         word zero.
7811         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7812         Add another test.
7814 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7816         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7817         __wmemset instead of wmemset.
7819 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7821         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7822         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7823         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7824         __USE_KERNEL_IPV6_DEFS to 0.
7825         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7826         Update comment.
7828 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7830         [BZ #19861]
7831         Do not use IFUNC resolver with potentially unrelocated symbol.
7832         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7833         (DEFINE_FORK): Remove macro and inline definition.
7834         (fork_alias): Renamed from fork_ifunc.
7835         (__fork_alias): Renamed from __fork_ifunc.
7837 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7839         [BZ 19653]
7840         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7841         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7843 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7845         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7846         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7847         i386-linux-gnu).
7848         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7849         Set to no.
7850         * sysdeps/mach/hurd/configure: Refresh.
7852 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7854         [BZ #20178]
7855         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7856         on failure instead of exit.
7858 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7860         [BZ #3629]
7861         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7862         of POSIX.1-2008.
7864 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7866         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7867           Use PLT entry for calling _hurd_self_sigstate.
7869 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7871         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7872         available logical processors with SMT level type sharing L2
7873         cache for Intel processors.
7875 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7877         [BZ #20160]
7878         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7879         argument to itself before returning the result.
7880         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7881         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7882         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7883         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7884         Likewise.
7885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7886         Likewise.
7887         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7888         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7889         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7890         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7891         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7892         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7894         [BZ #20160]
7895         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7896         argument to itself before returning the result.
7897         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7898         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7899         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7901         Likewise.
7902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7903         Likewise.
7904         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7905         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7906         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7907         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7908         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7909         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7911 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7913         * libm-test.inc: Replace usage of M_El with
7914         (lit_e): New macro.
7916 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7918         * libm-test.inc: Replace usage of M_PI_4l with
7919         (lit_pi_4_d): New macro.
7921 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7923         * libm-test.inc: Replace usage of M_PIl with
7924         (lit_pi): New macro.
7926 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7928         * libm-test.inc: Replace usage of M_PI2l with
7929         (lit_pi_2_d): New macro.
7931         * math/test-double.h (LITM): New macro.
7932         * math/test-float.h (LITM): Likewise.
7933         * math/test-ldouble.h (LITM): Likewise.
7935 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7937         * libm-test.inc (M_PI_34l): Rename to
7938         (lit_pi_3_m_4_d): New Macro.
7939         (M_PI_34_LOG10El): Rename to
7940         (lit_pi_3_m_4_ln10_m_d): New Macro.
7941         (M_PI2_LOG10El): Rename to
7942         (lit_pi_2_ln10_m_d):  New Macro.
7943         (M_PI4_LOG10El): Rename to
7944         (lit_pi_4_ln10_m_d):  New Macro.
7945         (M_PI_LOG10El): Rename to
7946         (lit_pi_ln10_d):  New Macro.
7948 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7950         [BZ #20157]
7951         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7952         determine whether to negate low half if [_ARCH_PPCGR], and integer
7953         comparison otherwise.
7954         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7955         determine whether to negate low half.
7957         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7958         (NO_TEST_INLINE_DOUBLE): Likewise.
7959         (TEST_COND_x86_64): Likewise.
7960         (TEST_COND_x86): Likewise.
7961         (M_PI_6l): Likewise.
7963 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7965         * math/libm-test.inc:
7966         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7967         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7968         (TEST_LDOUBLE): Update usage to evaluate as true if
7969         the guarded tests match the property being tested.
7970         (LDBL_MAX_EXP): Change to MAX_EXP.
7971         (LDBL_MIN_EXP): Change to MIN_EXP.
7972         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7973         nexttoward tests.
7975 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7977         * math/libm-test.inc:
7978         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7979         (TYPE_MIN): Likewise.
7980         (TYPE_TRUE_MIN): Likewise.
7981         (TYPE_MAX): Likewise.
7982         (MIN_EXP): Likewise.
7983         (MAX_EXP): Likewise.
7984         (MANT_DIG): Likewise.
7986         (FSTR_MAX): New macro.
7987         (__CONCATX): Likewise.
7988         (QTYPE_STR): Likewise.
7989         (TEST_COND_binary32): Likewise.
7990         (TEST_COND_binary64): Likewise.
7991         (TEST_COND_binary128): Likewise.
7992         (TEST_COND_ibm128): Likewise.
7993         (TEST_COND_intel96): Likewise.
7994         (TEST_COND_m68k96): Likewise.
7996         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7997         (TEST_COND_dbl_64): Likewise.
7998         (TEST_COND_ldbl_96_intel): Likewise.
7999         (TEST_COND_ldbl_96_m68k): Likewise.
8000         (TEST_COND_ldbl_128): Likewise.
8001         (TEST_COND_ldbl_128ibm): Likewise.
8003         (plus_zero): Redefine using LIT macro.
8004         (minus_zero): Likewise.
8005         (plus_infty): Redefine as (INF).
8006         (minux_infty): Redefine as (-INF).
8007         (max_value): Redefine as TYPE_MAX.
8008         (min_value): Redefine as TYPE_MIN.
8009         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8011         (print_float): Refactor to use snprintf to convert FLOAT values
8012         to string. This brings it closer to dropin replacement of strtof
8013         for the TS 18661 defined types.
8014         (update_stats): Likewise.
8015         (print_complex_function_ulps): Likewise.
8016         (print_max_error): Likewise.
8017         (print_complex_max_error): Likewise.
8018         (check_float_internal): Likewise.
8020         * math/test-float.h (PREFIX): New macro.
8021         (LIT): Likewise.
8022         (TYPE_STR): Likewise.
8023         (FTOSTR): Likewise.
8025         * math/test-double.h (PREFIX): New macro.
8026         (LIT): Likewise.
8027         (TYPE_STR): Likewise.
8028         (FTOSTR): Likewise.
8030         * math/test-ldouble.h (PREFIX): New macro.
8031         (LIT): Likewise.
8032         (TYPE_STR): Likewise.
8033         (FTOSTR): Likewise.
8035 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8037         [BZ #20156]
8038         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8039         to itself when zero or not finite.
8040         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8041         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8042         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8043         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8045 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8047         [BZ #20153]
8048         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8049         x * x + x for infinities and NaNs.
8051         [BZ #20151]
8052         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8053         argument to itself before returning result.
8054         (__ieee754_y0l): Likewise.
8055         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8056         (__ieee754_y1l).
8058         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8059         (atan_test_data): Likewise.
8060         (ceil_test_data): Likewise.
8061         (cos_test_data): Likewise.
8062         (cosh_test_data): Likewise.
8063         (erf_test_data): Likewise.
8064         (exp2_test_data): Likewise.
8065         (fabs_test_data): Likewise.
8066         (floor_test_data): Likewise.
8067         (ilogb_test_data): Likewise.
8068         (j0_test_data): Likewise.
8069         (j1_test_data): Likewise.
8070         (jn_test_data): Likewise.
8071         (lgamma_test_data): Likewise.
8072         (lrint_test_data): Likewise.
8073         (llrint_test_data): Likewise.
8074         (logb_test_data): Likewise.
8075         (lround_test_data): Likewise.
8076         (llround_test_data): Likewise.
8077         (nearbyint_test_data): Likewise.
8078         (rint_test_data): Likewise.
8079         (round_test_data): Likewise.
8080         (sin_test_data): Likewise.
8081         (sincos_test_data): Likewise.
8082         (sinh_test_data): Likewise.
8083         (sqrt_test_data): Likewise.
8084         (tan_test_data): Likewise.
8085         (tanh_test_data): Likewise.
8086         (tgamma_test_data): Likewise.
8087         (trunc_test_data): Likewise.
8088         (y0_test_data): Likewise.
8089         (y1_test_data): Likewise.
8090         (yn_test_data): Likewise.
8092         * math/libm-test.inc: Update comment about NaN testing.
8093         (TEST_SNAN): New macro.
8094         (snan_value): Likewise.
8095         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8096         (fpclassify_test_data): Add sNaN tests.
8097         (isfinite_test_data): Likewise.
8098         (isinf_test_data): Likewise.
8099         (isnan_test_data): Likewise.
8100         (isnormal_test_data): Likewise.
8101         (issignaling_test_data): Likewise.
8102         (signbit_test_data): Likewise.
8103         * math/gen-libm-test.pl (%beautify): Add snan_value.
8104         (show_exceptions): Add argument $test_snan.
8105         (parse_args): Handle snan_value as non-finite.  Update call to
8106         show_exceptions.
8107         * math/Makefile (libm-test-no-inline-cflags): Add
8108         -fsignaling-nans.
8110 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8112         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8113         (CFLAGS-oldsendmsg.c): Add rule.
8114         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8115         Correct recvmsg symbol name.
8116         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8117         Likewise.
8119 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8121         * sysdeps/unix/sysv/linux/Makefile
8122         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8123         oldsendmmsg.
8124         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8125         sendmmsg.
8126         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8127         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8128         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8129         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8132         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8134         Likewise.
8135         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8136         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8137         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8138         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8139         iovlen and controllen fields to adjust to POSIX specification.
8140         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8142         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8143         and change to correct expected type.
8144         (msghdr.msg_controllen): Likewise.
8145         (cmsghdr.cmsg_len): Likewise.
8146         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8147         expected POSIX assumption about the size.
8148         (msghdr.msg_controllen): Likewise.
8149         (msghdr.__glibc_reserved1): Likewise.
8150         (msghdr.__glibc_reserved2): Likewise.
8151         (cmsghdr.cmsg_len): Likewise.
8152         (cmsghdr.__glibc_reserved1): Likewise.
8153         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8154         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8155         (CFLAGS-sendmsg.c): Remove rule.
8156         (CFLAGS-recvmsg.c): Likewise.
8157         (CFLAGS-oldsendmsg.c): Add rule.
8158         (CFLAGS-oldrecvmsg.c): Likewise.
8159         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8160         recvmsg and sendmsg.
8161         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8162         Likewise.
8163         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8164         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8165         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8166         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8167         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8168         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8171         Likewise.
8172         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8173         Likewise.
8174         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8181         (GLIBC_2.24): Likewise.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8187         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8188         Likewise.
8189         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8190         Likewise.
8191         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8192         Likewise.
8193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8194         (GLIBC_2.24): Likewise.
8195         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8196         Likewise.
8197         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8198         Likewise.
8199         * sysdeps/unix/sysv/linux/Makefile
8200         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8201         (CFLAGS-sendmsg.c): Add rule.
8202         (CFLAGS-recvmsg.c): Likewise.
8203         (CFLAGS-oldsendmsg.c): Likewise.
8204         (CFLAGS-oldrecvmsg.c): Likewise.
8205         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8206         initialization.
8207         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8208         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8209         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8210         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8211         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8212         iovlen and controllen fields to adjust to POSIX specification.
8213         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8215         added recvmsg and sendmsg.
8216         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8229         Likewise.
8230         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8232         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8233         Likewise.
8234         Likewise.
8235         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8244         Likewise.
8245         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8249         from auto-generation.
8250         (sendmsg): Likewise.
8251         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8252         (sendmsg): Likewise.
8253         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8254         (sendmsg): Likewise.
8255         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8256         (sendmsg): Likewise.
8257         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8258         (sendmsg): Likewise.
8259         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8260         (sendmsg): Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8262         Likewise.
8263         (sendmsg): Likewise.
8264         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8265         (sendmsg): Likewise.
8266         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8268         Remove.
8269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8270         Likewise.
8271         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8272         Undefine.
8273         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8274         Likewise.
8275         * sysdeps/unix/sysv/linux/kernel-features.h
8276         (__ASSUME_SENDMSG_SYSCALL): Define.
8277         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8278         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8280         Remove.
8281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8282         Likewise.
8283         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8284         Undefine.
8285         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8289         Remove.
8290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8291         Likewise.
8292         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8293         Undefine.
8294         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8297         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8298         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8300         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8301         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8302         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8303         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8304         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8306 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8308         * stdlib/gen-tst-strtod-round.c: Add backslash to
8309         compile command in comment.
8310         (printfp): Remove the literal suffix, and define an infinite
8311         value as INF to avoid expansion clash with INFINITY.
8312         (round_str): Remove the literal suffix.
8313         (round_for_all): Likewise, remove the now duplicate ldbl-64
8314         entry, and remove some magic constants.
8316         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8317         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8318         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8319         (_CONCAT): New macro.
8320         (CONCAT): Likewise.
8321         (CHOOSE_ld): Likewise.
8322         (CHOOSE_f): Likewise.
8323         (CHOOSE_d): Likewise.
8324         (FTYPE_MEMBER): Likewise.
8325         (BOOL_MEMBER): Likewise.
8326         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8327         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8328         (_XNTRY): Likewise.
8329         (XNTRY): Likewise.
8330         (_ENTRY): Likewise.
8331         (ENTRY): Likewise.
8332         (test_exactness): Generate members via macro.
8333         (test_results): Likewise.
8334         (test): Update members.
8335         (TEST): Redefine using new macros.
8336         (INF): New macro.
8337         (fetestmodes): New structure.
8338         (do_test): Refactor to be type generic.
8339         (test_in_one_mode): Refactor duplicate code into
8340         (GEN_ONE_TEST): New macro.
8342         * stdlib/tst-strtod-round-data.h: Regenerate.
8344         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8345         Extend to pass additional arbitrary parameters to
8346         generators.
8348 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8350         [BZ #15479]
8351         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8352         floating-point state after first floating-point operation on
8353         input.  Restore full floating-point state instead of just rounding
8354         mode.
8355         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8356         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8357         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8358         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8359         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8361         [BZ #15479]
8362         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8363         floating-point state after first floating-point operation on
8364         input.  Restore full floating-point state instead of just rounding
8365         mode.
8366         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8367         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8368         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8369         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8370         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8372 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         [BZ #19727]
8375         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8376         valid high surrogate.
8377         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8378         of an utf16 surrogate.
8379         * iconv/gconv_simple.c (BODY): Likewise.
8380         * iconvdata/bug-iconv12.c: New file.
8381         * iconvdata/Makefile (tests): Add bug-iconv12.
8383 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8385         [BZ #19726]
8386         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8387         outptrp in case of an illegal input.
8388         * iconv/tst-iconv6.c: New file.
8389         * iconv/Makefile (tests): Add tst-iconv6.
8391 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8393         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8394         an error in case of a value in range of an utf16 low surrogate.
8396 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8398         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8399         an error in case of a value in range of an utf16 low surrogate.
8401 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8403         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8404         Move to ...
8405         * sysdeps/s390/Makefile: ... here.
8406         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8407         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8408         (BRANCH_ON_COUNT): New define.
8409         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8410         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8411         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8412         run on s390-32, too.
8413         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8414         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8415         run on s390-32, too.
8416         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8417         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8418         run on s390-32, too.
8420 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8422         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8423         etf3eh or new vector loop-variant.
8425 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8427         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8428         etf3eh or new vector loop-variant.
8430 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8432         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8433         or new vector loop-variant.
8435 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8437         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8438         Rename to TR_LOOP and usage of tr instead of troo instruction.
8440 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8442         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8443         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8445 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8447         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8448         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8449         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8450         New override define.
8451         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8453 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8455         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8456         * sysdeps/s390/configure.ac: Add test for S390 vector register
8457         support in gcc.
8458         * sysdeps/s390/configure: Regenerated.
8460 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8462         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8463         Install file from $(objpfx)gconv-modules.
8464         ($(objpfx)gconv-modules): Concatenate architecture specific file
8465         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8466         * sysdeps/s390/gconv-modules: New file.
8467         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8468         Deleted.
8469         ($(objpfx)gconv-modules-s390): Deleted.
8470         (sysdeps-gconv-modules): New variable.
8472 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #15479]
8475         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8476         of immediate operand to rounding instruction.
8477         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8478         Likewise.
8479         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8480         Likewise.
8481         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8482         Likewise.
8484 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8486         * math/libm-test.inc (MIN_EXP): Directly define as
8487         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8489 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8491         * math/libm-test.inc (MANT_DIG): Directly define as
8492         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8494 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8496         * stdlib/gen-tst-strtod-round.c (main):
8497           Change usage to more closely match the generated
8498           output.  Add usage and compilation instructions.
8499           (string_to_fp): Add and use FILE* parameter as
8500           output target.
8501           (print_fp): Likewise.
8502           (round_str): Likewise.
8503           (round_for_all): Likewise.
8504         * stdlib/tst-strtod-round.c (tests): Move into
8505         * stdlib/tst-strtod-round-data.h: New file.
8507 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8509         [BZ #15479]
8510         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8511         (__round): Do not force "inexact" exception.
8512         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8513         variable.
8514         (__round): Do not force "inexact" exception.
8515         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8516         (__roundf): Do not force "inexact" exception.
8517         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8518         (__roundl): Do not force "inexact" exception.
8519         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8520         (__roundl): Do not force "inexact" exception.
8521         * math/libm-test.inc (round_test_data): Do not allow spurious
8522         "inexact" exceptions.
8524         [BZ #15479]
8525         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8526         exception in comment.
8527         (huge): Remove variable.
8528         (__floor): Do not force "inexact" exception.
8529         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8530         "inexact" exception in comment.
8531         (huge): Remove variable.
8532         (__floor): Do not force "inexact" exception.
8533         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8534         exception in comment.
8535         (huge): Remove variable.
8536         (__floorf): Do not force "inexact" exception.
8537         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8538         exception in comment.
8539         (huge): Remove variable.
8540         (__floorl): Do not force "inexact" exception.
8542         [BZ #15479]
8543         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8544         exception in comment.
8545         (huge): Remove variable.
8546         (__ceil): Do not force "inexact" exception.
8547         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8548         "inexact" exception in comment.
8549         (huge): Remove variable.
8550         (__ceil): Do not force "inexact" exception.
8551         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8552         (__ceilf): Do not force "inexact" exception.
8553         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8554         exception in comment.
8555         (huge): Remove variable.
8556         (__ceill): Do not force "inexact" exception.
8558 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8560         * config.h.in (BIND_NOW): New.
8561         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8562         * configure: Regenerated.
8563         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8564         indirect branch via the GOT slot.
8566 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8568         [BZ #19765]
8569         * sysdeps/s390/mempcpy.S: New File.
8570         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8572         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8573         Add mempcpy variants.
8574         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8575         (memcpy): Adjust to be usable from mempcpy entry point.
8576         (__memcpy_mvcle): Likewise.
8577         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8578         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8579         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8580         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8581         (__memcpy_z10): Likewise.
8582         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8584 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8586         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8587         Remove __GI_ symbol.
8588         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8589         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8590         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8591         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8592         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8593         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8595 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8597         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8598         Use cghi instead of chi to compare 64bit value.
8600 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8602         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8603         Jump to 1MB check before executing mvc-loop.
8605 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8607         [BZ #6527]
8608         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8609         unconditionally.
8610         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8612 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8614         * stdlib/tst-strtod6.c (do_test): Use new type generic
8615         invocation of the test function.
8616         (test): Refactor into ...
8617         (TEST_STRTOD): New macro base function.
8619 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8621         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8622         (TEST_STRTOD): New macro.
8623         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8625 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8627         * stdlib/tst-strtod6.c (do_test): Use new type generic
8628         invocation of the test function.
8629         (test): Refactor into ...
8630         (TEST_STRTOD): New macro base function.
8632 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8634         CVE-2016-4429
8635         [BZ #20112]
8636         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8637         payload.
8639 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8641         [BZ #20111]
8642         * bits/sockaddr.h (_SS_SIZE): Define.
8643         * bits/socket.h (_SS_SIZE): Remove.
8644         (_SS_PADSIZE): Adjust to account for all padding.
8645         (struct sockaddr_storage): Update comment.  Avoid implicit
8646         padding.
8647         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8648         (_SS_PADSIZE): Adjust to account for all padding.
8649         (struct sockaddr_storage): Update comment.  Avoid implicit
8650         padding.
8651         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8652         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8653         (_SS_PADSIZE): Adjust to account for all padding.
8654         (struct sockaddr_storage): Update comment.  Avoid implicit
8655         padding.
8656         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8657         __SS_SIZE is 126 in this version.
8658         * inet/tst-sockaddr.c: New file.
8659         * inet/Makefile (tests): Add tst-sockaddr.c
8660         (tst-sockaddr.c): Compile with non-strict aliasing.
8662 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8664         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8665         [XPG3 || XPG4].
8666         (NL_ARGMAX): Also expect for [XPG3].
8667         (NL_LANGMAX): Likewise.
8668         (NL_MSGMAX): Likewise.
8669         (NL_NMAX): Likewise.
8670         (NL_SETMAX): Likewise.
8671         (NL_TEXTMAX): Likewise.
8672         (NZERO): Likewise.
8673         (TMP_MAX): Likewise.
8674         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8675         variable.
8677         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8678         (PF_MAX): Update value.
8679         (AF_KCM): New macro.
8680         (SOL_NETBEUI): Likewise.
8681         (SOL_LLC): Likewise.
8682         (SOL_DCCP): Likewise.
8683         (SOL_NETLINK): Likewise.
8684         (SOL_TIPC): Likewise.
8685         (SOL_RXRPC): Likewise.
8686         (SOL_PPPOL2TP): Likewise.
8687         (SOL_BLUETOOTH): Likewise.
8688         (SOL_PNPIPE): Likewise.
8689         (SOL_RDS): Likewise.
8690         (SOL_IUCV): Likewise.
8691         (SOL_CAIF): Likewise.
8692         (SOL_ALG): Likewise.
8693         (SOL_NFC): Likewise.
8694         (SOL_KCM): Likewise.
8695         (MSG_BATCH): New enum value and macro.
8697 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8699         [BZ #18185]
8700         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8701         sharing L2 cache to 2 for Knights Landing.
8703 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8705         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8706         (FTW_DP): Do not expect for [XPG3 || XPG4].
8707         (FTW_SL): Do not expect for [XPG3].
8708         (FTW_SLN): Likewise.
8709         (FTW_PHYS): Likewise.
8710         (FTW_MOUNT): Likewise.
8711         (FTW_DEPTH): Likewise.
8712         (FTW_CHDIR): Likewise.
8713         (nftw): Likewise.
8714         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8715         variable.
8717 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8719         * manual/errno.texi: Fix various typos & grammar errors.
8721 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8723         * manual/intro.texi: Fix duplicated typo.
8725 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8727         [BZ #13304]
8728         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8729         <float.h>, <math_private.h> and <stdlib.h>.
8730         (add_split): New function.
8731         (mul_split): Likewise.
8732         (ext_val): New typedef.
8733         (store_ext_val): New function.
8734         (mul_ext_val): New function.
8735         (compare): New function.
8736         (add_split_ext): New function.
8737         (__fmal): After checking for Inf, NaN and zero, compute result as
8738         an exact sum of scaled double values in round-to-nearest before
8739         adding those up and adjusting for other rounding modes.
8740         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8741         tests of fma.
8742         * math/auto-libm-test-out: Regenerated.
8744 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8746         [BZ #20119]
8747         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8748         processor level type mask for CPUID with EAX == 11.
8750 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8752         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8753         logical threads if the HTT bit is 0.
8754         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8755         (index_cpu_HTT): Likewise.
8756         (reg_HTT): Likewise.
8758 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8760         [BZ #20115]
8761         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8762         Remove alignments on jump targets.
8764 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8766         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8767         (getpwent): Likewise.
8768         (setpwent): Likewise.
8769         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8770         variable.
8772         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8773         (remque): Likewise.
8774         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8775         variable.
8777 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8779         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8780         not being tested.
8782 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8784         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8785         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8786         call.
8787         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8788         (__condvar_cleanup1): Likewise.
8790 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8792         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8793         New
8794         (__pthread_unwind): Renamed to ...
8795         (PTHREAD_UNWIND): This.
8796         (__pthread_enable_asynccancel): Replace
8797         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8799 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8801         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8802         (CLONE_NEWCGROUP): New macro.
8804         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8805         (Q_GETNEXTQUOTA): New macro.
8807 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8809         [BZ #19907]
8810         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8811         buffer updated by the previous run.
8812         * string/test-memcpy.c (do_one_test): Likewise.
8813         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8814         * string/test-memmove.c (do_one_test): Likewise.
8816 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8818         [BZ #20094]
8819         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8820         not [__USE_XOPEN].
8821         (unlockpt): Likewise.
8822         (ptsname): Likewise.
8823         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8824         variable.
8826         [BZ #20076]
8827         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8828         instead of [__USE_UNIX98].
8829         (S_ISSOCK): Likewise.
8830         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8831         variable.
8833         [BZ #20074]
8834         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8835         [__USE_POSIX].
8836         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8837         variable.
8839         [BZ #20051]
8840         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8841         (ttyslot): Do not declare.
8842         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8843         (ttyslot): New prototype.
8844         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8845         variable.
8846         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8848 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8850         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8852 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8854         Fix race condition in tst-mallocfork2, use fewer resources.
8855         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8856         to current process group.
8857         (signal_sender): Yield in the non-sleeping case.
8859 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8861         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8862         (ecvt): Likewise.
8863         (fcvt): Likewise.
8864         (gcvt): Likewise.
8865         (getsubopt): Likewise.
8866         (grantpt): Likewise.
8867         (initstate): Likewise.
8868         (l64a): Likewise.
8869         (mktemp): Likewise.
8870         (mkstemp): Likewise.
8871         (ptsname): Likewise.
8872         (random): Likewise.
8873         (realpath): Likewise.
8874         (setstate): Likewise.
8875         (srandom): Likewise.
8876         (ttyslot): Likewise.
8877         (unlockpt): Likewise.
8878         (valloc): Likewise.
8880         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8881         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8882         variable.
8884 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8886         [BZ #20072]
8887         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8888         init_cpu_features only if SHARED is defined.
8889         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8891 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8893         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8894         non-inclusive caches on Intel processors.
8896 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8898         * malloc/malloc.c (dumped_main_arena_start)
8899         (dumped_main_arena_end): New variables.
8900         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8901         (do_check_chunk): Skip dumped fake mmapped chunks.
8902         (munmap_chunk): Likewise.
8903         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8904         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8905         mmapped chunks.
8906         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8907         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8908         and dumped_main_arena_end to cover the dumped heap.
8910 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8912         * conform/data/time.h-data (getdate_err): Do not expect for
8913         [XPG3].
8914         (getdate): Likewise.
8915         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8916         variable.
8918         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8919         (F_ULOCK): Likewise.
8920         (F_TEST): Likewise.
8921         (F_TLOCK): Likewise.
8922         (useconds_t): Likewise.
8923         (intptr_t): Do not expect for [XPG3] or [XPG4].
8924         (brk): Do not expect for [XPG3]
8925         (fchown): Likewise.
8926         (fchdir): Likewise.
8927         (ftruncate): Likewise.
8928         (getdtablesize): Likewise.
8929         (gethostid): Likewise.
8930         (getpagesize): Likewise.
8931         (getpgid): Likewise.
8932         (getsid): Likewise.
8933         (getwd): Likewise.
8934         (lchown): Likewise.
8935         (lockf): Likewise.
8936         (readlink): Likewise.
8937         (sbrk): Likewise.
8938         (setpgrp): Likewise.
8939         (setregid): Likewise.
8940         (setreuid): Likewise.
8941         (symlink): Likewise.
8942         (sync): Likewise.
8943         (truncate): Likewise.
8944         (ualarm): Likewise.
8945         (usleep): Likewise.
8946         (vfork): Likewise.
8947         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8948         variable.
8950         [BZ #20054]
8951         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8952         not [__USE_UNIX98].
8953         * conform/data/unistd.h-data (gethostname): Do not expect for
8954         [XPG3].
8956         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8957         [!POSIX] (S_IFBLK): Likewise.
8958         [!POSIX] (S_IFCHR): Likewise.
8959         [!POSIX] (S_IFIFO): Likewise.
8960         [!POSIX] (S_IFREG): Likewise.
8961         [!POSIX] (S_IFDIR): Likewise.
8962         [!POSIX] (S_IFLNK): Likewise.
8963         [!POSIX] (S_IFSOCK): Likewise.
8964         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8965         variable.
8966         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8968 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8970         * sysdeps/aarch64/memset.S (__memset):
8971         Rewrite of optimized memset.
8973 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8975         [BZ #19703]
8976         Partially async-signal-safe fork for single-threaded processes.
8977         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8978         variable.  Do not acquire and reset/release malloc and libio locks
8979         in single-threaded processes.
8980         * malloc/tst-mallocfork2.c: New file.
8981         * malloc/Makefile (tests): Add it.
8983 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8985         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8986         argument.  Use scratch buffer instead of extend_alloca.
8987         (gethosts): Use scratch buffer instead of extend_alloca.
8988         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8989         extend_alloca.
8990         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8992 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #20055]
8995         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8996         instead of [__USE_UNIX98].
8997         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8998         [__USE_UNIX98].
8999         * conform/data/termios.h-data (tcgetsid): Do not expect for
9000         [XPG3].
9001         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9002         variable.
9003         (test-xfail-XPG4/termios.h/conform): Likewise.
9005 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9007         Do not use mcheck in localedef.
9008         * locale/programs/localedef.c (turn_on_mcheck)
9009         (__malloc_initialize_hook): Remove.
9011 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9013         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9014         * sysdeps/s390/s390-64/Makefile: Likewise.
9016 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9018         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9019         Remove ifunc-defines.sym.
9020         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9021         Likewise.
9022         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9023         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9024         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9025         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9026         rtld-global-offsets.sym.
9027         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9028         * sysdeps/x86/cpu-features-offsets.sym: This.
9029         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9030         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9032 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9034         [BZ #20073]
9035         * io/sys/stat.h (fchmod): Declare for
9036         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9037         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9038         variable.
9040         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9041         [XPG3] (S_IFSOCK): Likewise.
9042         [XPG3] (S_ISVTX): Likewise.
9043         [XPG3] (S_ISLNK): Likewise.
9044         [XPG3] (S_ISSOCK): Likewise.
9045         [XPG3] (fchmod): Likewise.
9046         [XPG3] (lstat): Likewise.
9047         [XPG3] (mknod): Likewise.
9049         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9050         [XPG3].  Expect type long and XFAIL for [XPG4].
9051         (st_blocks): Likewise.
9053         [BZ #20044]
9054         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9055         (pthread_atfork): New prototype.
9056         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9057         variable.
9059         [BZ #20043]
9060         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9061         prototype.
9063 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9065         [BZ #20017]
9066         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9067         gmtime.
9069 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9071         [BZ #19994]
9072         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9073         flag in _res.options.
9075 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9077         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9078         [XPG3 || XPG4].
9079         (blksize_t): Likewise.
9080         (clockid_t): Likewise.
9081         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9082         variable.
9083         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9085 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9087         * sysdeps/unix/sysv/linux/s390/init-first.c:
9088         Add VDSO_SYMBOL(getcpu).
9089         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9090         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9091         Add VDSO_SYMBOL(getcpu).
9092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9093         New define HAVE_GETCPU_VSYSCALL.
9094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9096 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9098         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9099         instead of <sysdeps/x86_64/cacheinfo.c>.
9100         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9101         * sysdeps/x86/cacheinfo.c: Here.
9103 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9105         * malloc/malloc-internal.h: Adjust header file guard.
9107 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9109         [BZ #19787]
9110         * inet/getnameinfo.c (check_sprintf_result): New function.
9111         (CHECKED_SNPRINTF): New macro.
9112         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9113         to the host buffer.
9114         (gni_host_local): Use checked_copy to copy the host name.
9115         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9116         (gni_serv_local): Use checked_copy to copy the service name.
9117         (getnameinfo): Remove unnecessary truncation of result buffers.
9119 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9121         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9122         in case of inet_ntop failure.
9124 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9126         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9127         avoid long lines.
9128         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9129         variables.
9130         (gni_host_inet, gni_host_local): Add comment.
9131         (gni_host): Add comment.  Use temporary to avoid long lines.
9133 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9135         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9136         registers specifiers where general purpose registers specifiers should
9137         have been used.
9139 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9141         [BZ #19779]
9142         CVE-2016-1234
9143         Avoid copying names of directory entries.
9144         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9145         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9146         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9147         (struct readdir_result): New type.
9148         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9149         (GL_READDIR): New macros.
9150         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9151         (convert_dirent, convert_dirent64): New functions.
9152         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9153         convert_dirent64.  Adjust references to the readdir result.
9154         * sysdeps/unix/sysv/linux/i386/glob64.c:
9155         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9156         * posix/bug-glob2.c (LONG_NAME): Define.
9157         (filesystem): Add LONG_NAME.
9158         (my_DIR): Increase the size of room_for_dirent.
9160 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9162         [BZ #20041]
9163         * misc/sys/select.h (__need_timespec): Only define if
9164         [__USE_XOPEN2K].
9165         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9166         variable.
9167         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9168         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9169         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9171 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9172             Segher Boessenkool  <segher@gcc.gnu.org>
9174         [BZ #20004]
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9176         (__novec_swapcontext): Add missing load.
9178 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9180         [BZ #20023]
9181         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9182         <time.h>.
9183         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9184         variable.
9185         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9187 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9190         flags CLONE_VM compare.
9192 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9194         [BZ #20031]
9195         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9196         completely empty.
9198 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9200         [BZ #19573]
9201         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9202         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9203         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9204         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9205         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9206         (hesiod_free_list): Mark as hidden.
9207         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9208         res_set, res_get.
9209         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9210         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9211         (hesiod_init): Remove obsolete res_ninit call.
9212         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9213         (hesiod_bind): Do not call init.
9214         (get_txt_records): Use res_mkquery, res_send instead of
9215         res_nmkquery, res_nsend.
9216         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9217         instead of _nss_hesiod_init.
9218         (_nss_hesiod_initgroups_dyn): Likewise.
9219         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9220         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9221         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9223 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9225         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9226         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9228 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9230         * hesiod/hesiod.h: Remove RCS keyword.
9231         * hesiod/hesiod_p.h: Likewise.
9233         * hesiod/hesiod.c: Likewise.
9235 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9237         [BZ #12450]
9238         * locale/iso-639.def: Add Samogitian/sgs.
9240 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9242         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9244         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9246 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9247             Carlos O'Donell  <carlos@redhat.com>
9249         [BZ #19072]
9250         * grp/Makefile (headers): Add grp-merge.h
9251         (routines): Add grp-merge.
9252         * grp/getgrgid_r.c: Include grp-merge.h.
9253         (DEEPCOPY_FN): Define.
9254         (MERGE_FN): Define.
9255         * grp/getgrname_r.c: Include grp-merge.h.
9256         (DEEPCOPY_FN): Define.
9257         (MERGE_FN): Define.
9258         * grp/grp-merge.c: New file.
9259         * grp/grp-merge.h: New file.
9260         * include/grp-merge.h: New file.
9261         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9262         __copy_grp@GLIBC_PRIVATE.
9263         * manual/nss.texi (Actions in the NSS configuration): Describe
9264         return, continue, and merge.
9265         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9266         (DEEPCOPY_FN): Define.
9267         (MERGE_FN): Define.
9268         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9269         (DEEPCOPY_FN): Define.
9270         (MERGE_FN): Define.
9271         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9272         [!MERGE_FN]: Define __merge_einval.
9273         (CHECK_MERGE): Define.
9274         (REENTRANT_NAME): Process merge if do_merge is true.
9275         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9276         (__nss_getent_r): Likewise.
9277         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9278         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9280 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9282         [BZ #20012]
9283         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9284         length to calculate the buffer to read.
9285         (fmemopen_write): Set the buffer position based on bytes written.
9286         (fmemopen_seek): Return EINVAL for invalid whence modes.
9288         [BZ #19957]
9289         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9290         tst-getpid2.
9291         (test): Add tst-clone2.
9292         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9293         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9294         pid/tid fields for CLONE_VM.
9295         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9296         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9297         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9298         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9299         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9300         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9301         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9302         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9304         Likewise.
9305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9306         Likewise.
9307         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9308         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9309         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9310         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9311         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9312         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9313         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9314         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9316 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9318         [BZ #19642]
9319         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9320         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9321         (gni_serv_local, gni_serv): New functions extracted from
9322         getnameinfo.
9323         (getnameinfo): Call gni_host and gni_serv to perform the
9324         processing.  Always free scratch buffer.
9326 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9328         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9329         remaining bytes in the dest string, with zeros.
9331 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9333         [BZ #20010]
9334         CVE-2016-3706
9335         * sysdeps/posix/getaddrinfo.c
9336         (convert_hostent_to_gaih_addrtuple): New function.
9337         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9338         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9339         AF_INET data.
9341 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9343         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9344         callback function gl_readdir.
9345         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9346         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9347         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9348         memcpy to copy the name.
9349         * manual/pattern.texi (Calling Glob): Document requirements for
9350         implementations of the gl_readdir callback function.
9351         * manual/examples/mkdirent.c: New example.
9352         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9353         per the manual guidance.
9354         * posix/tst-gnuglob.c (my_readdir): Likewise.
9356 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #20014]
9359         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9360         not [__USE_POSIX].
9361         (getchar_unlocked): Likewise.
9362         (putc_unlocked): Likewise.
9363         (putchar_unlocked): Likewise.
9364         (flockfile): Likewise.
9365         (ftrylockfile): Likewise.
9366         (funlockfile): Likewise.
9367         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9368         variable.
9369         (test-xfail-XPG4/stdio.h/conform): Likewise.
9371         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9372         Expect constant.
9373         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9374         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9375         variable.
9376         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9377         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9379         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9380         [__USE_LARGEFILE64] (off64_t): Likewise.
9381         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9382         variable.
9384 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9386         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9388 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9390         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9391         * resolv/res_init.c: Likewise.
9392         * resolv/res_mkquery.c: Likewise.
9394 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9396         * resolv/res_init.c (isascii): Do not define.  Use definition in
9397         <ctype.h>.
9398         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9399         (LOG_AUTH): Remove.
9400         (SPRINTF): Remove, adjust caller.
9401         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9403 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9405         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9406         SUNSECURITY conditional.
9407         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9409 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9411         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9412         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9413         Remove BSD-related preprocessor conditionals.
9414         * conf/portability.h: Remove.
9416 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9418         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9419         * resolv/res_data.c: Likewise.
9421 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9423         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9424         * resolv/res_data.c: Remove code conditional on ultrix.
9426 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9428         * resolv/res_init.c (RFC1535): Do not define.  Remove
9429         RFC1535 preprocessor conditionals.
9430         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9431         because there configuration options which make the resolver
9432         behavior different.
9434 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9436         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9437         RESOLVSORT preprocessor conditionals.
9438         * resolv/nss_dns/dns-host.c: Likewise.
9439         * resolv/res_init.c: Likewise.
9441 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9443         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9444         is never defined.
9446 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9448         * inet/inet_lnaof.c: Remove SCSS keyword.
9449         * inet/inet_mkadr.c: Likewise.
9450         * inet/inet_net.c: Likewise.
9451         * inet/inet_netof.c: Likewise.
9452         * inet/rcmd.c: Likewise.
9453         * inet/rexec.c: Likewise.
9454         * inet/ruserpass.c: Likewise.
9456 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9458         * resolv/inet_addr.c: Remove _LIBC conditionals.
9459         * resolv/res_data.c: Likewise.
9460         * resolv/res_init.c: Likewise.
9461         * resolv/res_mkquery.c: Likewise.
9462         * resolv/res_libc.c: Update comment.
9463         * resolv/README: Update.
9465 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9467         * resolv/gethnamaddr.c: Remove SCSS keyword.
9468         * resolv/herror.c: Likewise.
9469         * resolv/inet_addr.c: Likewise.
9470         * resolv/inet_net_ntop.c: Likewise.
9471         * resolv/inet_net_pton.c: Likewise.
9472         * resolv/inet_neta.c: Likewise.
9473         * resolv/inet_ntop.c: Likewise.
9474         * resolv/inet_pton.c: Likewise.
9475         * resolv/ns_date.c: Remove RCS keyword.
9476         * resolv/ns_name.c: Likewise.
9477         * resolv/ns_netint.c: Likewise.
9478         * resolv/ns_parse.c: Likewise.
9479         * resolv/ns_print.c: Likewise.
9480         * resolv/ns_samedomain.c: Likewise.
9481         * resolv/ns_ttl.c: Likewise.
9482         * resolv/nsap_addr.c: Likewise.
9483         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9484         * resolv/res_data.c: Remove RCS keyword.
9485         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9486         * resolv/res_init.c: Likewise.
9487         * resolv/res_mkquery.c: Likewise.
9488         * resolv/res_query.c: Likewise.
9489         * resolv/res_send.c: Likewise.
9491 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9493         * conform/data/stdio.h-data (fdopen): Expect also for
9494         [XPG3 || XPG4].
9496         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9497         (fseeko): Likewise.
9498         (ftello): Likewise.
9499         (ftrylockfile): Likewise.
9500         (funlockfile): Likewise.
9501         (getc_unlocked): Likewise.
9502         (getchar_unlocked): Likewise.
9503         (putc_unlocked): Likewise.
9504         (putchar_unlocked): Likewise.
9506 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9508         [BZ #19868]
9509         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9510         DNS packet syntax checks (which were not needed before).  Skip
9511         over non-PTR records.
9513 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9515         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9516         definition.  Include <stddef.h> instead.
9518 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9520         [BZ #19831]
9521         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9522         function.
9523         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9524         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9526 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9528         [BZ #19862]
9529         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9530         (getanswer_r): Do not call syslog.
9531         (gaih_getanswer_slice): Likewise.
9532         * resolv/gethnamaddr.c (AskedForGot): Remove.
9533         (getanswer): Do not call syslog.
9534         (gethostbyaddr): Likewise.
9536 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9538         * conform/data/signal.h-data (union sigval): Expect also if
9539         [XOPEN2K].
9540         (struct sigevent): Likewise.
9541         (SIGEV_NONE): Likewise.
9542         (SIGEV_SIGNAL): Likewise.
9543         (SIGEV_THREAD): Likewise.
9544         (SIGRTMIN): Likewise.
9545         (SIGRTMAX): Likewise.
9546         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9547         variable.
9548         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9550 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9552         [BZ #19830]
9553         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9554         (gaih_getanswer_slice): Likewise.
9555         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9556         Also check for availability of RR metadata.
9558 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9560         [BZ #19825]
9561         * resolv/res_send.c (send_vc): Remove early *resplen2
9562         initialization.  Set *resplen2 on socket error.  Call
9563         close_and_return_error for other errors.
9565 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9567         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9568         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9569         (SCM_IUCV_TRGCLS): New define.
9571 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9573         [BZ #20005]
9574         * libio/fmemopen.c (fmemopen_write): Update internal position after
9575         write.
9576         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9577         * stdio-common/tst-fmemopen4.c: New file..
9579 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9581         [BZ #19996]
9582         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9583         not [__USE_XOPEN2K].
9584         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9585         variable.
9587         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9588         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9589         variable.
9591         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9592         [__USE_XOPEN2K8].
9593         [__USE_LARGEFILE64] (off64_t): Likewise.
9594         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9595         variable.
9597 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9599         [BZ #19989]
9600         * libio/stdio.h (cuserid): Do not declare if
9601         [__USE_XOPEN2K && !__USE_GNU].
9602         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9603         variable.
9605 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9607         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9608         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9610         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9611         ifunc'ed strcspn.
9612         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9613         [EALIGN]: Removed.
9614         [END]: Likewise
9615         [STRSPN]: Define instead of the above to control symbol name.
9616         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9617         New file.
9618         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9619         Likewise.
9620         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9621         Likewise.
9622         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9623         Likewise.
9624         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9625         [INITIAL_MASK]: New macro.
9626         [STRCSPN]: Likewise.
9627         [UPDATE_MASK]: Likewise.
9628         [USE_AS_STRCSPN]: Lisewise.
9630 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9632         [BZ #19931]
9633         * stdio-common/tst-vfprintf-width-prec.c: New file.
9634         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9635         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9636         (generated): Add mtrace-related files.
9637         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9638         (tst-%-mem.out): New pattern rule, replaces
9639         tst-printf-bz18872-mem.out.
9640         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9641         specifier, deallocate any previously allocated work buffer.
9643 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9645         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9646         Add nop before __startcontext, add explaining comments.
9648 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9650         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9651         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9652         completely different API.
9654         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9655         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9656         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9657         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9658         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9659         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9660         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9661         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9662         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9663         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9665 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9667         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9669 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9671         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9672         when it is the default of 0.
9674 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9676         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9677         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9678         (sysdep_routines): Add new strcasestr targets.
9679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9680         (__libc_ifunc_impl_list): Likewise.
9681         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9682         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9683         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9684         * sysdeps/powerpc/powerpc64/power8/Makefile:
9685         New file to add strcasestr-ppc64 to sysdep_routines.
9686         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9687         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9689 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9691         * benchtests/Makefile (wcsmbs-benchset): Include only for
9692         native builds and runs.
9693         (LOCALES): Likewise.
9694         (bench-build): Build timing-type here instead of the bench
9695         target.  Generate locale only for native builds.
9696         * benchtests/README: Add note for cross-building.
9698         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9700         * benchtests/README: Update README to include instructions on
9701         using bench-build.
9703         * Makefile.in (bench-build): New target.
9704         * Rules (PHONY): Add bench-build target.
9705         * benchtests/Makefile (bench): Depend on bench-build.
9706         (bench-build): New target.
9708 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9710         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9711         profil_reply_port.
9712         (profile_waiter): Do not initialize profil_reply_port.
9713         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9714         frequency instead of tick length in us.
9716 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9718         [BZ #18712]
9719         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9720         (__old_mempcpy_small): Likewise.
9721         (__old_strcpy_small): Likewise.
9722         (__old_stpcpy_small): Likewise.
9723         (__old_strpbrk_c2): Fix compat symbol name.
9724         (__old_strpbrk_c3): Likewise.
9725         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9726         (__mempcpy_small): Remove.
9727         (__strcpy_small): Remove.
9728         (__stpcpy_small): Remove.
9730 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9732         [BZ #19400]
9733         * locale/iso-639.def: Add the Talossan/tzl language.
9735 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9737         [BZ #16983]
9738         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9739         comment.  Add "ln" to strchr check on postal_fmt.
9741 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9743         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9744         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9745         tel_dom_fmt.
9747 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9749         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9750         (sysdep_routines): Added __strlen_power8.
9751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9752         __strlen_power8 entry.
9753         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9754         Implementation for POWER8.
9755         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9756         for __strlen_power8.
9757         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9758         Implementation for POWER8.
9760 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9762         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9764 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9766         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9767         Goldmont and Airmont processors.
9769 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9771         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9772         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9773         (__STRING2_SMALL_GET32): Remove.
9774         (memset): Remove.
9775         (__memset_1): Remove.
9776         (__memset_gc): Remove.
9777         (__mempcpy): Remove.
9778         (mempcpy): Remove.
9779         (__mempcpy_args): Remove.
9780         (strchr): Remove.
9781         (strcpy): Remove.
9782         (strcpy_args): Remove.
9783         (__stpcpy_args): Remove.
9784         (__strcmp_cc): Remove.
9785         (__strcmp_gc): Remove.
9786         (strstr): Remove.
9788 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9790         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9791         * nis/nis_call.c (nis_server_cache_add): Likewise.
9793 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9795         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9797 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9799         * malloc/arena.c (__malloc_fork_lock_parent)
9800         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9801         internal_function attribute.
9803 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9805         * stdio-common/printf_fp.c (__printf_fp_l):
9806         Rename ___printf_fp_l to __printf_fp_l and
9807         remove strong alias. Use libc_hidden_def instead
9808         of ldbl_hidden_def macro.
9810 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9812         Remove malloc hooks from fork handler.  They are no longer needed
9813         because malloc runs right before fork, and no malloc calls from
9814         other fork handlers are not possible anymore.
9815         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9816         declarations.
9817         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9818         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9819         (atfork_recursive_cntr): Remove.
9820         (__malloc_fork_lock_parent): Do not override malloc hooks and
9821         thread_arena.
9822         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9823         thread_arena.
9824         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9825         thread_arena instead of save_arena.
9827 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9829         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9830         (thread_atfork, thread_atfork_static): Remove.
9831         * sysdeps/mach/hurd/malloc-machine.h:
9832         (thread_atfork, thread_atfork_static): Remove.
9834 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9836         [BZ #19431]
9837         Run the malloc fork handler as late as possible to avoid deadlocks.
9838         * malloc/malloc-internal.h: New file.
9839         * malloc/malloc.c: Include it.
9840         * malloc/arena.c (ATFORK_MEM): Remove.
9841         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9842         Update comment.
9843         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9844         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9845         Remove outdated comment.
9846         (ptmalloc_init): Do not call thread_atfork.  Remove
9847         thread_atfork_static.
9848         * malloc/tst-malloc-fork-deadlock.c: New file.
9849         * Makefile (tests): Add tst-malloc-fork-deadlock.
9850         (tst-malloc-fork-deadlock): Link against libpthread.
9851         * manual/memory.texi (Aligned Memory Blocks): Update safety
9852         annotation comments.
9853         * sysdeps/nptl/fork.c (__libc_fork): Call
9854         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9855         __malloc_fork_unlock_child.
9856         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9858 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9860         [BZ #19613]
9861         Remove union wait.
9862         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9863         (w_stopsig, w_stopval): Remove.
9864         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9865         stat_loc argument.
9866         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9867         (__WAIT_STATUS_DEFN): Remove.
9868         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9869         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9870         (wait, wait3, wait4): Use int * for the stat_loc argument.
9871         * posix/wait.c (__wait): Likewise.
9872         * posix/wait3.c (__wait3): Likewise.
9873         * posix/wait4.c (__wait4): Likewise.
9874         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9875         (__WAIT_STATUS_DEFN): Remove.
9876         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9877         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9878         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9879         argument.
9880         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9881         * sysdeps/posix/wait3.c (__wait3): Likewise.
9882         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9883         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9884         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9885         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9886         stat_loc argument.
9887         * manual/process.texi (BSD Wait Functions): Remove union wait.
9889 2016-04-13  Andreas Schwab  <schwab@suse.de>
9891         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9892         (test-extras): Add tst-tlsalign-vars.
9893         * math/Makefile: Wrap long lines.
9894         (libm-vec-test-wrappers): Define.
9895         (test-extras): Add $(libm-vec-test-wrappers).
9896         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9897         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9898         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9899         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9900         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9901         (extra-test-objs): Add corresponding objects.
9903 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9905         [BZ #19928]
9906         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9907         New.
9908         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9909         times of shared cache size.
9910         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9911         (VMOVNT): New.
9912         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9913         (VMOVNT): Likewise.
9914         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9915         (VMOVNT): Likewise.
9916         (VMOVU): Changed to movups for smaller code sizes.
9917         (VMOVA): Changed to movaps for smaller code sizes.
9918         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9919         comments.
9920         (PREFETCH): New.
9921         (PREFETCH_SIZE): Likewise.
9922         (PREFETCHED_LOAD_SIZE): Likewise.
9923         (PREFETCH_ONE_SET): Likewise.
9924         Rewrite to use forward and backward loops, which move 4 vector
9925         registers at a time, to support overlapping addresses and use
9926         non temporal store if size is above the threshold and there is
9927         no overlap between destination and source.
9929 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9931         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9932         Include dl-vdso.
9933         * sysdeps/unix/sysv/linux/mips/Versions: Add
9934         __vdso_clock_gettime.
9935         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9936         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9937         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9938         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9939         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9940         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9941         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9942         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9943         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9945 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9947         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9948         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9951         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9952         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9955         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9957         syscalls generation.
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9959         [__NR_pwrite64] (__NR_write): Remove define.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9961         [__NR_pwrite64] (__NR_write): Remove define.
9962         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9963         Remove define.
9964         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9965         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9966         Remove define.
9967         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9968         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9969         Linux implementation as base.
9970         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9972         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9973         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9978         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9980         syscall generation.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9982         [__NR_pread64] (__NR_pread): Remove define.
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9984         [__NR_pread64] (__NR_pread): Likewise.
9985         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9986         define.
9987         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9988         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9989         Remove define.
9990         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9991         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9992         Linux implementation as base.
9993         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9994         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9995         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9997         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9998         definition.
9999         (__ALIGNMENT_COUNT): Likewise.
10000         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10001         (__ALIGNMENT_COUNT): Likewise.
10002         (SYSCALL_LL): New define.
10003         (SYSCALL_LL64): Likewise.
10004         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10005         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10006         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10007         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10009         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10010         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10011         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10012         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10013         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10014         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10016 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10018         [BZ #19865]
10019         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10020         original buffer before retry.
10022 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10025         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10026         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10027         GLRO(dl_auxv) list.
10028         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10029         including <ldsodefs.h>.
10030         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10032 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10034         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10035         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10036         $(CPPFLAGS).
10038 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10040         [BZ #17950]
10041         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10042         Add -mfpmath=387.
10044 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10046         * sysdeps/i386/configure.ac: Change == to = when calling test.
10047         * sysdeps/x86_64/configure.ac: Likewise.
10048         * sysdeps/i386/configure: Regenerated.
10049         * sysdeps/x86_64/configure: Likewise.
10051 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10053         [BZ #16137]
10054         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10055         * benchtests/bench-strcoll.c (input_files): Likewise.
10056         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10057         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10058         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10060 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10062         [BZ #19929]
10063         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10064         [__USE_XOPEN2K8 && !__USE_GNU].
10065         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10066         variable.
10068         [BZ #19925]
10069         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10070         define if [!__USE_MISC && __USE_XOPEN2K].
10071         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10072         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10073         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10074         Likewise.
10075         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10076         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10077         variable.
10078         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10080 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10082         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10083         (sysdep_routines): Add new strspn targets.
10084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10085         (__libc_ifunc_impl_list): Add strspn.
10086         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10087         New file.
10088         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10089         Likewise.
10090         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10091         Likewise.
10092         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10093         Likewise.
10095 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10097         * misc/hsearch_r.c: Include <limits.h>.
10099 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10101         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10103 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10105         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10106         (MEMCPY_SYMBOL): New.
10107         (MEMPCPY_SYMBOL): Likewise.
10108         (MEMMOVE_CHK_SYMBOL): Likewise.
10109         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10110         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10111         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10112         Provide alias for memcpy in libc.a and ld.so.
10114 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10116         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10117         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10118         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10119         Disabled fro now.
10120         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10121         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10123 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10125         * benchtests/Makefile (string-benchset): Add memcpy-large,
10126         memmove-large and memset-large.
10127         * benchtests/bench-memcpy-large.c: New file.
10128         * benchtests/bench-memmove-large.c: Likewise.
10129         * benchtests/bench-memmove-large.c: Likewise.
10130         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10132 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10134         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10135         32-bit displacement to avoid long nop between instructions.
10137 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10139         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10140         a comment on VMOVU and VMOVA.
10142 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10144         [BZ #19633]
10145         Use specified locale for number formatting in strfmon_l.
10146         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10147         (__nl_lookup_word): New inline functions.
10148         * include/printf.h (__print_fp_l): Declare.
10149         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10150         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10151         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10152         (___printf_fp): New function.
10153         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10154         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10155         * stdlib/tst-strfmon_l.c (do_test): New test.
10156         * stdlib/Makefile (tests): Add kt.
10157         (LOCALES): Build additional locales.
10158         (tst-strfmon_l.out): Require locales.
10160 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10162         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10163         if not in libc.
10164         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10165         Likewise.
10166         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10167         Likewise.
10168         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10169         Likewise.
10171 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10173         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10174         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10175         with unaligned_erms.
10176         (__memmove_erms): Skip if source == destination.
10177         (__memmove_unaligned_erms): Don't check source == destination
10178         first.
10180 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10182         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10183         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10185 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10187         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10188         * string/strspn.c (strspn): Likewise.
10190 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10192         * benchtests/bench-memset.c (do_test): Support 64-byte
10193         alignment.
10194         (test_main): Test 64-byte alignment.
10196 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10198         * benchtests/bench-memmove.c (test_main): Test 64-byte
10199         alignment.
10201 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10203         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10205 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10207         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10208         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10209         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10211         * string/strpbrk.c (strpbrk): Rewrite function.
10212         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10213         (__strpbrk_c2): Likewise.
10214         (__strpbrk_c3): Likewise.
10215         * string/string-inlines.c
10216         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10217         Likewise.
10218         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10219         Likewise.
10221         * string/strspn.c (strcspn): Rewrite function.
10222         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10223         (__strspn_c1): Remove inline function.
10224         (__strspn_c2): Likewise.
10225         (__strspn_c3): Likewise.
10226         * string/string-inlines.c
10227         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10228         compatibility symbol.
10229         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10230         Likewise.
10231         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10232         Likewise.
10233         * string/string-inlines.c: Include generic version.
10235 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10236             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10238         * string/Version (libc): Add GLIBC_2.24.
10239         * string/strcspn.c (strcspn): Rewrite function.
10240         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10241         (__strcspn_c1): Remove inline function.
10242         (__strcspn_c2): Likewise.
10243         (__strcspn_c3): Likewise.
10244         * string/string-inline.c
10245         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10246         compatibility symbol.
10247         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10248         Likewise.
10249         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10250         Likewise.
10251         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10253 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10255         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10256         Use ahi instead of aghi to adjust stack pointer.
10258 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10260         [BZ #19853]
10261         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10262         TEST to take significant digits as second parameter.
10263         [TEST]: Redefine in terms of TEST_N taking 30
10264         significant digits.
10265         (do_test): Add test case to demonstrate precision
10266         failure in the ldbl-128ibm printf.
10267         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10268         (__mpn_extract_long_double): Carry 7 extra intermediate
10269         bits of precision to aide computing difference when
10270         signs differ.
10272 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10274         [BZ #19881]
10275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10276         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10277         memset-avx512-unaligned-erms.
10278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10279         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10280         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10281         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10282         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10283         __memset_sse2_unaligned_erms, __memset_erms,
10284         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10285         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10286         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10287         file.
10288         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10289         Likewise.
10290         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10291         Likewise.
10292         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10293         Likewise.
10295 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10297         [BZ #19776]
10298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10299         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10300         memmove-avx512-unaligned-erms.
10301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10302         (__libc_ifunc_impl_list): Test
10303         __memmove_chk_avx512_unaligned_2,
10304         __memmove_chk_avx512_unaligned_erms,
10305         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10306         __memmove_chk_sse2_unaligned_2,
10307         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10308         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10309         __memmove_avx512_unaligned_erms, __memmove_erms,
10310         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10311         __memcpy_chk_avx512_unaligned_2,
10312         __memcpy_chk_avx512_unaligned_erms,
10313         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10314         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10315         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10316         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10317         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10318         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10319         __mempcpy_chk_avx512_unaligned_erms,
10320         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10321         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10322         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10323         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10324         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10325         __mempcpy_erms.
10326         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10327         file.
10328         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10329         Likwise.
10330         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10331         Likwise.
10332         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10333         Likwise.
10335 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10337         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10338         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10339         (La_s390_64_regs): Likewise.
10340         (La_s390_32_retval): Append vector register lrv_v24.
10341         (La_s390_64_retval): Likeweise.
10342         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10343         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10344         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10345         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10347 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10349         [BZ #19916]
10350         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10351         to create a non-vector/vector version for _dl_runtime_resolve and
10352         _dl_runtime_profile. Move implementation to ...
10353         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10354         (_dl_runtime_resolve) Save and restore fpr/vrs.
10355         (_dl_runtime_profile) Save and restore vrs and fix some issues
10356         if _dl_call_pltexit is called.
10357         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10358         Choose the correct resolver function if running on a machine with vx.
10359         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10360         to create a non-vector/vector version for _dl_runtime_resolve and
10361         _dl_runtime_profile. Move implementation to ...
10362         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10363         (_dl_runtime_resolve) Save and restore fpr/vrs.
10364         (_dl_runtime_profile) Save and restore vrs and fix some issues
10365         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10366         Choose the correct resolver function if running on a machine with vx.
10368 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10370         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10372 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10374         [BZ #19509]
10375         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10376         skip_map != NULL.
10377         * elf/tst-dlsym-error.c: New file.
10378         * elf/Makefile (tests): Add tst-dlsym-error.
10379         (tst-dlsym-error): Link against libdl.
10381 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10384         (__ASSUME_FUTIMESAT): Remove macro.
10385         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10387 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10389         [BZ #19879]
10390         CVE-2016-3075
10391         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10392         copy name.
10394 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10396         [BZ #19837]
10397         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10398         error if parse_line fails.
10400 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10402         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10403         (index_cpu_ERMS): Likewise.
10404         (reg_ERMS): Likewise.
10406 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10408         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10409         PER_LINUX_FDPIC): Add.
10411 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10414         memcpy-avx512-no-vzeroupper.
10415         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10416         to ...
10417         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10418         (MEMCPY): Don't define.
10419         (MEMCPY_CHK): Likewise.
10420         (MEMPCPY): Likewise.
10421         (MEMPCPY_CHK): Likewise.
10422         (MEMPCPY_CHK): Renamed to ...
10423         (__mempcpy_chk_avx512_no_vzeroupper): This.
10424         (MEMPCPY_CHK): Renamed to ...
10425         (__mempcpy_chk_avx512_no_vzeroupper): This.
10426         (MEMCPY_CHK): Renamed to ...
10427         (__memmove_chk_avx512_no_vzeroupper): This.
10428         (MEMCPY): Renamed to ...
10429         (__memmove_avx512_no_vzeroupper): This.
10430         (__memcpy_avx512_no_vzeroupper): New alias.
10431         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10433 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10435         [BZ #18858]
10436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10437         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10438         and mempcpy-avx512-no-vzeroupper.
10439         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10440         New.
10441         (MEMPCPY): Likewise.
10442         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10443         (MEMPCPY_CHK): New.
10444         (MEMPCPY): Likewise.
10445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10446         (MEMPCPY): Likewise.
10447         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10448         (MEMPCPY): Likewise.
10449         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10450         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10451         Likewise.
10452         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10453         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10455 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10456              Amit Pawar  <Amit.Pawar@amd.com>
10458         [BZ #19583]
10459         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10460         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10461         processors.  Set Fast_Copy_Backward for AMD Excavator
10462         processors.
10463         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10464         New.
10465         (index_arch_Fast_Unaligned_Copy): Likewise.
10466         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10467         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10469 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10471         [BZ #19791]
10472         * resolv/res_send.c (close_and_return_error): New function.
10473         (send_dg): Initialize *resplen2 after reopen failure.  Call
10474         close_and_return_error for error returns.  On error paths without
10475         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10476         successful return.
10478 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10480         [BZ# 19860]
10481         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10482         zero if the compiler does not provide the AVX512F bit.
10484 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10486         [BZ #19848]
10487         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10488         from 8 to 4.
10489         (__ieee754_powl): Compare integer exponent against 4 not 8.
10490         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10491         from 8 to 4.
10492         (__ieee754_powl): Compare integer exponent against 4 not 8.
10493         * math/auto-libm-test-in: Add more tests of pow.
10494         * math/auto-libm-test-out: Regenerated.
10495         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10498 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10500         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10501         Make code unconditional.
10502         [!__NR_utimensat]: Remove conditional code.
10503         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10504         Make code unconditional.
10505         [!__NR_utimensat]: Remove conditional code.
10506         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10507         Make code unconditional.
10508         [!__NR_utimensat]: Remove conditional code.
10510 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10512         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10513         Make code unconditional.
10515 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10517         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10518         call-clobbered %eax on retry path.
10519         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10521 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10523         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10524         Don't set %rcx twice before "rep movsb".
10526 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10528         [BZ #19583]
10529         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10530         inline.  Check family before setting family, model and
10531         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10532         bits here.
10533         (init_cpu_features): Replace HAS_CPU_FEATURE and
10534         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10535         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10536         for Intel processors with usable AVX2.  Call get_common_indeces
10537         for other processors with family == NULL.
10538         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10539         (CPU_FEATURES_ARCH_P): Likewise.
10540         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10541         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10543 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10545         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10546         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10547         $(shared-thread-library) instead of hardcoding the path to libpthread.
10549 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10551         * sysdeps/unix/sysv/linux/kernel-features.h
10552         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10553         * sysdeps/unix/sysv/linux/getdents.c
10554         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10555         [!have_no_getdents64_defined]: Likewise.
10556         (__GETDENTS): Remove __have_no_getdents64 conditional.
10558 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10561         Remove macro.
10562         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10563         <kernel-features.h>.
10564         (signalfd) [__NR_signalfd4]: Make code unconditional.
10565         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10567 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10569         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10570         style.
10572 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10574         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10575         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10576         __pthread_unwind.
10577         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10578         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10579         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10580         (__condvar_cleanup1): Likewise.
10582 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10584         [BZ #19822]
10585         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10586         move it to the final $@ location.
10588 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10590         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10591         access where posix_spawn success and pid argument is null.
10592         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10593         success case.
10595 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10597         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10599         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10601         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10602         and __fcntl.
10603         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10604         __fcntl only.
10605         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10606         adding attribute_hidden to __open and __fcntl.
10608         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10609         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10610         depend on libc-modules.h,
10611         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10613 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10616         Remove macro.
10617         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10618         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10619         entry.
10621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10622         Remove macro.
10623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10624         include <kernel-features.h>.
10625         [!__ASSUME_FALLOCATE]: Remove conditional code.
10626         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10628 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10630         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10631         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10633         (_ZGVdN4v_cos_avx2): Likewise.
10634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10635         (_ZGVdN4v_cos): Likewise.
10636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10637         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10638         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10639         (_ZGVdN4v_exp_avx2): Likewise.
10640         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10641         (_ZGVdN4v_exp): Likewise.
10642         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10643         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10644         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10645         (_ZGVdN4v_log_avx2): Likewise.
10646         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10647         (_ZGVdN4v_log): Likewise.
10648         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10649         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10651         (_ZGVdN4vv_pow_avx2): Likewise.
10652         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10653         (_ZGVdN4vv_pow): Likewise.
10654         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10655         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10656         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10657         (_ZGVdN4v_sin_avx2): Likewise.
10658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10659         (_ZGVdN4v_sin): Likewise.
10660         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10661         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10663         (_ZGVdN4vvv_sincos_avx2): Likewise.
10664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10665         (_ZGVdN4vvv_sincos): Likewise.
10666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10667         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10668         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10669         (_ZGVbN4v_cosf_sse4): Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10671         (_ZGVdN8v_cosf_avx2): Likewise.
10672         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10673         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10674         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10675         (_ZGVbN4v_expf_sse4): Likewise.
10676         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10677         (_ZGVdN8v_expf_avx2): Likewise.
10678         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10679         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10681         (_ZGVbN4v_logf_sse4): Likewise.
10682         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10683         (_ZGVdN8v_logf_avx2): Likewise.
10684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10685         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10686         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10687         (_ZGVbN4vv_powf_sse4): Likewise.
10688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10689         (_ZGVdN8vv_powf_avx2): Likewise.
10690         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10691         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10692         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10693         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10695         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10696         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10697         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10698         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10699         (_ZGVbN4v_sinf_sse4): Likewise.
10700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10701         (_ZGVdN8v_sinf_avx2): Likewise.
10702         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10703         Use JUMPTARGET to call callee.
10704         (WRAPPER_IMPL_SSE2_ff): Likewise.
10705         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10706         (WRAPPER_IMPL_AVX): Likewise.
10707         (WRAPPER_IMPL_AVX_ff): Likewise.
10708         (WRAPPER_IMPL_AVX_fFF): Likewise.
10709         (WRAPPER_IMPL_AVX512): Likewise.
10710         (WRAPPER_IMPL_AVX512_ff): Likewise.
10711         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10712         Likewise.
10713         (WRAPPER_IMPL_SSE2_ff): Likewise.
10714         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10715         (WRAPPER_IMPL_AVX): Likewise.
10716         (WRAPPER_IMPL_AVX_ff): Likewise.
10717         (WRAPPER_IMPL_AVX_fFF): Likewise.
10718         (WRAPPER_IMPL_AVX512): Likewise.
10719         (WRAPPER_IMPL_AVX512_ff): Likewise.
10720         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10722 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10724         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10725         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10726         qualifier.
10727         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10728         internal_function qualifiers.
10730 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10732         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10733         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10734         * math/atest-exp.c (exp_mpn): Mark chk unused.
10735         * math/atest-exp2.c (exp_mpn): Likwise.
10736         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10737         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10739 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10741         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10742         Remove macro.
10743         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10744         <kernel-features.h>.
10745         [__NR_ppoll]: Make code unconditional.
10746         [!__ASSUME_PPOLL]: Remove conditional code.
10748         * sysdeps/unix/sysv/linux/kernel-features.h
10749         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10750         (__ASSUME_ACCEPT4): Likewise.
10751         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10752         Define.
10753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10754         Likewise.
10755         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10756         Likewise.
10757         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10758         Likewise.
10759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10760         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10762         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10763         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10764         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10765         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10767         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10769         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10770         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10771         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10773         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10775         Likewise.
10776         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10777         Likewise.
10778         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10779         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10780         0x040300].
10781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10782         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10783         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10784         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10785         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10786         0x030300].
10787         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10788         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10789         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10790         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10791         0x040300].
10792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10793         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10794         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10795         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10796         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10797         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10798         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10799         0x030300].
10800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10801         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10804         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10805         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10808         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10809         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10810         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10811         0x040300].
10812         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10813         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10814         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10815         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10816         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10818         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10819         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10823         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10826         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10827         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10828         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10829         Likewise.
10830         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10831         Likewise.
10833 2016-03-15  Andreas Schwab  <schwab@suse.de>
10835         [BZ #19257]
10836         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10837         statp->_u._ext.nscount as loop count.
10839 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10841         * math/test-signgam-finite-c99.c: Also #undef
10842         __LIBC_INTERNAL_MATH_INLINES.
10843         * math/test-signgam-main.c: Likewise.
10845 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10847         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10848         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10849         (MADV_FREE): Likewise.
10850         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10851         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10852         EPOLLEXCLUSIVE.
10854 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10856         * timezone/README: Remove mention of checktab.awk. Mention wiki
10857         SharedSourceFiles.
10859 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10861         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10862         WUNTRACED.
10864 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10866         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10867         order to match the type of p when calling atomic_exchange_acq().
10869 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10871         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10872         cfi_offset calls.
10873         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10874         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10875         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10876         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10877         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10879 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10881         * timezone/checktab.awk: Removed.
10883 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10885         * manual/math.texi (Errors in Math Functions): Document relaxed
10886         accuracy goals for IBM long double.
10887         * math/libm-test.inc (test_exceptions): Always allow spurious
10888         "underflow" and "inexact" exceptions for IBM long double.
10890 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10892         [BZ #19762]
10893         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10894         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10895         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10896         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10897         (bit_arch_*): This for feature array.
10898         (bit_*): Renamed to ...
10899         (bit_cpu_*): This for cpu array.
10900         (index_*): Renamed to ...
10901         (index_arch_*): This for feature array.
10902         (index_*): Renamed to ...
10903         (index_cpu_*): This for cpu array.
10904         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10905         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10906         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10907         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10908         bit_##name with index_cpu_##name and bit_cpu_##name.
10909         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10910         bit_##name with index_arch_##name and bit_arch_##name.
10912 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10914         [BZ #19792]
10915         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10916         Terminate FDE before return label.
10918 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10920         [BZ #19790]
10921         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10922         (rintl): Define as macro.
10923         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10924         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10925         of fesetround.  Ensure results are evaluated before end of scope.
10926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10927         USE_AS_NEARBYINTL and include s_rintl.c.
10928         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10929         Disable exception traps in new environment.
10930         (libc_feholdsetround_ppc_ctx): Likewise.
10932 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10934         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10935         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10936         (tst_audit10_aux) [__AVX512F__]: ... here.
10938 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10940         * include/sys/auxv.h: New file.
10942 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10944         [BZ #19759]
10945         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10947 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10949         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10950         operand modifier.
10951         (feclearexcept): Likewise.
10953 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10956         to reflect the entire 32-bit HWCAP.
10957         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10958         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10960 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10962         [BZ #19783]
10963         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10964         $(test-via-rtld-prefix).
10965         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10967 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10969         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10970         union wait.  Report any non-zero exit status as error.
10972 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10974         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10975         configured with --enable-hardcoded-path-in-tests.
10977 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10979         [BZ #19677]
10980         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10981         (__ieee754_remainderl): Put zero low parts in canonical form.
10982         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10983         file.  Based on
10984         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10985         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10986         with wrapper round test-fmodrem-ldbl-128ibm.c.
10987         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10988         file.
10989         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10990         Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10992         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10994 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10996         [BZ #19610]
10997         * elf/ldconfig.c (opt_link): Update comment.
10998         (options): Update help string for option -X.
10999         (search_dir): Unlink stale symbolic link only if updating symbolic
11000         links.
11001         * elf/tst-ldconfig-X.sh: New file.
11002         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11003         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11005 2016-03-07  Andreas Schwab  <schwab@suse.de>
11007         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11008         needed arguments.
11010 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11012         [BZ #15333]
11013         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11014         to lstat64.
11016 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11018         * libio/filedoalloc.c (isatty): Remove.
11019         (local_isatty): Add comment.  Call __isatty directly.
11020         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11021         * libio/wfiledoalloc.c (isatty): Remove.
11022         (_IO_wfile_doallocate): Update comment.
11024 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11026         [BZ #19269]
11027         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11028         tst-audit4-aux.o.
11029         (tst-audit10): Depend on tst-audit10-aux.o.
11030         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11031         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11032         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11033         instead of inline AVX code.
11034         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11035         instead of inline AVX512 code.
11036         * sysdeps/x86_64/tst-audit4-aux.c: New file
11037         * sysdeps/x86_64/tst-audit10-aux.c: New file
11039         [BZ #19648]
11040         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11042 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11044         [BZ #14750]
11045         [BZ #10354]
11046         [BZ #18433]
11047         * include/sched.h (__clone): Add hidden prototype.
11048         (__clone2): Likewise.
11049         * include/unistd.h (__dup): Likewise.
11050         * posix/Makefile (tests): Add tst-spawn2.
11051         * posix/tst-spawn2.c: New file.
11052         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11053         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11054         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11055         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11056         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11057         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11058         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11059         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11060         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11061         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11062         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11064         Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11068         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11069         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11070         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11071         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11072         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11073         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11074         * sysdeps/unix/sysv/linux/nptl-signals.h
11075         (____nptl_is_internal_signal): New function.
11076         * sysdeps/unix/sysv/linux/spawni.c: New file.
11078         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11079         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11080         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11081         * posix/tst-execvp2.c (do_test): Likewise.
11082         * posix/tst-execvp3.c (do_test): Likewise.
11083         * posix/tst-execvp4.c (do_test): Likewise.
11084         * posix/tst-execvpe1.c: New file.
11085         * posix/tst-execvpe2.c: Likewise.
11086         * posix/tst-execvpe3.c: Likewise.
11087         * posix/tst-execvpe4.c: Likewise.
11088         * posix/tst-execvpe5.c: Likewise.
11089         * posix/tst-execvpe6.c: Likewise.
11091         [BZ #19534]
11092         * posix/execl.c (execl): Remove dynamic memory allocation.
11093         * posix/execle.c (execle): Likewise.
11094         * posix/execlp.c (execlp): Likewise.
11096 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11098         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11099         Replace .text with .text.avx512.
11100         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11101         Likewise.
11103 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11105         * sysdeps/generic/libnsl.abilist: New file.
11106         * sysdeps/generic/libutil.abilist: New file.
11108 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11110         [BZ #19762]
11111         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11112         HAS_ARCH_FEATURE with Fast_Rep_String.
11113         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11114         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11115         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11116         Likewise.
11117         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11118         Likewise.
11119         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11121         Likewise.
11122         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11123         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11124         Likewise.
11126 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11128         [BZ #19745]
11129         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11130         with *%rax in call.
11132 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11134         [BZ #19745]
11135         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11136         with *__libc_start_main@GOTPCREL(%rip) in call.
11138 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11140         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11141         inside conditional for nonempty $(CXX).
11143         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11144         nonempty.
11146         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11147         to test for empty $(CXX) rather than $(CXX) of "no".
11149 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11151         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11153 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11154             H.J. Lu  <hongjiu.lu@intel.com>
11156         [BZ #18880]
11157         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11158         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11159         enable __memcpy_ssse3_back.
11161 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11163         [BZ #19758]
11164         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11165         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11167 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11169         [BZ #19490]
11170         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11171         (__fentry__): Likewise.
11173 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11175         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11176         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11178 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11180         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11181         __mcount_internal directly.
11182         (C_LABEL(__fentry__)): Likewise.
11183         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11184         directly.
11186 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11188         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11189         (__start_context): Call __setcontext directly.
11191 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11193         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11194         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11195         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11196         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11197         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11198         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11199         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11200         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11201         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11202         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11203         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11204         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11205         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11206         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11207         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11208         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11209         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11211         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11212         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11213         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11214         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11215         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11216         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11217         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11218         Remove conditional code.
11219         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11220         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11221         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11222         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11223         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11224         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11225         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11226         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11227         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11228         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11229         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11230         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11232 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11234         * NEWS (2.23): Fix typo in bug 19048 text.
11236 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11238         [BZ #14259]
11239         * Makeconfig: Rename msgcatdir to localedir.
11240         Rename inst_msgcatdir to inst_localedir.
11241         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11242         * config.make.in: Add localedir.
11243         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11244         (ldd-rewrite): Likewise.
11245         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11246         (install-others): Use inst_localedir.
11247         (CPPFLAGS): Use localedir.
11248         * locale/Makefile (locale-CPPFLAGS): Likewise.
11249         * po/Makefile (mo-installed): Use inst_localedir.
11251         [BZ #19575]
11252         * localedata/charmaps/GB18030: Update comments regarding PAU to
11253         non-PUA mappings.
11255 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11257         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11258         test for header.
11259         * sysdeps/unix/sysv/linux/configure: Regenerated.
11260         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11261         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11262         Remove conditional code.
11263         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11265         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11266         Define to 3.2.0.
11267         (arch_minimum_kernel): Likewise.
11268         * sysdeps/unix/sysv/linux/configure: Regenerated.
11269         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11270         Define to 2.6.32.
11271         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11272         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11273         (arch_minimum_kernel): Define to 2.6.32.
11274         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11275         * README: Document Linux 3.2 requirement.
11276         * manual/install.texi (Linux): Document Linux 3.2 headers
11277         requirement.
11278         * INSTALL: Regenerated.
11280 2016-02-24  Andreas Schwab  <schwab@suse.de>
11282         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11283         if !NO_LONG_DOUBLE.
11285 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11287         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11288         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11290 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11292         [BZ #19512]
11293         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11295 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11297         * posix/tst-dir.c: Include libc-internal.h.
11299 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11301         [BZ #19056]
11302         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11303         * manual/filesys.texi (Reading/Closing Directory): Mention
11304         deprecaion.
11305         * posix/tst-dir.c (main): Disable deprecation warning in test.
11307 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11309         [BZ #19679]
11310         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11311         Renamed to ...
11312         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11313         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11314         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11315         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11316         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11317         * sysdeps/x86_64/dl-trampoline.h
11318         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11319         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11321 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11323         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11325 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11327         * elf/elf.h (R_386_GOT32X): New.
11328         (R_386_NUM): Update.
11329         (R_X86_64_GOTPCRELX: New.
11330         (R_X86_64_REX_GOTPCRELX): New.
11331         (R_X86_64_NUM): Update.
11333 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11335         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11337 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11339         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11340         assign attr->stackaddr to it, and adjust it down when
11341         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11342         [_STACK_GROWS_UP]: Delete assert.
11343         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11344         Implement stack grows up logic.
11345         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11346         stack grows up logic.
11348 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11350         * NEWS: Update with 2.24 template.
11352 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11354         [BZ #19678]
11355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11356         Ensure +0.0 is returned when taking the next value below the least
11357         positive value.
11359 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11361         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11362         available.  Do not define NO_THREADS.
11363         * malloc/malloc.c: Do not check NO_THREADS.
11364         * malloc/arena.c: Likewise.
11366 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11368         * malloc/malloc.c (__libc_mallinfo): Update comment.
11369         (struct malloc_par): Remove max_total_mem member, it was always 0.
11370         (int_mallinfo): Store 0 into usmblks (no functional change).
11371         * malloc/hooks.c (struct malloc_state): Document that
11372         max_total_mem is always 0.
11373         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11374         always 0.
11375         * manual/memory.texi (Statistics of Malloc): Likewise.
11377 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11379         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11380         * malloc/arena.c (arena_max): Remove.
11381         (heap_trim, _int_new_arena): Do not update arena_max.
11383 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11385         * resolv/res_init.c (res_ninit): Update comment.
11387 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11389         [BZ #19505]
11390         * posix/spawn_int.h: Add headers and include guard.
11391         (__spawn_valid_fd): New function.
11392         * posix/spawn_faction_addopen.c
11393         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11394         * posix/spawn_faction_addclose.c
11395         (posix_spawn_file_actions_addclose): Likewise.
11396         * posix/spawn_faction_adddup2.c
11397         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11398         second file descriptor.
11399         * posix/spawn_valid_fd.c: New file.
11400         * posix/tst-posix_spawn-fd.c: New file.
11401         * posix/Makefile (routines): Add spawn_valid_fd.
11402         (tests): Add tst-posix_spawn-fd.
11404 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11406         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11407         (do_test): Limit the number of arenas, so that we can use fewer
11408         outer threads.  Limit timeout to 3 seconds, in preparation for a
11409         larger TIMEOUT value.
11411 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11413         [BZ #19674]
11414         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11415         sign in overflowing and underflowing results when overflow or
11416         underflow is detected early.  Include sign in result before rather
11417         than after scaling.
11419         [BZ #19603]
11420         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11421         (__ieee754_remainderl): Adjust sign of integer version of low part
11422         when taking absolute value of high part.
11423         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11424         * math/libm-test.inc (remainder_test_data): Add another test.
11425         (remquo_test_data): Likewise.
11427 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11429         [BZ #19602]
11430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11431         equal high parts and both low parts zero specially.
11432         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11433         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11434         Add test-fmodl-ldbl-128ibm.
11436         [BZ #19595]
11437         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11438         common logic for all cases of shifting subnormal results.  Do not
11439         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11440         exponent to ldbl_insert_mantissa in subnormal case.
11442         [BZ #19594]
11443         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11444         on high and low parts then adjust result and use
11445         ldbl_canonicalize_int if needed.
11447         [BZ #19593]
11448         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11449         on high part and __floor or __ceil on low part then use
11450         ldbl_canonicalize_int if needed.
11452         [BZ #19592]
11453         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11454         high and low parts then use ldbl_canonicalize_int if needed.
11456         [BZ #17899]
11457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11458         New function.
11459         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11460         on high and low parts then use ldbl_canonicalize_int if needed.
11462 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11464         * configure: Regenerated.
11466         * po/libc.pot: Regenerated.
11468         * po/be.po: Updated translation.
11469         * po/bg.po: Likewise.
11470         * po/ca.po: Likewise.
11471         * po/cs.po: Likewise.
11472         * po/da.po: Likewise.
11473         * po/el.po: Likewise.
11474         * po/eo.po: Likewise.
11475         * po/es.po: Likewise.
11476         * po/fi.po: Likewise.
11477         * po/fr.po: Likewise.
11478         * po/gl.po: Likewise.
11479         * po/hr.po: Likewise.
11480         * po/hu.po: Likewise.
11481         * po/ia.po: Likewise.
11482         * po/id.po: Likewise.
11483         * po/it.po: Likewise.
11484         * po/ja.po: Likewise.
11485         * po/lt.po: Likewise.
11486         * po/nb.po: Likewise.
11487         * po/nl.po: Likewise.
11488         * po/pt_BR.po: Likewise.
11489         * po/rw.po: Likewise.
11490         * po/sk.po: Likewise.
11491         * po/sl.po: Likewise.
11492         * po/sv.po: Likewise.
11493         * po/tr.po: Likewise.
11494         * po/zh_CN.po: Likewise.
11495         * po/zh_TW.po: Likewise.
11497         * version.h (RELEAES): Set to "development".
11498         (VERSION): Set to 2.23.90.
11500         * version.h (RELEASE): Set to "stable".
11501         (VERSION): Set to 2.23.
11502         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11504         * NEWS: Updated fixed bugs.
11506 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11507             Wilco Dijkstra  <wdijkstr@arm.com>
11509         [BZ #19462]
11510         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11511         (_STRING_INLINE_unaligned): This.
11512         * include/string.h: Include <string_private.h>.
11513         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11514         _STRING_INLINE_unaligned.
11515         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11516         (_STRING_INLINE_unaligned): New.
11517         * sysdeps/aarch64/string_private.h: New file.
11518         * sysdeps/generic/string_private.h: Likewise.
11519         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11520         * sysdeps/s390/string_private.h: Likewise.
11521         * sysdeps/x86/string_private.h: Likewise.
11522         * sysdeps/m68k/m680x0/m68020/bits/string.h
11523         (_STRING_ARCH_unaligned): Renamed to ...
11524         (_STRING_INLINE_unaligned): This.
11525         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11526         to ...
11527         (_STRING_INLINE_unaligned): This.
11528         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11529         to ...
11530         (_STRING_INLINE_unaligned): This.
11531         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11532         to ...
11533         (_STRING_INLINE_unaligned): This.
11535 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11536             H.J. Lu  <hongjiu.lu@intel.com>
11538         [BZ #19590]
11539         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11540         relocation.
11542 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11544         [BZ #18665]
11545         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11546         *herrno_p.
11547         (gaih_getanswer): Document functional behviour. Return tryagain
11548         if any result is tryagain.
11549         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11550         when freed.
11551         * resolv/res_send.c: Add copyright text.
11552         (__libc_res_nsend): Document that MAXPACKET is expected.
11553         (send_vc): Document. Remove buffer reuse.
11554         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11555         size of the buffer. Add Dprint for truncated UDP buffer.
11557 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11559         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11560         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11561         * INSTALL: Regenerate.
11563 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11564             Jonathan Wakely  <jwakely@redhat.com>
11565             Carlos O'Donell  <carlos@redhat.com>
11567         [BZ 19439]
11568         * math/Makefile (tests): Add test-math-isinff.
11569         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11570         * math/bits/mathcalls.h [__USE_MISC]: Use
11571         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11572         functions not in C++11 and which don't conflict e.g. isinff,
11573         isinfl etc.
11574         * math/test-math-isinff.cc: New file.
11576 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11578         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11580 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11582         [BZ #19529]
11583         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11585 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11587         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11589 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11591         [BZ #19550]
11592         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11593         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11594         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11595         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11596         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11597         New syscall entry.
11598         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11599         New syscall entry.
11600         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11601         syscall entry.
11603 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11605         [BZ #18240]
11606         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11607         unsigned int wraparound.
11609 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11611         [BZ #18240]
11612         * misc/bug18240.c: New test.
11613         * misc/Makefile (tests): Add it.
11615 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11616             Joseph Myers  <joseph@codesourcery.com>
11618         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11619         load in branch delay slot when less than a word of input left.
11621 2016-01-27  Andreas Schwab  <schwab@suse.de>
11623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11624         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11625         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11626         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11628 2016-01-26  David S. Miller  <davem@davemloft.net>
11630         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11632 2016-01-25  David S. Miller  <davem@davemloft.net>
11634         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11635         __sqrtl_finite.
11636         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11637         instead using versioned_symbol.
11638         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11639         of entries.
11641         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11642         __sqrtl_finite to GLIBC_2.23
11644 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11646         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11648 2016-01-25  Andreas Schwab  <schwab@suse.de>
11650         [BZ #17514]
11651         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11652         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11653         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11654         * nptl/tst-mutex-errorcheck.c: New file.
11656 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11658         [BZ #18560]
11659         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11660         (IPCOP_semop): Likewise.
11661         (IPCOP_semget): Likewise.
11662         (IPCOP_semctl): Likewise.
11663         (IPCOP_msgsnd): Likewise.
11664         (IPCOP_msgrcv): Likewise.
11665         (IPCOP_msgget): Likewise.
11666         (IPCOP_msgctl): Likewise.
11667         (IPCOP_shmat): Likewise.
11668         (IPCOP_shmdt): Likewise.
11669         (IPCOP_shmget): Likewise.
11670         (IPCOP_shmctl): Likewise.
11672 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11674         * string/tst-endian.c: Include <libc-internal.h>.
11675         (do_test): Ignore tautological-compare warnings around
11676         "htobeXX (beXXtoh (i)) != i" and
11677         "htoleXX (leXXtoh (i)) != i" if-statements.
11679 2016-01-24  David S. Miller  <davem@davemloft.net>
11681         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11682         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11683         alias.
11684         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11685         __sqrtl_finite.
11687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11689 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11691         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11692         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11693         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11695 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11697         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11698         (thread_func): Use new function to simplify barrier check.
11699         (do_test): Use new function to simplify checking barrier exit
11700         code, and actually join the child thread.
11702 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11704         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11705         semicolon.
11706         (__libc_tend): Likewise.
11707         (__libc_tabort): Likewise.
11709 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11711         * sysdeps/nios2/libm-test-ulps: Update.
11712         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11713         (__gtsf2): Likewise.
11714         (__unorddf2): Likewise.
11715         (__unordsf2): Likewise.
11716         (__ledf2): Likewise.
11718 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11720         * nis/nis_table.c (__follow_path): Disable diagnostic for
11721         uninitialized variable that is a false positive for gcc 4.7.
11722         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11724 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11726         * sysdeps/nacl/lowlevellock-futex.h
11727         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11728         Always evaluate PRIVATE argument.
11730 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11732         [BZ #19490]
11733         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11734         (pthread_cond_broadcast): Use ENTRY/END
11735         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11736         (pthread_cond_signal): Likewise.
11737         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11738         Likewise.
11739         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11740         Likewise.
11741         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11742         Likewise.
11744 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11746         * sysdeps/ieee754/dbl-64/s_finite.c
11747         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11748         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11749         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11751         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11754         (__gtsf2): Add as optional for libc.so.
11755         (__unordsf2): Likewise.
11756         (__signbit): Remove for libc.so.
11757         (__signbitl): Likewise.
11759 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11761         * iconvdata/bug-iconv11.c (test_ibm93x):
11762         Use %zu printf format specifier for size_t argument.
11764 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11766         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11767         already-recorded ulps.
11768         * sysdeps/arm/libm-test-ulps: Regenerated.
11769         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11770         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11771         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11773 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11774             Paul Pluzhnikov  <ppluzhnikov@google.com>
11776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11777         assembler not supporting AVX-512.
11779 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11781         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11783 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11785         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11788         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11790         * sysdeps/arm/libm-test-ulps: Regenerated.
11792 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11794         [BZ #19451]
11795         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11797 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11799         [BZ #19486]
11800         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11801         * sysdeps/generic/fix-fp-int-convert-overflow.h
11802         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11803         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11804         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11805         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11806         Likewise.
11807         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11808         Avoid conversions to long int where inexact exceptions
11809         could be raised.
11810         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11811         Likewise.
11812         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11813         Avoid conversions to long long int where inexact exceptions
11814         could be raised.
11815         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11816         Likewise.
11818 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11820         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11821         * configure: Regenerated.
11823 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11827 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11829         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11830         outside of comment.
11832 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11834         * nptl/tst-barrier1.c: Add description on first line.
11835         * nptl/tst-barrier2.c: Likewise.
11836         * nptl/tst-barrier3.c: Likewise.
11837         * nptl/tst-barrier4.c: Likewise.
11838         * nptl/tst-barrier5.c: Likewise.
11840 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11842         [BZ #18868]
11843         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11845 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11849         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11850         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11851         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11852         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11854         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11855         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11856         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11857         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11859 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11861         [BZ #13065]
11862         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11863         new implementation.
11864         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11865         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11866         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11867         (BARRIER_IN_THRESHOLD): New macro.
11868         * nptl/pthread_barrierattr_setpshared.c
11869         (pthread_barrierattr_setpshared): Clean up.
11870         * nptl/tst-barrier4.c: Correct comment.
11871         * nptl/tst-barrier5.c: New file.
11872         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11873         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11874         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11875         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11876         * nptl/lowlevelbarrier.sym: Remove.
11877         * nptl/DESIGN-barrier.txt: Remove.
11878         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11879         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11880         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11881         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11882         error.
11883         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11884         implementation.
11886 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11888         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11889         (do_child): Mask SIGRTMIN while thr is running.
11891 2016-01-15  Martin Sebor  <msebor@redhat.com>
11893         [BZ #19432]
11894         * iconvdata/Makefile: Add bug-iconv11.
11895         * iconvdata/bug-iconv11.c: New test.
11896         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11897         * iconvdata/ibm933.c: Same.
11898         * iconvdata/ibm935.c: Same.
11899         * iconvdata/ibm937.c: Same.
11900         * iconvdata/ibm939.c: Same.
11902 2016-01-15  Martin Sebor  <msebor@redhat.com>
11904         [BZ #19443]
11905         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11906         [DEBUG] (_ufc_set_bits): Declare used.
11907         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11908         [DEBUG] (print_all): Declare used.
11909         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11910         operands of the ternary ?: expression to target type.
11911         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11912         calling the undeclared abort.
11913         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11915 2016-01-15  Martin Sebor  <msebor@redhat.com>
11917         [BZ #18755]
11918         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11919         warnings.
11920         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11921         (__gai_create_helper_thread): Same.
11922         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11923         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11924         to suppress -Wmaybe-uninitialized warnings.
11926 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11928         [BZ #19465]
11929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11930         inside if.
11931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11935 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11937         [BZ #19466]
11938         * time/tst-mktime2.c (time_t_max): Removed.
11939         (time_t_min): Likewise.
11940         (TYPE_SIGNED): New.
11941         (TYPE_MINIMUM): Likewise.
11942         (TYPE_MAXIMUM): Likewise.
11943         (TIME_T_MIN): Likewise.
11944         (TIME_T_MAX): Likewise.
11945         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11946         and TIME_T_MIN.
11947         (do_test): Likewise.
11949 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11951         [BZ #19467]
11952         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11953         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11955 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11957         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11959 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11961         * benchtests/Makefile (PYTHON): Define.
11962         (bench-func): Use $(PYTHON) to run python scripts.
11963         ($(objpfx)bench-%.c): Likewise.
11965 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11967         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11968         leading slash when `file_name' is "/".
11970 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11972         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11973         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11974         Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11980         enum constant and macro.
11981         (PTRACE_SETSIGMASK): Likewise.
11982         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11983         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11984         (PTRACE_GETSIGMASK): Likewise.
11985         (PTRACE_SETSIGMASK): Likewise.
11986         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11987         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11988         Likewise.
11989         (PTRACE_SETSIGMASK): Likewise.
11990         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11992         (PTRACE_GETSIGMASK): Likewise.
11993         (PTRACE_SETSIGMASK): Likewise.
11994         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11995         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11996         Likewise.
11997         (PTRACE_SETSIGMASK): Likewise.
11998         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11999         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12000         Likewise.
12001         (PTRACE_SETSIGMASK): Likewise.
12002         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12003         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12004         Likewise.
12005         (PTRACE_SETSIGMASK): Likewise.
12006         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12008 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12009             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12011         [BZ #19439]
12012         * math/bits/mathcalls.h
12013         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12014         prototype.
12015         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12017 2016-01-11  Andreas Schwab  <schwab@suse.de>
12019         [BZ #19253]
12020         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12021         cache when TZDEFRULES was used.
12022         * time/tst-tzname.c: New file.
12023         * time/Makefile (test): Add tst-tzname.
12024         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12025         * timezone/Makefile (test-zones): Add $(posixrules-file).
12026         ($(testdata)/$(posixrules-file)): New rule.
12028 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12030         Fix doc quoting problems with Texinfo 5
12031         Without this change, in the info file output, Texinfo 5 quotes code
12032         in text with undirected single quotes 'like this' and generates
12033         code examples that with many PDF readers cannot be cut out of PDFs
12034         and pasted into code.
12035         * manual/libc.texinfo: Configure the libc manual like the GNU
12036         Emacs manual, by using @documentencoding and setting
12037         txicodequoteundirected and txicodequotebacktick.  This way,
12038         Texinfo 5 quotes code in text with directed single quotes ‘like
12039         this’ and produces examples that can be cut out of PDFs.  This
12040         change causes Texinfo 5 to generate info files that contain UTF-8
12041         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12042         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12044 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12046         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12047         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12048         barriers to their respective compiler built-ins.
12049         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12050         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12051         * sysdeps/powerpc/sysdep.h: Likewise.
12052         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12053         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12054         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12056 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12058         * scripts/config.guess: Revert previous shebang change.
12059         * scripts/config.sub: Likewise.
12060         * scripts/mkinstalldirs: Likewise.
12062 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12064         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12065         PPC_FEATURE2_HAS_IEEE128.
12066         * sysdeps/powerpc/dl-procinfo.c:
12067         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12069 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12071         [BZ #19415]
12072         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12073         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12074         (_dl_lookup_address): Rewrite using function resolver trampoline.
12075         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12076         two bits in address.
12078 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12080         * longlong.h: Change !__SHMEDIA__ to
12081         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12082         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12084 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12085             Joseph Myers  <joseph@codesourcery.com>
12086             Mark Shinwell  <shinwell@codesourcery.com>
12087             Andrew Stubbs  <ams@codesourcery.com>
12088             Rich Felker <dalias@libc.org>
12090         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12092 2016-01-07  Richard Henderson  <rth@redhat.com>
12094         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12096 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12098         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12099         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12100         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12101         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12102         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12104 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12105             Joseph Myers  <joseph@codesourcery.com>
12107         * timezone/private.h: Update from tzcode 2015g.
12108         * timezone/tzfile.h: Likewise.
12109         * timezone/tzselect.ksh: Likewise.
12110         * timezone/zdump.c: Likewise.
12111         * timezone/zic.c: Likewise.
12112         * timezone/ialloc.c: Remove file.
12113         * timezone/scheck.c: Likewise.
12114         * timezone/Makefile (extra-objs): Remove variable.
12115         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12116         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12117         -Wno-maybe-uninitialized.
12118         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12119         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12120         (CFLAGS-ialloc.c): Remove variable.
12121         (CFLAGS-scheck.c): Likewise.
12122         * timezone/README: Update list of files from tzcode.
12124 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12126         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12127         instead of __fxprintf when _LIBC is undefined.
12129 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12131         * catgets/test-gencat.sh: Remove space after shebang.
12132         * conform/GlibcConform.pm: Likewise.
12133         * conform/check-header-lists.sh: Likewise.
12134         * conform/conformtest.pl: Likewise.
12135         * conform/linknamespace.pl: Likewise.
12136         * conform/list-header-symbols.pl: Likewise.
12137         * debug/catchsegv.sh: Likewise.
12138         * elf/genrtldtbl.awk: Likewise.
12139         * elf/tst-pathopt.sh: Likewise.
12140         * elf/tst-rtld-load-self.sh: Likewise.
12141         * grp/tst_fgetgrent.sh: Likewise.
12142         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12143         * iconvdata/gen-8bit-gap.sh: Likewise.
12144         * iconvdata/gen-8bit.sh: Likewise.
12145         * iconvdata/run-iconv-test.sh: Likewise.
12146         * intl/tst-gettext.sh: Likewise.
12147         * intl/tst-gettext2.sh: Likewise.
12148         * intl/tst-gettext4.sh: Likewise.
12149         * intl/tst-gettext6.sh: Likewise.
12150         * intl/tst-translit.sh: Likewise.
12151         * io/ftwtest-sh: Likewise.
12152         * libio/test-freopen.sh: Likewise.
12153         * locale/gen-translit.pl: Likewise.
12154         * malloc/tst-mtrace.sh: Likewise.
12155         * manual/check-safety.sh: Likewise.
12156         * manual/libc-texinfo.sh: Likewise.
12157         * manual/tsort.awk: Likewise.
12158         * manual/xtract-typefun.awk: Likewise.
12159         * nptl/tst-cancel-wrappers.sh: Likewise.
12160         * nptl/tst-tls6.sh: Likewise.
12161         * posix/globtest.sh: Likewise.
12162         * posix/tst-getconf.sh: Likewise.
12163         * posix/wordexp-tst.sh: Likewise.
12164         * scripts/check-c++-types.sh: Likewise.
12165         * scripts/check-local-headers.sh: Likewise.
12166         * scripts/config.guess: Likewise.
12167         * scripts/config.sub: Likewise.
12168         * scripts/cpp: Likewise.
12169         * scripts/cross-test-ssh.sh: Likewise.
12170         * scripts/documented.sh: Likewise.
12171         * scripts/evaluate-test.sh: Likewise.
12172         * scripts/gen-libc-abis: Likewise.
12173         * scripts/gen-sorted.awk: Likewise.
12174         * scripts/list-fixed-bugs.py: Likewise.
12175         * scripts/merge-test-results.sh: Likewise.
12176         * scripts/mkinstalldirs: Likewise.
12177         * scripts/rellns-sh: Likewise.
12178         * scripts/test-installation.pl: Likewise.
12179         * scripts/update-copyrights: Likewise.
12180         * stdio-common/tst-printf.sh: Likewise.
12181         * stdio-common/tst-unbputc.sh: Likewise.
12182         * stdlib/tst-fmtmsg.sh: Likewise.
12183         * stdlib/tst-setcontext3.sh: Likewise.
12184         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12185         * sysdeps/unix/make-syscalls.sh: Likewise.
12187 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12189         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12190         asm stw with atomic_exchange_rel.  Add explanatory comment.
12191         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12192         Likewise.
12194 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12196         [BZ #19122]
12197         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12198         * sysdeps/generic/dl-unistd.h: New file.
12199         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12201 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12203          [BZ #19122]
12204          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12205          * sysdeps/generic/dl-mman.h: New file.
12206          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12208 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12210         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12211         trailing whitespace removed.
12212         * scripts/config.guess: Update to version 2016-01-01.
12213         * scripts/config.sub: Update to version 2016-01-01.
12214         * scripts/move-if-change: Update from gnulib.
12216 2016-01-04  Anton Blanchard  <anton@samba.org>
12218         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12219         for array indices.
12220         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12222 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12224         * NEWS: Update copyright dates.
12225         * catgets/gencat.c (print_version): Likewise.
12226         * csu/version.c (banner): Likewise.
12227         * debug/catchsegv.sh: Likewise.
12228         * debug/pcprofiledump.c (print_version): Likewise.
12229         * debug/xtrace.sh (do_version): Likewise.
12230         * elf/ldconfig.c (print_version): Likewise.
12231         * elf/ldd.bash.in: Likewise.
12232         * elf/pldd.c (print_version): Likewise.
12233         * elf/sotruss.sh: Likewise.
12234         * elf/sprof.c (print_version): Likewise.
12235         * iconv/iconv_prog.c (print_version): Likewise.
12236         * iconv/iconvconfig.c (print_version): Likewise.
12237         * locale/programs/locale.c (print_version): Likewise.
12238         * locale/programs/localedef.c (print_version): Likewise.
12239         * login/programs/pt_chown.c (print_version): Likewise.
12240         * malloc/memusage.sh (do_version): Likewise.
12241         * malloc/memusagestat.c (print_version): Likewise.
12242         * malloc/mtrace.pl: Likewise.
12243         * manual/libc.texinfo: Likewise.
12244         * nptl/version.c (banner): Likewise.
12245         * nscd/nscd.c (print_version): Likewise.
12246         * nss/getent.c (print_version): Likewise.
12247         * nss/makedb.c (print_version): Likewise.
12248         * posix/getconf.c (main): Likewise.
12249         * scripts/test-installation.pl: Likewise.
12250         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12252         * All files with FSF copyright notices: Update copyright dates
12253         using scripts/update-copyrights.
12254         * intl/plural.c: Regenerated.
12255         * locale/programs/charmap-kw.h: Likewise.
12256         * locale/programs/locfile-kw.h: Likewise.
12258 2016-01-02  Helge Deller  <deller@gmx.de>
12260         [BZ #19285]
12261         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12262         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12263         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12264         (MADV_xxK_PAGES): Remove.
12266 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12268         [BZ #15421]
12269         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12270         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12271         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12272         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12274 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12276         [BZ #19408]
12277         * sysdeps/unix/sysv/linux/personality.c: New file.
12278         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12279         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12280         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12281         (sysdep_routines): Add personality.
12282         (tests): Add tst-personality.
12283         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12284         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12285         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12286         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12287         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12288         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12289         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12290         Likewise.
12291         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12292         Likewise.
12293         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12294         Likewise.
12295         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12296         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12297         Likewise.
12299 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12301         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12302         (PATH_ARM_SYSTYPE): Remove.
12303         (PATH_CPUINFO): Likewise.
12304         (IO_BASE_FOOTBRIDGE): Likewise.
12305         (IO_SHIFT_FOOTBRIDGE): Likewise.
12306         (struct platform): Likewise.
12307         (init_iosys): Remove compatibility code for 2.4 kernels.
12308         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12310 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12312         * malloc/tst-malloc-thread-fail.c: New file.
12313         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12314         (tst-malloc-thread-fail): Link against libpthread.
12316 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12318         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12319         (get_parser): New function.
12320         (main): New function.
12322 2015-12-29  Rob Wu  <rob@robwu.nl>
12324         [BZ #19369]
12325         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12327 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12329         [BZ #19270]
12330         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12332 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12334         [BZ #15421]
12335         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12337 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12339         [BZ #13690]
12340         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12341         after releasing it.
12342         (__lll_robust_unlock): Likewise.
12343         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12345         (lll_robust_unlock): Likewise.
12346         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12347         Prevent warnings in callers.
12349 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12351         * malloc/arena.c (list_lock): Update comment.
12353 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12355         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12356         __parse_hwcap_and_convert_at_platform to libc.a.
12358 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12360         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12361         platform and feature support for POWER9.
12362         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12363         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12364         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12365         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12366         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12367         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12368         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12369         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12371 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12373         Harmonize generic stdio-lock support with nptl
12375         This fixes build when _IO_funlockfile is a macro, fixes build where
12376         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12377         stack unwind.
12379         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12380         _IO_release_lock ): Use cleanup attribute on new
12381         _IO_acquire_lock_file variable instead of assuming that
12382         _IO_release_lock will be called.
12383         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12384         _IO_acquire_lock_needs_exceptions_enabled.
12385         (_IO_acquire_lock_clear_flags2): New macro.
12387 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12389         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12391 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12393         [BZ #19182]
12394         * malloc/arena.c (list_lock): Document lock ordering requirements.
12395         (free_list_lock): New lock.
12396         (ptmalloc_lock_all): Comment on free_list_lock.
12397         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12398         (detach_arena): Update comment.  free_list_lock is now needed.
12399         (_int_new_arena): Use free_list_lock around detach_arena call.
12400         Acquire arena lock after list_lock.  Add comment, including FIXME
12401         about incorrect synchronization.
12402         (get_free_list): Switch to free_list_lock.
12403         (reused_arena): Acquire free_list_lock around detach_arena call
12404         and attached threads counter update.  Add two FIXMEs about
12405         incorrect synchronization.
12406         (arena_thread_freeres): Switch to free_list_lock.
12407         * malloc/malloc.c (struct malloc_state): Update comments to
12408         mention free_list_lock.
12410 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12412         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12413         Remove functions.
12414         (sloww, sloww1): Accept argument to offset quadrant.
12415         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12416         quadrant.
12417         (__sin, __cos): Consolidate common code into new functions.
12418         (reduce_sincos_1, do_sincos_1): New functions.
12419         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12421         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12422         code to new functions.
12423         (reduce_sincos_2, do_sincos_2): New functions.
12424         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12427         common code for sincos.
12428         (__cos) [!IN_SINCOS]: Likewise.
12429         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12430         New function.
12431         (__sincos): Use it.
12433 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12435         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12436         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12437         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12439 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12441         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12444         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12445         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12446         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12447         index_Prefer_No_VZEROUPPER): New feature.
12448         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12449         Prefer_No_VZEROUPPER for Knights Landing.
12451 015-12-18  Torvald Riegel  <triegel@redhat.com>
12453         * math/atest-exp2.c (mp_exp_m1): Remove.
12455 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12457         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12458         syscalls.
12459         (__SYSCALL0): New macro.
12460         (__SYSCALL1): Likewise.
12461         (__SYSCALL2): Likewise.
12462         (__SYSCALL3): Likewise.
12463         (__SYSCALL4): Likewise.
12464         (__SYSCALL5): Likewise.
12465         (__SYSCALL6): Likewise.
12466         (__SYSCALL_CONCAT_X): Likewise.
12467         (__SYSCALL_CONCAT): Likewise.
12468         (__SYSCALL_DIST): Likewise.
12469         (__SYSCALL_CALL): Likewise.
12471 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12473         [BZ #19363]
12474         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12476 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12478         [BZ #19375]
12479         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12480         negative subnormals.
12482 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12485         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12486         (INTERNAL_SYSCALL_NCS): Use it.
12487         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12489 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12491         [BZ #19243]
12492         * malloc/arena.c (get_free_list): Remove assert and adjust
12493         reference count handling.  Add comment about reused_arena
12494         interaction.
12495         (reused_arena): Add comments abount get_free_list interaction.
12496         * malloc/tst-malloc-thread-exit.c: New file.
12497         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12498         (tst-malloc-thread-exit): Link against libpthread.
12500 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12502         [BZ #19367]
12503         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12504         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12505         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12506         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12507         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12509 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12511         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12512         Silvermont optimizations for Knights Landing.
12514 2015-12-15  Andreas Schwab  <schwab@suse.de>
12516         [BZ #17197]
12517         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12518         immediately after emitting SI.
12519         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12520         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12521         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12522         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12523         * iconvdata/bug-iconv10.c: New file.
12524         * iconvdata/Makefile (tests): Add bug-iconv10.
12525         ($(objpfx)bug-iconv10.out): New rule.
12527 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12529         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12530         aliasing violation.
12532 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12534         [BZ #18472]
12535         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12536         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12537         conditionals for them.
12538         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12539         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12541         sys/kdaemon.h.
12542         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12543         compat-only syscall, obsoleted in glibc 2.23.
12544         (create_module): Likewise.
12545         (get_kernel_syms): Likewise.
12546         (query_module): Likewise.
12547         (uselib): Likewise.
12548         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12550 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12552         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12553         <linux/version.h>.
12554         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12555         conditional code.
12556         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12557         and ioshift_name initialization.
12559 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12561         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12562         Fix indentation.
12564 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12568 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12570         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12572 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12573             Jakub Wilk  <jwilk@debian.org>
12575         [BZ #19347]
12576         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12577         to change the group of the device to the tty group.
12579 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12581         Split large string section; add truncation advice
12582         * manual/examples/strncat.c: Remove.
12583         This example was misleading, as the code would have undefined
12584         behavior if "hello" was longer than SIZE.  Anyway, the manual
12585         shouldn't encourage strncpy+strncat for this sort of thing.
12586         * manual/string.texi (Copying Strings and Arrays): Split into
12587         three sections Copying Strings and Arrays, Concatenating Strings,
12588         and Truncating Strings, as this section was way too long.  All
12589         cross-referenced changed.  Add advice about string-truncation
12590         functions.  Remove misleading strncat example.
12592 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12594         * manual/nss.texi (NSS Modules Interface): Document
12595         NSS_STATUS_NOTFOUND and SUCCESS.
12597 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12599         [BZ 18568]
12600         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12601         201505L, for Unicode 8.
12603 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12605         * locale/C-translit.h: Regenerate.
12607 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12609         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12610         and U+0153.
12612 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #19351]
12615         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12616         expanding log(1+z), compare z rather than its square with epsilon
12617         to determine when to avoid evaluating the expansion.
12619         [BZ #19350]
12620         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12621         Increase overflow threshold.
12623         [BZ #19349]
12624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12625         when small.
12627         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12629         New macro.
12630         [__LINUX_KERNEL_VERSION >= 0x040300]
12631         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12633         Likewise.
12634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12635         Likewise.
12636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12637         Likewise.
12638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12639         Likewise.
12640         [__LINUX_KERNEL_VERSION >= 0x040300]
12641         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12642         [__LINUX_KERNEL_VERSION >= 0x040300]
12643         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12644         [__LINUX_KERNEL_VERSION >= 0x040300]
12645         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12646         [__LINUX_KERNEL_VERSION >= 0x040300]
12647         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12648         [__LINUX_KERNEL_VERSION >= 0x040300]
12649         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12651         Likewise.
12652         [__LINUX_KERNEL_VERSION >= 0x040300]
12653         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12655         Likewise.
12656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12657         Likewise.
12658         [__LINUX_KERNEL_VERSION >= 0x040300]
12659         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12661         Likewise.
12662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12665         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12666         Likewise.
12667         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12668         Likewise.
12669         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12670         Likewise.
12671         [__LINUX_KERNEL_VERSION >= 0x040300]
12672         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12674         Likewise.
12675         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12676         Likewise.
12677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12678         Likewise.
12679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12680         Likewise.
12681         [__LINUX_KERNEL_VERSION >= 0x040300]
12682         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12683         [__LINUX_KERNEL_VERSION >= 0x040300]
12684         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12685         [__LINUX_KERNEL_VERSION >= 0x040300]
12686         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12687         [__LINUX_KERNEL_VERSION >= 0x040300]
12688         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12689         [__LINUX_KERNEL_VERSION >= 0x040300]
12690         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12692         Likewise.
12693         [__LINUX_KERNEL_VERSION >= 0x040300]
12694         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12695         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12696         Likewise.
12697         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12698         Likewise.
12699         [__LINUX_KERNEL_VERSION >= 0x040300]
12700         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12702         Likewise.
12703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12704         Likewise.
12705         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12706         (__ASSUME_SOCKET_SYSCALL): Likewise.
12707         (__ASSUME_BIND_SYSCALL): Likewise.
12708         (__ASSUME_CONNECT_SYSCALL): Likewise.
12709         (__ASSUME_LISTEN_SYSCALL): Likewise.
12710         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12711         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12712         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12713         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12714         (__ASSUME_SEND_SYSCALL): Likewise.
12715         (__ASSUME_SENDTO_SYSCALL): Likewise.
12716         (__ASSUME_RECV_SYSCALL): Likewise.
12717         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12718         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12719         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12720         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12721         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12722         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12723         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12724         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12725         Likewise.
12726         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12727         Likewise.
12728         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12729         Likewise.
12730         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12731         Likewise.
12732         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12733         Likewise.
12734         [__LINUX_KERNEL_VERSION >= 0x020625]
12735         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12736         [__LINUX_KERNEL_VERSION >= 0x020625]
12737         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12738         [__LINUX_KERNEL_VERSION >= 0x020625]
12739         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12740         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12741         Likewise.
12742         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12743         Likewise.
12744         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12745         Likewise.
12746         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12747         Likewise.
12748         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12749         Likewise.
12750         [__LINUX_KERNEL_VERSION >= 0x020625]
12751         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12752         [__LINUX_KERNEL_VERSION >= 0x020625]
12753         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12755         Likewise.
12756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12757         Likewise.
12759 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12761         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12762         record the current if the current ABI and CPU support the FP64
12763         extension.
12764         (has-modd-spreg): Define to record the current if the current ABI and
12765         CPU support 32-bit floating point values in odd FPU registers.
12766         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12767         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12768         $(has-modd-spreg) equals yes.
12769         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12770         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12771         $(has-modd-spreg) equal yes.
12773 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12775         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12776         basename.
12778 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12780         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12781         (bench-string): ... here.
12782         (bench): Add bench-string.
12783         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12784         to *-benchset to reflect what they are.
12785         (benchset): Adjust.
12787         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12788         cos-inputs.
12790 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12792         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12793         __attribute__ ((__simd__)) for vector math function declarations.
12795 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12797         Fix typo in strncat, wcsncat manual entries
12798         * manual/string.texi (Copying and Concatenation): Fix typos in
12799         sample implementations of strncat and wcsncat, by having them use
12800         the old value of the destination length, not the new one.
12802 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12804         [BZ #16961]
12805         [BZ #16962]
12806         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12807         string on the stack for strtod.
12808         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12809         a string on the stack for strtof.
12810         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12811         constructing a string on the stack for strtold.
12812         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12813         __strtold_nan to GLIBC_PRIVATE.
12814         * math/test-nan-overflow.c: New file.
12815         * math/test-nan-payload.c: Likewise.
12816         * math/Makefile (tests): Add test-nan-overflow and
12817         test-nan-payload.
12819 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12821         Consistency about byte vs character in string.texi
12822         * manual/string.texi (String and Array Utilities):
12823         Distinguish more carefully among bytes, multibyte characters,
12824         and wide characters.  Use "byte" when talking about C 'char',
12825         to distinguish it more clearly from multibyte characters.
12826         Say "wide character" or "multibyte character" instead of
12827         "character", when a wide or multibyte character is intended.
12828         Similarly for "multibyte string" versus "string".
12829         Define these terms more carefully.
12831 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12833         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12834         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12835         Likewise.
12836         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12837         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12838         * sysdeps/sh/math_private.h: New file.
12839         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12840         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12841         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12842         long double function name.
12843         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12844         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12845         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12849         Remove __finitel, __isinfl, and __isnanl.
12850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12851         Likewise.
12852         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12854         Remove __finitel.
12855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12856         Likewise.
12857         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12859 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12861         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12862         installed libmvec_nonshared.a.
12864 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12866         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12867         (sysdep_routines): Likewise.
12868         (sysdep-rtld-routines): Likewise.
12869         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12870         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12871         * sysdeps/powerpc/Versions: Added new
12872         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12873         * sysdeps/powerpc/hwcapinfo.c: New file.
12874         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12875         and parse hwcap, hwcap2 and platform number information.
12876         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12877         to store HWCAP+HWCAP2 and platform number.
12878         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12879         for HWCAP+HWCAP2 and platform number in the TCB.
12880         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12881         the HWCAP, HWCAP2 and platform number in the TCB.
12882         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12883         (TLS_INIT_TP): Included calls to add the hwcap and
12884         at_platform values in the TCB in TP initialization.
12885         (TLS_DEFINE_INIT_TP): Likewise.
12886         (THREAD_GET_HWCAP): New macro.
12887         (THREAD_SET_HWCAP): Likewise.
12888         (THREAD_GET_AT_PLATFORM): Likewise.
12889         (THREAD_SET_AT_PLATFORM): Likewise.
12890         * sysdeps/powerpc/powerpc32/dl-machine.h:
12891         (dl_platform_init): New function that calls
12892         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12893         powerpc32.
12894         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12895         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12896         this functionality, static linking case.
12897         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12898         linking case.
12899         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12900         __parse_hwcap_and_convert_at_platform for the static linking case.
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12902         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12903         ABI list for GLIBC 2.23.
12904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12905         Likewise.
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12907         Likewise.
12909 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12911         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12912         * configure: Regenerate.
12913         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12914         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12916 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12918         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12919         * iconvdata/ibm933.c: Likewise.
12920         * iconvdata/ibm935.c: Likewise.
12921         * iconvdata/ibm937.c: Likewise.
12922         * iconvdata/ibm939.c: Likewise.
12924 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12926         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12927         pthread_join.
12928         * nptl/tst-cancel21.c (tf): Likewise.
12930 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12932         [BZ #19313]
12933         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12934         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12935         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12936         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12937         Likewise.
12938         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12939         Likewise.
12940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12941         Likewise.
12942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12943         Likewise.
12944         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12945         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12946         unsigned long int with __CPU_MASK_TYPE.
12948 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12950         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12952 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12954         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12955         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12956         t512.x.
12957         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12959 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12961         [BZ #19214]
12962         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12963         argument to return extended model.  Update family and model
12964         with extended family and model when family == 0x0f.
12965         (init_cpu_features): Updated.
12967 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12969         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12970         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12972         * sysdeps/mach/hurd/mmap64.c: New file.
12974 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12976         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12977         rights for its main user thread in NEWTASK.
12979 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12981         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12982         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12984 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12986         [BZ #14259]
12987         * Makeconfig: Rename localedir to complocaledir.
12988         Rename inst_localedir to inst_complocaledir.
12989         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12990         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12991         * configure.ac: Use libc_cv_complocaledir.
12992         * configure: Regenerate.
12993         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12994         -DCOMPLOCALEDIR.
12995         * locale/findlocale.c: Use COMPLOCALEDIR.
12996         * locale/loadarchive.c: Likewise.
12997         * locale/programs/locale.c: Likewise.
12998         * locale/programs/localedef.c: Likewise.
12999         * locale/programs/locarchive.c: Likewise.
13000         * localedata/Makefile: Use inst_complocaledir.
13001         * sysdeps/gnu/configure: Regenerate.
13002         * sysdeps/hppa/configure: Regenerate.
13003         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13004         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13006         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13007         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13008         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13009         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13011 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13013         [BZ #19058]
13014         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13015         AS_NEEDED.
13016         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13017         workaround.
13018         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13019         libmvec-static-only-routines): Added new file.
13020         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13022 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13024         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13025         of interrupted RPC instead of restoring it.
13027         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13028         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13029         libc_hidden_def.
13030         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13031         into initialized data instead of common. Define rtld_hidden_data_def.
13032         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13033         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13034         libc_hidden_def.
13035         (if_freenameindex): Add libc_hidden_weak.
13036         (if_nameindex): Add libc_hidden_weak.
13037         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13038         __open64.
13039         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13040         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13041         * sysdeps/mach/nanosleep.c: Include <time.h>
13042         (__nanosleep): Rename to __libc_nanosleep.
13043         (__nanosleep): Add weak_alias.
13044         (nanosleep): Update alias.
13046 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13048         * stdlib/strtod_nan.c: New file.
13049         * stdlib/strtod_nan_double.h: Likewise.
13050         * stdlib/strtod_nan_float.h: Likewise.
13051         * stdlib/strtod_nan_main.c: Likewise.
13052         * stdlib/strtod_nan_narrow.h: Likewise.
13053         * stdlib/strtod_nan_wide.h: Likewise.
13054         * stdlib/strtof_nan.c: Likewise.
13055         * stdlib/strtold_nan.c: Likewise.
13056         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13057         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13058         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13059         * wcsmbs/wcstod_nan.c: Likewise.
13060         * wcsmbs/wcstof_nan.c: Likewise.
13061         * wcsmbs/wcstold_nan.c: Likewise.
13062         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13063         strtold_nan.
13064         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13065         wcstof_nan.
13066         * include/stdlib.h (__strtof_nan): Declare and use
13067         libc_hidden_proto.
13068         (__strtod_nan): Likewise.
13069         (__strtold_nan): Likewise.
13070         (__wcstof_nan): Likewise.
13071         (__wcstod_nan): Likewise.
13072         (__wcstold_nan): Likewise.
13073         * include/wchar.h (____wcstoull_l_internal): Declare.
13074         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13075         (____strtoull_l_internal): Remove declaration.
13076         (STRTOF_NAN): Define macro.
13077         (SET_MANTISSA): Remove macro.
13078         (STRTOULL): Likewise.
13079         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13080         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13081         (STRTOF_NAN): Define macro.
13082         (SET_MANTISSA): Remove macro.
13083         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13084         (SET_MANTISSA): Remove macro.
13085         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13086         macro.
13087         (SET_MANTISSA): Remove macro.
13088         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13089         macro.
13090         (SET_MANTISSA): Remove macro.
13091         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13092         (SET_MANTISSA): Remove macro.
13093         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13094         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13095         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13097         [BZ #19266]
13098         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13099         upper case and lower case letters inside NAN(), not using TOLOWER.
13100         * stdlib/tst-strtod-nan-locale-main.c: New file.
13101         * stdlib/tst-strtod-nan-locale.c: Likewise.
13102         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13103         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13104         Depend on $(gen-locales).
13105         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13106         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13107         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13108         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13109         Depend on $(gen-locales).
13110         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13112 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13114         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13116         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13118         __finitel, __isinfl, and __isnanl.
13119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13120         Likewise.
13121         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13123         __finitel.
13124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13125         Likewise.
13126         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13128 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13130         * malloc/memusage.c (me): Remove redundant getenv call.
13132 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13134         [BZ #19143]
13135         [BZ #19164]
13136         * nptl/check-cpuset.h: Remove.
13137         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13138         Remove CPU set size check.
13139         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13140         Likewise.
13141         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13142         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13143         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13144         (__pthread_setaffinity_new): Remove CPU set size check.
13145         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13146         (__kernel_cpumask_size): Remove.
13147         (__sched_setaffinity_new): Remove CPU set size check.
13148         * manual/threads.texi (Default Thread Attributes): Remove stale
13149         reference to check_cpuset_attr, determine_cpumask_size in comment.
13150         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13151         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13152         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13153         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13154         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13155         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13156         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13157         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13158         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13159         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13160         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13161         skeleton test file.
13162         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13163         tst-affinity-pid.
13165 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13167         * scripts/update-abilist.sh: New file.
13168         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13169         * Makerules (update-all-abi-%, update-all-abi)
13170         (subdir_update-all-abi): New targets.
13171         * elf/Makefile (update-all-abi): New target.
13173 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13175         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13176         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13177         (__libc_lock_define_initialized): Use it.
13178         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13179         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13180         * malloc/malloc.c (main_arena): Likewise.
13181         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13182         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13184 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13186         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13187         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13188         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13189         (PTRACE_O_MASK): Update value.
13190         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13191         New value in enum __ptrace_setoptions.
13192         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13193         (PTRACE_O_MASK): Update value.
13194         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13195         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13196         (PTRACE_O_MASK): Update value.
13197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13198         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13199         (PTRACE_O_MASK): Update value.
13200         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13201         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13202         (PTRACE_O_MASK): Update value.
13203         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13204         New value in enum __ptrace_setoptions.
13205         (PTRACE_O_MASK): Update value.
13206         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13207         New value in enum __ptrace_setoptions.
13208         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13209         (PTRACE_O_MASK): Update value.
13211         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13212         New macro.
13213         (PACKET_AUXDATA): Likewise.
13214         (PACKET_ORIGDEV): Likewise.
13215         (PACKET_VERSION): Likewise.
13216         (PACKET_HDRLEN): Likewise.
13217         (PACKET_RESERVE): Likewise.
13218         (PACKET_TX_RING): Likewise.
13219         (PACKET_LOSS): Likewise.
13220         (PACKET_VNET_HDR): Likewise.
13221         (PACKET_TX_TIMESTAMP): Likewise.
13222         (PACKET_TIMESTAMP): Likewise.
13223         (PACKET_FANOUT): Likewise.
13224         (PACKET_TX_HAS_OFF): Likewise.
13225         (PACKET_QDISC_BYPASS): Likewise.
13226         (PACKET_ROLLOVER_STATS): Likewise.
13227         (PACKET_FANOUT_DATA): Likewise.
13228         (PACKET_MR_UNICAST): Likewise.
13230         [BZ #19242]
13231         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13232         (TOUPPER): Likewise.
13233         * stdlib/tst-strtol-locale-main.c: New file.
13234         * stdlib/tst-strtol-locale.c: Likewise.
13235         * stdlib/Makefile (tests): Add tst-strtol-locale.
13236         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13237         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13238         Depend on $(gen-locales).
13239         * wcsmbs/tst-wcstol-locale.c: New file.
13240         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13241         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13242         tr_TR.ISO-8859-9.
13243         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13244         Depend on $(gen-locales).
13246 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13248         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13249         __glibc_likely instead of __builtin_expect.  After falling back to
13250         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13251         system interface to register the code pages as occupied.
13253 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13255         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13256         [!ARM_MATH_PRIVATE_H].
13257         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13258         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13259         [!HPPA_MATH_PRIVATE_H].
13260         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13261         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13262         to [!I386_MATH_PRIVATE_H].
13263         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13264         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13265         Change guard to [!M68K_MATH_PRIVATE_H].
13266         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13267         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13268         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13269         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13270         macro.
13271         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13272         [!MIPS_MATH_PRIVATE_H].
13273         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13274         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13275         [!NIO2_MATH_PRIVATE_H].
13276         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13277         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13278         [!TILE_MATH_PRIVATE_H].
13279         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13281         [BZ #15421]
13282         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13283         initialize with 0 and define as weak alias of __signgam.
13284         * include/math.h [!_ISOMAC] (__signgam): Declare.
13285         * math/Makefile (libm-calls): Add w_lgamma_compat.
13286         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13287         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13288         test-signgam-ullong-init.
13289         (tests-static): Add test-signgam-uchar-static,
13290         test-signgam-uchar-init-static, test-signgam-uint-static,
13291         test-signgam-uint-init-static, test-signgam-ullong-static and
13292         test-signgam-ullong-init-static.
13293         (CFLAGS-test-signgam-uchar.c): New variable.
13294         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13295         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13296         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13297         (CFLAGS-test-signgam-uint.c): Likewise.
13298         (CFLAGS-test-signgam-uint-init.c): Likewise.
13299         (CFLAGS-test-signgam-uint-static.c): Likewise.
13300         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13301         (CFLAGS-test-signgam-ullong.c): Likewise.
13302         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13303         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13304         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13305         * math/Versions (libm): Add GLIBC_2.23.
13306         * math/lgamma-compat.h: New file.
13307         * math/test-signgam-main.c: Likewise.
13308         * math/test-signgam-uchar-init-static.c: Likewise.
13309         * math/test-signgam-uchar-init.c: Likewise.
13310         * math/test-signgam-uchar-static.c: Likewise.
13311         * math/test-signgam-uchar.c: Likewise.
13312         * math/test-signgam-uint-init-static.c: Likewise.
13313         * math/test-signgam-uint-init.c: Likewise.
13314         * math/test-signgam-uint-static.c: Likewise.
13315         * math/test-signgam-uint.c: Likewise.
13316         * math/test-signgam-ullong-init-static.c: Likewise.
13317         * math/test-signgam-ullong-init.c: Likewise.
13318         * math/test-signgam-ullong-static.c: Likewise.
13319         * math/test-signgam-ullong.c: Likewise.
13320         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13321         wrapper of w_lgamma_main.c.
13322         * math/w_lgamma_compat.c: New file.
13323         * math/w_lgamma_compatf.c: Likewise.
13324         * math/w_lgamma_compatl.c: Likewise.
13325         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13326         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13327         defining compatibility symbols.
13328         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13329         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13330         wrapper of w_lgammaf_main.c.
13331         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13332         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13333         defining compatibility symbols.
13334         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13335         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13336         wrapper of w_lgammal_main.c.
13337         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13338         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13339         defining compatibility symbols.
13340         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13341         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13342         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13343         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13344         <lgamma-compat.h>.
13345         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13346         (__ieee754_gamma): Define as alias.
13347         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13348         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13349         <lgamma-compat.h>.
13350         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13351         (__ieee754_gammaf): Define as alias.
13352         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13353         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13354         <lgamma-compat.h>.
13355         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13356         (__ieee754_gammal): Define as alias.
13357         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13358         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13359         <math/w_lgamma_compat.c>.
13360         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13361         Define as alias of __lgamma_compat and use in defining lgammal.
13362         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13363         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13364         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13365         (USE_AS_COMPAT): New macro.
13366         (LGAMMA_OLD_VER): Undefine and redefine.
13367         (lgammal): Do not define here.
13368         (gammal): Only define here if [GAMMA_ALIAS].
13369         * conform/linknamespace.pl (@whitelist): Remove signgam.
13370         * sysdeps/nacl/libm.abilist: Update.
13371         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13372         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13373         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13374         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13375         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13379         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13380         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13381         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13384         Likewise.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13386         Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13388         Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13390         Likewise.
13391         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13392         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13393         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13395         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13397         Likewise.
13398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13399         Likewise.
13400         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13402         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13404 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13406         [BZ #16364]
13407         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13408         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13410 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13412         * sysdeps/s390/fpu/bits/mathinline.h:
13413         Use __asm__ [__volatile__] instead of asm [volatile].
13414         * sysdeps/s390/abort-instr.h: Likewise.
13415         * sysdeps/s390/atomic-machine.h: Likewise.
13416         * sysdeps/s390/bits/string.h: Likewise.
13417         * sysdeps/s390/dl-tls.h: Likewise.
13418         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13419         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13420         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13421         * sysdeps/s390/fpu/fesetround.c: Likewise.
13422         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13423         * sysdeps/s390/fpu/s_fma.c: Likewise.
13424         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13425         * sysdeps/s390/memusage.h: Likewise.
13426         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13427         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13428         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13429         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13430         * sysdeps/s390/nptl/tls.h: Likewise.
13431         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13432         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13433         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13434         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13435         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13436         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13437         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13438         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13439         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13440         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13441         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13442         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13443         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13444         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13445         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13446         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13447         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13448         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13449         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13451         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13453         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13455 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13456             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13458         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13459         Add lwarx hint, and use macro for acquire instruction.
13460         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13461         Likewise.
13462         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13463         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13464         update to use new atomic macros.
13466 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13468         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13469         (__lll_trylock_elision): Fix setting of adapt_count.
13470         * sysdeps/unix/sysv/linux/powerpc/htm.h
13471         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13472         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13473         (_ABORT_SYSCALL): Renumber, and clarify definition.
13474         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13476 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13478         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13479         after system headers to prevent MIN/MAX redefinition.  Define
13480         HAVE_ALLOCA to preserve builtin alloca usage.
13482 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13484         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13485         static and don't set or restore rounding.
13486         (__cos)[IN_SINCOS]: Likewise.
13487         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13488         (__sincos): Set and restore rounding mode.  Remove check for infinite
13489         or NaN input.
13491         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13493         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13494         as used.
13496 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13498         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13500 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13502         * config.make.in (have-glob-dat-reloc): New.
13503         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13504         target supports GLOB_DAT relocaton. AC_SUBST.
13505         * configure: Regenerated.
13506         * elf/Makefile (tests): Add tst-prelink.
13507         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13508         (tst-prelink-ENV): New.
13509         ($(objpfx)tst-prelink-conflict.out): Likewise.
13510         ($(objpfx)tst-prelink-cmp.out): Likewise.
13511         * sysdeps/x86/tst-prelink.c: Moved to ...
13512         * elf/tst-prelink.c: Here.
13513         * sysdeps/x86/tst-prelink.exp: Moved to ...
13514         * elf/tst-prelink.exp: Here.
13515         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13516         (tst-prelink-ENV): Removed.
13517         ($(objpfx)tst-prelink-conflict.out): Likewise.
13518         ($(objpfx)tst-prelink-cmp.out): Likewise.
13519         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13521 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13523         [BZ #14551]
13524         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13525         (__mpn_construct_long_double): If high part overflows to infinity,
13526         set errno and recompute overflowed result of the correct sign.
13527         * sysdeps/ieee754/ldbl-128ibm/Makefile
13528         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13529         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13530         $(libm).
13531         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13533 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13535         [BZ #15479]
13536         [BZ #19238]
13537         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13538         floating-point state after first operation on input.  Restore full
13539         state rather than just rounding mode.
13540         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13541         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13542         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13544         [BZ #19235]
13545         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13546         add 0.5 to integer arguments.
13547         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13548         Likewise.
13549         (.LC2): New object.
13551 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13553         * scripts/pylintrc (reports): Set to no.
13555 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13557         * elf/dl-load.c (open_verify): Take new argument FD.
13558         Skip __open call if passed FD is not -1.
13559         (_dl_map_object, open_path): Update callers.
13560         * elf/dl-sysdep-open.h: New file.
13561         * elf/dl-load.c: Include it.
13562         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13563         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13564         * sysdeps/nacl/dl-sysdep-open.h: New file.
13565         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13566         from libc to rtld.
13568 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13570         [BZ #19228]
13571         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13572         and restore full floating-point state.
13573         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13574         Likewise.
13575         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13576         Likewise.
13577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13578         Likewise.
13579         * math/test-nearbyint-except-2.c: New file.
13580         * math/Makefile (tests): Add test-nearbyint-except-2.
13582 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13584         [BZ #19178]
13585         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13586         (tst-prelink-ENV): New.
13587         ($(objpfx)tst-prelink-conflict.out): Likewise.
13588         ($(objpfx)tst-prelink-cmp.out): Likewise.
13589         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13590         * sysdeps/x86/tst-prelink.c: New file.
13591         * sysdeps/x86/tst-prelink.exp: Likewise.
13593 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13595         * math/auto-libm-test-in: Add another test of pow.
13596         * math/auto-libm-test-out: Regenerated.
13597         * math/libm-test.inc (pow_test_data): Add another test.
13599 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13601         [BZ #19219]
13602         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13603         weak_alias to nearbyintl.
13605 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13607         * sysdeps/aarch64/bits/string.h: New file.
13608         (_STRING_ARCH_unaligned): Define.
13610 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13612         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13613         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13614         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13615         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13618 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13620         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13621         for original name of the DSO.  Add it to the name list of the DSO
13622         if it is actually given.
13623         (_dl_map_object): Keep track of whether an audit module rewrote
13624         the file name.  If yes, pass the original name to
13625         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13626         debugging is enabled, log the change of the file name.
13627         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13628         _dl_map_object_from_fd.
13629         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13630         * elf/tst-audit11.c: New file
13631         * elf/tst-auditmod11.c: New file.
13632         * elf/tst-audit11mod1.c: New file.
13633         * elf/tst-audit11mod2.c: New file.
13634         * elf/tst-audit11mod2.map: New file.
13635         * elf/tst-audit12.c: New file
13636         * elf/tst-auditmod12.c: New file.
13637         * elf/tst-audit12mod1.c: New file.
13638         * elf/tst-audit12mod2.c: New file.
13639         * elf/tst-audit12mod2.map: New file.
13640         * elf/tst-audit12mod3.c: New file.
13642 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13644         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13645         Don't create weak aliases,
13646         because versioned symbols are created later.
13647         * sysdeps/s390/s390-32/setjmp.S
13648         (setjmp, _setjmp): Remove weak and rename to an unique name
13649         in SHARED case due to existing versioned symbols.
13650         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13652         (getcontext): Create weak alias only in non SHARED case.
13653         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13655 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13657         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13658         (__ASSUME_*_SYSCALL) Define new macros.
13659         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13660         Remove socketcall syscalls.
13661         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13662         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13663         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13664         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13665         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13666         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13668 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13670         [BZ #12926]
13671         Terminate process on invalid netlink response.
13672         * sysdeps/unix/sysv/linux/netlinkaccess.h
13673         (__netlink_assert_response): Declare.
13674         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13675         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13676         (sysdep_routines): Add netlink_assert_response.
13677         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13678         __netlink_assert_response.
13679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13680         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13681         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13682         __netlink_assert_response.
13684 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13686         [BZ #19178]
13687         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13688         (RTYPE_CLASS_PLT): Likewise.
13689         (RTYPE_CLASS_COPY): Likewise.
13690         (RTYPE_CLASS_TLS): Likewise.
13691         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13692         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13693         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13694         DL_DEBUG_PRELINK.
13696 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13698         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13699         calls with argument -0.5.
13700         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13702         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13703         (libc_cv_z_nodlopen): Likewise.
13704         (libc_cv_z_initfirst): Likewise.
13705         * configure: Regenerated.
13707 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13709         Simplify abilist format to be line-based.
13710         * scripts/abilist.awk: Collect descriptors in the descs variable.
13711         (emit): Write descs variable and sort it
13712         externally, with sort.
13713         * sysdeps/**/*.abilist: Convert to new format.
13715 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13717         [BZ #11460]
13718         * io/Makefile (routines): Add fts64.
13719         (tests): Add tst-fts and tst-fts-lfs.
13720         (CFLAGS-fts64.c): New.
13721         * io/Versions (GLIBC_2.23): New.
13722         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13723         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13724         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13725         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13726         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13727         (FTSENT64): Likewise.
13728         (fts64_children): Likewise.
13729         (fts64_close): Likewise.
13730         (fts64_open): Likewise.
13731         (fts64_read): Likewise.
13732         (fts64_set): Likewise.
13733         * io/fts64.c: New file.
13734         * io/tst-fts.c: New test.
13735         * io/tst-fts-lfs.c: Likewise.
13736         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13737         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13738         fts64_set.
13739         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13749         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13753         Likewise.
13754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13755         Likewise.
13756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13768         * sysdeps/wordsize-64/fts.c: New file.
13769         * sysdeps/wordsize-64/fts64.c: Likewise.
13770         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13771         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13772         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13773         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13775 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13777         * math/libm-test.inc (NON_FINITE): New macro.
13778         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13779         * math/gen-libm-test.pl (show_exceptions): Add argument
13780         $non_finite.
13781         (parse_args): Update call to show_exceptions.
13782         * math/test-math-finite.h: New file.
13783         * math/test-math-no-finite.h: Likewise.
13784         * math/test-double-finite.c: Likewise.
13785         * math/test-float-finite.c: Likewise.
13786         * math/test-ldouble-finite.c: Likewise.
13787         * math/test-double.c: Include "test-math-no-finite.h".
13788         * math/test-float.c: Include "test-math-no-finite.h".
13789         * math/test-ldouble.c: Include "test-math-no-finite.h".
13790         * math/test-math-inline.h (TEST_FINITE): New macro.
13791         * math/test-math-vector.h (TEST_FINITE): Likewise.
13792         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13793         (libm-tests): Add test-float-finite and test-double-finite.
13794         ($(objpfx)test-float-finite.o): New dependency on
13795         $(objpfx)libm-test.stmp.
13796         ($(objpfx)test-double-finite.o): Likewise.
13797         ($(objpfx)test-ldouble-finite.o): Likewise.
13798         (libm-test-no-inline-cflags): New variable.
13799         (libm-test-finite-cflags): Likewise.
13800         (CFLAGS-test-float-finite.c): Likewise.
13801         (CFLAGS-test-double-finite.c): Likewise.
13802         (CFLAGS-test-ldouble-finite.c): Likewise.
13803         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13804         (CFLAGS-test-double.c): Likewise.
13805         (CFLAGS-test-ldouble.c): Likewise.
13807 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13809         * io/fcntl.c (__fcntl): Add ... to prototype.
13810         * misc/ioctl.c (__ioctl): Likewise.
13811         * misc/syscall.c (syscall): Likewise.
13813 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13815         * scripts/list-fixed-bugs.py: New file.
13817         [BZ #19213]
13818         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13819         returned for argument 1.
13820         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13821         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13822         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13823         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13824         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13825         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13827         [BZ #19211]
13828         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13829         __USE_XOPEN], not if [!__USE_ISOC99].
13830         (lgammaf): Likewise.
13831         (lgammal): Likewise.
13832         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13833         (gammaf): Likewise.
13834         (gammal): Likewise.
13835         * math/test-signgam-finite-c11.c: New file.
13836         * math/test-signgam-finite-c99.c: Likewise.
13837         * math/test-signgam-finite.c: Likewise.
13838         * math/Makefile (tests): Add test-signgam-finite,
13839         test-signgam-finite-c99 and test-signgam-finite-c11.
13840         (CFLAGS-test-signgam-finite.c): New variable.
13841         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13842         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13844         [BZ #19212]
13845         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13846         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13847         500].
13848         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13849         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13850         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13851         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13852         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13853         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13854         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13855         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13856         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13857         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13859         [BZ #19209]
13860         * math/bits/math-finite.h (ldexp): Remove declaration.
13861         (ldexpf): Likewise.
13862         (ldexpl): Likewise.
13864         [BZ #19205]
13865         * math/bits/math-finite.h (acosf): Condition declaration on
13866         [__USE_ISOC99].
13867         (acosl): Likewise.
13868         (acoshf): Likewise.
13869         (acoshl): Likewise.
13870         (asinf): Likewise.
13871         (asinl): Likewise.
13872         (atan2f): Likewise.
13873         (atan2l): Likewise.
13874         (atanhf): Likewise.
13875         (atanhl): Likewise.
13876         (coshf): Likewise.
13877         (coshl): Likewise.
13878         (expf): Likewise.
13879         (expl): Likewise.
13880         (fmodf): Likewise.
13881         (fmodl): Likewise.
13882         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13883         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13884         (j0l): Likewise.
13885         (y0f): Likewise.
13886         (y0l): Likewise.
13887         (j1f): Likewise.
13888         (j1l): Likewise.
13889         (y1f): Likewise.
13890         (y1l): Likewise.
13891         (jnf): Likewise.
13892         (jnl): Likewise.
13893         (ynf): Likewise.
13894         (ynl): Likewise.
13895         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13896         (lgammal_r): Likewise.
13897         (__lgamma_r_finite): New declaration.
13898         (__lgammaf_r_finite): Likewise.
13899         (__lgammal_r_finite): Likewise.
13900         (lgamma): Use __lgamma_r_finite.
13901         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13902         __lgammaf_r_finite.
13903         (lgammal): Condition definition on [__USE_ISOC99].  Use
13904         __lgammal_r_finite.
13905         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13906         __lgamma_r_finite.
13907         (gammaf): Condition definition on [__USE_ISOC99].  Use
13908         __lgammaf_r_finite.
13909         (gammal): Condition definition on [__USE_ISOC99].  Use
13910         __lgammal_r_finite.
13911         (logf): Condition declaration on [__USE_ISOC99].
13912         (logl): Likewise.
13913         (log10f): Likewise.
13914         (log10l): Likewise.
13915         (ldexpf): Likewise.
13916         (ldexpl): Likewise.
13917         (powf): Likewise.
13918         (powl): Likewise.
13919         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13920         __USE_ISOC99].
13921         (remainderf): Condition declaration on [__USE_ISOC99].
13922         (remainderl): Likewise.
13923         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13924         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13925         (scalbl): Likewise.
13926         (sinhf): Condition declaration on [__USE_ISOC99].
13927         (sinhl): Likewise.
13928         (sqrtf): Likewise.
13929         (sqrtl): Likewise.
13931 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13933         * sysdeps/arm/atomic-machine.h
13934         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13935         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13936         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13937         Remove conditional code.
13938         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13939         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13940         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13941         Change conditional to [__ASSEMBLER__].
13942         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13943         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13944         [!__ASSEMBLER__].
13945         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13946         code.
13947         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13948         conditional macro definitions.
13949         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13950         (__arch_compare_and_exchange_val_16_acq): Likewise.
13951         (__arch_compare_and_exchange_val_32_acq): Likewise.
13952         (atomic_exchange_and_add): Likewise.
13953         (atomic_add): Likewise.
13954         (atomic_add_negative): Likewise.
13955         (atomic_add_zero): Likewise.
13956         (atomic_bit_set): Likewise.
13957         (atomic_bit_test_set): Likewise.
13958         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13959         code unconditional.
13960         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13962         * math/test-math-errno.h: New file.
13963         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13964         empty.
13965         (TEST_ERRNO): New macro.
13966         (TEST_EXCEPTIONS): Likewise.
13967         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13968         (TEST_EXCEPTIONS): Likewise.
13969         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13970         * math/test-double.c: Include "test-math-errno.h".
13971         * math/test-float.c: Likewise.
13972         * math/test-ldouble.c: Likewise.
13973         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13974         code unconditional.
13975         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13976         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13977         unconditional.
13978         (test_errno): Only run code if TEST_ERRNO.
13979         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13981 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13983         * nptl/tst-once5.cc: Remove attribution.
13985 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13987         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13988         sqrt, tan, tanh, y0, y1 and yn.
13989         * math/auto-libm-test-out: Regenerated.
13990         * math/libm-test.inc (scalb_test_data): Add more tests.
13991         (scalbn_test_data): Likewise.
13992         (scalbln_test_data): Likewise.
13993         (signbit_test_data): Likewise.
13994         (sin_test_data): Likewise.
13995         (sincos_test_data): Likewise.
13996         (sinh_test_data): Likewise.
13997         (sqrt_test_data): Likewise.
13998         (tan_test_data): Likewise.
13999         (tanh_test_data): Likewise.
14000         (tgamma_test_data): Likewise.
14001         (y0_test_data): Likewise.
14002         (y1_test_data): Likewise.
14003         (yn_test_data): Likewise.
14004         (significand_test_data): Likewise.
14005         * sysdeps/i386/fpu/libm-test-ulps: Update.
14007 2015-11-03  David Kastrup  <dak@gnu.org>
14009         [BZ #18604]
14010         * assert/assert.h (assert): Don't macro-expand failed assertion
14011         expression in error message.
14012         * malloc/malloc.c (assert): Likewise.
14014 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14016         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14017         test.
14018         * configure: Regenerated.
14020 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14022         * math/libm-test.inc (modf_test_data): Add more tests.
14023         (nearbyint_test_data): Likewise.
14024         (nextafter_test_data): Likewise.
14025         (nexttoward_test_data): Likewise.
14026         (pow_test_data): Likewise.
14027         (remainder_test_data): Likewise.
14028         (remquo_test_data): Likewise.
14029         (rint_test_data): Likewise.
14031         [BZ #19201]
14032         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14033         Check for zero remainder in case of large exponents and ensure
14034         correct sign of result in that case.
14035         * math/libm-test.inc (remainder_test_data): Add more tests.
14037         [BZ #6799]
14038         * math/s_nextafter.c: Include <errno.h>.
14039         (__nextafter): Set errno on overflow and underflow.
14040         * math/s_nexttowardf.c: Include <errno.h>.
14041         (__nexttowardf): Set errno on overflow and underflow.
14042         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14043         (__nextafterl): Set errno on overflow and underflow.
14044         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14045         (__nexttoward): Set errno on overflow and underflow.
14046         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14047         (__nexttowardf): Set errno on overflow and underflow.
14048         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14049         (__nextafterf): Set errno on overflow and underflow.
14050         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14051         (__nextafterl): Set errno on overflow and underflow.
14052         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14053         (__nexttoward): Set errno on overflow and underflow.
14054         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14055         (__nexttowardf): Set errno on overflow and underflow.
14056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14057         (__nextafterl): Set errno on overflow and underflow.
14058         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14059         (__nexttoward): Set errno on overflow and underflow.
14060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14061         (__nexttowardf): Set errno on overflow and underflow.
14062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14063         (__nexttoward): Set errno on overflow and underflow.
14064         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14065         (__nexttowardf): Set errno on overflow and underflow.
14066         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14067         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14068         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14069         (__nextafterl): Set errno on overflow and underflow.
14070         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14071         setting to be missing on overflow.  Add more tests.
14072         (nexttoward_test_data): Likewise.
14074         * configure.ac (libc_cv_initfini_array): Remove configure test.
14075         * configure: Regenerated.
14077 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #19189]
14080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14081         non-finite argument handle arguments with negative sign.
14083         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14084         result from infinite argument.
14085         (j1_test_data): Likewise.
14086         (jn_test_data): Likewise.
14087         (y0_test_data): Likewise.
14088         (y1_test_data): Likewise.
14089         (yn_test_data): Likewise.
14091         [BZ #16171]
14092         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14093         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14094         * math/w_remainderf.c (dremf): Define as weak alias of
14095         __remainderf.
14096         * math/w_remainderl.c (dreml): Define as weak alias of
14097         __remainderl.
14098         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14099         __remainder.
14100         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14101         __remainderf.
14102         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14103         __remainderl.
14104         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14105         weak alias of remainderl.
14106         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14107         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14108         alias of __remainder.
14109         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14110         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14111         strong alias of __remainderl.
14112         (dreml): Use long_double_symbol.
14113         * math/Makefile (libm-calls): Remove w_drem.
14114         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14115         (CFLAGS-nldbl-drem.c): Remove variable.
14116         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14117         * math/w_drem.c: Remove file.
14118         * math/w_dremf.c: Likewise.
14119         * math/w_dreml.c: Likewise.
14120         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14121         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14122         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14124         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14125         * sysdeps/i386/configure: Regenerated.
14126         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14127         * sysdeps/x86_64/configure: Regenerated.
14129         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14130         test.
14131         (libc_cv_visibility_attribute): Likewise.
14132         (libc_cv_protected_data): Test unconditionally.
14133         (libc_cv_broken_visibility_attribute): Remove configure test.
14134         (libc_cv_have_sdata_section): Test unconditionally.
14135         * configure: Regenerated.
14137         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14138         * include/scratch_buffer.h: Include <stddef.h> instead of
14139         <libc-internal.h>.
14140         (struct scratch_buffer): Use max_align_t instead of
14141         libc_max_align_t.
14143 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14145         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14146         instead of extend_alloca.  Change control flow to avoid a goto.
14147         Remove assert which is trivially always true.
14149 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14151         [BZ #16068]
14152         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14153         (FE_ALL_EXCEPT_X86): New macro.
14154         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14155         FE_ALL_EXCEPT.  Ensure precision control is included in
14156         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14157         handle "denormal operand exception" and clear FZ and DAZ bits.
14158         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14159         (FE_ALL_EXCEPT_X86): New macro.
14160         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14161         FE_ALL_EXCEPT.  Ensure precision control is included in
14162         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14163         handle "denormal operand exception" and clear FZ and DAZ bits.
14164         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14165         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14166         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14167         test-fenv-x87 and test-fenv-sse-2.
14168         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14170         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14171         * math/test-double.h (BUILD_COMPLEX): New macro.
14172         * math/test-float.h (BUILD_COMPLEX): Likewise.
14173         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14175         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14176         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14177         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14179         instead of DBL_DENORM_MIN in comment.
14180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14181         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14182         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14183         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14185         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14187 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14189         [BZ# 19048]
14190         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14191         attached_threads member.
14192         (main_arena): Initialize attached_threads.
14193         * malloc/arena.c (list_lock): Update comment.
14194         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14195         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14196         (deattach_arena): New function.
14197         (_int_new_arena): Initialize arena reference count and deattach
14198         replaced arena.
14199         (get_free_list, reused_arena): Update reference count and deattach
14200         replaced arena.
14201         (arena_thread_freeres): Update arena reference count and only put
14202         unreferenced arenas on the free list.
14204 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14206         [BZ #19181]
14207         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14208         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14209         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14210         * math/test-fenv-clear-main.c: New file.
14211         * math/test-fenv-clear.c: Likewise.
14212         * math/Makefile (tests): Add test-fenv-clear.
14213         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14214         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14215         test-fenv-clear-sse.
14216         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14218         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14219         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14220         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14222 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14224         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14225         static libc.
14227 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14229         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14230         test.
14231         * sysdeps/i386/configure: Regenerated.
14232         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14233         test.
14234         * sysdeps/x86_64/configure: Regenerated.
14235         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14237         memset-avx2 unconditionally instead of conditionally on
14238         [$(config-cflags-avx2) = yes].
14239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14240         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14241         unconditional.
14242         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14243         * sysdeps/x86_64/multiarch/memset_chk.S
14244         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14245         to [IS_IN (libc) && SHARED].
14247 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14249         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14250         configure test.
14251         * sysdeps/arm/configure: Regenerated.
14252         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14253         Define variable if not already defined.
14255         [BZ #17404]
14256         * sysdeps/mips/atomic-machine.h
14257         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14258         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14259         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14261         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14262         unconditional.
14263         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14264         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14265         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14266         unconditional.
14267         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14268         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14269         unconditional.
14270         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14271         * stdlib/setenv.c
14272         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14273         code unconditional.
14274         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14275         Remove conditional code.
14276         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14277         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14278         unconditional.
14279         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14280         code.
14281         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14282         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14283         unconditional.
14284         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14285         code.
14286         * sysdeps/ieee754/ldbl-128/k_tanl.c
14287         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14288         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14289         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14290         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14291         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14292         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14293         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14294         unconditional.
14295         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14296         code.
14297         * sysdeps/ieee754/ldbl-96/k_tanl.c
14298         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14299         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14301         * nptl/tst-initializers1-c11.c: New file.
14302         * nptl/tst-initializers1-gnu11.c: Likewise.
14303         * nptl/Makefile (tests): Add these new tests.
14304         (CFLAGS-tst-initializers1-c11.c): New variable.
14305         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14307         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14308         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14309         instead of -std=gnu99.
14310         * configure.ac (systemtap): Test with -std=gnu11 instead of
14311         -std=gnu99.
14312         * configure: Regenerated.
14313         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14314         in compilation command in comment.
14316         * sysdeps/nptl/configure.ac: Remove file.
14317         * sysdeps/nptl/configure: Remove generated file.
14318         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14319         * configure: Regenerated.
14320         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14321         * config.make.in (have-forced-unwind): Remove variable.
14322         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14323         unconditional.
14324         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14325         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14326         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14327         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14328         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14329         unconditional.
14331 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14333         [BZ #19174]
14334         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14335         .skip_lock_out_of_tbegin_retries.
14336         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14337         (__lll_lock_elision): Likewise, and respect a value of
14338         try_tbegin <= 0.
14340 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14342         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14343         statement.
14345 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14347         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14348         variable.
14349         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14350         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14352         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14353         of -std=c1x -D_ISOC11_SOURCE.
14355         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14356         * configure: Regenerated.
14357         * manual/install.texi (Tools for Compilation): Document
14358         requirement for GCC 4.7 or later.
14359         * INSTALL: Regenerated.
14361 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14363         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14364         on CNT to a conditional jump to 'puntdata'.
14366 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14368         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14369         (libc_cv_gcc_tls_model_attr): Likewise.
14370         * configure: Regenerated.
14372         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14373         * configure: Regenerated.
14374         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14376 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14378         * configure.ac (old_glibc_headers): Remove configure test.
14379         * configure: Regenerated.
14380         * config.make.in (old-glibc-headers): Remove variable.
14381         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14382         (install): Remove dependency on remove-old-headers.
14383         (headers2_0): Remove variable.
14384         (remove-old-headers): Remove rule.
14386         * configure.ac (libc_cv_dot_text): Remove configure test.
14387         (libc_cv_asm_set_directive): Use .text instead of
14388         ${libc_cv_dot_text} in configure test.
14389         * configure: Regenerated.
14391 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14393         [BZ #19168]
14394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14396 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14398         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14399         not support static linking.
14400         * configure: Regenerate.
14402 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14404         * math/libm-test.inc (check_float_internal): Do not special-case
14405         errors up to 0.5 ulp.
14407         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14408         log2.
14409         * math/auto-libm-test-out: Regenerated.
14410         * math/libm-test.inc (MAX_EXP): New macro.
14411         (ilogb_test_data): Add more tests.
14412         (isfinite_test_data): Likewise.
14413         (isgreater_test_data): Likewise.
14414         (isgreaterequal_test_data): Likewise.
14415         (isinf_test_data): Likewise.
14416         (isless_test_data): Likewise.
14417         (islessequal_test_data): Likewise.
14418         (islessgreater_test_data): Likewise.
14419         (isnan_test_data): Likewise.
14420         (isnormal_test_data): Likewise.
14421         (issignaling_test_data): Likewise.
14422         (isunordered_test_data): Likewise.
14423         (j0_test_data): Likewise.
14424         (j1_test_data): Likewise.
14425         (jn_test_data): Likewise.
14426         (lgamma_test_data): Likewise.
14427         (log_test_data): Likewise.
14428         (log10_test_data): Likewise.
14429         (log1p_test_data): Likewise.
14430         (log2_test_data): Likewise.
14431         (logb_test_data): Likewise.
14432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14434         [BZ #18611]
14435         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14436         avoid excess range and precision on underflow.
14437         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14438         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14440         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14441         underflow.
14442         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14444         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14446         * math/auto-libm-test-in: Do not allow missing errno setting for
14447         tests of j1 and jn.
14448         * math/auto-libm-test-out: Regenerated.
14450 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14452         [BZ #15491]
14453         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14454         floating-point environment instead of clearing all exceptions.
14455         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14456         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14457         merging in "invalid" exceptions from frndint.
14458         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14459         * math/test-nearbyint-except.c: New file.
14460         * math/Makefile (tests): Add test-nearbyint-except.
14462 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14464         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14466         * sysdeps/tile/libm-test-ulps: Regenerated.
14468 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14471         (__NR_sync_file_range2): Assume it is always defined.
14472         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14473         (__NR_sync_file_range): Assume it is always defined.
14475 2015-10-22  Andreas Schwab  <schwab@suse.de>
14477         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14478         INTERNAL_SYSCALL_ERRNO.
14479         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14480         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14482         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14483         Likewise.
14484         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14486 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14488         * io/tst-fcntl.c (fd): New static variable.
14489         (do_prepare): Open temporary file here....
14490         (do_test): ...not here.
14492         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14494 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14496         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14497         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14498         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14499         Moved before "#ifdef __ASSEMBLER__".
14501 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #19156]
14504         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14505         arguments very close to 0.
14507 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14509         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14510         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14512 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14514         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14515         New.  Defined for GCC 5 and above when not compiling for
14516         profiling.
14517         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14519         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14520         Renamed to ...
14521         (CFLAGS-epoll_pwait.o): This.
14522         (CFLAGS-mmap.c): Renamed to ...
14523         (CFLAGS-mmap.o): This.
14524         (CFLAGS-mmap64.c): Renamed to ...
14525         (CFLAGS-mmap64.o): This.
14526         (CFLAGS-epoll_pwait.os): New.
14527         (CFLAGS-mmap.os): Likewise.
14528         (CFLAGS-mmap64.os): Likewise.
14529         (CFLAGS-semtimedop.os): Likewise.
14530         (CFLAGS-semtimedop.c): Renamed to ...
14531         (CFLAGS-semtimedop.o): This.
14533 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14535         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14536         warning message.
14538 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14540         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14541         * Makefile ($(objpfx)c++-types-check.out): Filter out
14542         $(+gccwarn-c) instead of -Wstrict-prototypes.
14544         * io/fts.c (fts_open): Convert to prototype-style function
14545         definition.
14546         * malloc/mcheck.c (mcheck): Likewise.
14547         (mcheck_pedantic): Likewise.
14548         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14549         internal_function.
14550         (re_search_internal): Likewise.
14551         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14552         prototype-style function definition.
14553         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14554         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14555         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14556         (xdr_utmpptr): Likewise.
14557         (xdr_utmparr): Likewise.
14558         (xdr_utmpidle): Likewise.
14559         (xdr_utmpidleptr): Likewise.
14560         (xdr_utmpidlearr): Likewise.
14562         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14563         log, log10 and log2.
14564         * math/auto-libm-test-out: Regenerated.
14565         * math/libm-test.inc (fmod_test_data): Add more tests.
14566         (fpclassify_test_data): Likewise.
14567         (frexp_test_data): Likewise.
14568         (hypot_test_data): Likewise.
14569         (ilogb_test_data): Likewise.
14571 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14573         * debug/fortify_fail.c (__fortify_fail): Convert to
14574         prototype-style function definition.  Use internal_function.
14575         * libio/genops.c (save_for_backup): Convert to prototype-style
14576         function definition.
14577         * libio/wgenops.c (save_for_wbackup): Likewise.
14578         * login/grantpt.c (grantpt): Likewise.
14579         * login/ptsname.c (ptsname): Likewise.
14580         (__ptsname_r): Likewise.
14581         * login/unlockpt.c (unlockpt): Likewise.
14582         * mach/msgserver.c (__mach_msg_server): Likewise.
14583         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14584         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14585         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14586         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14587         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14588         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14589         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14590         Likewise.
14591         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14592         internal_function.
14593         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14594         prototype-style function definition.
14595         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14596         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14597         (__pthread_create_2_0): Likewise.
14598         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14599         * nptl/register-atfork.c (__register_atfork): Likewise.
14600         * posix/glob.c (glob): Likewise.
14601         * posix/regcomp.c (re_comp): Likewise.
14602         * posix/regexec.c (re_exec): Likewise.
14603         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14604         [!__STDC__]: Remove conditional code.
14605         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14606         [!__STDC__]: Remove conditional code.
14607         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14608         [!__STDC__]: Remove conditional code.
14609         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14610         [!__STDC__]: Remove conditional code.
14611         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14612         [!__STDC__]: Remove conditional code.
14613         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14614         [!__STDC__]: Remove conditional code.
14615         * stdlib/mul.c [__STDC__]: Make code unconditional.
14616         [!__STDC__]: Remove conditional code.
14617         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14618         [!__STDC__]: Remove conditional code.
14619         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14620         [!__STDC__]: Remove conditional code.
14621         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14622         function definition.
14623         (STRTOF): Likewise.
14624         * stdlib/strtod_l.c (__STRTOF): Likewise.
14625         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14626         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14627         (__strtol_l): Likewise.
14628         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14629         [!__STDC__]: Remove conditional code.
14630         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14631         definition.
14632         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14633         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14634         type.
14635         (__strcasecmp): Convert to prototype-style function definition.
14636         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14637         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14638         type.
14639         (__strncasecmp): Convert to prototype-style function definition.
14640         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14641         * sunrpc/xdr.c (xdr_union): Likewise.
14642         * sunrpc/xdr_array.c (xdr_array): Likewise.
14643         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14644         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14645         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14646         Likewise.
14647         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14648         Likewise.
14649         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14650         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14651         Likewise.
14652         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14653         (LOCALE_PARAM_PROTO): Likewise.
14654         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14655         argument type.
14656         (ut_argument_spec): Remove macro.
14657         (ut_argument_spec_iso): Rename to ut_argument_spec.
14658         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14659         prototype-style function definition.
14660         (memcpy_uppcase): Likewise.
14661         (__strftime_internal): Likewise.
14662         (my_strftime): Likewise.
14663         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14664         (LOCALE_PARAM_DECL): Likewise.
14665         [_LIBC] (LOCALE_PARAM): Include argument type.
14666         (__strptime_internal): Convert to prototype-style function
14667         definition.
14668         (strptime): Likewise.
14669         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14670         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14671         type.
14672         (__wcscasecmp): Convert to prototype-style function definition.
14673         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14674         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14675         type.
14676         (__wcsncasecmp): Convert to prototype-style function definition.
14678         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14679         function definition.
14680         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14681         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14682         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14683         * elf/dl-minimal.c (_itoa): Likewise.
14684         * hurd/hurdmalloc.c (malloc): Likewise.
14685         (free): Likewise.
14686         (realloc): Likewise.
14687         * inet/inet6_option.c (inet6_option_space): Likewise.
14688         (inet6_option_init): Likewise.
14689         (inet6_option_append): Likewise.
14690         (inet6_option_alloc): Likewise.
14691         (inet6_option_next): Likewise.
14692         (inet6_option_find): Likewise.
14693         * io/ftw.c (FTW_NAME): Likewise.
14694         (NFTW_NAME): Likewise.
14695         (NFTW_NEW_NAME): Likewise.
14696         (NFTW_OLD_NAME): Likewise.
14697         * libio/iofwide.c (_IO_fwide): Likewise.
14698         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14699         (_IO_str_init_static): Likewise.
14700         (_IO_str_init_readonly): Likewise.
14701         (_IO_str_overflow): Likewise.
14702         (_IO_str_underflow): Likewise.
14703         (_IO_str_count): Likewise.
14704         (_IO_str_seekoff): Likewise.
14705         (_IO_str_pbackfail): Likewise.
14706         (_IO_str_finish): Likewise.
14707         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14708         (_IO_wstr_overflow): Likewise.
14709         (_IO_wstr_underflow): Likewise.
14710         (_IO_wstr_count): Likewise.
14711         (_IO_wstr_seekoff): Likewise.
14712         (_IO_wstr_pbackfail): Likewise.
14713         (_IO_wstr_finish): Likewise.
14714         * locale/programs/localedef.c (normalize_codeset): Likewise.
14715         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14716         (add_locales_to_archive): Likewise.
14717         (delete_locales_from_archive): Likewise.
14718         * malloc/malloc.c (__libc_mallinfo): Likewise.
14719         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14720         * misc/tsearch.c (__tfind): Likewise.
14721         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14722         * nptl/pthread_attr_getdetachstate.c
14723         (__pthread_attr_getdetachstate): Likewise.
14724         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14725         Likewise.
14726         * nptl/pthread_attr_getinheritsched.c
14727         (__pthread_attr_getinheritsched): Likewise.
14728         * nptl/pthread_attr_getschedparam.c
14729         (__pthread_attr_getschedparam): Likewise.
14730         * nptl/pthread_attr_getschedpolicy.c
14731         (__pthread_attr_getschedpolicy): Likewise.
14732         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14733         Likewise.
14734         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14735         Likewise.
14736         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14737         Likewise.
14738         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14739         Likewise.
14740         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14741         (__pthread_attr_init_2_0): Likewise.
14742         * nptl/pthread_attr_setdetachstate.c
14743         (__pthread_attr_setdetachstate): Likewise.
14744         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14745         Likewise.
14746         * nptl/pthread_attr_setinheritsched.c
14747         (__pthread_attr_setinheritsched): Likewise.
14748         * nptl/pthread_attr_setschedparam.c
14749         (__pthread_attr_setschedparam): Likewise.
14750         * nptl/pthread_attr_setschedpolicy.c
14751         (__pthread_attr_setschedpolicy): Likewise.
14752         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14753         Likewise.
14754         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14755         Likewise.
14756         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14757         Likewise.
14758         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14759         Likewise.
14760         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14761         Likewise.
14762         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14763         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14764         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14765         use internal_function.
14766         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14767         prototype-style function definition.
14768         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14769         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14770         internal_function.
14771         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14772         Convert to prototype-style function definition.
14773         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14774         Likewise.
14775         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14776         Likewise.
14777         (__pthread_mutex_unlock): Likewise.
14778         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14779         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14780         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14781         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14782         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14783         * nss/makedb.c (process_input): Likewise.
14784         * posix/fnmatch.c (__strchrnul): Likewise.
14785         (__wcschrnul): Likewise.
14786         (fnmatch): Likewise.
14787         * posix/fnmatch_loop.c (FCT): Likewise.
14788         * posix/glob.c (globfree): Likewise.
14789         (__glob_pattern_type): Likewise.
14790         (__glob_pattern_p): Likewise.
14791         * posix/regcomp.c (re_compile_pattern): Likewise.
14792         (re_set_syntax): Likewise.
14793         (re_compile_fastmap): Likewise.
14794         (regcomp): Likewise.
14795         (regerror): Likewise.
14796         (regfree): Likewise.
14797         * posix/regexec.c (regexec): Likewise.
14798         (re_match): Likewise.
14799         (re_search): Likewise.
14800         (re_match_2): Likewise.
14801         (re_search_2): Likewise.
14802         (re_search_stub): Likewise.  Use internal_function
14803         (re_copy_regs): Likewise.
14804         (re_set_registers): Convert to prototype-style function
14805         definition.
14806         (prune_impossible_nodes): Likewise.  Use internal_function.
14807         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14808         prototype-style function definition.
14809         (inet_net_pton_ipv4): Likewise.
14810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14811         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14812         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14813         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14814         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14815         Make variadic.
14816         * time/strptime_l.c (localtime_r): Convert to prototype-style
14817         function definition.
14818         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14819         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14820         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14821         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14823         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14824         definition.
14825         (_ufc_doit_r): Likewise.
14826         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14827         (_ufc_output_conversion_r): Likewise.
14828         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14829         * inet/rcmd.c (rcmd_af): Likewise.
14830         (rcmd): Likewise.
14831         (ruserok_af): Likewise.
14832         (ruserok): Likewise.
14833         (ruserok2_sa): Likewise.
14834         (ruserok_sa): Likewise.
14835         (iruserok_af): Likewise.
14836         (iruserok): Likewise.
14837         (__ivaliduser): Likewise.
14838         (__validuser2_sa): Likewise.
14839         * inet/rexec.c (rexec_af): Likewise.
14840         (rexec): Likewise.
14841         * inet/ruserpass.c (ruserpass): Likewise.
14842         * locale/programs/xmalloc.c (xcalloc): Likewise.
14843         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14844         * math/w_drem.c (__drem): Likewise.
14845         * math/w_dremf.c (__dremf): Likewise.
14846         * math/w_dreml.c (__dreml): Likewise.
14847         * misc/daemon.c (daemon): Likewise.
14848         * resolv/res_debug.c (p_fqnname): Likewise.
14849         * stdlib/div.c (div): Likewise.
14850         * string/memcmp.c (memcmp_bytes): Likewise.
14851         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14852         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14854         * crypt/cert.c (main): Convert to prototype-style function
14855         definition.
14856         * io/pipe.c (__pipe): Likewise.
14857         * io/pipe2.c (__pipe2): Likewise.
14858         * misc/futimesat.c (futimesat): Likewise.
14859         * misc/utimes.c (__utimes): Likewise.
14860         * posix/execve.c (__execve): Likewise.
14861         * posix/execvp.c (execvp): Likewise.
14862         * posix/execvpe.c (__execvpe): Likewise.
14863         * posix/fexecve.c (fexecve): Likewise.
14864         * socket/socketpair.c (socketpair): Likewise.
14865         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14866         * stdlib/erand48.c (erand48): Likewise.
14867         * stdlib/erand48_r.c (__erand48_r): Likewise.
14868         * stdlib/jrand48.c (jrand48): Likewise.
14869         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14870         * stdlib/lcong48.c (lcong48): Likewise.
14871         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14872         * stdlib/nrand48.c (nrand48): Likewise.
14873         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14874         * stdlib/seed48.c (seed48): Likewise.
14875         * stdlib/seed48_r.c (__seed48_r): Likewise.
14876         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14877         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14878         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14880 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14882         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14883         * configure: Regenerated.
14884         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14885         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14886         unconditional.
14887         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14888         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14889         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14890         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14891         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14892         unconditional.
14893         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14895         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14896         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14898         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14899         function definition.
14900         * crypt/crypt_util.c (__encrypt_r): Likewise.
14901         * libio/genops.c (_IO_no_init): Likewise.
14902         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14903         (_IO_old_fopencookie): Likewise.
14904         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14905         * libio/iogetline.c (_IO_getline): Likewise.
14906         (_IO_getline_info): Likewise.
14907         * libio/iogetwline.c (_IO_getwline): Likewise.
14908         (_IO_getwline_info): Likewise.
14909         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14910         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14911         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14912         (find_entry): Likewise.
14913         (iterate_table): Likewise.
14914         (lookup): Likewise.
14915         * login/forkpty.c (forkpty): Likewise.
14916         * misc/hsearch_r.c (__hsearch_r): Likewise.
14917         * misc/select.c (__select): Likewise.
14918         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14919         Likewise.
14920         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14921         Likewise.
14922         * nptl/old_pthread_cond_timedwait.c
14923         (__pthread_cond_timedwait_2_0): Likewise.
14924         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14925         * nptl/pthread_barrierattr_getpshared.c
14926         (pthread_barrierattr_getpshared): Likewise.
14927         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14928         Likewise.
14929         * nptl/pthread_mutex_setprioceiling.c
14930         (pthread_mutex_setprioceiling): Likewise.
14931         * nptl/pthread_mutexattr_getprioceiling.c
14932         (pthread_mutexattr_getprioceiling): Likewise.
14933         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14934         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14935         Likewise.
14936         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14937         Likewise.
14938         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14939         Likewise.
14940         * socket/recvfrom.c (__recvfrom): Likewise.
14941         * socket/sendto.c (__sendto): Likewise.
14942         * socket/setsockopt.c (__setsockopt): Likewise.
14943         * stdio-common/_itoa.c (_itoa): Likewise.
14944         * stdio-common/_itowa.c (_itowa): Likewise.
14945         * stdio-common/reg-printf.c (__register_printf_specifier):
14946         Likewise.
14947         (__register_printf_function): Likewise.
14948         * stdio-common/tempname.c (__path_search): Likewise.
14949         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14950         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14951         * stdlib/random_r.c (__initstate_r): Likewise.
14952         * stdlib/setenv.c (__add_to_environ): Likewise.
14953         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14954         * streams/getpmsg.c (getpmsg): Likewise.
14955         * streams/putmsg.c (putmsg): Likewise.
14956         * streams/putpmsg.c (putpmsg): Likewise.
14957         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14958         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14959         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14960         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14961         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14962         * sunrpc/svc_udp.c (cache_get): Likewise.
14963         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14964         * sysdeps/mach/hurd/getcwd.c
14965         (__canonicalize_directory_name_internal): Likewise.
14966         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14967         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14968         * sysdeps/mach/hurd/select.c (__select): Likewise.
14969         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14970         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14971         * sysdeps/sparc/nptl/pthread_barrier_init.c
14972         (__pthread_barrier_init): Likewise.
14973         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14974         (__pthread_cond_timedwait): Likewise.
14975         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14976         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14977         Likewise.
14978         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14979         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14980         Likewise.
14981         * sysvipc/semtimedop.c (semtimedop): Likewise.
14982         * time/setitimer.c (__setitimer): Likewise.
14983         * time/strftime_l.c (emacs_strftime): Likewise.
14985 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14987         * config.make.in (have-ssp): Delete.
14988         (stack-protector): New variable.
14989         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14990         cache test for -fstack-protector-strong.  Export stack_protector to
14991         the best ssp flag.
14992         * configure: Regenerated.
14993         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14994         * nscd/Makefile (CFLAGS-nscd): Likewise.
14995         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14997 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14999         [BZ #19122]
15000         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15001         attribute_hidden.
15003 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15005         [BZ #18743]
15006         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15007         code to...
15008         (ELIDE_LOCK): ...here.
15009         (__get_new_count): New function with part of the code from
15010         __elide_lock that updates the value of adapt_count after a
15011         transaction abort.
15012         (__elided_trylock): Moved this code to...
15013         (ELIDE_TRYLOCK): ...here.
15015 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15017         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15018         * configure: Regenerate.
15019         * INSTALL: Regenerate.
15020         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15021         and tweak grammar.
15023 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15025         * login/programs/pt_chown.c: Include signal.h
15026         (main): Clear any signal mask from the parent process.
15028 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15030         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15031         * configure: Regenerated.
15032         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15033         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15034         $(gnu89-inline-CFLAGS).
15036         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15037         test.
15038         (libc_cv_asm_weakext_directive): Likewise.
15039         * configure: Regenerated.
15040         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15041         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15042         * include/libc-symbols.h
15043         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15044         #error.
15045         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15046         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15048         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15049         prototype-style function definition.
15050         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15051         * sysdeps/i386/ffs.c (__ffs): Likewise.
15052         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15053         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15054         Likewise.
15055         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15056         Likewise.
15057         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15059         Likewise.
15060         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15061         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15062         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15063         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15064         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15065         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15066         * sysdeps/mach/hurd/access.c (__access): Likewise.
15067         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15068         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15069         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15070         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15071         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15072         (cthread_getspecific): Likewise.
15073         (cthread_setspecific): Likewise.
15074         (__libc_getspecific): Likewise.
15075         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15076         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15077         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15078         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15079         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15080         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15081         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15082         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15083         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15084         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15085         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15086         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15087         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15088         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15089         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15090         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15091         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15092         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15093         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15094         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15095         * sysdeps/mach/hurd/link.c (__link): Likewise.
15096         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15097         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15098         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15099         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15100         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15101         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15102         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15103         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15104         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15105         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15106         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15107         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15108         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15109         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15110         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15111         * sysdeps/mach/hurd/send.c (__send): Likewise.
15112         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15113         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15114         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15115         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15116         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15117         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15118         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15119         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15120         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15121         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15122         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15123         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15124         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15125         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15126         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15127         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15128         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15129         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15130         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15131         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15132         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15133         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15134         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15135         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15136         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15137         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15138         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15139         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15140         * sysdeps/posix/alarm.c (alarm): Likewise.
15141         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15142         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15143         * sysdeps/posix/dup.c (__dup): Likewise.
15144         * sysdeps/posix/dup2.c (__dup2): Likewise.
15145         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15146         (main): Likewise.
15147         * sysdeps/posix/flock.c (__flock): Likewise.
15148         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15149         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15150         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15151         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15152         * sysdeps/posix/isatty.c (__isatty): Likewise.
15153         * sysdeps/posix/killpg.c (killpg): Likewise.
15154         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15155         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15156         * sysdeps/posix/raise.c (raise): Likewise.
15157         * sysdeps/posix/remove.c (remove): Likewise.
15158         * sysdeps/posix/rename.c (rename): Likewise.
15159         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15160         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15161         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15162         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15163         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15164         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15165         * sysdeps/posix/sigset.c (sigset): Likewise.
15166         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15167         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15168         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15169         * sysdeps/posix/time.c (time): Likewise.
15170         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15171         (ttyname): Likewise.
15172         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15173         * sysdeps/posix/utime.c (utime): Likewise.
15174         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15175         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15176         Likewise.
15177         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15178         (pthread_spin_trylock): Likewise.
15179         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15180         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15181         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15182         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15183         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15184         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15185         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15186         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15187         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15188         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15189         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15190         * sysdeps/s390/ffs.c (__ffs): Likewise.
15191         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15192         Likewise.
15193         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15194         Likewise.
15195         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15196         Likewise.
15197         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15198         (pthread_barrier_destroy): Likewise.
15199         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15200         (__pthread_barrier_wait): Likewise.
15201         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15202         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15203         (__pthread_barrier_wait): Likewise.
15204         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15205         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15206         (memcmp_not_common_alignment): Likewise.
15207         (MEMCMP): Likewise.
15208         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15209         (_wordcopy_fwd_dest_aligned): Likewise.
15210         (_wordcopy_bwd_aligned): Likewise.
15211         (_wordcopy_bwd_dest_aligned): Likewise.
15212         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15213         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15214         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15215         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15216         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15217         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15218         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15219         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15220         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15221         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15222         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15223         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15224         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15225         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15226         * sysdeps/unix/stime.c (stime): Likewise.
15227         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15228         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15229         Likewise.  Use internal_function.
15230         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15231         Convert to prototype-style function definition.
15232         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15233         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15235         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15236         Likewise.  Use internal_function.
15237         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15238         prototype-style function definition
15239         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15240         Likewise.
15241         (__getlogin_r): Likewise.
15242         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15243         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15244         (__pthread_cond_broadcast): Likewise.
15245         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15246         (__pthread_cond_destroy): Likewise.
15247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15248         (__pthread_cond_init): Likewise.
15249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15250         (__pthread_cond_signal): Likewise.
15251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15252         (__pthread_cond_wait): Likewise.
15253         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15254         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15255         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15256         Likewise.
15257         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15258         Likewise.
15259         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15260         Likewise.
15261         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15262         Likewise.
15263         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15265         (__ftruncate64): Likewise.
15266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15267         (truncate64): Likewise.
15268         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15269         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15270         (pthread_getcpuclockid): Likewise.
15271         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15272         Likewise.
15273         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15274         Likewise.
15275         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15276         Likewise.
15277         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15278         Likewise.
15279         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15280         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15281         (__libc_sigaction): Likewise.
15282         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15283         Likewise.
15284         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15285         (__sigprocmask): Likewise.
15286         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15287         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15288         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15289         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15290         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15291         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15292         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15293         Likewise.
15294         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15295         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15296         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15297         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15298         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15299         Likewise.
15300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15301         (__sigprocmask): Likewise.
15302         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15303         (cfgetispeed): Likewise.
15304         (cfsetospeed): Likewise.
15305         (cfsetispeed): Likewise.
15306         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15307         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15308         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15309         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15310         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15311         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15312         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15313         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15314         Likewise.
15315         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15316         Likewise.
15317         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15318         Likewise.
15319         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15320         Likewise.
15321         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15323 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15325         sunrpc: Rewrite with explicit TLS access using __thread.
15326         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15327         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15328         directly.
15329         (__rpc_thread_variables): Access thread_rpc_vars directly.
15330         Eliminate redundant assignment of the tvp variable.
15332 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15334         malloc: Rewrite with explicit TLS access using __thread.
15335         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15336         (tsd_setspecific, tsd_getspecific): Remove.
15337         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15338         (tsd_setspecific, tsd_getspecific): Likewise.
15339         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15340         (tsd_setspecific, tsd_getspecific): Likewise.
15341         * malloc/arena.c (thread_arena): New TLS variable.
15342         (arena_key): Remove variable.
15343         (arena_get): Use thread_arena.
15344         (arena_lookup): Remove macro.
15345         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15346         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15347         (_int_new_arena, get_free_list, reused_arena)
15348         (arena_thread_freeres): Use thread_arena.
15349         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15350         tsd_getspecific, tsd_setspecific from safety annotations.
15351         (Allocating Cleared Space): Remove arena_lookup from safety
15352         annotations.
15354 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15356         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15357         struct scratch_buffer instead of extend_alloca.
15359 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15361         * sysdeps/unix/sysv/linux/kernel-features.h
15362         (__ASSUME_SOCK_CLOEXEC): Remove.
15363         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15364         (__have_paccept): Remove unused macro.
15365         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15366         * misc/syslog.c (openlog_internal): Remove fallback code for
15367         !__ASSUME_SOCK_CLOEXEC.
15368         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15369         missing SOCK_CLOEXEC.
15370         * nscd/connections.c (have_sock_cloexec): Remove definition.
15371         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15372         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15373         !__ASSUME_SOCK_CLOEXEC.
15374         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15375         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15376         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15377         definition.
15378         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15379         code for !__ASSUME_SOCK_CLOEXEC.
15381 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15383         [BZ #18982]
15384         * manual/stdio.texi (Variable Arguments Output): Add portability
15385         note, explaining that vfprintf clobbers the va_list pointer.
15387 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15389         * math/libm-test.inc (fabs_test_data): Add more tests.
15390         (fdim_test_data): Likewise.
15391         (fma_test_data): Likewise.
15392         (fmax_test_data): Likewise.
15393         (fmin_test_data): Likewise.
15394         (fmod_test_data): Likewise.
15396 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15398         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15399         data.
15401 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15403         * math/libm-test.inc (ceil_test_data): Add more tests and more
15404         expectations for "inexact".
15405         (floor_test_data): Add more tests.
15406         (round_test_data): Likewise.
15407         (trunc_test_data): Likewise.
15409         * crypt/cert.c (good_bye): Convert to prototype-style function
15410         definition.
15411         (get8): Likewise.
15412         (put8): Likewise.
15413         * crypt/crypt-entry.c (crypt): Likewise.
15414         (__fcrypt): Likewise.
15415         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15416         (_ufc_set_bits): Likewise.
15417         (_ufc_clearmem): Likewise.
15418         (__init_des_r): Likewise.
15419         (shuffle_sb): Likewise.
15420         (shuffle_sb): Likewise.
15421         (_ufc_setup_salt_r): Likewise.
15422         (_ufc_mk_keytab_r): Likewise.
15423         (_ufc_dofinalperm_r): Likewise.
15424         (encrypt): Likewise.
15425         (__setkey_r): Likewise.
15426         (setkey): Likewise.
15427         * crypt/md5.c (md5_init_ctx): Likewise.
15428         (md5_read_ctx): Likewise.
15429         (md5_finish_ctx): Likewise.
15430         (md5_stream): Likewise.
15431         (md5_buffer): Likewise.
15432         (md5_process_bytes): Likewise.
15433         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15434         (__sha256_finish_ctx): Likewise.
15435         (__sha256_process_bytes): Likewise.
15436         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15437         (__sha512_finish_ctx): Likewise.
15438         (__sha512_process_bytes): Likewise.
15439         * ctype/isctype.c (__isctype): Likewise.
15440         * debug/backtrace.c (__backtrace): Likewise.
15441         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15442         * debug/fgets_chk.c (__fgets_chk): Likewise.
15443         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15444         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15445         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15446         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15447         * debug/memset_chk.c (__memset_chk): Likewise.
15448         * debug/strcat_chk.c (__strcat_chk): Likewise.
15449         * debug/strncat_chk.c (__strncat_chk): Likewise.
15450         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15451         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15452         * dirent/dirfd.c (dirfd): Likewise.
15453         * dirent/getdents.c (__getdirentries): Likewise.
15454         * dirent/getdents64.c (getdirentries64): Likewise.
15455         * dirent/rewinddir.c (__rewinddir): Likewise.
15456         * dirent/seekdir.c (seekdir): Likewise.
15457         * dirent/telldir.c (telldir): Likewise.
15458         * elf/sln.c (makesymlinks): Likewise.
15459         (makesymlink): Likewise.
15460         * gmon/gmon.c (__moncontrol): Likewise.
15461         (__monstartup): Likewise.
15462         (write_hist): Likewise.
15463         (write_call_graph): Likewise.
15464         (write_bb_counts): Likewise.
15465         * grp/setgroups.c (setgroups): Likewise.
15466         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15467         * inet/inet_net.c (inet_network): Likewise.
15468         * inet/inet_netof.c (inet_netof): Likewise.
15469         * inet/rcmd.c (rresvport_af): Likewise.
15470         (rresvport): Likewise.
15471         * io/access.c (__access): Likewise.
15472         * io/chdir.c (__chdir): Likewise.
15473         * io/chmod.c (__chmod): Likewise.
15474         * io/chown.c (__chown): Likewise.
15475         * io/close.c (__close): Likewise.
15476         * io/creat.c (creat): Likewise.
15477         * io/creat64.c (creat64): Likewise.
15478         * io/dup.c (__dup): Likewise.
15479         * io/dup2.c (__dup2): Likewise.
15480         * io/dup3.c (__dup3): Likewise.
15481         * io/euidaccess.c (__euidaccess): Likewise.
15482         * io/faccessat.c (faccessat): Likewise.
15483         * io/fchmod.c (__fchmod): Likewise.
15484         * io/fchmodat.c (fchmodat): Likewise.
15485         * io/fchown.c (__fchown): Likewise.
15486         * io/fchownat.c (fchownat): Likewise.
15487         * io/fcntl.c (__fcntl): Likewise.
15488         * io/flock.c (__flock): Likewise.
15489         * io/fts.c (fts_load): Likewise.
15490         (fts_close): Likewise.
15491         (fts_read): Likewise.
15492         (fts_set): Likewise.
15493         (fts_children): Likewise.
15494         (fts_build): Likewise.
15495         (fts_stat): Likewise.
15496         (fts_sort): Likewise.
15497         (fts_alloc): Likewise.
15498         (fts_lfree): Likewise.
15499         (fts_palloc): Likewise.
15500         (fts_padjust): Likewise.
15501         (fts_maxarglen): Likewise.
15502         (fts_safe_changedir): Likewise.
15503         * io/getwd.c (getwd): Likewise.
15504         * io/isatty.c (__isatty): Likewise.
15505         * io/lchown.c (__lchown): Likewise.
15506         * io/link.c (__link): Likewise.
15507         * io/linkat.c (linkat): Likewise.
15508         * io/lseek.c (__libc_lseek): Likewise.
15509         * io/mkdir.c (__mkdir): Likewise.
15510         * io/mkdirat.c (mkdirat): Likewise.
15511         * io/mkfifo.c (mkfifo): Likewise.
15512         * io/mkfifoat.c (mkfifoat): Likewise.
15513         * io/open.c (__libc_open): Likewise.
15514         * io/open64.c (__libc_open64): Likewise.
15515         * io/readlink.c (__readlink): Likewise.
15516         * io/readlinkat.c (readlinkat): Likewise.
15517         * io/rmdir.c (__rmdir): Likewise.
15518         * io/symlink.c (__symlink): Likewise.
15519         * io/symlinkat.c (symlinkat): Likewise.
15520         * io/ttyname.c (ttyname): Likewise.
15521         * io/ttyname_r.c (__ttyname_r): Likewise.
15522         * io/umask.c (__umask): Likewise.
15523         * io/unlink.c (__unlink): Likewise.
15524         * io/unlinkat.c (unlinkat): Likewise.
15525         * io/utime.c (utime): Likewise.
15526         * libio/clearerr.c (clearerr): Likewise.
15527         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15528         * libio/feof.c (_IO_feof): Likewise.
15529         * libio/feof_u.c (feof_unlocked): Likewise.
15530         * libio/ferror.c (_IO_ferror): Likewise.
15531         * libio/ferror_u.c (ferror_unlocked): Likewise.
15532         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15533         * libio/fileno.c (__fileno): Likewise.
15534         * libio/fputc.c (fputc): Likewise.
15535         * libio/fputc_u.c (fputc_unlocked): Likewise.
15536         * libio/fputwc.c (fputwc): Likewise.
15537         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15538         * libio/freopen.c (freopen): Likewise.
15539         * libio/freopen64.c (freopen64): Likewise.
15540         * libio/fseek.c (fseek): Likewise.
15541         * libio/fseeko.c (fseeko): Likewise.
15542         * libio/fseeko64.c (fseeko64): Likewise.
15543         * libio/ftello.c (__ftello): Likewise.
15544         * libio/ftello64.c (ftello64): Likewise.
15545         * libio/fwide.c (fwide): Likewise.
15546         * libio/genops.c (_IO_un_link): Likewise.
15547         (_IO_link_in): Likewise.
15548         (_IO_least_marker): Likewise.
15549         (_IO_switch_to_main_get_area): Likewise.
15550         (_IO_switch_to_backup_area): Likewise.
15551         (_IO_switch_to_get_mode): Likewise.
15552         (_IO_free_backup_area): Likewise.
15553         (_IO_switch_to_put_mode): Likewise.
15554         (__overflow): Likewise.
15555         (__underflow): Likewise.
15556         (__uflow): Likewise.
15557         (_IO_setb): Likewise.
15558         (_IO_doallocbuf): Likewise.
15559         (_IO_default_underflow): Likewise.
15560         (_IO_default_uflow): Likewise.
15561         (_IO_default_xsputn): Likewise.
15562         (_IO_sgetn): Likewise.
15563         (_IO_default_xsgetn): Likewise.
15564         (_IO_sync): Likewise.
15565         (_IO_default_setbuf): Likewise.
15566         (_IO_default_seekpos): Likewise.
15567         (_IO_default_doallocate): Likewise.
15568         (_IO_init): Likewise.
15569         (_IO_old_init): Likewise.
15570         (_IO_default_sync): Likewise.
15571         (_IO_default_finish): Likewise.
15572         (_IO_default_seekoff): Likewise.
15573         (_IO_sputbackc): Likewise.
15574         (_IO_sungetc): Likewise.
15575         (_IO_set_column): Likewise.
15576         (_IO_set_column): Likewise.
15577         (_IO_adjust_column): Likewise.
15578         (_IO_get_column): Likewise.
15579         (_IO_init_marker): Likewise.
15580         (_IO_remove_marker): Likewise.
15581         (_IO_marker_difference): Likewise.
15582         (_IO_marker_delta): Likewise.
15583         (_IO_seekmark): Likewise.
15584         (_IO_unsave_markers): Likewise.
15585         (_IO_nobackup_pbackfail): Likewise.
15586         (_IO_default_pbackfail): Likewise.
15587         (_IO_default_seek): Likewise.
15588         (_IO_default_stat): Likewise.
15589         (_IO_default_read): Likewise.
15590         (_IO_default_write): Likewise.
15591         (_IO_default_showmanyc): Likewise.
15592         (_IO_default_imbue): Likewise.
15593         (_IO_iter_next): Likewise.
15594         (_IO_iter_file): Likewise.
15595         * libio/getc.c (_IO_getc): Likewise.
15596         * libio/getwc.c (_IO_getwc): Likewise.
15597         * libio/iofclose.c (_IO_new_fclose): Likewise.
15598         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15599         * libio/iofflush.c (_IO_fflush): Likewise.
15600         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15601         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15602         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15603         * libio/iofgets.c (_IO_fgets): Likewise.
15604         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15605         * libio/iofgetws.c (fgetws): Likewise.
15606         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15607         * libio/iofopen64.c (_IO_fopen64): Likewise.
15608         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15609         (_IO_cookie_write): Likewise.
15610         (_IO_cookie_seek): Likewise.
15611         (_IO_cookie_close): Likewise.
15612         (_IO_cookie_seekoff): Likewise.
15613         (_IO_old_cookie_seek): Likewise.
15614         * libio/iofputs.c (_IO_fputs): Likewise.
15615         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15616         * libio/iofputws.c (fputws): Likewise.
15617         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15618         * libio/iofread.c (_IO_fread): Likewise.
15619         * libio/iofread_u.c (__fread_unlocked): Likewise.
15620         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15621         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15622         * libio/ioftell.c (_IO_ftell): Likewise.
15623         * libio/iofwrite.c (_IO_fwrite): Likewise.
15624         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15625         * libio/iogets.c (_IO_gets): Likewise.
15626         * libio/iopadn.c (_IO_padn): Likewise.
15627         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15628         (_IO_new_popen): Likewise.
15629         (_IO_new_proc_close): Likewise.
15630         * libio/ioputs.c (_IO_puts): Likewise.
15631         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15632         (_IO_seekoff): Likewise.
15633         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15634         (_IO_seekpos): Likewise.
15635         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15636         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15637         * libio/ioungetc.c (_IO_ungetc): Likewise.
15638         * libio/ioungetwc.c (ungetwc): Likewise.
15639         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15640         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15641         * libio/iowpadn.c (_IO_wpadn): Likewise.
15642         * libio/libc_fatal.c (__libc_fatal): Likewise.
15643         * libio/memstream.c (__open_memstream): Likewise.
15644         (_IO_mem_sync): Likewise.
15645         (_IO_mem_finish): Likewise.
15646         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15647         (_IO_old_file_close_it): Likewise.
15648         (_IO_old_file_finish): Likewise.
15649         (_IO_old_file_fopen): Likewise.
15650         (_IO_old_file_attach): Likewise.
15651         (_IO_old_file_setbuf): Likewise.
15652         (_IO_old_do_write): Likewise.
15653         (old_do_write): Likewise.
15654         (_IO_old_file_underflow): Likewise.
15655         (_IO_old_file_overflow): Likewise.
15656         (_IO_old_file_sync): Likewise.
15657         (_IO_old_file_seekoff): Likewise.
15658         (_IO_old_file_write): Likewise.
15659         (_IO_old_file_xsputn): Likewise.
15660         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15661         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15662         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15663         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15664         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15665         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15666         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15667         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15668         (_IO_old_popen): Likewise.
15669         (_IO_old_proc_close): Likewise.
15670         * libio/oldpclose.c (__old_pclose): Likewise.
15671         * libio/pclose.c (__new_pclose): Likewise.
15672         * libio/peekc.c (_IO_peekc_locked): Likewise.
15673         * libio/putc.c (_IO_putc): Likewise.
15674         * libio/putc_u.c (putc_unlocked): Likewise.
15675         * libio/putchar.c (putchar): Likewise.
15676         * libio/putchar_u.c (putchar_unlocked): Likewise.
15677         * libio/putwc.c (putwc): Likewise.
15678         * libio/putwc_u.c (putwc_unlocked): Likewise.
15679         * libio/putwchar.c (putwchar): Likewise.
15680         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15681         * libio/rewind.c (rewind): Likewise.
15682         * libio/setbuf.c (setbuf): Likewise.
15683         * libio/setlinebuf.c (setlinebuf): Likewise.
15684         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15685         * libio/vscanf.c (_IO_vscanf): Likewise.
15686         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15687         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15688         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15689         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15690         (_IO_switch_to_main_wget_area): Likewise.
15691         (_IO_switch_to_wbackup_area): Likewise.
15692         (_IO_wsetb): Likewise.
15693         (_IO_wdefault_pbackfail): Likewise.
15694         (_IO_wdefault_finish): Likewise.
15695         (_IO_wdefault_uflow): Likewise.
15696         (__woverflow): Likewise.
15697         (__wuflow): Likewise.
15698         (__wunderflow): Likewise.
15699         (_IO_wdefault_xsputn): Likewise.
15700         (_IO_wdefault_xsgetn): Likewise.
15701         (_IO_wdoallocbuf): Likewise.
15702         (_IO_wdefault_doallocate): Likewise.
15703         (_IO_switch_to_wget_mode): Likewise.
15704         (_IO_free_wbackup_area): Likewise.
15705         (_IO_switch_to_wput_mode): Likewise.
15706         (_IO_sputbackwc): Likewise.
15707         (_IO_sungetwc): Likewise.
15708         (_IO_adjust_wcolumn): Likewise.
15709         (_IO_init_wmarker): Likewise.
15710         (_IO_wmarker_delta): Likewise.
15711         (_IO_seekwmark): Likewise.
15712         (_IO_unsave_wmarkers): Likewise.
15713         * libio/wmemstream.c (open_wmemstream): Likewise.
15714         (_IO_wmem_sync): Likewise.
15715         (_IO_wmem_finish): Likewise.
15716         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15717         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15718         * locale/programs/simple-hash.c (init_hash): Likewise.
15719         (delete_hash): Likewise.
15720         (insert_entry): Likewise.
15721         (set_entry): Likewise.
15722         (next_prime): Likewise.
15723         (is_prime): Likewise.
15724         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15725         (xmalloc): Likewise.
15726         (xrealloc): Likewise.
15727         * locale/programs/xstrdup.c (xstrdup): Likewise.
15728         * localedata/collate-test.c (xstrcoll): Likewise.
15729         * localedata/xfrm-test.c (xstrcmp): Likewise.
15730         * login/getlogin_r.c (__getlogin_r): Likewise.
15731         * login/getpt.c (__posix_openpt): Likewise.
15732         * login/login_tty.c (login_tty): Likewise.
15733         * login/setlogin.c (setlogin): Likewise.
15734         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15735         (mach_msg_destroy_port): Likewise.
15736         (mach_msg_destroy_memory): Likewise.
15737         * malloc/mcheck.c (flood): Likewise.
15738         * misc/acct.c (acct): Likewise.
15739         * misc/brk.c (__brk): Likewise.
15740         * misc/chflags.c (chflags): Likewise.
15741         * misc/chroot.c (chroot): Likewise.
15742         * misc/fchflags.c (fchflags): Likewise.
15743         * misc/fstab.c (getfsspec): Likewise.
15744         (getfsfile): Likewise.
15745         * misc/fsync.c (fsync): Likewise.
15746         * misc/ftruncate.c (__ftruncate): Likewise.
15747         * misc/ftruncate64.c (__ftruncate64): Likewise.
15748         * misc/getdomain.c (getdomainname): Likewise.
15749         (getdomainname): Likewise.
15750         * misc/gethostname.c (__gethostname): Likewise.
15751         * misc/getpass.c (getpass): Likewise.
15752         * misc/getttyent.c (skip): Likewise.
15753         (value): Likewise.
15754         * misc/gtty.c (gtty): Likewise.
15755         * misc/hsearch.c (hsearch): Likewise.
15756         (hcreate): Likewise.
15757         * misc/hsearch_r.c (__hcreate_r): Likewise.
15758         (__hdestroy_r): Likewise.
15759         * misc/ioctl.c (__ioctl): Likewise.
15760         * misc/mkdtemp.c (mkdtemp): Likewise.
15761         * misc/mkostemp.c (mkostemp): Likewise.
15762         * misc/mkostemp64.c (mkostemp64): Likewise.
15763         * misc/mkostemps.c (mkostemps): Likewise.
15764         * misc/mkostemps64.c (mkostemps64): Likewise.
15765         * misc/mkstemp.c (mkstemp): Likewise.
15766         * misc/mkstemp64.c (mkstemp64): Likewise.
15767         * misc/mkstemps.c (mkstemps): Likewise.
15768         * misc/mkstemps64.c (mkstemps64): Likewise.
15769         * misc/mktemp.c (__mktemp): Likewise.
15770         * misc/preadv.c (preadv): Likewise.
15771         * misc/preadv64.c (preadv64): Likewise.
15772         * misc/pwritev.c (pwritev): Likewise.
15773         * misc/pwritev64.c (pwritev64): Likewise.
15774         * misc/readv.c (__readv): Likewise.
15775         * misc/revoke.c (revoke): Likewise.
15776         * misc/setdomain.c (setdomainname): Likewise.
15777         * misc/setegid.c (setegid): Likewise.
15778         * misc/seteuid.c (seteuid): Likewise.
15779         * misc/sethostid.c (sethostid): Likewise.
15780         * misc/sethostname.c (sethostname): Likewise.
15781         * misc/setregid.c (__setregid): Likewise.
15782         * misc/setreuid.c (__setreuid): Likewise.
15783         * misc/sstk.c (sstk): Likewise.
15784         * misc/stty.c (stty): Likewise.
15785         * misc/syscall.c (syscall): Likewise.
15786         * misc/syslog.c (setlogmask): Likewise.
15787         * misc/truncate.c (__truncate): Likewise.
15788         * misc/truncate64.c (truncate64): Likewise.
15789         * misc/ualarm.c (ualarm): Likewise.
15790         * misc/usleep.c (usleep): Likewise.
15791         * misc/ustat.c (ustat): Likewise.
15792         * misc/writev.c (__writev): Likewise.
15793         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15794         * nptl/old_pthread_cond_broadcast.c
15795         (__pthread_cond_broadcast_2_0): Likewise.
15796         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15797         Likewise.
15798         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15799         Likewise.
15800         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15801         Likewise.
15802         * nptl/pt-raise.c (raise): Likewise.
15803         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15804         Likewise.
15805         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15806         * nptl/pthread_barrierattr_destroy.c
15807         (pthread_barrierattr_destroy): Likewise.
15808         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15809         Likewise.
15810         * nptl/pthread_barrierattr_setpshared.c
15811         (pthread_barrierattr_setpshared): Likewise.
15812         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15813         Likewise.
15814         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15815         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15816         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15817         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15818         Likewise.
15819         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15820         Likewise.
15821         * nptl/pthread_condattr_getpshared.c
15822         (pthread_condattr_getpshared): Likewise.
15823         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15824         Likewise.
15825         * nptl/pthread_condattr_setpshared.c
15826         (pthread_condattr_setpshared): Likewise.
15827         * nptl/pthread_detach.c (pthread_detach): Likewise.
15828         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15829         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15830         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15831         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15832         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15833         Likewise.
15834         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15835         Likewise.
15836         * nptl/pthread_mutex_getprioceiling.c
15837         (pthread_mutex_getprioceiling): Likewise.
15838         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15839         Likewise.
15840         * nptl/pthread_mutexattr_getprotocol.c
15841         (pthread_mutexattr_getprotocol): Likewise.
15842         * nptl/pthread_mutexattr_getpshared.c
15843         (pthread_mutexattr_getpshared): Likewise.
15844         * nptl/pthread_mutexattr_getrobust.c
15845         (pthread_mutexattr_getrobust): Likewise.
15846         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15847         Likewise.
15848         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15849         Likewise.
15850         * nptl/pthread_mutexattr_setprioceiling.c
15851         (pthread_mutexattr_setprioceiling): Likewise.
15852         * nptl/pthread_mutexattr_setprotocol.c
15853         (pthread_mutexattr_setprotocol): Likewise.
15854         * nptl/pthread_mutexattr_setpshared.c
15855         (pthread_mutexattr_setpshared): Likewise.
15856         * nptl/pthread_mutexattr_setrobust.c
15857         (pthread_mutexattr_setrobust): Likewise.
15858         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15859         Likewise.
15860         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15861         Likewise.
15862         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15863         Likewise.
15864         * nptl/pthread_rwlockattr_getkind_np.c
15865         (pthread_rwlockattr_getkind_np): Likewise.
15866         * nptl/pthread_rwlockattr_getpshared.c
15867         (pthread_rwlockattr_getpshared): Likewise.
15868         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15869         Likewise.
15870         * nptl/pthread_rwlockattr_setkind_np.c
15871         (pthread_rwlockattr_setkind_np): Likewise.
15872         * nptl/pthread_rwlockattr_setpshared.c
15873         (pthread_rwlockattr_setpshared): Likewise.
15874         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15875         Likewise.
15876         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15877         Likewise.
15878         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15879         Likewise.
15880         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15881         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15882         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15883         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15884         * nptl/sem_close.c (sem_close): Likewise.
15885         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15886         * nptl/sem_init.c (__old_sem_init): Likewise.
15887         * nptl/sigaction.c (__sigaction): Likewise.
15888         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15889         * posix/_exit.c (_exit): Likewise.
15890         * posix/alarm.c (alarm): Likewise.
15891         * posix/confstr.c (confstr): Likewise.
15892         * posix/fpathconf.c (__fpathconf): Likewise.
15893         * posix/getgroups.c (__getgroups): Likewise.
15894         * posix/getpgid.c (__getpgid): Likewise.
15895         * posix/group_member.c (__group_member): Likewise.
15896         * posix/pathconf.c (__pathconf): Likewise.
15897         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15898         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15899         * posix/setgid.c (__setgid): Likewise.
15900         * posix/setpgid.c (__setpgid): Likewise.
15901         * posix/setuid.c (__setuid): Likewise.
15902         * posix/sleep.c (__sleep): Likewise.
15903         * posix/sysconf.c (__sysconf): Likewise.
15904         * posix/times.c (__times): Likewise.
15905         * posix/uname.c (__uname): Likewise.
15906         * posix/waitid.c (__waitid): Likewise.
15907         * pwd/getpw.c (__getpw): Likewise.
15908         * resolv/base64.c (b64_pton): Likewise.
15909         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15910         * resolv/gethnamaddr.c (Dprintf): Likewise.
15911         (gethostbyname): Likewise.
15912         (gethostbyname2): Likewise.
15913         (gethostbyaddr): Likewise.
15914         (_sethtent): Likewise.
15915         (_gethtbyname): Likewise.
15916         (_gethtbyname2): Likewise.
15917         (_gethtbyaddr): Likewise.
15918         (map_v4v6_address): Likewise.
15919         (map_v4v6_hostent): Likewise.
15920         (addrsort): Likewise.
15921         (ht_sethostent): Likewise.
15922         (ht_gethostbyname): Likewise.
15923         (ht_gethostbyaddr): Likewise.
15924         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15925         (inet_net_ntop_ipv4): Likewise.
15926         * resolv/inet_neta.c (inet_neta): Likewise.
15927         * resolv/inet_ntop.c (inet_ntop): Likewise.
15928         (inet_ntop4): Likewise.
15929         (inet_ntop6): Likewise.
15930         * resolv/inet_pton.c (__inet_pton): Likewise.
15931         (inet_pton4): Likewise.
15932         (inet_pton6): Likewise.
15933         * resolv/res_debug.c (loc_aton): Likewise.
15934         (loc_ntoa): Likewise.
15935         * resource/getpriority.c (__getpriority): Likewise.
15936         * resource/getrusage.c (__getrusage): Likewise.
15937         * resource/nice.c (nice): Likewise.
15938         * resource/setpriority.c (__setpriority): Likewise.
15939         * resource/setrlimit64.c (setrlimit64): Likewise.
15940         * resource/vlimit.c (vlimit): Likewise.
15941         * resource/vtimes.c (vtimes): Likewise.
15942         * rt/aio_error.c (aio_error): Likewise.
15943         * rt/aio_return.c (aio_return): Likewise.
15944         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15945         * signal/kill.c (__kill): Likewise.
15946         * signal/killpg.c (killpg): Likewise.
15947         * signal/raise.c (raise): Likewise.
15948         * signal/sigaction.c (__sigaction): Likewise.
15949         * signal/sigaddset.c (sigaddset): Likewise.
15950         * signal/sigaltstack.c (sigaltstack): Likewise.
15951         * signal/sigandset.c (sigandset): Likewise.
15952         * signal/sigblock.c (__sigblock): Likewise.
15953         * signal/sigdelset.c (sigdelset): Likewise.
15954         * signal/sigempty.c (sigemptyset): Likewise.
15955         * signal/sigfillset.c (sigfillset): Likewise.
15956         * signal/sighold.c (sighold): Likewise.
15957         * signal/sigignore.c (sigignore): Likewise.
15958         * signal/sigintr.c (siginterrupt): Likewise.
15959         * signal/sigisempty.c (sigisemptyset): Likewise.
15960         * signal/sigismem.c (sigismember): Likewise.
15961         * signal/signal.c (signal): Likewise.
15962         * signal/sigorset.c (sigorset): Likewise.
15963         * signal/sigpause.c (__sigpause): Likewise.
15964         * signal/sigpending.c (sigpending): Likewise.
15965         * signal/sigprocmask.c (__sigprocmask): Likewise.
15966         * signal/sigrelse.c (sigrelse): Likewise.
15967         * signal/sigreturn.c (__sigreturn): Likewise.
15968         * signal/sigset.c (sigset): Likewise.
15969         * signal/sigsetmask.c (__sigsetmask): Likewise.
15970         * signal/sigstack.c (sigstack): Likewise.
15971         * signal/sigsuspend.c (__sigsuspend): Likewise.
15972         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15973         * signal/sysv_signal.c (__sysv_signal): Likewise.
15974         * socket/accept.c (accept): Likewise.
15975         * socket/accept4.c (__libc_accept4): Likewise.
15976         * socket/bind.c (__bind): Likewise.
15977         * socket/connect.c (__connect): Likewise.
15978         * socket/getpeername.c (getpeername): Likewise.
15979         * socket/getsockname.c (__getsockname): Likewise.
15980         * socket/getsockopt.c (getsockopt): Likewise.
15981         * socket/listen.c (__listen): Likewise.
15982         * socket/recv.c (__recv): Likewise.
15983         * socket/recvmsg.c (__recvmsg): Likewise.
15984         * socket/send.c (__send): Likewise.
15985         * socket/sendmsg.c (__sendmsg): Likewise.
15986         * socket/shutdown.c (shutdown): Likewise.
15987         * socket/sockatmark.c (sockatmark): Likewise.
15988         * socket/socket.c (__socket): Likewise.
15989         * stdio-common/ctermid.c (ctermid): Likewise.
15990         * stdio-common/cuserid.c (cuserid): Likewise.
15991         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15992         * stdio-common/remove.c (remove): Likewise.
15993         * stdio-common/rename.c (rename): Likewise.
15994         * stdio-common/renameat.c (renameat): Likewise.
15995         * stdio-common/tempname.c (__gen_tempname): Likewise.
15996         * stdio-common/xbug.c (InitBuffer): Likewise.
15997         (AppendToBuffer): Likewise.
15998         (ReadFile): Likewise.
15999         * stdlib/a64l.c (a64l): Likewise.
16000         * stdlib/drand48_r.c (drand48_r): Likewise.
16001         * stdlib/getcontext.c (getcontext): Likewise.
16002         * stdlib/getenv.c (getenv): Likewise.
16003         * stdlib/l64a.c (l64a): Likewise.
16004         * stdlib/llabs.c (llabs): Likewise.
16005         * stdlib/lldiv.c (lldiv): Likewise.
16006         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16007         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16008         * stdlib/putenv.c (putenv): Likewise.
16009         * stdlib/random.c (__srandom): Likewise.
16010         (__initstate): Likewise.
16011         (__setstate): Likewise.
16012         * stdlib/random_r.c (__srandom_r): Likewise.
16013         (__setstate_r): Likewise.
16014         (__random_r): Likewise.
16015         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16016         * stdlib/setcontext.c (setcontext): Likewise.
16017         * stdlib/setenv.c (setenv): Likewise.
16018         (unsetenv): Likewise.
16019         * stdlib/srand48.c (srand48): Likewise.
16020         * stdlib/srand48_r.c (__srand48_r): Likewise.
16021         * stdlib/swapcontext.c (swapcontext): Likewise.
16022         * stdlib/system.c (__libc_system): Likewise.
16023         * stdlib/tst-strtod.c (expand): Likewise.
16024         * stdlib/tst-strtol.c (expand): Likewise.
16025         * stdlib/tst-strtoll.c (expand): Likewise.
16026         * streams/fattach.c (fattach): Likewise.
16027         * streams/fdetach.c (fdetach): Likewise.
16028         * streams/getmsg.c (getmsg): Likewise.
16029         * streams/isastream.c (isastream): Likewise.
16030         * string/ffs.c (__ffs): Likewise.
16031         * string/ffsll.c (ffsll): Likewise.
16032         * string/memcmp.c (memcmp_common_alignment): Likewise.
16033         (memcmp_not_common_alignment): Likewise.
16034         (MEMCMP): Likewise.
16035         * string/memcpy.c (memcpy): Likewise.
16036         * string/memmove.c (MEMMOVE): Likewise.
16037         * string/memset.c (memset): Likewise.
16038         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16039         * string/strchrnul.c (STRCHRNUL): Likewise.
16040         * string/strerror.c (strerror): Likewise.
16041         * string/strndup.c (__strndup): Likewise.
16042         * string/strverscmp.c (__strverscmp): Likewise.
16043         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16044         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16045         (clnttcp_freeres): Likewise.
16046         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16047         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16048         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16049         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16050         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16051         (xdr_callhdr): Likewise.
16052         * sunrpc/rpcinfo.c (udpping): Likewise.
16053         (tcpping): Likewise.
16054         (pstatus): Likewise.
16055         (pmapdump): Likewise.
16056         (brdcst): Likewise.
16057         (deletereg): Likewise.
16058         (getprognum): Likewise.
16059         (getvers): Likewise.
16060         (get_inet_address): Likewise.
16061         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16062         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16063         (svcudp_stat): Likewise.
16064         (svcudp_recv): Likewise.
16065         (svcudp_reply): Likewise.
16066         (svcudp_getargs): Likewise.
16067         (svcudp_freeargs): Likewise.
16068         (svcudp_destroy): Likewise.
16069         * sunrpc/xdr.c (xdr_bytes): Likewise.
16070         (xdr_netobj): Likewise.
16071         (xdr_string): Likewise.
16072         (xdr_wrapstring): Likewise.
16073         * sunrpc/xdr_float.c (xdr_float): Likewise.
16074         (xdr_double): Likewise.
16075         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16076         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16077         * sysvipc/ftok.c (ftok): Likewise.
16078         * sysvipc/msgctl.c (msgctl): Likewise.
16079         * sysvipc/msgget.c (msgget): Likewise.
16080         * sysvipc/msgrcv.c (msgrcv): Likewise.
16081         * sysvipc/msgsnd.c (msgsnd): Likewise.
16082         * sysvipc/semget.c (semget): Likewise.
16083         * sysvipc/semop.c (semop): Likewise.
16084         * sysvipc/shmat.c (shmat): Likewise.
16085         * sysvipc/shmctl.c (shmctl): Likewise.
16086         * sysvipc/shmdt.c (shmdt): Likewise.
16087         * sysvipc/shmget.c (shmget): Likewise.
16088         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16089         * termios/speed.c (cfgetospeed): Likewise.
16090         (cfgetispeed): Likewise.
16091         (cfsetospeed): Likewise.
16092         (cfsetispeed): Likewise.
16093         * termios/tcflow.c (tcflow): Likewise.
16094         * termios/tcflush.c (tcflush): Likewise.
16095         * termios/tcgetattr.c (__tcgetattr): Likewise.
16096         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16097         * termios/tcgetsid.c (tcgetsid): Likewise.
16098         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16099         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16100         * time/adjtime.c (__adjtime): Likewise.
16101         * time/dysize.c (dysize): Likewise.
16102         * time/ftime.c (ftime): Likewise.
16103         * time/getitimer.c (__getitimer): Likewise.
16104         * time/gettimeofday.c (__gettimeofday): Likewise.
16105         * time/gmtime.c (__gmtime_r): Likewise.
16106         (gmtime): Likewise.
16107         * time/localtime.c (__localtime_r): Likewise.
16108         (localtime): Likewise.
16109         * time/offtime.c (__offtime): Likewise.
16110         * time/settimeofday.c (__settimeofday): Likewise.
16111         * time/stime.c (stime): Likewise.
16112         * time/strftime_l.c (tm_diff): Likewise.
16113         (iso_week_days): Likewise.
16114         * time/strptime.c (strptime): Likewise.
16115         * time/time.c (time): Likewise.
16116         * time/timespec_get.c (timespec_get): Likewise.
16117         * time/tzset.c (tzset_internal): Likewise.
16118         (compute_change): Likewise.
16119         (__tz_compute): Likewise.
16120         * wcsmbs/btowc.c (__btowc): Likewise.
16121         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16122         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16123         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16124         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16125         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16126         * wcsmbs/wcscat.c (__wcscat): Likewise.
16127         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16128         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16129         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16130         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16131         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16132         * wcsmbs/wcslen.c (__wcslen): Likewise.
16133         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16134         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16135         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16136         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16137         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16138         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16139         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16140         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16141         * wcsmbs/wcstok.c (wcstok): Likewise.
16142         * wcsmbs/wctob.c (wctob): Likewise.
16143         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16144         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16145         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16146         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16147         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16148         * wcsmbs/wmemset.c (__wmemset): Likewise.
16149         * wctype/wcfuncs.c (__towlower): Likewise.
16150         (__towupper): Likewise.
16152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16153         (lll_unlock_elision): Add adapt_count parameter.
16155 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16157         * sysdeps/nptl/configure.ac: Do not give errors based on the
16158         results of top-level configure tests.
16159         * sysdeps/nptl/configure: Regenerated.
16161         * configure.ac (libc_cv_Bgroup): Remove configure test.
16162         * configure: Regenerated.
16163         * config.make.in (have-Bgroup): Remove variable.
16165         * configure.ac (sizeof_long_double): Remove configure test.
16166         * configure: Regenerated.
16167         * config.make.in (sizeof-long-double): Remove variable.
16169         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16170         * configure: Regenerated.
16171         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16172         variable.
16173         (exceptions): Likewise.
16174         * sysdeps/arm/configure: Regenerated.
16175         * config.make.in (exceptions): Remove variable.
16176         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16177         $(exceptions).
16178         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16179         (CFLAGS-vdprintf_chk.c): Likewise.
16180         (CFLAGS-printf_chk.c): Likewise.
16181         (CFLAGS-fprintf_chk.c): Likewise.
16182         (CFLAGS-vprintf_chk.c): Likewise.
16183         (CFLAGS-vfprintf_chk.c): Likewise.
16184         (CFLAGS-gets_chk.c): Likewise.
16185         (CFLAGS-fgets_chk.c): Likewise.
16186         (CFLAGS-fgets_u_chk.c): Likewise.
16187         (CFLAGS-fread_chk.c): Likewise.
16188         (CFLAGS-fread_u_chk.c): Likewise.
16189         (CFLAGS-wprintf_chk.c): Likewise.
16190         (CFLAGS-fwprintf_chk.c): Likewise.
16191         (CFLAGS-vwprintf_chk.c): Likewise.
16192         (CFLAGS-vfwprintf_chk.c): Likewise.
16193         (CFLAGS-fgetws_chk.c): Likewise.
16194         (CFLAGS-fgetws_u_chk.c): Likewise.
16195         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16196         (CFLAGS-fputc.c): Likewise.
16197         (CFLAGS-fputwc.c): Likewise.
16198         (CFLAGS-freopen64.c): Likewise.
16199         (CFLAGS-freopen.c): Likewise.
16200         (CFLAGS-fseek.c): Likewise.
16201         (CFLAGS-fseeko64.c): Likewise.
16202         (CFLAGS-fseeko.c): Likewise.
16203         (CFLAGS-ftello64.c): Likewise.
16204         (CFLAGS-ftello.c): Likewise.
16205         (CFLAGS-fwide.c): Likewise.
16206         (CFLAGS-genops.c): Likewise.
16207         (CFLAGS-getc.c): Likewise.
16208         (CFLAGS-getchar.c): Likewise.
16209         (CFLAGS-getwc.c): Likewise.
16210         (CFLAGS-getwchar.c): Likewise.
16211         (CFLAGS-iofclose.c): Likewise.
16212         (CFLAGS-iofflush.c): Likewise.
16213         (CFLAGS-iofgetpos64.c): Likewise.
16214         (CFLAGS-iofgetpos.c): Likewise.
16215         (CFLAGS-iofgets.c): Likewise.
16216         (CFLAGS-iofgetws.c): Likewise.
16217         (CFLAGS-iofputs.c): Likewise.
16218         (CFLAGS-iofputws.c): Likewise.
16219         (CFLAGS-iofread.c): Likewise.
16220         (CFLAGS-iofsetpos64.c): Likewise.
16221         (CFLAGS-iofsetpos.c): Likewise.
16222         (CFLAGS-ioftell.c): Likewise.
16223         (CFLAGS-iofwrite.c): Likewise.
16224         (CFLAGS-iogetdelim.c): Likewise.
16225         (CFLAGS-iogetline.c): Likewise.
16226         (CFLAGS-iogets.c): Likewise.
16227         (CFLAGS-iogetwline.c): Likewise.
16228         (CFLAGS-ioputs.c): Likewise.
16229         (CFLAGS-ioseekoff.c): Likewise.
16230         (CFLAGS-ioseekpos.c): Likewise.
16231         (CFLAGS-iosetbuffer.c): Likewise.
16232         (CFLAGS-iosetvbuf.c): Likewise.
16233         (CFLAGS-ioungetc.c): Likewise.
16234         (CFLAGS-ioungetwc.c): Likewise.
16235         (CFLAGS-oldfileops.c): Likewise.
16236         (CFLAGS-oldiofclose.c): Likewise.
16237         (CFLAGS-oldiofgetpos64.c): Likewise.
16238         (CFLAGS-oldiofgetpos.c): Likewise.
16239         (CFLAGS-oldiofsetpos64.c): Likewise.
16240         (CFLAGS-oldiofsetpos.c): Likewise.
16241         (CFLAGS-peekc.c): Likewise.
16242         (CFLAGS-putc.c): Likewise.
16243         (CFLAGS-putchar.c): Likewise.
16244         (CFLAGS-putwc.c): Likewise.
16245         (CFLAGS-putwchar.c): Likewise.
16246         (CFLAGS-rewind.c): Likewise.
16247         (CFLAGS-wfileops.c): Likewise.
16248         (CFLAGS-wgenops.c): Likewise.
16249         (CFLAGS-oldiofopen.c): Likewise.
16250         (CFLAGS-iofopen.c): Likewise.
16251         (CFLAGS-iofopen64.c): Likewise.
16252         (CFLAGS-oldtmpfile.c): Likewise.
16253         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16254         (CFLAGS-fprintf.c): Likewise.
16255         (CFLAGS-printf.c): Likewise.
16256         (CFLAGS-vfwprintf.c): Likewise.
16257         (CFLAGS-vfscanf.c): Likewise.
16258         (CFLAGS-vfwscanf.c): Likewise.
16259         (CFLAGS-fscanf.c): Likewise.
16260         (CFLAGS-scanf.c): Likewise.
16261         (CFLAGS-isoc99_vfscanf.c): Likewise.
16262         (CFLAGS-isoc99_vscanf.c): Likewise.
16263         (CFLAGS-isoc99_fscanf.c): Likewise.
16264         (CFLAGS-isoc99_scanf.c): Likewise.
16265         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16266         (CFLAGS-isoc99_fwscanf.c): Likewise.
16267         (CFLAGS-isoc99_vwscanf.c): Likewise.
16268         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16270         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16271         after mkstemp64.
16272         * login/tst-utmp.c (do_prepare): Likewise.
16273         * rt/tst-aio.c (do_prepare): Likewise.
16274         * rt/tst-aio64.c (do_prepare): Likewise.
16276 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16278         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16279         (__lll_lock_elision): Remove adapt_count decrement...
16280         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16281         (__lll_trylock_elision): Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16283         (__lll_unlock_elision): ... to here. And utilize
16284         new adapt_count parameter.
16285         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16286         (__lll_unlock_elision): Update to include adapt_count
16287         parameter.
16288         (lll_unlock_elision): Pass pointer to adapt_count
16289         variable.
16291 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16293         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16294         Add elision adapt_count parameter to list of arguments.
16295         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16296         (lll_unlock_elision): Update with new parameter list
16297         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16298         (lll_unlock_elision): Likewise.
16299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16300         (lll_unlock_elision): Likewise.
16302 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16304         [BZ #19122]
16305         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16306         attribute_hidden.
16308         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16309         attribute_hidden.
16310         [IS_IN (rtld)] (__strdup): Likewise.
16311         [IS_IN (rtld)] (__strerror_r): Likewise.
16312         [IS_IN (rtld)] (__strsep_g): Likewise.
16313         [IS_IN (rtld)] (memchr): Likewise.
16314         [IS_IN (rtld)] (memcmp): Likewise.
16315         [IS_IN (rtld)] (memcpy): Likewise.
16316         [IS_IN (rtld)] (memmove): Likewise.
16317         [IS_IN (rtld)] (memset): Likewise.
16318         [IS_IN (rtld)] (rawmemchr): Likewise.
16319         [IS_IN (rtld)] (stpcpy): Likewise.
16320         [IS_IN (rtld)] (strchr): Likewise.
16321         [IS_IN (rtld)] (strcmp): Likewise.
16322         [IS_IN (rtld)] (strlen): Likewise.
16323         [IS_IN (rtld)] (strnlen): Likewise.
16324         [IS_IN (rtld)] (strsep): Likewise.
16326         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16327         attribute_hidden.
16328         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16330         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16331         attribute_hidden.
16332         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16334         * include/setjmp.h (__longjmp): Add attribute_hidden.
16335         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16337         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16338         Add attribute_hidden.
16340         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16341         [IS_IN (rtld)] (__open): Likewise.
16342         [IS_IN (rtld)] (__fcntl): Likewise.
16344         * include/dirent.h (__opendirat): Add attribute_hidden.
16345         (__getdents): Likewise.
16346         (__getdents64): Likewise.
16347         (__alloc_dir): Likewise.
16348         [IS_IN (rtld)] (__closedir): Likewise.
16349         [IS_IN (rtld)] (__fdopendir): Likewise.
16350         [IS_IN (rtld)] (__readdir): Likewise.
16351         [IS_IN (rtld)] (__readdir64): Likewise.
16352         [IS_IN (rtld)] (__rewinddir): Likewise.
16354         * include/dlfcn.h (_dl_catch_error): Moved to ...
16355         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16356         attribute_hidden.
16358         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16359         (_itoa_word): Likewise.
16361         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16362         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16363         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16364         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16365         (_dl_higher_prime_number): Likewise.
16366         (_dl_debug_printf_c): Likewise.
16367         (_dl_signal_cerror): Likewise.
16368         (_dl_receive_error): Likewise.
16369         (_dl_reloc_bad_type): Likewise.
16370         (_dl_resolve_conflicts): Likewise.
16371         (_dl_check_all_versions): Likewise.
16372         (_dl_check_map_versions): Likewise.
16373         (_dl_sort_fini): Likewise.
16374         (_dl_debug_initialize): Likewise.
16375         (_dl_init_paths): Likewise.
16376         (_dl_show_auxv): Likewise.
16377         (_dl_next_ld_env_entry): Likewise.
16378         (_dl_important_hwcaps): Likewise.
16379         (_dl_load_cache_lookup): Likewise.
16380         (_dl_update_slotinfo): Likewise.
16381         (_dl_show_scope): Likewise.
16383         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16384         attribute_hidden.
16385         (_wordcopy_fwd_dest_aligned): Likewise.
16386         (_wordcopy_bwd_aligned): Likewise.
16387         (_wordcopy_bwd_dest_aligned): Likewise.
16389         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16390         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16391         Likewise.
16392         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16393         Likewise.
16394         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16396 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16399         GCC 5 requirement.
16401 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16403         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16404         test.
16405         * sysdeps/i386/configure: Regenerated.
16406         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16407         code unconditional.
16409         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16410         test.
16411         (libc_cv_asm_popsection_directive): Likewise.
16412         * configure: Regenerated.
16413         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16414         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16415         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16416         (__make_section_unallocated): Make definition unconditional.
16417         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16418         Remove conditional definition.
16419         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16420         (__make_section_unallocated): Likewise.
16422         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16423         * configure: Regenerated.
16424         * config.make.in (static-libgcc): Remove variable.
16425         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16426         $(static-libgcc).
16427         (build-module-helper): Likewise.
16429         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16430         * configure: Regenerated.
16432 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16434         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16435         (struct char_buffer): New type.
16436         (char_buffer_start, char_buffer_size, char_buffer_error)
16437         (char_buffer_rewind, char_buffer_add): New functions.
16438         (ADDW): Remove macro, replaced by the char_buffer_add function.
16439         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16440         of extend_alloca.  Make control flow more explicit.
16442 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16444         [BZ #19137]
16445         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16446         Add -fomit-frame-pointer.
16447         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16449 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16451         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16452         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16454         only if !__GNUC_PREREQ (5,0).
16455         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16456         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16457         (INTERNAL_SYSCALL_NCS): Likewise.
16458         (LOADREGS_0): New macro for GCC 5.
16459         (ASMARGS_0): Likewise.
16460         (LOADREGS_1): Likewise.
16461         (ASMARGS_1): Likewise.
16462         (LOADREGS_2): Likewise.
16463         (ASMARGS_2): Likewise.
16464         (LOADREGS_3): Likewise.
16465         (ASMARGS_3): Likewise.
16466         (LOADREGS_4): Likewise.
16467         (ASMARGS_4): Likewise.
16468         (LOADREGS_5): Likewise.
16469         (ASMARGS_5): Likewise.
16470         (LOADREGS_6): Likewise.
16471         (ASMARGS_6): Likewise.
16473 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16475         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16476         -fomit-frame-pointer.
16477         (CFLAGS-mmap64.c): Likewise.
16478         (CFLAGS-semtimedop.c): Likewise.
16479         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16480         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16481         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16482         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16484 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16486         [BZ #18928]
16487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16488         _dl_pointer_guard member.
16489         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16490         initializer.
16491         (security_init): Always set up pointer guard.
16492         (process_envvars): Do not process LD_POINTER_GUARD.
16494 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16496         [BZ #19134]
16497         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16498         (.LC2): Likewise.
16499         (.LC3): Likewise.
16500         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16502 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16504         [BZ #19129]
16505         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16506         r0 and r1.
16508 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16510         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16512 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16514         * include/stap-probe.h: Fix macro definition formatting.
16516 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16518         [BZ #19074]
16519         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16520         load and store num_ifs.
16522 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16524         [BZ #18822]
16525         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16526         (__sched_getaffinity_new): Add libc_hidden_proto and
16527         libc_hidden_def.
16529 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16531         [BZ #19007]
16532         * scripts/localplt.awk: Also allow GOT references.
16533         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16534         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16535         with "+ REL R_386_GLOB_DAT".
16536         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16537         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16539 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16541         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16542         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16543         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16544         Likewise.
16545         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16546         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16547         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16548         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16549         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16550         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16551         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16552         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16556 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16558         [BZ #19125]
16559         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16560         <math_private.h> and <stdint.h>.
16561         (__llround): Avoid conversions to and from long long int, and
16562         subtractions, where those might raise spurious exceptions.
16563         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16564         <math_private.h> and <stdint.h>.
16565         (__llroundf): Avoid conversions to and from long long int, and
16566         subtractions, where those might raise spurious exceptions.
16568 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16570         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16571         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16572         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16573         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16574         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16575         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16576         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16577         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16578         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16579         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16580         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16581         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16582         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16583         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16584         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16585         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16586         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16587         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16588         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16589         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16590         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16591         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16592         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16593         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16594         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16595         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16596         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16597         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16598         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16599         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16600         (__xstat64_conv): Likewise.
16601         (__xstat32_conv): Likewise.
16603 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16605         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16606         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16607         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16608         <sysdeps/unix/sysv/linux/sysdep.h>.
16609         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16610         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16611         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16612         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16613         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16614         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16615         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16616         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16617         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16622         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16623         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16625         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16626         (sysdep-dl-routines): Add sysdep.
16627         [$(subdir) == nptl] (libpthread-routines): Likewise.
16628         [$(subdir) == rt] (librt-routines): Likewise.
16629         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16630         PIC when branching to SYSCALL_ERROR_LABEL.
16631         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16632         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16633         <sysdeps/unix/sysv/linux/sysdep.h>.
16634         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16635         (SYSCALL_ERROR_ERRNO): Removed.
16636         (SYSCALL_ERROR_HANDLER): Changed to empty.
16637         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16638         (__syscall_error): New prototype.
16639         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16640         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16642 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16644         [BZ #19124]
16645         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16646         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16647         _dl_runtime_resolve_avx.
16648         (_dl_runtime_profile_avx512): Make it a hidden alias of
16649         _dl_runtime_profile_avx.
16651 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16653         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16654         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16655         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16656         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16658         [BZ #16422]
16659         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16660         New configure test.
16661         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16662         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16663         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16664         <math_private.h> and <stdint.h>.
16665         (__llrint): Avoid conversions to long long int where those might
16666         raise spurious exceptions.
16667         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16668         <math_private.h> and <stdint.h>.
16669         (__llrintf): Avoid conversions to long long int where those might
16670         raise spurious exceptions.
16672 2015-10-12  Andreas Schwab  <schwab@suse.de>
16674         [BZ #18969]
16675         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16676         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16677         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16678         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16679         $(gen-locales).
16680         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16681         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16682         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16683         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16684         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16685         $(gen-locales).
16686         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16687         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16688         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16689         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16690         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16691         ($(objpfx)tst-ftell-active-handler.out)
16692         ($(objpfx)tst-ftell-append.out)
16693         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16694         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16695         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16696         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16697         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16698         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16699         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16700         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16701         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16702         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16703         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16704         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16705         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16706         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16707         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16708         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16709         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16710         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16711         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16712         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16713         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16714         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16715         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16716         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16717         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16718         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16719         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16720         $(gen-locales).
16721         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16722         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16723         $(gen-locales).
16724         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16725         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16726         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16727         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16728         $(gen-locales).
16729         * libio/tst_wprintf2.c (main): Use explicit locale.
16730         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16732 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16734         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16735         __msg_sig_post.
16736         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16738 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16740         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16741         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16743         * sysdeps/arm/libm-test-ulps: Regenerated.
16745         [BZ #15470]
16746         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16748         [BZ #16399]
16749         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16750         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16751         and <fix-fp-int-convert-overflow.h>.
16752         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16753         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16754         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16755         and <fix-fp-int-convert-overflow.h>.
16756         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16757         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16758         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16759         <fix-fp-int-convert-overflow.h>.
16760         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16761         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16762         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16763         <fix-fp-int-convert-overflow.h>.
16764         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16765         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16766         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16767         and <fix-fp-int-convert-overflow.h>.
16768         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16769         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16770         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16771         <limits.h> and <fix-fp-int-convert-overflow.h>.
16772         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16773         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16774         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16775         and <fix-fp-int-convert-overflow.h>.
16776         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16777         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16778         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16779         and <fix-fp-int-convert-overflow.h>.
16780         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16781         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16782         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16784 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16786         [BZ #18589]
16787         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16788         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16789         $(gen-locales).
16791 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16792             Phil Blundell <pb@pbcl.net>
16794         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16795         * nptl/tst-cancel26.c: New file.
16796         * nptl/tst-cancel27.c: Likewise.
16798 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16800         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16801         __ILP32__ isn't defined.
16802         (lrint): Likewise.
16803         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16804         (lrintf): Likewise.
16805         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16806         (lrintl): Likewise.
16807         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16808         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16809         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16811 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16814         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16817         file.
16818         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16819         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16821 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16823         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16824         configure test.
16825         * sysdeps/i386/configure: Regenerated.
16826         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16827         configure test.
16828         * sysdeps/x86_64/configure: Regenerated.
16829         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16830         Make code unconditional.
16832         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16833         test.
16834         * sysdeps/i386/configure: Regenerated.
16835         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16836         test.
16837         * sysdeps/x86_64/configure: Regenerated.
16838         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16839         Make code unconditional.
16840         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16841         Likewise.
16842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16843         Likewise.
16844         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16845         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16846         code unconditional.
16847         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16848         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16849         code unconditional.
16850         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16851         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16852         code unconditional.
16853         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16854         code unconditional.
16855         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16856         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16857         code unconditional.
16858         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16859         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16860         code unconditional.
16861         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16862         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16863         code unconditional.
16864         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16865         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16866         code unconditional.
16867         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16868         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16870         [BZ #19095]
16871         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16872         mantissa to long int before shifting left.
16874 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #19094]
16877         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16878         <limits.h>.
16879         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16880         when result overflows but exception would not result from cast.
16881         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16882         <limits.h>.
16883         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16884         when result overflows but exception would not result from cast.
16885         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16886         <limits.h>.
16887         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16888         when result overflows but exception would not result from cast.
16889         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16890         <limits.h>.
16891         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16892         when result overflows but exception would not result from cast.
16893         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16894         <limits.h>.
16895         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16896         when result overflows but exception would not result from cast.
16897         * math/libm-test.inc (lrint_test_data): Add more tests.
16898         (llrint_test_data): Likewise.
16900 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16902         [BZ #18872]
16903         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16904         Move out from under [$(run-built-tests) = yes] conditional.
16905         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16906         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16908 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16910         [BZ #18589]
16911         * string/Makefile (tests): Add bug-strcoll2.
16912         (LOCALES): Add cs_CZ.UTF-8.
16913         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16915         [BZ #18589]
16916         * string/bug-strcoll2.c: New file.
16917         * locale/categories.def: Revert commit
16918         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16919         * locale/langinfo.h: Likewise.
16920         * locale/localeinfo.h: Likewise.
16921         * locale/C-collate.c: Likewise.
16922         * locale/programs/ld-collate.c (collate_output): Likewise.
16923         * string/strcoll_l.c (STRDIFF): Likewise.
16924         (STRCOLL): Likewise.
16925         * wcsmbs/wcscoll_l.c: Likewise.
16927 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16929         * math/libm-test.inc (lround_test_data): Do not expect the absence
16930         of "inexact" for some tests with non-integer arguments.
16931         (llround_test_data): Likewise.
16933         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16934         test.
16935         (libc_cv_cc_sse2avx): Likewise.
16936         * sysdeps/i386/configure: Regenerated.
16937         * sysdeps/i386/i686/multiarch/Makefile
16938         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16939         [$(subdir) = math].
16940         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16941         code unconditional.
16942         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16943         Likewise.
16944         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16945         Likewise.
16946         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16947         Likewise.
16948         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16949         test.
16950         (libc_cv_cc_sse2avx): Likewise.
16951         * sysdeps/x86_64/configure: Regenerated.
16952         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16953         unconditional.
16954         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16955         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16956         unconditional.
16957         (_dl_runtime_profile)
16958         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16959         conditional code.
16960         * sysdeps/x86_64/fpu/multiarch/Makefile
16961         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16962         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16963         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16964         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16965         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16966         * sysdeps/x86_64/fpu/multiarch/e_log.c
16967         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16968         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16969         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16970         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16971         Likewise.
16972         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16973         Likewise.
16974         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16975         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16976         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16977         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16978         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16979         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16980         (HAVE_SSE2AVX_SUPPORT): Likewise.
16982 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16984         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16985         instead of #pragma optimize.
16987 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16989         [BZ #17195]
16990         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16991         as is similarly done in systrim and _int_free already.
16993 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16995         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16997 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16999         [BZ #19088]
17000         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17001         <limits.h>.
17002         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17003         overflows but exception would not result from cast.
17004         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17005         and <limits.h>.
17006         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17007         overflows but exception would not result from cast.
17008         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17009         <limits.h>.
17010         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17011         overflows but exception would not result from cast.
17012         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17013         <limits.h>.
17014         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17015         overflows but exception would not result from cast.
17016         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17017         <limits.h>.
17018         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17019         overflows but exception would not result from cast.
17020         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17021         <limits.h>.
17022         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17023         overflows but exception would not result from cast.
17024         * math/libm-test.inc (lround_test_data): Add more tests.
17025         (llround_test_data): Likewise.
17027 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17029         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17030         (CFLAGS-ialloc.c): Ditto.
17031         (CFLAGS-scheck.c): Ditto.
17033 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17035         [BZ #19086]
17036         * manual/filesys.texi (Storage Allocation): Fix argument order for
17037         posix_fallocate64.
17039 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #19085]
17042         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17043         exponent below 48 inside case for non-overflowing exponent.
17044         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17046 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17048         * iconvdata/cp737.h (from_idx): Add const.
17049         * iconvdata/cp775.h (from_idx): Likewise.
17051 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17053         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17054         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17055         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17057         [BZ #19079]
17058         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17059         file, conditioned on [!_LP64].
17060         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17061         [!_LP64] (__lround): Do not define as function or alias.
17062         [!_LP64] (lround): Likewise.
17063         [!_LP64] (__lroundl): Likewise.
17064         [!_LP64] (lroundl): Likewise.
17065         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17066         macro.
17067         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17068         Likewise.
17070 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17072         * math/libm-test.inc (lrint_test_data): Add more tests.
17073         (llrint_test_data): Likewise.
17074         (lround_test_data): Likewise.
17075         (llround_test_data): Likewise.
17077         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17078         (llrint_test_data): Add tests used for lrint.
17080         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17081         test.
17082         * sysdeps/i386/configure: Regenerated.
17083         * sysdeps/i386/i686/multiarch/Makefile
17084         [$(config-cflags-sse4) = yes]: Make code unconditional.
17085         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17086         Likewise.
17087         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17088         Likewise.
17089         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17090         test.
17091         * sysdeps/x86_64/configure: Regenerated.
17092         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17093         Make code unconditional.
17094         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17095         Likewise.
17096         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17097         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17099         * scripts/rpm2dynsym.sh: Remove file.
17101 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17103         * configure.ac (libc_cv_cxx_thread_local): Define.
17104         * configure: Regenerate.
17105         * config.make.in (have-cxx-thread_local): Define.
17106         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17107         (LDLIBS-tst-thread_local1): Define.
17108         (tests): Add tst-thread_local1.
17109         [have-cxx-thread_local != yes] (tests-unsupported): Add
17110         tst-thread_local1.
17111         * nptl/tst-thread_local1.cc: New file.
17113 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17115         [BZ #19078]
17116         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17117         (u_thres): Likewise.
17118         (__expl): Determine whether to call __kernel_standard_l based on
17119         value of result, not argument.
17121         * math/libm-test.inc (scalb_test_data): Add more expectations for
17122         the "inexact" exception.
17124         [BZ #19077]
17125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17126         0.0L for argument 1.0L.
17128         [BZ #19076]
17129         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17130         constant 0.0L when computing infinite result.
17132 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17134         [BZ #10432]
17135         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17136         malloc_usable_size.
17138 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17140         [BZ #19018]
17141         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17142         Mangle function pointer before storing it.
17143         (__call_tls_dtors): Demangle function pointer before calling it.
17145 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17147         [BZ #19012]
17148         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17149         Clean up on failure.
17151 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17153         [BZ #19071]
17154         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17155         long int variable to store possibly incremented high part of
17156         mantissa.
17157         * math/libm-test.inc (lround_test_data): Add tests used for
17158         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17159         for tests requiring 64-bit long.  Do not condition tests on
17160         [TEST_FLOAT] unnecessarily.
17161         (llround_test_data): Add tests used for lround.  Add another
17162         expectation for the "inexact" exception.  Do not condition tests
17163         on [TEST_FLOAT] unnecessarily.
17165         [BZ #887]
17166         [BZ #19049]
17167         [BZ #19050]
17168         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17169         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17170         <fix-int-fp-convert-zero.h>.
17171         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17172         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17173         <fix-int-fp-convert-zero.h>.
17174         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17175         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17176         <fix-int-fp-convert-zero.h>.
17177         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17178         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17179         <fix-int-fp-convert-zero.h>.
17180         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17181         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17182         <fix-int-fp-convert-zero.h>.
17183         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17184         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17185         <fix-int-fp-convert-zero.h>.
17186         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17187         * sysdeps/ieee754/flt-32/s_erff.c: Include
17188         <fix-int-fp-convert-zero.h>.
17189         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17190         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17191         <fix-int-fp-convert-zero.h>.
17192         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17194         <fix-int-fp-convert-zero.h>.
17195         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17197         <fix-int-fp-convert-zero.h>.
17198         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17199         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17200         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17201         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17202         file.
17203         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17205 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17209 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17211         [BZ #19059]
17212         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17213         overflowing computation.
17214         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17215         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17216         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17217         Likewise.
17218         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17219         Likewise.
17220         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17221         Likewise.
17222         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17223         Likewise.
17224         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17225         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17226         Likewise.
17227         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17228         Likewise.
17229         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17231         * nss/rewrite_field.c (__nss_rewrite_field): Use
17232         internal_function.
17233         * nss/valid_field.c (__nss_valid_field): Likewise.
17234         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17236 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17238         [BZ #18724]
17239         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17240         (__nss_invalid_field_characters, __nss_valid_field)
17241         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17242         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17243         tst-field.c: New file.
17244         * nss/Makefile (routines): Add valid_field, rewrite_field.
17245         (tests-static): Define unconditionally.
17246         (tests): Include tests-static.
17247         [build-static-nss] (tests-static): Use append.
17248         [build-static-nss] (tests): Remove modification.
17249         * nss/getent.c (print_group): Call putgrent.  Report error.
17250         (print_gshadow): Call putsgent.  Report error.
17251         (print_passwd): Call putpwent.  Report error.
17252         (print_shadow): Call putspent.  Report error.
17253         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17254         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17255         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17256         name, password, directory, shell fields for valid syntax.  Rewrite
17257         GECOS field to match syntax.
17258         * pwd/Makefile (tests): Add tst-putpwent.
17259         * pwd/tst-putpwent.c: New file.
17260         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17261         Check grName, grpasswd, gr_mem fields for valid syntax.
17262         Change loop variable i to size_t.
17263         * grp/Makefile (tests): Add tst-putgrent.
17264         * grp/tst-putgrent.c: New file.
17265         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17266         valid syntax.
17267         * shadow/Makefile (tests): Add tst-putspent.
17268         * shadow/tst-putspent.c: New file.
17269         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17270         sg_mem fields for valid syntax.
17271         * gshadow/Makefile (tests): Add tst-putsgent.
17272         * gshadow/tst-putsgent.c: New file.
17274 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17276         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17277         assembly instructions.
17279 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17281         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17282         prefix from operands.
17284 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17286         [BZ #16347]
17287         [BZ #19046]
17288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17289         <libc-internal.h>.
17290         (MAXLGM): Do not use diagnostic control macros.
17291         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17292         threshold for ldbl-128ibm.
17293         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17294         instead of multiplying by log then subtracting.
17295         * math/auto-libm-test-in: Add more tests of lgamma.
17296         * math/auto-libm-test-out: Regenerated.
17298         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17299         (TYPE_HEX_DIG): Likewise.
17300         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17301         precisions when printing floating-point numbers.
17302         (check_float_internal): Likewise.
17304 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #16620]
17307         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17308         of log (10) rounded downward to 48 bits.
17309         (log10_low): Use corresponding low part of log (10).
17311         [BZ #19032]
17312         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17313         compute result as (x - x) / (x - x) not as 0 / 0.
17314         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17315         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17317         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17318         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17319         and expm1.
17320         * math/auto-libm-test-out: Regenerated.
17321         * math/libm-test.inc (acos_test_data): Add more tests.
17322         (asin_test_data): Likewise.
17323         (asinh_test_data): Likewise.
17324         (atan_test_data): Likewise.
17325         (atanh_test_data): Likewise.
17326         (atan2_test_data): Likewise.
17327         (cbrt_test_data): Likewise.
17328         (ceil_test_data): Likewise.
17329         (copysign_test_data): Likewise.
17330         (cos_test_data): Likewise.
17331         (cosh_test_data): Likewise.
17332         (erf_test_data): Likewise.
17333         (erfc_test_data): Likewise.
17334         (exp_test_data): Likewise.
17335         (exp10_test_data): Likewise.
17336         (exp2_test_data): Likewise.
17337         (expm1_test_data): Likewise.
17338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17340 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17342         [BZ #19006]
17343         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17344         to ...
17345         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17346         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17347         to ...
17348         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17349         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17350         to ...
17351         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17352         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17353         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17354         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17355         to ...
17356         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17357         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17358         Moved to ...
17359         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17360         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17361         Moved to ...
17362         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17364         to ...
17365         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17366         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17367         Moved to ...
17368         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17370         to ...
17371         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17372         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17373         Removed.
17374         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17375         Likewise.
17376         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17377         Likewise.
17378         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17379         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17380         Likewise.
17381         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17382         Likewise.
17383         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17384         Likewise.
17385         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17390         Likewise.
17391         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17392         Likewise.
17393         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17394         Likewise.
17395         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17396         Likewise.
17397         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17398         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17399         Likewise.
17400         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17401         Likewise.
17402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17403         Likewise.
17404         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17405         Likewise.
17406         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17407         Likewise.
17408         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17409         Replace ../i486/pthread_cond_timedwait.S with
17410         ../pthread_cond_timedwait.S.
17412 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17414         * math/libm-test.inc (acos_test_data): Refine expectations for
17415         errno and "inexact" exceptions.
17416         (acosh_test_data): Likewise.
17417         (asin_test_data): Likewise.
17418         (asinh_test_data): Likewise.
17419         (atan_test_data): Likewise.
17420         (atanh_test_data): Likewise.
17421         (atan2_test_data): Likewise.
17422         (cbrt_test_data): Likewise.
17423         (ceil_test_data): Likewise.
17424         (copysign_test_data): Likewise.
17425         (cosh_test_data): Likewise.
17426         (erf_test_data): Likewise.
17427         (erfc_test_data): Likewise.
17428         (exp_test_data): Likewise.
17429         (exp10_test_data): Likewise.
17430         (exp2_test_data): Likewise.
17431         (expm1_test_data): Likewise.
17432         (fabs_test_data): Likewise.
17433         (floor_test_data): Likewise.
17434         (fma_test_data): Likewise.
17435         (fmax_test_data): Likewise.
17436         (fmin_test_data): Likewise.
17437         (fmod_test_data): Likewise.
17438         (fpclassify_test_data): Likewise.
17439         (frexp_test_data): Likewise.
17440         (hypot_test_data): Likewise.
17441         (ilogb_test_data): Likewise.
17442         (isgreater_test_data): Likewise.
17443         (isgreaterequal_test_data): Likewise.
17444         (isinf_test_data): Likewise.
17445         (isless_test_data): Likewise.
17446         (islessequal_test_data): Likewise.
17447         (islessgreater_test_data): Likewise.
17448         (isnan_test_data): Likewise.
17449         (isnormal_test_data): Likewise.
17450         (issignaling_test_data): Likewise.
17451         (isunordered_test_data): Likewise.
17452         (j0_test_data): Likewise.
17453         (j1_test_data): Likewise.
17454         (jn_test_data): Likewise.
17455         (lgamma_test_data): Likewise.
17456         (lrint_test_data): Likewise.
17457         (llrint_test_data): Likewise.
17458         (log_test_data): Likewise.
17459         (log10_test_data): Likewise.
17460         (log1p_test_data): Likewise.
17461         (log2_test_data): Likewise.
17462         (logb_test_data): Likewise.
17463         (lround_test_data): Likewise.
17464         (llround_test_data): Likewise.
17465         (modf_test_data): Likewise.
17466         (nearbyint_test_data): Likewise.
17467         (nextafter_test_data): Likewise.
17468         (nexttoward_test_data): Likewise.
17469         (pow_test_data): Likewise.
17470         (remainder_test_data): Likewise.
17471         (remquo_test_data): Likewise.
17472         (rint_test_data): Likewise.
17473         (round_test_data): Likewise.
17474         (signbit_test_data): Likewise.
17475         (sinh_test_data): Likewise.
17476         (sqrt_test_data): Likewise.
17477         (tanh_test_data): Likewise.
17478         (tgamma_test_data): Likewise.
17479         (trunc_test_data): Likewise.
17480         (y0_test_data): Likewise.
17481         (y1_test_data): Likewise.
17482         (yn_test_data): Likewise.
17483         (significand_test_data): Likewise.
17485 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17487         * manual/filesys.texi (Storage Allocation): Document that
17488         posix_fallocate emulation fails when fd is open with O_WRONLY.
17490 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17492         [BZ #19016]
17493         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17494         allow more cases with X^2 + Y^2 >= 0.5.
17495         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17496         normal element in sum instead of special-casing based on values of
17497         arguments.
17498         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17499         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17500         -1 as normal element in sum instead of special-casing based on
17501         values of arguments.
17502         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17503         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17504         (__x2y2m1): Update comment.
17505         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17506         as normal element in sum instead of special-casing based on values
17507         of arguments.
17508         * math/s_clog.c (__clog): Handle more cases using log1p without
17509         hypot.
17510         * math/s_clog10.c (__clog10): Likewise.
17511         * math/s_clog10f.c (__clog10f): Likewise.
17512         * math/s_clog10l.c (__clog10l): Likewise.
17513         * math/s_clogf.c (__clogf): Likewise.
17514         * math/s_clogl.c (__clogl): Likewise.
17515         * math/auto-libm-test-in: Add more tests of clog and clog10.
17516         * math/auto-libm-test-out: Regenerated.
17517         * sysdeps/i386/fpu/libm-test-ulps: Update.
17518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17520 2015-09-28  Martin Sebor  <msebor@redhat.com>
17522         [BZ #18969]
17523         * string/Makefile (LOCALES): Define.
17524         (gen-locales.mk): Include.
17525         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17526         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17527         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17528         on setlocale failure.
17530 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17532         [BZ #18985]
17533         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17534         (__strftime_internal): Likewise.
17535         * time/tst-strftime.c (do_bz18985): New test.
17536         (do_test): Call it.
17538 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17540         [BZ #18956]
17541         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17542         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17543         extracting high part.
17544         * math/auto-libm-test-in: Add another test of pow.
17545         * math/auto-libm-test-out: Regenerated.
17546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17548 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17550         [BZ #18825]
17551         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17552         New macro.
17553         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17554         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17555         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17556         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17557         DBL_NARROW_EVAL, reloading the PIC register as needed.
17558         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17559         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17560         FLT_NARROW_EVAL.  Use separate return path for case when first
17561         argument is NaN.
17562         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17563         DEFINE_LDBL_MIN.
17564         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17565         PIC register.
17566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17567         math_check_force_underflow_nonneg.
17568         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17569         underflow for subnormal result.
17570         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17572         math_check_force_underflow_nonneg.
17573         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17574         math_check_force_underflow.
17575         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17576         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17577         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17578         DEFINE_LDBL_MIN.
17579         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17580         * math/auto-libm-test-in: Add more tests of pow.
17581         * math/auto-libm-test-out: Regenerated.
17583 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17585         * nss/bug17079.c (init_test_items): Add diagnostic for
17586         inconsistent entries.
17587         (test_buffer_size): Skip inconsistent entries.
17589 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17591         [BZ #13304]
17592         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17593         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17594         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17596         [BZ #13304]
17597         * sysdeps/microblaze/s_fma.c: New file.
17598         * sysdeps/microblaze/s_fmaf.c: Likewise.
17599         * sysdeps/microblaze/sfp-machine.h: Likewise.
17601 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17603         [BZ #17250]
17604         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17605         member.
17607 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17609         [BZ #18803]
17610         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17611         (MO): New macro.
17612         (__ieee754_hypot) [PIC]: Load PIC register.
17613         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17614         DBL_NARROW_EVAL.
17615         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17616         math_check_force_underflow_nonneg in case where result might be
17617         tiny.
17618         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17619         Likewise.
17620         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17621         Likewise.
17622         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17623         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17624         * math/auto-libm-test-in: Add more tests of hypot.
17625         * math/auto-libm-test-out: Regenerated.
17627 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17629         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17631 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17633         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17634         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17635         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17636         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17637         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17638         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17639         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17641         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17642         LOAD_PIC_REG.
17644         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17645         (FLT_CHECK_FORCE_UFLOW): Likewise.
17646         (DBL_CHECK_FORCE_UFLOW): Likewise.
17647         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17648         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17649         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17650         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17651         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17652         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17653         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17654         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17655         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17656         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17657         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17658         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17659         (flt_min): Replace with use of DEFINE_FLT_MIN.
17660         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17661         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17662         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17663         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17664         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17665         (flt_min): Replace with use of DEFINE_FLT_MIN.
17666         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17667         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17668         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17669         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17670         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17671         (flt_min): Replace with use of DEFINE_FLT_MIN.
17672         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17673         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17674         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17675         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17676         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17677         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17678         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17679         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17680         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17681         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17682         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17683         (flt_min): Replace with use of DEFINE_FLT_MIN.
17684         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17685         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17686         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17687         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17688         main computation.
17689         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17690         (flt_min): Replace with use of DEFINE_FLT_MIN.
17691         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17692         main computation.
17693         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17694         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17695         (MO): New macro.
17696         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17697         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17698         (flt_min): Replace with use of DEFINE_FLT_MIN.
17699         (MO): New macro.
17700         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17701         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17702         (__log1pl): Use MO.
17704         [BZ #19003]
17705         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17706         $(config-cflags-nofma).
17708 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17710         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17712 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17714         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17715         (TWO127): Likewise.
17717         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17718         (min_of_type): Likewise.
17719         (math_check_force_underflow): Likewise.
17720         (math_check_force_underflow_nonneg): Likewise.
17721         (math_check_force_underflow_complex): Likewise.
17722         * math/e_exp2l.c (__ieee754_exp2l): Use
17723         math_check_force_underflow_nonneg.
17724         * math/k_casinh.c (__kernel_casinh): Likewise.
17725         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17726         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17727         * math/s_catan.c (__catan): Use
17728         math_check_force_underflow_complex.
17729         * math/s_catanf.c (__catanf): Likewise.
17730         * math/s_catanh.c (__catanh): Likewise.
17731         * math/s_catanhf.c (__catanhf): Likewise.
17732         * math/s_catanhl.c (__catanhl): Likewise.
17733         * math/s_catanl.c (__catanl): Likewise.
17734         * math/s_ccosh.c (__ccosh): Likewise.
17735         * math/s_ccoshf.c (__ccoshf): Likewise.
17736         * math/s_ccoshl.c (__ccoshl): Likewise.
17737         * math/s_cexp.c (__cexp): Likewise.
17738         * math/s_cexpf.c (__cexpf): Likewise.
17739         * math/s_cexpl.c (__cexpl): Likewise.
17740         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17741         * math/s_clog10.c (__clog10): Likewise.
17742         * math/s_clog10f.c (__clog10f): Likewise.
17743         * math/s_clog10l.c (__clog10l): Likewise.
17744         * math/s_clogf.c (__clogf): Likewise.
17745         * math/s_clogl.c (__clogl): Likewise.
17746         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17747         * math/s_csinf.c (__csinf): Likewise.
17748         * math/s_csinh.c (__csinh): Likewise.
17749         * math/s_csinhf.c (__csinhf): Likewise.
17750         * math/s_csinhl.c (__csinhl): Likewise.
17751         * math/s_csinl.c (__csinl): Likewise.
17752         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17753         * math/s_csqrtf.c (__csqrtf): Likewise.
17754         * math/s_csqrtl.c (__csqrtl): Likewise.
17755         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17756         * math/s_ctanf.c (__ctanf): Likewise.
17757         * math/s_ctanh.c (__ctanh): Likewise.
17758         * math/s_ctanhf.c (__ctanhf): Likewise.
17759         * math/s_ctanhl.c (__ctanhl): Likewise.
17760         * math/s_ctanl.c (__ctanl): Likewise.
17761         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17762         instead of volatile.
17763         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17764         math_check_force_underflow.
17765         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17766         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17767         volatile when forcing underflow.
17768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17769         math_check_force_underflow_nonneg.
17770         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17771         Likewise.
17772         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17773         math_check_force_underflow.
17774         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17775         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17776         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17777         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17778         math_check_force_underflow_nonneg.
17779         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17780         math_check_force_underflow.
17781         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17783         instead of volatile.
17784         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17785         math_check_force_underflow.
17786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17788         math_check_force_underflow_nonneg.
17789         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17790         math_check_force_underflow.
17791         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17792         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17793         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17794         math_check_force_underflow_nonneg.
17795         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17796         Likewise.
17797         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17798         math_check_force_underflow.
17799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17800         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17801         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17802         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17803         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17804         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17805         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17806         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17807         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17808         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17809         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17810         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17811         Likewise.
17812         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17813         math_check_force_underflow_nonneg.
17814         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17815         Likewise.
17816         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17817         math_check_force_underflow.
17818         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17819         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17820         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17821         Likewise.
17822         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17823         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17824         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17825         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17826         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17827         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17829         instead of volatile.
17830         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17831         math_check_force_underflow.
17832         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17834         math_check_force_underflow.
17835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17836         Likewise.
17837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17838         Use math_check_force_underflow_nonneg.
17839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17840         math_check_force_underflow.
17841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17842         Likewise.
17843         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17844         Likewise.
17845         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17846         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17847         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17848         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17849         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17850         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17851         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17852         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17853         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17854         math_check_force_underflow_nonneg.
17855         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17856         math_check_force_underflow.
17857         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17858         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17859         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17860         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17861         math_check_force_underflow_nonneg.
17862         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17863         math_check_force_underflow.
17864         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17866         instead of volatile.
17867         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17868         math_check_force_underflow.
17870         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17871         * stdlib/strtod_l.c: Include <math_private.h>.
17872         (overflow_value): Use math_narrow_eval.
17873         (underflow_value): Likewise.
17874         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17875         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17876         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17877         (__ieee754_gamma_r): Likewise.
17878         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17879         Likewise.
17880         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17881         Likewise.
17882         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17883         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17884         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17885         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17886         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17887         (__ieee754_gammaf_r): Likewise.
17888         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17889         Likewise.
17890         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17891         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17892         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17893         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17894         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17895         volatile.
17896         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17897         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17898         math_narrow_eval.
17899         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17900         Likewise.
17901         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17902         Likewise.
17903         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17904         Likewise.
17905         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17906         volatile.
17907         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17908         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17909         math_narrow_eval.
17910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17911         Likewise.
17912         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17913         Likewise.
17915 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17917         * nptl/Versions: Remove ignored symbols.
17919 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17921         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17922         * nss/Makefile (tests): Update.
17924 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17926         * nss/bug18287.c: New file.
17927         * nss/Makefile (tests): Add bug18287.
17929 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17931         * mach/Versions (__mach_host_self_): Add symbol.
17933 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17935         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17936         vm_page_size.
17938 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17940         Really fix sysdeps/i386/fpu/s_scalbn.S build
17942         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17943         (libc: GLIBC_2_22): Remove unused version set.
17945 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17947         * config.make.in (enable-timezone-tools): New variable.
17948         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17949         (enable_timezone_tools): Export to generated files.
17950         * configure: Regenerate.
17951         * INSTALL: Regenerate.
17952         * manual/install.texi (--disable-timezone-tools): Document new flag.
17953         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17954         ifeq ($(enable-timezone-tools),yes) check.
17956 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17958         * timezone/Makefile: Revert previous change.
17960         [BZ #18980]
17961         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17962         (DEFINE_DBL_MIN): Likewise.
17963         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17964         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17965         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17966         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17967         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17968         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17969         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17970         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17971         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17972         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17973         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17974         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17975         (flt_min): Replace with use of DEFINE_FLT_MIN.
17976         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17977         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17978         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17979         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17980         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17981         (flt_min): Replace with use of DEFINE_FLT_MIN.
17982         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17983         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17984         (flt_min): Replace with use of DEFINE_FLT_MIN.
17985         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17986         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17987         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17988         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17989         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17990         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17991         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17992         (__ieee754_pow): Use DBL_NARROW_EVAL.
17993         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17994         (__ieee754_powf): Use FLT_NARROW_EVAL.
17995         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17996         (__ieee754_expf_sse2): Convert double-precision result to single
17997         precision.
17998         * sysdeps/i386/fpu/libm-test-ulps: Update.
18000 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18002         * timezone/Makefile: Ignore unused variable errors due to private.h
18003         (time_t_min) and (time_t_max).
18004         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18005         Likewise.
18007 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18009         [BZ #18981]
18010         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18011         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18012         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18013         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18014         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18015         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18016         (__scalbn): Use DBL_NARROW_EVAL.
18017         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18018         (__scalbnf): Use FLT_NARROW_EVAL.
18020 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18022         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18023         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18024         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18025         * stdio-common/printf_fp.c (___printf_fp):
18026         Use signbit to get the sign. Use isinf macro to allow inlining.
18027         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18028         * stdio-common/printf_size.c (__printf_size): Likewise.
18030 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18032         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18034 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18036         [BZ #18980]
18037         * sysdeps/generic/math_private.h: Include <float.h>.
18038         (math_narrow_eval): New macro.
18039         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18040         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18041         math_narrow_eval on overflowing return value.
18042         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18043         Likewise.
18044         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18045         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18046         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18047         Likewise.
18048         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18050 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18052         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18053         * math/Makefile: Remove isinf_ns.c.
18054         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18055         * math/multc3.c (__multc3): Likewise.
18056         * math/s_casin.c (__casin): Likewise.
18057         * math/s_casinf.c (__casinf): Likewise.
18058         * math/s_casinl.c (__casinl): Likewise.
18059         * math/s_cproj.c (__cproj): Likewise.
18060         * math/s_cprojf.c (__cprojf): Likewise.
18061         * math/s_cprojl.c (__cprofl): Likewise.
18062         * math/s_ctan.c (__ctan): Likewise.
18063         * math/s_ctanf.c (__ctanf): Likewise.
18064         * math/s_ctanh.c (__ctanh): Likewise.
18065         * math/s_ctanhf.c (__ctanhf): Likewise.
18066         * math/s_ctanhl.c (__ctanhl): Likewise.
18067         * math/s_ctanl.c (__ctanl): Likewise.
18068         * math/w_fmod.c (__fmod): Likewise.
18069         * math/w_fmodf.c (__fmodf): Likewise.
18070         * math/w_fmodl.c (_fmodl): Likewise.
18071         * math/w_remainder.c (__remainder): Likewise.
18072         * math/w_remainderf.c (__remainderf): Likewise.
18073         * math/w_remainderl.c (__remainderl): Likewise.
18074         * math/w_scalb.c (__scalb): Likewise.
18075         * math/w_scalbf.c (__scalbf): Likewise.
18076         * math/w_scalbl.c (__scalbl): Likewise.
18077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18078         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18079         with isinf.
18080         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18082         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18083         __isinf_nsf with isinf.
18084         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18085         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18086         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18087         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18088         with isinf.
18089         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18090         __isinf_nsl with isinf.
18091         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18092         with isinf.
18093         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18094         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18095         __isinf_nsl with isinf.
18096         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18097         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18098         with isinf.
18100 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18102         * resolv/base64.c (rcsid): Remove unused static.
18103         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18104         static.  (tqpi1): Likewise.
18105         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18106         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18107         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18108         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18109         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18110         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18111         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18112         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18113         Likewise.
18115 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18117         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18118         <nptl/pthreadP.h>.
18119         (_longjmp_unwind): Use __libc_ptf_call.
18120         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18122 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18124         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18125         * sysdeps/arm/__longjmp.S: Likewise.
18127 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18129         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18130         Use __builtin_signbit.
18131         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18132         Use __builtin_signbitf.
18133         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18134         Use __builtin_signbitl.
18135         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18136         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18138 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18140         [BZ #15367]
18141         [BZ #17441]
18143         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18144         * math/math.h (fpclassify): Use __builtin_fpclassify when
18145         available.  (signbit): Use __builtin_signbit(f/l).
18146         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18147         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18148         (isinf): Use __builtin_isinf_sign.
18150 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18152         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18153         * benchtests/bench-math-inlines.c: New benchmark.
18154         * benchtests/bench-util.h: New file.
18155         * benchtests/bench-util.c: New file.
18156         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18158 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18160         * elf/tst-dlmopen1.c: Define TEST_SO.
18161         (do_test): Use TEST_SO.
18163         * elf/dl-load.c: Include libc-internal.h.
18164         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18166 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18168         [BZ #17887]
18169         * time/strptime_l.c (__strptime_internal): Make %z accept
18170         [+-]HH:MM time zones.
18172 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18174         [BZ #17886]
18175         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18176         valid time zone.
18178 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18180         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18181         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18183         (__ASSUME_FDATASYNC): Delete.
18185 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18187         * conform/linknamespace.pl: Require weak undefined symbols to be
18188         in the standard namespace.
18189         (%strong_syms): Rename to %seen_syms.
18190         (%strong_seen): Rename to %seen_where.
18192 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18194         [BZ #18970]
18195         * misc/error.c (error): Replace pthread_setcancelstate with
18196         __pthread_setcancelstate.
18197         (error_at_line): Likewise.
18198         * posix/wordexp.c (parse_comm): Likewise.
18199         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18200         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18201         (__pthread_setcancelstate): This.
18202         (pthread_setcancelstate): Add an alias.
18203         * nptl/nptl-init.c (pthread_functions): Replace
18204         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18205         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18206         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18207         hidden_proto.
18208         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18209         it with hidden_def.
18210         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18211         (pthread_setcancelstate): Renamed to ...
18212         (__pthread_setcancelstate): This.
18213         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18214         __libc_ptf_call with __pthread_setcancelstate.
18216 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18217             Andreas Schwab  <schwab@suse.de>
18219         [BZ #17118]
18220         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18221         result when imaginary part of argument is infinite using sine and
18222         cosine.
18223         * math/s_ctanf.c (__ctanf): Likewise.
18224         * math/s_ctanl.c (__ctanl): Likewise.
18225         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18226         of result when real part of argument is infinite using sine and
18227         cosine.
18228         * math/s_ctanhf.c (__ctanhf): Likewise.
18229         * math/s_ctanhl.c (__ctanhl): Likewise.
18230         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18231         (ctanh_test_data): Add more tests of ctanh.
18233 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18235         [BZ #15384]
18236         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18237         bit-mask as in subtraction.
18238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18239         Likewise.
18240         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18241         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18242         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18244         [BZ #18951]
18245         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18246         underflow exception for small results.
18247         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18248         Likewise.
18249         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18250         Likewise.
18251         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18252         Likewise.
18253         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18254         Likewise.
18255         * math/auto-libm-test-in: Add more tests of tgamma.
18256         * math/auto-libm-test-out: Regenerated.
18258 2015-09-17  Andreas Schwab  <schwab@suse.de>
18260         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18262 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18264         [BZ #18977]
18265         * math/bits/mathcalls.h
18266         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18267         not declare.
18268         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18269         Likewise.
18270         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18271         Likewise.
18272         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18273         Likewise.
18274         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18275         Likewise.
18276         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18277         Likewise.
18278         * conform/data/math.h-data
18279         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18280         function.
18281         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18282         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18283         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18284         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18285         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18286         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18287         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18288         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18289         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18290         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18291         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18293         [BZ #6803]
18294         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18295         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18296         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18297         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18298         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18299         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18300         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18301         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18302         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18303         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18304         Likewise.
18305         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18306         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18307         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18309         long_double_symbol calls.
18310         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18311         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18312         strong alias of __ldexpl.
18313         (scalbnl): Define using long_double_symbol.
18314         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18315         Remove alias.
18316         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18317         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18318         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18319         (scalbln_test_data): Add more errno expectations.
18321 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18323         Cache the host port like we cache the task port.  This way we do not
18324         need to call the kernel just to get the port.  Furthermore, we no
18325         longer increase the reference count on every invocation of
18326         `mach_host_self'.
18328         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18329         Protect declarations against the macro expansion.
18330         * mach/mach_init.c (__mach_host_self_): New variable.
18331         (mach_init): Initialize `__mach_host_self_'.
18332         * mach/mach_init.h (__mach_host_self_): New declaration.
18333         (__mach_host_self, mach_host_self): New macros.
18334         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18335         Release reference.
18337 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18339         [BZ #4404]
18340         * po/de.po: Update from Translation Project.
18342         [BZ #16415]
18343         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18344         (__expm1l): Remove code to handle positive infinity and overflow.
18345         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18346         variable.
18347         (__expm1l): Remove code to handle positive infinity and overflow.
18349 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18350             Paul Pluzhnikov  <ppluzhnikov@google.com>
18352         [BZ #18872]
18353         * stdio-common/Makefile (tst-printf-bz18872): New test.
18354         (tst-printf-bz18872-mem.out): Likewise.
18355         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18356         * stdio-common/vfprintf.c: Fix memory leaks.
18358 2015-09-16  Andreas Schwab  <schwab@suse.de>
18360         [BZ #17244]
18361         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18362         Remove extra va_start/va_end calls.
18364         [BZ #17243]
18365         * posix/execl.c (execl): Add missing va_end.
18366         * posix/execle.c (execle): Likewise.
18367         * posix/execlp.c (execlp): Likewise.
18369 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18371         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18372         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18374 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #18967]
18377         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18378         undefine around includes of <bits/mathcalls.h>.
18379         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18380         not declare function.
18381         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18382         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18383         (scalb): Likewise.
18384         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18385         not define macro.
18386         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18387         variable.
18388         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18389         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18390         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18392         [BZ #18857]
18393         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18394         return non-finite argument without doing ordered comparisons on
18395         it.
18397         [BZ #16296]
18398         * math/fenv.h (fegetround): Use __attribute_pure__.
18399         * include/fenv.h (__fegetround): Likewise.
18401         [BZ #18595]
18402         * math/s_ctan.c (__ctan): Force underflow exception for results
18403         whose real or imaginary part has small absolute value.
18404         * math/s_ctanf.c (__ctanf): Likewise.
18405         * math/s_ctanh.c (__ctanh): Likewise.
18406         * math/s_ctanhf.c (__ctanhf): Likewise.
18407         * math/s_ctanhl.c (__ctanhl): Likewise.
18408         * math/s_ctanl.c (__ctanl): Likewise.
18409         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18410         and ctanh.  Add more tests of ctan and ctanh.
18412         [BZ #15918]
18413         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18414         handling of cases where one argument is an infinity.
18416         [BZ #18875]
18417         [BZ #18966]
18418         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18419         (MO): New macro.
18420         (__ieee754_exp10): For small results, force underflow exception
18421         and remove excess range and precision from return value.
18422         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18423         (MO): New macro.
18424         (__ieee754_exp10f): For small results, force underflow exception
18425         and remove excess range and precision from return value.
18426         * math/auto-libm-test-in: Add more tests of exp10.
18427         * math/auto-libm-test-out: Regenerated.
18429 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18431         [BZ #18875]
18432         [BZ #18961]
18433         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18434         (MO): New macro.
18435         (__ieee754_exp): For small results, force underflow exception and
18436         remove excess range and precision from return value.
18437         (__exp_finite): Likewise.
18438         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18439         (MO): New macro.
18440         (__ieee754_expf): For small results, force underflow exception and
18441         remove excess range and precision from return value.
18442         (__expf_finite): Likewise.
18443         * math/auto-libm-test-in: Add more tests of exp.
18444         * math/auto-libm-test-out: Regenerated.
18446         [BZ #16521]
18447         [BZ #18875]
18448         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18449         small results.
18450         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18451         (MO): New macro.
18452         (__ieee754_exp2): For small results, force underflow exception and
18453         remove excess range and precision from return value.
18454         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18455         (MO): New macro.
18456         (__ieee754_exp2f): For small results, force underflow exception
18457         and remove excess range and precision from return value.
18458         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18459         (MO): New macro.
18460         (__ieee754_exp2l): Force underflow exception for small results.
18461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18462         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18463         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18464         (MO): New macro.
18465         (__ieee754_exp2l): Force underflow exception for small results.
18466         * math/auto-libm-test-in: Add more tests or exp2.
18467         * math/auto-libm-test-out: Regenerated.
18469 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18471         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18473         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18474         /dev/null.
18476 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18478         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18479         io fs process)): Drop spurious backslash.
18481 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18483         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18484         Use sysinfo system call instead of parsing /proc/meminfo.
18485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18486         Likewise.
18488 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18490         [BZ #16985]
18491         * programs/localedef.c (main): Display argv[remaining] when
18492         output_path is NULL.
18494 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18496         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18497         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18498         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18499         tanh.
18500         * math/auto-libm-test-out: Regenerated.
18501         * sysdeps/i386/fpu/libm-test-ulps: Update.
18502         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18503         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18508         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18509         Use 'override' keyword to freeze the value here, preventing
18510         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18512 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #14912]
18515         * sysdeps/aarch64/bits/atomic.h: Move to ...
18516         * sysdeps/aarch64/atomic-machine.h: ...here.
18517         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18518         _AARCH64_ATOMIC_MACHINE_H.
18519         * sysdeps/alpha/bits/atomic.h: Move to ...
18520         * sysdeps/alpha/atomic-machine.h: ...here.
18521         * sysdeps/arm/bits/atomic.h: Move to ...
18522         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18523         * bits/atomic.h: Move to ...
18524         * sysdeps/generic/atomic-machine.h: ...here.
18525         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18526         * sysdeps/i386/bits/atomic.h: Move to ...
18527         * sysdeps/i386/atomic-machine.h: ...here.
18528         * sysdeps/ia64/bits/atomic.h: Move to ...
18529         * sysdeps/ia64/atomic-machine.h: ...here.
18530         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18531         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18532         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18533         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18534         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18535         * sysdeps/microblaze/bits/atomic.h: Move to ...
18536         * sysdeps/microblaze/atomic-machine.h: ...here.
18537         * sysdeps/mips/bits/atomic.h: Move to ...
18538         * sysdeps/mips/atomic-machine.h: ...here.
18539         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18540         * sysdeps/powerpc/bits/atomic.h: Move to ...
18541         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18542         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18543         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18544         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18545         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18546         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18547         <atomic-machine.h> instead of <bits/atomic.h>.
18548         * sysdeps/s390/bits/atomic.h: Move to ...
18549         * sysdeps/s390/atomic-machine.h: ...here.
18550         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18551         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18552         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18553         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18554         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18555         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18556         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18557         * sysdeps/tile/bits/atomic.h: Move to ...
18558         * sysdeps/tile/atomic-machine.h: ...here.
18559         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18560         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18561         <sysdeps/tile/atomic-machine.h> instead of
18562         <sysdeps/tile/bits/atomic.h>.
18563         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18564         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18565         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18566         <sysdeps/tile/atomic-machine.h> instead of
18567         <sysdeps/tile/bits/atomic.h>.
18568         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18569         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18570         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18571         <sysdeps/arm/atomic-machine.h> instead of
18572         <sysdeps/arm/bits/atomic.h>.
18573         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18574         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18575         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18576         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18577         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18578         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18579         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18580         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18581         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18582         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18583         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18584         * sysdeps/x86_64/bits/atomic.h: Move to ...
18585         * sysdeps/x86_64/atomic-machine.h: ...here.
18586         * include/atomic.h: Include <atomic-machine.h> instead of
18587         <bits/atomic.h>.
18589         * sysdeps/mips/mips32/libm-test-ulps: Update.
18590         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18592         [BZ #18952]
18593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18594         not convert non-integer negative arguments to int to determine the
18595         value of signgam.
18596         * math/auto-libm-test-in: Add more tests of lgamma.
18597         * math/auto-libm-test-out: Regenerated.
18599         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18600         cosh, csqrt, erfc, expm1 and lgamma.
18601         * math/auto-libm-test-out: Regenerated.
18602         * sysdeps/i386/fpu/libm-test-ulps: Update.
18603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18607         [BZ #2542]
18608         [BZ #2543]
18609         [BZ #2558]
18610         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18611         __lgamma_neg for arguments from -28.0 to -2.0.
18612         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18613         __lgamma_negf for arguments from -15.0 to -2.0.
18614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18615         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18617         Call __lgamma_negl for arguments from -33.0 to -2.0.
18618         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18619         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18620         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18621         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18622         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18623         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18624         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18625         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18626         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18627         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18628         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18629         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18630         (__lgamma_neg): Likewise.
18631         (__lgamma_negl): Likewise.
18632         (__lgamma_product): Likewise.
18633         (__lgamma_productl): Likewise.
18634         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18635         * math/auto-libm-test-in: Add more tests of lgamma.
18636         * math/auto-libm-test-out: Regenerated.
18637         * sysdeps/i386/fpu/libm-test-ulps: Update.
18638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18640 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18642         [BZ #18675]
18643         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18645 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18647         [BZ #14912]
18648         * bits/libc-lock.h: Move to ...
18649         * sysdeps/generic/libc-lock.h: ...here.
18650         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18651         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18652         * sysdeps/mach/hurd/libc-lock.h: ...here.
18653         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18654         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18655         * sysdeps/mach/bits/libc-lock.h: Move to ...
18656         * sysdeps/mach/libc-lock.h: ...here.
18657         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18658         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18659         * sysdeps/nptl/libc-lock.h: ...here.
18660         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18661         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18662         * sysdeps/nptl/libc-lockP.h: ...here.
18663         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18664         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18665         <bits/libc-lock.h>.
18666         * dirent/scandir-tail.c: Likewise.
18667         * dlfcn/dlerror.c: Likewise.
18668         * elf/dl-close.c: Likewise.
18669         * elf/dl-iteratephdr.c: Likewise.
18670         * elf/dl-lookup.c: Likewise.
18671         * elf/dl-open.c: Likewise.
18672         * elf/dl-support.c: Likewise.
18673         * elf/dl-writev.h: Likewise.
18674         * elf/rtld.c: Likewise.
18675         * grp/fgetgrent.c: Likewise.
18676         * gshadow/fgetsgent.c: Likewise.
18677         * gshadow/sgetsgent.c: Likewise.
18678         * iconv/gconv_conf.c: Likewise.
18679         * iconv/gconv_db.c: Likewise.
18680         * iconv/gconv_dl.c: Likewise.
18681         * iconv/gconv_int.h: Likewise.
18682         * iconv/gconv_trans.c: Likewise.
18683         * include/link.h: Likewise.
18684         * inet/getnameinfo.c: Likewise.
18685         * inet/getnetgrent.c: Likewise.
18686         * inet/getnetgrent_r.c: Likewise.
18687         * intl/bindtextdom.c: Likewise.
18688         * intl/dcigettext.c: Likewise.
18689         * intl/finddomain.c: Likewise.
18690         * intl/gettextP.h: Likewise.
18691         * intl/loadmsgcat.c: Likewise.
18692         * intl/localealias.c: Likewise.
18693         * intl/textdomain.c: Likewise.
18694         * libidn/idn-stub.c: Likewise.
18695         * libio/libioP.h: Likewise.
18696         * locale/duplocale.c: Likewise.
18697         * locale/freelocale.c: Likewise.
18698         * locale/newlocale.c: Likewise.
18699         * locale/setlocale.c: Likewise.
18700         * login/getutent_r.c: Likewise.
18701         * login/getutid_r.c: Likewise.
18702         * login/getutline_r.c: Likewise.
18703         * login/utmp-private.h: Likewise.
18704         * login/utmpname.c: Likewise.
18705         * malloc/mtrace.c: Likewise.
18706         * misc/efgcvt.c: Likewise.
18707         * misc/error.c: Likewise.
18708         * misc/fstab.c: Likewise.
18709         * misc/getpass.c: Likewise.
18710         * misc/mntent.c: Likewise.
18711         * misc/syslog.c: Likewise.
18712         * nis/nis_call.c: Likewise.
18713         * nis/nis_callback.c: Likewise.
18714         * nis/nss-default.c: Likewise.
18715         * nis/nss_compat/compat-grp.c: Likewise.
18716         * nis/nss_compat/compat-initgroups.c: Likewise.
18717         * nis/nss_compat/compat-pwd.c: Likewise.
18718         * nis/nss_compat/compat-spwd.c: Likewise.
18719         * nis/nss_nis/nis-alias.c: Likewise.
18720         * nis/nss_nis/nis-ethers.c: Likewise.
18721         * nis/nss_nis/nis-grp.c: Likewise.
18722         * nis/nss_nis/nis-hosts.c: Likewise.
18723         * nis/nss_nis/nis-network.c: Likewise.
18724         * nis/nss_nis/nis-proto.c: Likewise.
18725         * nis/nss_nis/nis-pwd.c: Likewise.
18726         * nis/nss_nis/nis-rpc.c: Likewise.
18727         * nis/nss_nis/nis-service.c: Likewise.
18728         * nis/nss_nis/nis-spwd.c: Likewise.
18729         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18730         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18731         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18732         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18733         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18734         * nis/nss_nisplus/nisplus-network.c: Likewise.
18735         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18736         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18737         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18738         * nis/nss_nisplus/nisplus-service.c: Likewise.
18739         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18740         * nis/ypclnt.c: Likewise.
18741         * nptl/libc_pthread_init.c: Likewise.
18742         * nss/getXXbyYY.c: Likewise.
18743         * nss/getXXent.c: Likewise.
18744         * nss/getXXent_r.c: Likewise.
18745         * nss/nss_db/db-XXX.c: Likewise.
18746         * nss/nss_db/db-netgrp.c: Likewise.
18747         * nss/nss_db/nss_db.h: Likewise.
18748         * nss/nss_files/files-XXX.c: Likewise.
18749         * nss/nss_files/files-alias.c: Likewise.
18750         * nss/nsswitch.c: Likewise.
18751         * posix/regex_internal.h: Likewise.
18752         * posix/wordexp.c: Likewise.
18753         * pwd/fgetpwent.c: Likewise.
18754         * resolv/res_hconf.c: Likewise.
18755         * resolv/res_libc.c: Likewise.
18756         * shadow/fgetspent.c: Likewise.
18757         * shadow/lckpwdf.c: Likewise.
18758         * shadow/sgetspent.c: Likewise.
18759         * socket/opensock.c: Likewise.
18760         * stdio-common/reg-modifier.c: Likewise.
18761         * stdio-common/reg-printf.c: Likewise.
18762         * stdio-common/reg-type.c: Likewise.
18763         * stdio-common/vfprintf.c: Likewise.
18764         * stdio-common/vfscanf.c: Likewise.
18765         * stdlib/abort.c: Likewise.
18766         * stdlib/cxa_atexit.c: Likewise.
18767         * stdlib/fmtmsg.c: Likewise.
18768         * stdlib/random.c: Likewise.
18769         * stdlib/setenv.c: Likewise.
18770         * string/strsignal.c: Likewise.
18771         * sunrpc/auth_none.c: Likewise.
18772         * sunrpc/bindrsvprt.c: Likewise.
18773         * sunrpc/create_xid.c: Likewise.
18774         * sunrpc/key_call.c: Likewise.
18775         * sunrpc/rpc_thread.c: Likewise.
18776         * sysdeps/arm/backtrace.c: Likewise.
18777         * sysdeps/generic/ldsodefs.h: Likewise.
18778         * sysdeps/generic/stdio-lock.h: Likewise.
18779         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18780         * sysdeps/i386/backtrace.c: Likewise.
18781         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18782         * sysdeps/m68k/backtrace.c: Likewise.
18783         * sysdeps/mach/hurd/cthreads.c: Likewise.
18784         * sysdeps/mach/hurd/dirstream.h: Likewise.
18785         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18786         * sysdeps/nptl/malloc-machine.h: Likewise.
18787         * sysdeps/nptl/stdio-lock.h: Likewise.
18788         * sysdeps/posix/dirstream.h: Likewise.
18789         * sysdeps/posix/getaddrinfo.c: Likewise.
18790         * sysdeps/posix/system.c: Likewise.
18791         * sysdeps/pthread/aio_suspend.c: Likewise.
18792         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18793         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18794         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18795         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18796         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18797         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18798         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18799         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18800         * sysdeps/unix/sysv/linux/system.c: Likewise.
18801         * sysdeps/x86_64/backtrace.c: Likewise.
18802         * time/alt_digit.c: Likewise.
18803         * time/era.c: Likewise.
18804         * time/tzset.c: Likewise.
18805         * wcsmbs/wcsmbsload.c: Likewise.
18806         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18807         instead of <bits/libc-lock.h> in comment.
18809 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18811         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18812         Only use .set mips2 if the current ISA is below mips2.
18813         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18814         Likewise.
18815         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18816         mips32r2 if the current ISA is below mips32r2.
18817         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18818         (TLS_IE): Updated to use the TLD_RDHWR macro.
18819         (TLS_LE): Likewise.
18820         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18821         __ASSEMBLER__ condition.
18823 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18825         Fix parallel build of before-compile targets.
18827         * sysdeps/mach/Makefile ($(patsubst
18828         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18829         mach-before-compile target.
18830         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18831         io fs process)): Move rule to dedicated hurd-before-compile target.
18833 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18835         Fix rules generating headers in hurd/ and mach/ when initial make call
18836         has subdir= explicitly set.
18838         * sysdeps/mach/Makefile ($(patsubst
18839         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18840         calling $(MAKE).
18841         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18842         io fs process)): Force subdir to hurd when calling $(MAKE).
18843         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18844         subdir to mach when calling $(MAKE).
18846 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18848         Check sysheaders when looking for Mach and Hurd headers
18850         * sysdeps/mach/configure.ac: Add sysheaders check.
18851         * sysdeps/mach/configure: Regenerate.
18852         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18853         * sysdeps/mach/hurd/configure: Regenerate.
18855 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18857         [BZ #18921]
18858         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18859         Fix inverted sense of test of 'o_directory_works' value.
18860         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18861         Bernhard Voelker <mail@bernhard-voelker.de>.
18863 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #14912]
18866         * bits/linkmap.h: Move to ...
18867         * sysdeps/generic/linkmap.h: ...here.
18868         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18869         * sysdeps/aarch64/linkmap.h: ...here.
18870         * sysdeps/arm/bits/linkmap.h: Move to ...
18871         * sysdeps/arm/linkmap.h: ...here.
18872         * sysdeps/hppa/bits/linkmap.h: Move to ...
18873         * sysdeps/hppa/linkmap.h: ...here.
18874         * sysdeps/ia64/bits/linkmap.h: Move to ...
18875         * sysdeps/ia64/linkmap.h: ...here.
18876         * sysdeps/mips/bits/linkmap.h: Move to ...
18877         * sysdeps/mips/linkmap.h: ...here.
18878         * sysdeps/s390/bits/linkmap.h: Move to ...
18879         * sysdeps/s390/linkmap.h: ...here.
18880         * sysdeps/sh/bits/linkmap.h: Move to ...
18881         * sysdeps/sh/linkmap.h: ...here.
18882         * sysdeps/x86/bits/linkmap.h: Move to ...
18883         * sysdeps/x86/linkmap.h: ...here.
18884         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18886 2015-09-04  Andreas Schwab  <schwab@suse.de>
18888         [BZ #18635]
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18890         (__makecontext): Terminate FDE before return label.
18891         (__novec_makecontext): Likewise.
18893 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18895         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18896         first member of struct sv in syscall macro.
18898 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18900         [BZ #14912]
18901         * bits/stdio-lock.h: Move to ...
18902         * sysdeps/generic/stdio-lock.h: ...here.
18903         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18904         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18905         * sysdeps/nptl/stdio-lock.h: ...here.
18906         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18907         * include/libio.h: Include <stdio-lock.h> instead of
18908         <bits/stdio-lock.h>.
18909         * sysdeps/nptl/fork.c: Likewise.
18910         * sysdeps/pthread/flockfile.c: Likewise.
18911         * sysdeps/pthread/ftrylockfile.c: Likewise.
18912         * sysdeps/pthread/funlockfile.c: Likewise.
18914         [BZ #14912]
18915         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18916         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18917         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18918         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18919         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18920         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18921         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18923 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18925         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18926         (test-xfail-tst-protected1b): New variable.
18928 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #14912]
18931         * bits/libc-tsd.h: Move to ...
18932         * sysdeps/generic/libc-tsd.h: ...here.
18933         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18934         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18935         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18936         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18937         * include/ctype.h: Include <libc-tsd.h> instead of
18938         <bits/libc-tsd.h>.
18939         * include/rpc/rpc.h: Likewise.
18940         * locale/localeinfo.h: Likewise.
18941         * sunrpc/rpc_thread.c: Likewise.
18942         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18943         * sysdeps/nptl/malloc-machine.h: Likewise.
18945         * Makefile (headers): Remove bits/libc-lock.h.
18946         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18948         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18949         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18950         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18951         <bits/stdio-lock.h>.
18952         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18953         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18955 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18957         [BZ #18757]
18958         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18959         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18960         BZ #18757.
18962 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18964         * malloc/mtrace.pl: Filter out NULL entries.
18966 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18968         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18969         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18970         macro.
18972         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18973         (TCP_CC_INFO): Likewise.
18974         (TCP_SAVE_SYN): Likewise.
18975         (TCP_SAVED_SYN): Likewise.
18977 2015-08-31  Brett Neumeier <brett@neumeier.us>
18979         [BZ #18870]
18980         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18982 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18984         [BZ #18873]
18985         Fix broken overflow check in posix_fallocate
18986         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18987         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18988         Fix parenthesization typo.
18990 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18992         [BZ #18887]
18993         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18994         tst-mntent-blank-passno.
18995         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18996         * misc/tst-mntent-blank-corrupt.c: New test.
18997         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18998         * misc/tst-mntent.c (do_test): ... here.
19000 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19002         [BZ #4404]
19003         * po/de.po: Fix SIGALRM typo.
19005 2015-08-28  James Perkins  <james@loowit.net>
19007         * time/tst-strptime2.c (tests): Replace short list of test
19008         strings for strptime %z specifier with code which exhaustively
19009         tests every combination of sign and 0 to 5 digits. Tests for
19010         rejection of invalid strings.
19012 2015-08-28  James Perkins  <james@loowit.net>
19014         [BZ #16141]
19015         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19016         calculation, removing incorrect decimal time rounding, so that
19017         all minute values result in a valid seconds value.
19018         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19019         offset range limits to UTC-99:59 through UTC+99:59 to parse
19020         current and historical use cases.
19021         * time/tst-strptime2.c (tests): Modify and add tests for the
19022         strptime %z input field descriptor, specifically conversion of
19023         minutes to seconds and validating an offset range of -9959 to
19024         +9959.
19026 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19027             Dmitry V. Levin  <ldv@altlinux.org>
19029         [BZ #18877]
19030         * posix/Makefile (tests): Add tst-mmap-offset.
19031         * posix/tst-mmap.c: New file.
19032         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19033         offset calculation for negative values.
19035 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19037         * sysdeps/i386/init-arch.h: New file.
19038         * sysdeps/i386/i586/init-arch.h: Likewise.
19039         * sysdeps/i386/i686/init-arch.h: Likewise.
19040         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19041         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19042         * sysdeps/x86/cpu-features.h (bit_I586): New.
19043         (bit_I686): Likewise.
19044         (bit_CX8): Likewise.
19045         (bit_CMOV): Likewise.
19046         (index_CX8): Likewise.
19047         (index_CMOV): Likewise.
19048         (index_I586): Likewise.
19049         (index_I686): Likewise.
19050         (reg_CX8): Likewise.
19051         (reg_CMOV): Likewise.
19052         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19053         available at compile-time.
19054         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19055         available at compile-time.
19056         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19057         (USE_I686): Likewise.
19059 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19061         * sysdeps/i386/bcopy.S: New file.
19062         * sysdeps/i386/bzero.S: Likewise.
19063         * sysdeps/i386/memcpy.S: Likewise.
19064         * sysdeps/i386/memmove.S: Likewise.
19065         * sysdeps/i386/mempcpy.S: Likewise.
19066         * sysdeps/i386/memset.S: Likewise.
19067         * sysdeps/i386/bzero.c: Removed.
19068         * sysdeps/i386/memset.c: Likewise.
19069         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19070         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19071         * sysdeps/i386/i586/memset_chk.S: Likewise.
19072         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19073         * sysdeps/i386/memcpy_chk.S: Here.
19074         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19075         * sysdeps/i386/memmove_chk.S: Here.
19076         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19077         * sysdeps/i386/mempcpy_chk.S: Likewise.
19078         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19079         * sysdeps/i386/memset_chk.S: Likewise.
19081 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19083         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19084         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19085         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19086         * soft-fp/fmadf4.c: Ditto.
19087         * soft-fp/fmatf4.c: Ditto.
19089 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/i386/i586/Implies: Removed.
19092         * sysdeps/i386/i686/Implies: Likewise.
19094 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19096         * sysdeps/i386/i486/strlen.S: Moved to ...
19097         * sysdeps/i386/strlen.S: Here.
19099 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19101         * sysdeps/i386/i486/strcat.S: Moved to ...
19102         * sysdeps/i386/strcat.S: Here.
19104 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19106         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19107         * sysdeps/i386/pthread_spin_trylock.S: Here.
19108         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19109         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19111 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19113         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19114         * sysdeps/i386/string-inlines.c: Here.
19116 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19118         * sysdeps/i386/i486/htonl.S: Moved ...
19119         * sysdeps/i386/htonl.S: here.
19121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19123         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19124         * sysdeps/i386/bits/atomic.h: Here.
19126 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19128         * sysdeps/i386/i486/Versions: Removed.
19130 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19132         [BZ #2898]
19133         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19134         Based on patch by Aurelien Jarno.
19136 2015-08-26  Stan Shebs  <stanshebs@google.com>
19138         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19139         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19141 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19143         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19144         * sysdeps/powerpc/dl-procinfo.c:
19145         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19146         feature so it shows when LD_SHOW_AUXV=1.
19148 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19150         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19151         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19152         definition.  ISA 2.07B no longer requires full sync.
19154 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19156         [BZ #18863]
19157         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19158         (si_call_addr): Define.
19159         (si_syscall): Define.
19160         (si_arch): Define.
19162 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19164         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19165         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19166         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19167         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19168         (__memset_zero_constant_len_parameter): New.
19169         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19170         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19171         (__memset_zero_constant_len_parameter): Don't define if
19172         __memset_chk or USE_AS_BZERO are defined.
19174         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19175         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19176         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19178         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19179         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19180         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19181         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19182         comments.
19183         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19184         -mno-mmx for $(all-rtld-routines).
19185         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19186         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19187         i386.
19189 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19191         * sysdeps/generic/unwind.h
19192         (_Unwind_Word): Use __mode__(__unwind_word__)
19193         instead of __mode__(__word__).
19194         (_Unwind_Sword): Likewise.
19196         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19197         (MAX_NEEDED_INPUT): New define.
19198         (MAX_NEEDED_OUTPUT): New define.
19200         * NEWS: New item for IBM z13 string optimizations.
19202         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19203         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19204         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19205         * sysdeps/s390/multiarch/Makefile
19206         (sysdep_routines): Add memrchr functions.
19207         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19208         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19210         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19211         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19212         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19213         * sysdeps/s390/multiarch/Makefile
19214         (sysdep_routines): Add wmemcmp functions.
19215         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19216         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19217         * benchtests/bench-wmemcmp.c: New File.
19218         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19220         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19221         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19222         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19223         * sysdeps/s390/multiarch/Makefile
19224         (sysdep_routines): Add wmemset functions.
19225         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19226         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19227         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19228         * string/test-memset.c: Add wmemset support.
19229         * wcsmbs/test-wmemset.c: New File.
19230         * wcsmbs/Makefile (strop-tests): Add wmemset.
19231         * benchtests/bench-memset.c: Add wmemset support.
19232         * benchtests/bench-wmemset.c: New File.
19233         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19235         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19236         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19237         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19238         * sysdeps/s390/multiarch/Makefile
19239         (sysdep_routines): Add memccpy functions.
19240         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19241         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19242         * string/memccpy.c: Use MEMCCPY if defined.
19244         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19245         * sysdeps/s390/multiarch/memchr.c: Likewise.
19246         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19247         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19248         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19249         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19250         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19251         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19252         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19253         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19255         and rawmemchr functions.
19256         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19257         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19258         and wmemchr.
19259         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19260         * string/test-memchr.c: Add wmemchr support.
19261         * wcsmbs/test-wmemchr.c: New File.
19262         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19263         * benchtests/bench-memchr.c: Add wmemchr support.
19264         * benchtests/bench-wmemchr.c: New File.
19265         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19267         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19268         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19269         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19270         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19271         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19272         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19274         wcscspn functions.
19275         * sysdeps/s390/multiarch/ifunc-impl-list.c
19276         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19277         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19278         * string/test-strcspn.c: Add wcscspn support.
19279         * wcsmbs/test-wcscspn.c: New File.
19280         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19281         * benchtests/bench-strcspn.c: Add wcscspn support.
19282         * benchtests/bench-wcscspn.c: New File.
19283         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19285         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19286         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19287         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19288         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19289         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19290         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19292         wcspbrk functions.
19293         * sysdeps/s390/multiarch/ifunc-impl-list.c
19294         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19295         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19296         * string/test-strpbrk.c: Add wcspbrk support.
19297         * wcsmbs/test-wcspbrk.c: New File.
19298         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19299         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19300         * benchtests/bench-wcspbrk.c: New File.
19301         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19303         * sysdeps/s390/multiarch/strspn-c.c: New File.
19304         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19305         * sysdeps/s390/multiarch/strspn.c: Likewise.
19306         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19307         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19308         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19309         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19310         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19311         wcsspn functions.
19312         * sysdeps/s390/multiarch/ifunc-impl-list.c
19313         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19314         * string/test-strspn.c: Add wcsspn support.
19315         * wcsmbs/test-wcsspn.c: New File.
19316         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19317         * benchtests/bench-strspn.c: Add wcsspn support.
19318         * benchtests/bench-wcsspn.c: New File.
19319         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19321         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19322         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19323         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19324         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19325         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19326         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19328         wcsrchr functions.
19329         * sysdeps/s390/multiarch/ifunc-impl-list.c
19330         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19331         * benchtests/bench-wcsrchr.c: New File.
19332         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19334         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19335         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19336         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19337         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19338         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19339         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19340         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19341         wcschrnul functions.
19342         * sysdeps/s390/multiarch/ifunc-impl-list.c
19343         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19344         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19345         * string/test-strchr.c: Add wcschrnul support.
19346         * wcsmbs/test-wcschrnul.c: New File.
19347         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19348         * benchtests/bench-strchr.c: Add wcschrnul support.
19349         * benchtests/bench-wcschrnul.c: New File.
19350         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19352         * sysdeps/s390/multiarch/strchr-c.c: New File.
19353         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19354         * sysdeps/s390/multiarch/strchr.c: Likewise.
19355         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19356         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19357         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19358         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19359         wcschr functions.
19360         * sysdeps/s390/multiarch/ifunc-impl-list.c
19361         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19362         * string/strchr.c (STRCHR): Define and use macro.
19363         * benchtests/bench-wcschr.c: New File.
19364         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19366         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19367         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19368         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19369         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19370         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19371         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19372         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19373         wcsncmp functions.
19374         * sysdeps/s390/multiarch/ifunc-impl-list.c
19375         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19376         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19377         * benchtests/bench-strncmp.c: Add wcsncmp support.
19378         * benchtests/bench-wcsncmp.c: New File.
19379         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19381         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19382         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19383         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19384         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19385         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19386         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19387         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19388         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19389         wcscmp functions.
19390         * sysdeps/s390/multiarch/ifunc-impl-list.c
19391         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19392         * string/strcmp.c (STRCMP): Define and use macro.
19393         * benchtests/bench-wcscmp.c: New File.
19394         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19395         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19396         instead of _HAVE_STRING_ARCH_memchr.
19398         * sysdeps/s390/multiarch/strncat-c.c: New File.
19399         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19400         * sysdeps/s390/multiarch/strncat.c: Likewise.
19401         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19402         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19403         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19405         wcsncat functions.
19406         * sysdeps/s390/multiarch/ifunc-impl-list.c
19407         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19408         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19409         * string/test-strncat.c: Add wcsncat support.
19410         * wcsmbs/test-wcsncat.c: New File.
19411         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19412         * benchtests/bench-strncat.c: Add wcsncat support.
19413         * benchtests/bench-wcsncat.c: New File.
19414         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19416         * sysdeps/s390/multiarch/strcat-c.c: New File.
19417         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19418         * sysdeps/s390/multiarch/strcat.c: Likewise.
19419         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19420         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19421         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19423         wcscat functions.
19424         * sysdeps/s390/multiarch/ifunc-impl-list.c
19425         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19426         * string/strcat.c (STRCAT): Define and use macro.
19427         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19428         * string/test-strcat.c: Add wcscat support.
19429         * wcsmbs/test-wcscat.c: New File.
19430         * wcsmbs/Makefile (strop-tests): Add wcscat.
19431         * benchtests/bench-strcat.c: Add wcscat support.
19432         * benchtests/bench-wcscat.c: New File.
19433         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19435         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19436         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19437         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19438         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19439         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19440         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19442         wcpncpy functions.
19443         * sysdeps/s390/multiarch/ifunc-impl-list.c
19444         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19445         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19446         * string/test-stpncpy.c: Add wcpncpy support.
19447         * wcsmbs/test-wcpncpy.c: New File.
19448         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19449         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19450         * benchtests/bench-wcpncpy.c: New File.
19451         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19453         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19454         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19455         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19456         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19457         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19458         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19459         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19460         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19461         wcsncpy functions.
19462         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19463         * sysdeps/s390/multiarch/ifunc-impl-list.c
19464         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19465         * string/test-strncpy.c: Add wcsncpy support.
19466         * wcsmbs/test-wcsncpy.c: New File.
19467         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19468         * benchtests/bench-strncpy.c: Add wcsncpy support.
19469         * benchtests/bench-wcsncpy.c: New File.
19470         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19472         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19473         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19474         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19475         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19476         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19477         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19479         wcpcpy functions.
19480         * string/stpcpy.c: Use STPCPY if defined.
19481         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19482         * sysdeps/s390/multiarch/ifunc-impl-list.c
19483         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19484         * string/test-stpcpy.c: Add wcpcpy support.
19485         * wcsmbs/test-wcpcpy.c: New File.
19486         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19487         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19488         * benchtests/bench-wcpcpy.c: New File.
19489         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19491         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19492         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19493         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19494         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19495         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19496         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19497         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19499         wcscpy functions.
19500         * sysdeps/s390/multiarch/ifunc-impl-list.c
19501         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19502         * benchtests/bench-wcscpy.c: New File.
19503         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19505         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19506         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19507         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19508         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19509         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19510         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19511         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19512         wcsnlen functions.
19513         * sysdeps/s390/multiarch/ifunc-impl-list.c
19514         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19515         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19516         * string/test-strnlen.c: Add wcsnlen support.
19517         * wcsmbs/test-wcsnlen.c: New File.
19518         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19519         * benchtests/bench-strnlen.c: Add wcsnlen support.
19520         * benchtests/bench-wcsnlen.c: New File.
19521         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19523         * sysdeps/s390/multiarch/Makefile: New File.
19524         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19525         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19526         * sysdeps/s390/multiarch/strlen.c: Likewise.
19527         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19528         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19529         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19530         * string/strlen.c (STRLEN): Define and use macro.
19531         * sysdeps/s390/multiarch/ifunc-impl-list.c
19532         (IFUNC_VX_IMPL): New macro function.
19533         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19534         * benchtests/Makefile (wcsmbs-bench): New variable.
19535         (string-bench-all): Added wcsmbs-bench.
19536         * benchtests/bench-wcslen.c: New File.
19538         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19539         s390_vx_libc_ifunc2): New macro function.
19541         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19542         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19543         assembler support.
19544         * sysdeps/s390/configure: Regenerated.
19546         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19547         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19549         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19550         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19551         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19553         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19554         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19555         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19556         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19557         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19558         (memcmp, bcmp): Use __memcmp_default as alias source.
19559         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19560         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19561         Rename to __memcmp_default.
19562         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19563         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19564         (memcpy): Use __memcpy_default as alias source.
19565         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19566         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19567         Rename to __memcpy_default.
19568         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19569         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19570         (memset): Use __memset_default as alias source.
19571         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19572         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19573         Rename to __memset_default.
19574         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19575         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19577         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19578         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19579         (memcmp, bcmp): Use __memcmp_default as alias source.
19580         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19581         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19582         Rename to __memcmp_default.
19583         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19584         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19585         (memcpy): Use __memcpy_default as alias source.
19586         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19587         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19588         Rename to __memcpy_default.
19589         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19590         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19591         (memset): Use __memset_default as alias source.
19592         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19593         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19594         Rename to __memset_default.
19595         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19596         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19598         [BZ #18610]
19599         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19600         __ieee_instruction_pointer to __unused.
19601         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19602         __ieee_instruction_pointer.
19603         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19604         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19605         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19606         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19607         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19608         Mark dxc-field as reserved.
19610 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19612         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19613         if the weak reference is not null.
19615 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19617         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19619         [BZ #11214]
19620         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19622 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19624         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19625         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19626         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19627         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19628         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19629         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19630         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19631         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19632         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19633         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19634         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19635         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19636         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19637         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19638         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19639         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19640         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19641         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19643 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19645         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19646         register other than r0 for tabort, it has special meaning.
19647         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19648         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19649         transaction before starting syscall.
19651 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19653         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19655 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19657         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19659         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19660         * sysdeps/x86_64/rtld-memset.S: Likewise.
19661         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19662         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19663         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19664         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19666         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19668 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19670         * debug/strcpy_chk.c: Improve performance.
19671         * debug/stpcpy_chk.c: Likewise.
19672         * sysdeps/x86_64/strcpy_chk.S: Remove.
19673         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19675         [BZ #18240]
19676         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19678 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19680         [BZ #15128]
19681         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19682         ifuncmain8.
19683         (modules-names): Add ifuncmod8.
19684         ($(objpfx)ifuncmain8): New rule.
19685         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19686         <cpuid.h>.
19687         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19688         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19689         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19690         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19691         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19692         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19693         * sysdeps/x86_64/ifuncmain8.c: New file.
19694         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19695         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19696         Removed.
19697         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19698         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19699         Change rtld_savespace_sse to __glibc_unused2.
19700         (RTLD_CHECK_FOREIGN_CALL): Removed.
19701         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19702         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19703         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19705 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19707         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19709 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19711         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19712         Unconditionally set __fpcr to avoid uninialized warning.
19713         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19715 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19717         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19718         is corrupt.
19720         * malloc/arena.c (arena_get2): Drop unused argument.
19721         (arena_lock): Adjust.
19722         (arena_get_retry): Likewise.
19724 2015-08-24  Andreas Schwab  <schwab@suse.de>
19726         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19727         Don't define.
19728         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19729         (__ASSUME_IPC64): Don't undef.
19730         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19731         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19732         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19733         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19734         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19735         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19736         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19737         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19738         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19739         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19740         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19741         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19742         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19743         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19744         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19745         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19746         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19747         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19748         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19749         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19750         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19752 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19754         * manual/Makefile (install): Only build manual when perl is available.
19756 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19758         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19759         '#undef memcpy' by '#undef memchr'.
19761 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19763         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19764         memchr not point to the internal __GI_memchr implementation.
19766 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19768         * timezone/Makefile (CFLAGS-zdump.c): Remove
19769         -Wno-strict-prototypes.
19770         (CFLAGS-zic.c): Likewise.
19771         (CFLAGS-ialloc.c): Likewise.
19772         (CFLAGS-scheck.c): Likewise.
19774         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19775         -Wno-error=undef.
19777 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19779         * i386/i686/multiarch/strcasestr-c.c: Removed.
19780         * x86_64/multiarch/strcasestr.c: Likewise.
19781         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19782         Remove strcasestr.
19784 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19786         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19788         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19789         variables for high and low parts before possibly modifying them.
19791 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19793         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19794         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19795         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19796         of "multiarch/init-arch.h".
19797         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19798         * sysdeps/x86/init-arch.h: This.
19800 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19802         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19803         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19805 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19807         [BZ #17787]
19808         * manual/macros.texi: Add twoexp macro.
19809         * manual/filesys.texi: Fix exponents.
19810         * manual/llio.texi: Likewise.
19811         * manual/stdio.texi: Likewise.
19813 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19815         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19816         incorrect use.
19818 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19820         [BZ #18370]
19821         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19822         whose real or imaginary part has small absolute value.
19823         * math/s_csqrtf.c (__csqrtf): Likewise.
19824         * math/s_csqrtl.c (__csqrtl): Likewise.
19825         * math/auto-libm-test-in: Add more tests of csqrt.
19826         * math/auto-libm-test-out: Regenerated.
19827         * sysdeps/i386/fpu/libm-test-ulps: Update.
19829 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19831         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19832         __ppc_set_ppr_very_low): New functions.
19833         * manual/platform.texi: Add documentation about
19834         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19836 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19838         * string/stpncpy.c (stpncpy): Improve performance using
19839         __strnlen/memcpy/memset.
19841 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19843         [BZ #18796]
19844         * scripts/test-installation.pl: Don't add -lmvec to build options if
19845         libmvec wasn't built.
19847 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19849         [BZ #14341]
19850         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19851         case when there is a gap between DT_REL and DT_JMPREL sections.
19852         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19853         (LDFLAGS-tst-split-dynreloc): New.
19854         (tst-split-dynreloc-ENV): Likewise.
19855         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19856         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19858 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19860         [BZ #18822]
19861         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19862         attribute_hidden.
19863         (__xstat64_conv): Likewise.
19864         (__xstat32_conv): Likewise.
19866 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19868         [BZ #18822]
19869         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19870         Don't load %ebx when calling __setcontext.  Call __setcontext
19871         with HIDDEN_JUMPTARGET.
19872         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19873         libc_hidden_def.
19875 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19877         * sysdeps/i386/i686/Makefile
19878         [$(subdir) == string] (sysdep_routines): Moved to ...
19879         * sysdeps/i386/Makefile: Here.
19880         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19881         * sysdeps/i386/cacheinfo.c: Here.
19882         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19883         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19884         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19885         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19887 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19889         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19890         __i586__ is defined.
19891         (HAS_I686): Defined to 1 if __i686__ is defined.
19893 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19895         * elf/Makefile [$(have-z-execstack) = yes]
19896         (CPPFLAGS-tst-execstack.c): New variable.
19898         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19899         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19900         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19901         UTMPX || _HAVE_UT_TV].
19902         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19903         UTMPX || _HAVE_UT_TV - 0].
19905 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19907         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19908         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19909         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19911 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19913         * sysdeps/powerpc/dl-procinfo.c:
19914         (_dl_powerpc_cap_flags): Added missing strings for some
19915         hwcap features.
19916         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19918 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19920         Port the 0x7efe...feff pattern to GCC 6.
19921         See Steve Ellcey's bug report in:
19922         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19923         * string/memrchr.c (MEMRCHR):
19924         * string/rawmemchr.c (RAWMEMCHR):
19925         * string/strchr.c (strchr):
19926         * string/strchrnul.c (STRCHRNUL):
19927         Rewrite code to avoid issues with signed shift overflow.
19929 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19931         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19932         whether cpuid is available only if HAS_CPUID is 0.
19933         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19934         (HAS_I586): Likewise.
19935         (HAS_I686): Likewise.
19937 2015-08-18  Zack Weinberg  <zackw@panix.com>
19939         * misc/Versions (libc): Add GLIBC_2.23.
19941 2015-08-18  Alan Modra  <amodra@gmail.com>
19943         [BZ #18421]
19944         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19945         .Lp__global.
19946         (_start): Load %dp via .Lp__global.
19947         [!SHARED]: Use .section .rodata.
19949 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19951         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19952         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19954 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19956         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19957         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19959 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19961         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19962         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19964 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19966         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19967         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19971         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19972         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19974 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19976         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19977         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19979 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19981         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19985         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19986         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19987         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19988         (__ASSUME_LWS_CAS): Delete.
19990 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19992         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19993         * sysdeps/hppa/configure: Regenerated.
19994         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19995         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19996         * sysdeps/hppa/nptl/tls.h: Likewise.
19998 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20000         [BZ #18823]
20001         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20002         for scaling up small arguments.
20003         * math/s_csqrtf.c (__csqrtf): Likewise.
20004         * math/s_csqrtl.c (__csqrtl): Likewise.
20005         * math/auto-libm-test-in: Add more tests of csqrt.
20006         * math/auto-libm-test-out: Regenerated.
20008 2015-08-17  Andreas Schwab  <schwab@suse.de>
20010         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20011         version set GLIBC_2.19.
20013 2015-08-16  Zack Weinberg  <zackw@panix.com>
20015         [BZ #18681]
20016         * misc/regexp.h: This interface is no longer supported.
20017         Remove all contents, leaving only an #error directive.
20018         * misc/regexp.c (loc1, loc2, locs, step, advance):
20019         Demote to compatibility symbols.
20021 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20023         [BZ #18084]
20024         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20025         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20026         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20027         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20028         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20029         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20030         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20031         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20032         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20034 2015-08-15  Zack Weinberg  <zackw@panix.com>
20036         [BZ #18795]
20037         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20038         buffer length is known to be too large, not if it's known to be
20039         small enough.
20040         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20041         overflow at runtime, involving a length parameter, twice: once
20042         with a compile-time constant length parameter, once without.
20044 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20046         [BZ #18824]
20047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20048         scaling x * y up instead of down.
20049         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20050         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20051         * math/auto-libm-test-in: Add more tests of fma.
20052         * math/auto-libm-test-out: Regenerated.
20054 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20056         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20058 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20060         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20061         unnecessary movq.
20062         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20063         Likewise.
20065 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20067         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20068         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20069         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20070         and tgamma.
20071         * math/auto-libm-test-out: Regenerated.
20072         * sysdeps/i386/fpu/libm-test-ulps: Update.
20073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20075         [BZ #16520]
20076         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20077         (__tanh): Force underflow exception for arguments with small
20078         absolute value.
20079         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20080         (__tanhf): Force underflow exception for arguments with small
20081         absolute value.
20082         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20083         (__tanhl): Force underflow exception for arguments with small
20084         absolute value.
20085         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20086         (__tanhl): Force underflow exception for arguments with small
20087         absolute value.
20088         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20089         (__tanhl): Force underflow exception for arguments with small
20090         absolute value.
20091         * math/auto-libm-test-in: Add more tests of tanh.
20092         * math/auto-libm-test-out: Regenerated.
20093         * sysdeps/i386/fpu/libm-test-ulps: Update.
20095 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20097         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20098         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20100 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20102         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20103         <cpuid.h>.
20105 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20107         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20108         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20110 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20112         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20113         Remove $(objpfx)init-arch.o.
20114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20115         init-arch.
20116         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20117         (INIT_ARCH_EXT): Defined as empty.
20118         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20119         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20120         __init_cpu_features call.  Replace HAS_XXX with
20121         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20122         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20123         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20127         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20128         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20135         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20136         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20138         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20140         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20147         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20150         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20151         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20153         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20158 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20160         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20161         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20162         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20163         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20164         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20165         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20166         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20167         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20168         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20169         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20170         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20171         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20172         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20173         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20186         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20189         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20194         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20195         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20196         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20197         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20198         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20199         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20200         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20201         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20202         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20204 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20206         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20207         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20208         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20209         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20210         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20211         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20212         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20213         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20214         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20215         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20216         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20217         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20218         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20219         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20220         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20221         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20222         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20223         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20224         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20225         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20227         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20228         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20229         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20230         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20231         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20232         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20233         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20234         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20235         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20236         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20237         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20238         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20239         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20240         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20241         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20242         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20243         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20244         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20245         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20246         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20247         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20248         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20250 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20252         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20253         (dl_platform_init): Call init_cpu_features.
20254         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20255         * sysdeps/i386/i686/cacheinfo.c
20256         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20257         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20258         * sysdeps/i386/i686/multiarch/Versions: Removed.
20259         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20260         Removed.
20261         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20262         * sysdeps/unix/sysv/linux/x86/Makefile
20263         (libpthread-sysdep_routines): Remove init-arch.
20264         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20265         <sysdeps/x86_64/dl-procinfo.c> instead of
20266         sysdeps/generic/dl-procinfo.c>.
20267         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20268         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20269         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20270         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20271         [$(subdir) == elf] (tests-static): Add
20272         tst-get-cpu-features-static.
20273         * sysdeps/x86/Versions: New file.
20274         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20275         * sysdeps/x86/cpu-features.c: Likewise.
20276         * sysdeps/x86/cpu-features.h: Likewise.
20277         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20278         * sysdeps/x86/libc-start.c: Likewise.
20279         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20280         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20281         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20282         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20283         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20284         Assume USE_MULTIARCH is defined and don't check it.
20285         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20286         (is_amd): Likewise.
20287         (max_cpuid): Likewise.
20288         (intel_check_word): Likewise.
20289         (__cache_sysconf): Don't call __init_cpu_features.
20290         (__x86_preferred_memory_instruction): Removed.
20291         (init_cacheinfo): Don't call __init_cpu_features. Replace
20292         __cpu_features with GLRO(dl_x86_cpu_features).
20293         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20294         (dl_platform_init): Call init_cpu_features.
20295         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20296         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20297         * sysdeps/x86_64/multiarch/Versions: Removed.
20298         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20299         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20300         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20301         Removed.
20302         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20304 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20306         [BZ #18820]
20307         * libio/Makefile (test-fmemopen-mem): New test.
20308         * libio/test-fmemopen.c (do_bz18820): New test.
20309         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20310         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20312 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20314         [BZ #16734]
20315         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20316         (FREE_BUF): Delete.
20317         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20318         * libio/genops.c (_IO_setb): Use malloc and free directly.
20319         (_IO_default_doallocate, _IO_default_finish): Likewise.
20320         ( _IO_unbuffer_all): Likewise.
20321         ( libc_freeres_fn): Likewise.
20322         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20323         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20324         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20325         (_IO_wdefault_doallocate): Likewise.
20327 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20329         [BZ #18086]
20330         * sysdeps/posix/nice.c (nice): Restore old errno.
20331         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20333 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20337 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20339         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20340         __bcopy and add a weak_alias to bcopy.
20341         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20342         for static build.
20344         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20345         cleanup macro usage.
20346         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20349         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20350         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20351         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20352         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20353         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20354         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20355         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20357         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20358         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20359         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20364         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20366         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20367         libc_hidden_def.
20368         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20370         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20371         (sysdep_routines): Add strstr-ppc64.
20372         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20374 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20376         [BZ #18778]
20377         * elf/Makefile (tests): Add Add tst-nodelete2.
20378         (modules-names): Add tst-nodelete2mod.
20379         (tst-nodelete2mod.so-no-z-defs): New.
20380         ($(objpfx)tst-nodelete2): Likewise.
20381         ($(objpfx)tst-nodelete2.out): Likewise.
20382         (LDFLAGS-tst-nodelete2): Likewise.
20383         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20384         out of loop through all loaded libraries.
20385         * elf/tst-nodelete2.c: New file.
20386         * elf/tst-nodelete2mod.c: Likewise.
20387         * elf/tst-znodelete-zlib.cc: Delete.
20389 2015-08-11  Andreas Schwab  <schwab@suse.de>
20391         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20392         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20393         (__openat64_nocancel): Likewise.
20395 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20397         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20398         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20399         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20400         * math/auto-libm-test-out: Regenerated.
20401         * sysdeps/i386/fpu/libm-test-ulps: Update.
20402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20406         [BZ #18790]
20407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20408         threshold for returning +/- 1.
20409         * math/auto-libm-test-in: Add more tests of tanh.
20410         * math/auto-libm-test-out: Regenerated.
20411         * sysdeps/i386/fpu/libm-test-ulps: Update.
20413 2015-08-10  Andreas Schwab  <schwab@suse.de>
20415         [BZ #18781]
20416         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20417         MORE_OFLAGS to oflag.
20418         * io/test-lfs.c (do_test): Test openat64.
20420 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20422         [BZ #18789]
20423         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20424         smaller threshold for returning the argument.
20425         * math/auto-libm-test-in: Add more tests of sinh.
20426         * math/auto-libm-test-out: Regenerated.
20427         * sysdeps/i386/fpu/libm-test-ulps: Update.
20429 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20431         [BZ #18674]
20432         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20433         break.
20435 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20437         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20438         (generated): Don't add $(addprefix z.,$(tzfiles)).
20440 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20442         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20443         * scripts/sysd-rules.awk: Likewise.
20445 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20447         * iconvdata/tst-tables.sh: Change echo -n to printf.
20448         * nss/db-Makefile: Likewise.
20449         * posix/tst-getconf.sh: Likewise.
20450         * stdio-common/tst-unbputc.sh: Likewise.
20452 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20454         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20455         MADV_*_PAGES defines behind this feature check.
20457 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20459         [BZ #18480]
20460         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20461         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20462         Define.
20463         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20464         LOAD_REGS_5, LOAD_REGS_6): Update.
20465         (INTERNAL_SYSCALL): Update using new LOAD defines.
20466         (INTERNAL_SYSCALL_NCS): Likewise.
20467         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20469 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20471         [BZ #16734]
20472         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20474 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20476         [BZ #17905]
20477         * catgets/Makefile (tst-catgets-mem): New test.
20478         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20479         * catgets/open_catalog.c (__open_catalog): Likewise.
20480         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20482 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20484         [BZ #18787]
20485         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20486         clobber registers.
20487         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20488         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20489         Cast return to __typeof (oldval).
20491 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20493         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20494         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20495         and delete sys/syscall.h include.
20497 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20499         [BZ #16517]
20500         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20501         (tan): Force underflow exception for arguments with small absolute
20502         value.
20503         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20504         (__kernel_tanf): Force underflow exception for arguments with
20505         small absolute value.
20506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20507         (__kernel_tanl): Force underflow exception for arguments with
20508         small absolute value.
20509         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20510         (__kernel_tanl): Force underflow exception for arguments with
20511         small absolute value.
20512         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20513         (__kernel_tanl): Force underflow exception for arguments with
20514         small absolute value.
20515         * math/auto-libm-test-in: Add more tests of tan.
20516         * math/auto-libm-test-out: Regenerated.
20518 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20520         Fix sysdeps/i386/fpu/s_scalbn.S build
20522         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20524 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20526         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20528 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20530         Fix gcrt0.o compilation
20532         When static-start-installed-name is different from
20533         start-installed-name, we must not use the shared objects.
20535         * csu/Makefile
20536         (extra-objs): Add gmon-start.o when building shared library and
20537         $(static-start-installed-name) is different from
20538         $(start-installed-name).
20539         $(objpfx)g$(static-start-installed-name): When building shared
20540         library and $(static-start-installed-name) is different from
20541         $(static-start-installed-name), revert to non-shared rule,
20542         i.e. using $(objpfx)% and gmon-start.o.
20544 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20546         [BZ #16519]
20547         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20548         (__ieee754_sinh): Force underflow exception for arguments with
20549         small absolute value.
20550         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20551         (__ieee754_sinhf): Force underflow exception for arguments with
20552         small absolute value.
20553         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20554         (__ieee754_sinhl): Force underflow exception for arguments with
20555         small absolute value.
20556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20557         (__ieee754_sinhl): Force underflow exception for arguments with
20558         small absolute value.
20559         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20560         (__ieee754_sinhl): Force underflow exception for arguments with
20561         small absolute value.
20562         * math/auto-libm-test-in: Add more tests of sinh.
20563         * math/auto-libm-test-out: Regenerated.
20564         * sysdeps/i386/fpu/libm-test-ulps: Update.
20566 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20568         * libio/oldfileops.c: Include unistd.h.
20570 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20572         * stdlib/isomac.c: Include ctype.h.
20574 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20576         * dirent/tst-seekdir.c (main): Converted to ...
20577         (do_test): ... this.
20578         (TEST_FUNCTION): New macro.
20579         Include test-skeleton.c.
20580         * elf/tst-dlmodcount.c (main): Converted to ...
20581         (do_test): ... this.
20582         (TEST_FUNCTION): New macro.
20583         Include test-skeleton.c.
20584         * elf/tst-order-main.c (main): Converted to ...
20585         (do_test): ... this.
20586         (TEST_FUNCTION): New macro.
20587         Include test-skeleton.c.
20588         * elf/tst-pie2.c (main): Converted to ...
20589         (do_test): ... this.
20590         (TEST_FUNCTION): New macro.
20591         Include test-skeleton.c.
20592         * inet/tst-ether_aton.c (main): Converted to ...
20593         (do_test): ... this.
20594         (TEST_FUNCTION): New macro.
20595         Include test-skeleton.c.
20596         * misc/tst-mntent.c (main): Converted to ...
20597         (do_test): ... this.
20598         (TEST_FUNCTION): New macro.
20599         Include test-skeleton.c.
20600         * misc/tst-tsearch.c (main): Converted to ...
20601         (do_test): ... this.
20602         (TEST_FUNCTION): New macro.
20603         Include test-skeleton.c.
20604         * posix/tst-regexloc.c (main): Converted to ...
20605         (do_test): ... this.
20606         (TEST_FUNCTION): New macro.
20607         Include test-skeleton.c.
20608         * resolv/tst-aton.c (main): Converted to ...
20609         (do_test): ... this.
20610         (TEST_FUNCTION): New macro.
20611         Include test-skeleton.c.
20612         * stdio-common/test-fwrite.c (main): Converted to ...
20613         (do_test): ... this.
20614         (TEST_FUNCTION): New macro.
20615         Include test-skeleton.c.
20616         * stdio-common/tst-ferror.c (main): Converted to ...
20617         (do_test): ... this.
20618         (TEST_FUNCTION): New macro.
20619         Include test-skeleton.c.
20620         * stdio-common/tst-printf.c (main): Converted to ...
20621         (do_test): ... this.
20622         (TEST_FUNCTION): New macro.
20623         Include test-skeleton.c.
20624         * stdio-common/tst-printfsz.c (main): Converted to ...
20625         (do_test): ... this.
20626         (TEST_FUNCTION): New macro.
20627         Include test-skeleton.c.
20628         * stdlib/tst-strtod.c (main): Converted to ...
20629         (do_test): ... this.
20630         (TEST_FUNCTION): New macro.
20631         Include test-skeleton.c.
20632         * string/tst-strlen.c (main): Converted to ...
20633         (do_test): ... this.
20634         (TEST_FUNCTION): New macro.
20635         Include test-skeleton.c.
20636         * string/tst-svc.c (main): Converted to ...
20637         (do_test): ... this.
20638         (TEST_FUNCTION): New macro.
20639         Include test-skeleton.c.
20640         * time/tst-strptime.c (main): Converted to ...
20641         (do_test): ... this.
20642         (TEST_FUNCTION): New macro.
20643         Include test-skeleton.c.
20644         * timezone/tst-timezone.c (main): Converted to ...
20645         (do_test): ... this.
20646         (TEST_FUNCTION): New macro.
20647         Include test-skeleton.c.
20649 2015-08-05  Zack Weinberg  <zackw@panix.com>
20651         * misc/regexp.h: Update comments.
20653 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20655         [BZ #18635]
20656         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20657         before return label.
20659 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20661         [BZ #18661]
20662         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20663         when calling __errno_location.
20664         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20665         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20667 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20669         [BZ #18661]
20670         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20671         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20672         __gettimeofday.
20674 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20676         [BZ #18661]
20677         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20678         (__start_context): Don't use pop to restore %rdi so that stack
20679         is aligned to 16 bytes when calling __setcontext.
20681 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20683         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20684         only for libc.
20685         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20687 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20689         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20690         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20691         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20693 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20695         * string/memccpy.c (memccpy):
20696         Improve performance by using memchr/memcpy/__mempcpy.
20698 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20700         * string/strncpy.c (strncpy):
20701         Improve performance by using __strnlen/memcpy.
20703 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20705         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20706         Optimize to avoid an unnecessary FPCR read.
20708 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20710         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20711         Optimize to reduce FPCR/FPSR accesses.
20713 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20715         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20716         dead->data[category] != NULL.
20718 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20720         [BZ #18647]
20721         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20722         and |x| close to 1, use absolute value of x when computing log.
20723         * math/auto-libm-test-in: Add more tests of pow.
20724         * math/auto-libm-test-out: Regenerated.
20726 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20728         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20729         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20730         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20732 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20734         [BZ #18525]
20735         * locales/km_KH: Remove timezone definition.
20736         * locales/lo_LA: Likewise.
20737         * locales/my_MM: Likewise.
20738         * locales/nan_TW@latin: Likewise.
20739         * locales/th_TH: Likewise.
20740         * locales/uk_UA: Likewise.
20742 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20744         [BZ #18265]
20745         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20746         (wcsncat): Likewise.
20747         (wcscmp): Likewise.
20748         (wcsncmp): Likewise.
20750 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20752         * test-skeleton.c (usage): New function.
20753         (main): Call usage when opt is '?'.
20755 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20757         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20758         before first use.
20760 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20762         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20763         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20764         in there too.
20766 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20768         * version.h (RELEASE): Set to "development".
20769         (VERSION): Set to "2.22.90"
20771         * version.h (RELEASE): Set to "stable".
20772         (VERSION): Set to "2.22"
20773         * include/features.h (__GLIBC_MINOR__): Set to 22.
20775 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20777         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20778         Restructure macro to avoid "value computed is not used" warning.
20779         (atomic_compare_and_exchange_val_acq): Likewise.
20781 2015-08-04  Andreas Schwab  <schwab@suse.de>
20783         [BZ #18635]
20784         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20785         ret.
20786         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20788 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20790         * po/pl.po: Updated translation.
20791         * po/uk.po: Likewise.
20792         * po/fi.po: Likewise.
20793         * po/ko.po: Likewise.
20794         * po/ru.po: Likewise.
20795         * po/vi.po: Likewise.
20797 2015-07-31  Zack Weinberg  <zackw@panix.com>
20799         [BZ #18681]
20800         * regexp.h: Add unconditional #warning stating that this header
20801         will be removed soon.  Revise banner comment to match.
20802         (compile): Consistently use ERROR instead of RETURN to report
20803         errors (partial fix for bz#18681).
20804         * regexp.c: Don't include regexp.h. Remove some unnecessary
20805         declarations.
20807 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20809         * po/libc.pot: Regenerated.
20811 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20813         [BZ #18740]
20814         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20815         float-vlen4-arch-ext-cflags): Removed.
20816         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20817         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20819 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20821         [BZ #14113]
20822         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20823         aligned to __aligned__.
20824         (pthread_cond_t, pthread_rwlock_t): Likewise.
20826 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20828         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20830 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20832         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20833         (struct sigaction): Change sa_flags from a long to an int, and add
20834         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20836 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20838         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20839         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20840         sysdeps/generic/sysdep.h include.
20841         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20842         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20843         sysdeps/hppa/sysdep.h.
20844         (ENTRY, PSEUDO): Undefine before defining.
20846 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20848         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20849         from scratch to use INTERNAL_SYSCALL.
20851 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20853         [BZ #18078]
20854         * scripts/check-localplt.awk: Support alternate relocations.
20855         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20856         sections.
20857         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20858         malloc entries with + REL R_386_GLOB_DAT.
20859         * sysdeps/x86_64/localplt.data: New file.
20861 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20863         [BZ #18731]
20864         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20865         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20866         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20868 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20870         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20872 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20874         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20875         directly in terms of __sync_fetch_and_add and delete (int) cast.
20877 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20879         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20880         the -D_ASM_IA64_CURRENT_H flag.
20882 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20884         [BZ #18641]
20885         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20887 2015-07-27  Andreas Schwab  <schwab@suse.de>
20889         * conform/conformtest.pl (checknamespace): Filter out string
20890         literals while tokenizing.
20892 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20894         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20895         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20896         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20898 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20900         * nptl/tst-join7mod.c: Add #include <string.h>.
20902 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20904         * sysdeps/nios2/libm-test-ulps: Update.
20906 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20908         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20909         Fix order of arguments to the rt_sigprocmask syscall.
20910         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20911         Likewise.
20913 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20915         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20917 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20919         [BZ #18457]
20920         * nptl/Makefile (tests): New test case tst-join7.
20921         (modules-names): New test case module tst-join7mod.
20922         * nptl/tst-join7.c: New file.
20923         * nptl/tst-join7mod.c: New file.
20924         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20925         all translation units in libc.so, libpthread.so and rtld.
20927 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20931 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20933         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20934         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20935         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20936         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20941         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20944         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20945         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20946         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20948         implementation.
20950 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20952         [BZ #17711]
20953         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20954         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20955         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20956         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20957         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20958         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20960 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20963         instead of just saying load lock in the comments.
20965 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20967         * sysdeps/unix/Subdirs: Moved ...
20968         * sysdeps/posix/Subdirs: ... here.
20969         * login/pty.h (struct termios, struct winsize): Add forward decls.
20970         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20971         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20972         * sysdeps/arm/nacl/libc.abilist: Updated.
20973         * sysdeps/nacl/libutil.abilist: New file.
20975         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20976         (SIGWINCH): New macro.
20978         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20979         * sysdeps/arm/nacl/libc.abilist: Add it.
20981 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20983         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20985 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20987         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20988         Swap __glibc_reserved0 and sa_flags order.
20990 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20992         [BZ #18657]
20993         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20994         are pending TLS destructor calls.
20995         * include/link.h (struct link_map): Add concurrency note for
20996         L_TLS_DTOR_COUNT.
20997         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20998         Don't touch the link map flag.  Atomically increment
20999         l_tls_dtor_count.
21000         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21001         Avoid taking the load lock and don't touch the link map flag.
21002         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21003         * stdlib/Makefile (tests): Use it.
21004         * stdlib/tst-tls-atexit.c (do_test): dlopen
21005         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21006         to allow tst-tls-atexit-nodelete test case to use it.
21008 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21010         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21011         to bits/types.h.
21012         (msgqnum_t): New typedef.
21013         (msglen_t): Likewise.
21014         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21015         and msg_qbytes type to msglen_t.
21017 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21019         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21020         pad0 to __glibc_reserved0.
21021         (struct stat64): Likewise.
21023 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21025         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21026         Change sa_flags from a long to an int and add __glibc_reserved0 before
21027         it for padding.
21029 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21031         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21032         anonymous by deleting "siginfo" name.
21034 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21036         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21037         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21038         rather than __nacl_irt_filename.
21039         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21041         * NEWS: New item for arm-nacl port.
21042         * sysdeps/arm/nacl/libc.abilist: New file.
21043         * sysdeps/nacl/ld.abilist: New file.
21044         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21045         * sysdeps/nacl/libanl.abilist: New file.
21046         * sysdeps/nacl/libcrypt.abilist: New file.
21047         * sysdeps/nacl/libdl.abilist: New file.
21048         * sysdeps/nacl/libm.abilist: New file.
21049         * sysdeps/nacl/libpthread.abilist: New file.
21050         * sysdeps/nacl/libresolv.abilist: New file.
21051         * sysdeps/nacl/librt.abilist: New file.
21053 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21055         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21056         __startcontext to initialize the new context.
21057         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21058         up CFI directive to forbid further backtracing.
21060 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21062         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21063         reference.
21064         * charmaps/ANSI_X3.4-1968: Likewise.
21065         * charmaps/BS_4730: Likewise.
21066         * charmaps/BS_VIEWDATA: Likewise.
21067         * charmaps/CP1250: Likewise.
21068         * charmaps/CP1251: Likewise.
21069         * charmaps/CP1252: Likewise.
21070         * charmaps/CP1253: Likewise.
21071         * charmaps/CP1254: Likewise.
21072         * charmaps/CP1255: Likewise.
21073         * charmaps/CP1256: Likewise.
21074         * charmaps/CSN_369103: Likewise.
21075         * charmaps/EBCDIC-DK-NO: Likewise.
21076         * charmaps/GB_1988-80: Likewise.
21077         * charmaps/GREEK-CCITT: Likewise.
21078         * charmaps/GREEK7: Likewise.
21079         * charmaps/INIS-8: Likewise.
21080         * charmaps/ISIRI-3342: Likewise.
21081         * charmaps/ISO_2033-1983: Likewise.
21082         * charmaps/ISO_5427-EXT: Likewise.
21083         * locales/POSIX: Likewise.
21084         * locales/ar_SA: Likewise.
21085         * locales/be_BY: Likewise.
21086         * locales/be_BY@latin: Likewise.
21087         * locales/ca_ES: Likewise.
21088         * locales/cs_CZ: Likewise.
21089         * locales/da_DK: Likewise.
21090         * locales/de_BE: Likewise.
21091         * locales/de_CH: Likewise.
21092         * locales/de_LU: Likewise.
21093         * locales/en_AU: Likewise.
21094         * locales/en_BW: Likewise.
21095         * locales/en_CA: Likewise.
21096         * locales/en_DK: Likewise.
21097         * locales/en_GB: Likewise.
21098         * locales/en_IE: Likewise.
21099         * locales/en_NZ: Likewise.
21100         * locales/en_ZA: Likewise.
21101         * locales/en_ZW: Likewise.
21102         * locales/es_AR: Likewise.
21103         * locales/es_BO: Likewise.
21104         * locales/es_CL: Likewise.
21105         * locales/es_CO: Likewise.
21106         * locales/es_DO: Likewise.
21107         * locales/es_EC: Likewise.
21108         * locales/es_ES: Likewise.
21109         * locales/es_HN: Likewise.
21110         * locales/es_MX: Likewise.
21111         * locales/es_PA: Likewise.
21112         * locales/es_PE: Likewise.
21113         * locales/es_PY: Likewise.
21114         * locales/es_SV: Likewise.
21115         * locales/es_US: Likewise.
21116         * locales/es_UY: Likewise.
21117         * locales/es_VE: Likewise.
21118         * locales/et_EE: Likewise.
21119         * locales/fa_IR: Likewise.
21120         * locales/fo_FO: Likewise.
21121         * locales/fr_CA: Likewise.
21122         * locales/fr_CH: Likewise.
21123         * locales/gv_GB: Likewise.
21124         * locales/he_IL: Likewise.
21125         * locales/hr_HR: Likewise.
21126         * locales/id_ID: Likewise.
21127         * locales/is_IS: Likewise.
21128         * locales/it_CH: Likewise.
21129         * locales/iw_IL: Likewise.
21130         * locales/kl_GL: Likewise.
21131         * locales/ko_KR: Likewise.
21132         * locales/kw_GB: Likewise.
21133         * locales/lg_UG: Likewise.
21134         * locales/lt_LT: Likewise.
21135         * locales/lv_LV: Likewise.
21136         * locales/mi_NZ: Likewise.
21137         * locales/nhn_MX: Likewise.
21138         * locales/nl_BE: Likewise.
21139         * locales/pl_PL: Likewise.
21140         * locales/sk_SK: Likewise.
21141         * locales/sl_SI: Likewise.
21142         * locales/sv_FI: Likewise.
21143         * locales/tl_PH: Likewise.
21144         * locales/tr_TR: Likewise.
21145         * locales/vi_VN: Likewise.
21147 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21149         [BZ #17475]
21150         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21151         of tu_IN and bh_IN.
21153 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21155         [BZ #18694]
21156         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21157         bits/wordsize.h.
21158         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21160 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21162         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21163         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21164         (spawn_thread): New function.
21165         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21166         (do_test): ... here.  Use IS_LOADED to test for its
21167         availability.
21169 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21171         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21173 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21175         [BZ #18696]
21176         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21177         si_addr_bnd.
21178         (si_lower): New.
21179         (si_upper): Likewise.
21181 2015-07-16  David S. Miller  <davem@davemloft.net>
21183         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21185 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21187         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21188         buffer.
21189         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21190         fail output information.
21192 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21195         and strstr-ppc64..
21196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21197         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21198         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21199         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21200         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21202 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21204         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21205         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21206         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21207         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21209 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21211         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21212         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21213         rtld_hidden_proto.
21214         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21216 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21218         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21219         the test can fail.
21221         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21223         [BZ #18676]
21224         * elf/tst-nodelete-opened.c: New test case.
21225         * elf/tst-nodelete-opened-lib.c: New test case module.
21226         * elf/Makefile (tests, modules-names): Use them.
21227         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21228         early.
21230 2015-07-15  David S. Miller  <davem@davemloft.net>
21232         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21233         futex-intenal.h
21234         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21235         * sysdeps/sparc/sparc64/Makefile: Likewise.
21236         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21237         Remove space from macro define.
21238         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21240 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21242         [BZ #17475]
21243         * locale/iso-639.def: Update Bhili and Tulu language codes as
21244         per iso639-3.
21246 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21248         * elf/tst-leaks1.c (main): Converted to ...
21249         (do_test): ... this.
21250         (TEST_FUNCTION): New macro.
21251         Include test-skeleton.c.
21252         * localedata/tst-langinfo.c (main): Converted to ...
21253         (do_test): ... this.
21254         (TEST_FUNCTION): New macro.
21255         Include test-skeleton.c.
21256         * math/test-fpucw.c (main): Converted to ...
21257         (do_test): ... this.
21258         (TEST_FUNCTION): New macro.
21259         Include test-skeleton.c.
21260         * math/test-tgmath.c (main): Converted to ...
21261         (do_test): ... this.
21262         (TEST_FUNCTION): New macro.
21263         Include test-skeleton.c.
21264         * math/test-tgmath2.c (main): Converted to ...
21265         (do_test): ... this.
21266         (TEST_FUNCTION): New macro.
21267         Include test-skeleton.c.
21268         * setjmp/tst-setjmp.c (main): Converted to ...
21269         (do_test): ... this.
21270         (TEST_FUNCTION): New macro.
21271         Include test-skeleton.c.
21272         * stdio-common/tst-sscanf.c (main): Converted to ...
21273         (do_test): ... this.
21274         (TEST_FUNCTION): New macro.
21275         Include test-skeleton.c.
21276         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21277         (do_test): ... this.
21278         (TEST_FUNCTION): New macro.
21279         Include test-skeleton.c.
21281         * elf/tst-audit9.c (main): Converted to ...
21282         (do_test): ... this.
21283         (TEST_FUNCTION): New macro.
21284         Include test-skeleton.c.
21286 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21288         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21290 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21292         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21293         New variable.
21295 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21297         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21299 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21301         * sysdeps/generic/dl-fileid.h: New file.
21302         * sysdeps/posix/dl-fileid.h: New file.
21303         * sysdeps/nacl/dl-fileid.h: New file.
21304         * include/link.h: Include <dl-fileid.h>.
21305         (struct link_map): Replace l_dev and l_ino with l_file_id.
21306         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21307         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21308         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21310 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21312         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21314 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21316         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21317         Add iff $CXX is set.
21318         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21319         Likewise.
21320         (tst-nodelete-zmodiff): Likewise.
21321         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21323 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21325         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21327 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21329         * sysdeps/aarch64/fpu/math_private.h
21330         (define math_opt_barrier): Add AArch64 version.
21331         (math_force_eval): Likewise.
21333 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21335         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21337 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21339         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21340         %ld with %jd and cast to intmax_t.
21341         (do_test_length_zero): Likewise.
21343 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21345         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21347 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21349         * sysdeps/tile/libm-test-ulps: Regenerated.
21351         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21352         Comment out the whole function, not just its body.
21354 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21356         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21357         locks.
21359         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21361 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21363         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21364         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21366 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21368         * sysdeps/nptl/futex-internal.h: New file.
21369         * sysdeps/nacl/futex-internal.h: New file.
21370         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21371         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21372         error checking.
21373         (setxid_unmark_thread): Likewise.
21374         (__nptl_setxid): Likewise.
21375         (__wait_lookup_done): Likewise.
21376         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21377         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21378         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21379         * nptl/pthread_once.c (clear_once_control): Likewise.
21380         (__pthread_once_slow): Likewise.
21381         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21382         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21383         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21384         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21385         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21386         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21387         Likewise.
21388         (__pthread_rwlock_rdlock): Likewise.
21389         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21390         Likewise.
21391         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21392         Likewise.
21393         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21394         Likewise.
21395         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21396         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21397         Likewise.
21398         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21399         __ASSUME_PRIVATE_FUTEX check.
21400         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21401         Check that shared futexes are supported.
21402         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21403         wrappers with error checking.
21404         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21405         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21406         * nptl/pthread_barrierattr_setpshared.c
21407         (pthread_barrierattr_setpshared): Check that shared futexes are
21408         supported.
21409         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21410         Likewise.
21411         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21412         Likewise.
21413         * nptl/sem_init.c (futex_private_if_supported): Remove.
21414         (__new_sem_init): Adapt and check that shared futexes are supported.
21415         * nptl/sem_open.c (sem_open): Likewise.
21416         * nptl/sem_post.c (futex_wake): Remove.
21417         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21418         (do_futex_wait): Use futex wrappers with error checking.
21419         * nptl/sem_wait.c: Include lowlevellock.h.
21420         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21421         Use futex_supports_pshared.
21422         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21423         Use futex wrappers with error checking.
21424         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21425         Likewise.
21426         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21427         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21428         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21429         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21430         (futex_wake): Likewise.
21431         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21432         (do_futex_wait): Use futex wrappers with error checking.
21433         (__new_sem_wait_slow): Update EINTR handling.
21434         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21436 2015-07-09  Martin Sebor  <msebor@redhat.com>
21438         [BZ #18435]
21439         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21440         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21441         * nptl/Makefile (test-xfail-tst-once5): Define.
21443 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21445         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21446         * elf/dl-minimal.c: For readability, reorder some definitions and
21447         introduce more page breaks.  Include <stdio.h>.
21448         (__libc_fatal): New function.
21450         * include/unistd.h: Add rtld_hidden_proto for _exit.
21451         * posix/_exit.c: Add rtld_hidden_def.
21452         * sysdeps/mach/hurd/_exit.c: Likewise.
21453         * sysdeps/nacl/_exit.c: Likewise.
21454         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21455         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21457 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21460         bndmov encoding with zero displacement.
21462 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21463             H.J. Lu  <hongjiu.lu@intel.com>
21465         [BZ #18134]
21466         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21467         * sysdeps/i386/configure: Regenerated.
21468         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21469         (_dl_runtime_profile): Save and restore Intel MPX return bound
21470         registers when calling _dl_call_pltexit.  Add
21471         PRESERVE_BND_REGS_PREFIX before return.
21472         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21473         (LRV_BND1_OFFSET): Likewise.
21474         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21475         lrv_bnd1.
21476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21477         typo in bndmov encoding.
21478         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21479         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21480         branch instructions to preserve bounds.
21482 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21485         [GLIBC_2.22]: Add fmemopen.
21487 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21489         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21490         returns an error, also try to use host port from __mach_host_self for
21491         the __vm_wire call.
21492         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21494 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21496         [BZ #18400]
21497         [BZ #18648]
21498         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21499         Fix pr_uid and pr_gid members.
21500         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21501         definition to elf_greg_t.
21503 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21505         [BZ #18383]
21506         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21507         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21508         * sysdeps/arm/configure: Regenerated.
21509         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21510         (test-xfail-tst-tlsalign-static): Variable removed.
21512         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21513         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21514         rather than explicit 'ln -s'.
21516         * resolv/rpc/netdb.h: New file.
21517         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21519 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21521         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21522         length buffers.
21523         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21524         test-skeleton.c.
21526         [BZ #6544]
21527         [BZ #11216]
21528         [BZ #12836]
21529         [BZ #13151]
21530         [BZ #13152]
21531         [BZ #14292]
21532         * include/stdio.h (fmemopen): Remove hidden prototype.
21533         (__fmemopen): Add new hidden prototype.
21534         * libio/Makefile: Add oldfmemopen object.
21535         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21536         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21537         compliance.
21538         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21539         symbol compatibility.
21540         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21541         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21542         fmemopen.
21543         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21544         on append and read mode.
21545         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21546         fmemopen.
21547         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21548         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21549         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21550         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21551         Likewise.
21552         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21553         [GLIBC_2.22]: Likewise.
21554         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21555         Likewise.
21556         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21559         [GLIBC_2.22]: Likewise.
21560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21561         [GLIBC_2.22]: Likewise.
21562         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21563         [GLIBC_2.22]: Likewise.
21564         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21565         [GLIBC_2.22]: Likewise.
21566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21567         [GLIBC_2.22]: Likewise.
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21569         [GLIBC_2.22]: Likewise.
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21571         [GLIBC_2.22]: Likewise.
21572         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21577         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21578         [GLIBC_2.22]: Likewise.
21579         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21580         [GLIBC_2.22]: Likewise.
21581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21582         [GLIBC_2.22]: Likewise.
21583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21584         [GLIBC_2.22]: Likewise.
21585         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21586         Likewise.
21587         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21588         Likewise.
21589         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21590         Likewise.
21591         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21592         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21594 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21596         [BZ #18643]
21597         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21598         IPV6_PATHMTU, and IPV6_DONTFRAG.
21600 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21602         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21603         and _IO_UNBUFFERED.
21604         * libio/oldfileops.c: Likewise.
21605         * libio/wfileops.c: Likewise.
21607 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21609         * nscd/selinux.c: Delete selinux/flask.h include.
21611 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21613         [BZ #18641]
21614         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21615         (putpwent): Likewise.
21616         (getpwnam): Likewise.
21617         (getpwent_r): Likewise.
21618         (getpwuid_r): Likewise.
21619         (getpwnam_r): Likewise.
21620         (fgetpwent_r): Likewise.
21622 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21624         [BZ #18557]
21625         * inet/rcmd.c (__validuser2_sa): Check user first to
21626         short-circuit host check.
21628 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21629             Mikhail Ilin  <m.ilin@samsung.com>
21631         [BZ #17833]
21632         * elf/Makefile (tests): Add tst-nodelete.
21633         (modules-names): Add tst-nodelete-uniquemod.
21634         (tst-nodelete-uniquemod.so-no-z-defs): New.
21635         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21636         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21637         ($(objpfx)tst-nodelete): Likewise.
21638         ($(objpfx)tst-nodelete.out): Likewise.
21639         (LDFLAGS-tst-nodelete): Likewise.
21640         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21641         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21642         implement forced object deletion.
21643         (_dl_close): Pass false to _dl_close_worker.
21644         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21645         * elf/tst-nodelete.cc: New file.
21646         * elf/tst-nodeletelib.cc: Likewise.
21647         * elf/tst-znodeletelib.cc: Likewise.
21648         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21650 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21652         [BZ #18508]
21653         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21654         Depend on $(libdl).
21655         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21656         is not called infinitely times.
21657         (backtrace_helper): New function.
21658         (trace_arg): New struct.
21659         (st1): Enlarge stack size.
21660         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21661         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21662         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21663         Likewise.
21665 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21667         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21669 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21671         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21672         Include sys/types.h instead of bits/types.h.
21673         Remove inclusion of bits/wordsize.h.
21675 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21677         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21678         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21679         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21680         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21681         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21682         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21684 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21686         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21687         link-defines.sym.
21688         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21689         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21690         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21691         and LR_SIZE.
21692         * sysdeps/i386/link-defines.sym: New file.
21694 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21696         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21697         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21698         ($(objpfx)tst-audit3): New rule.
21699         ($(objpfx)tst-audit3.out): Likewise.
21700         * sysdeps/i386/tst-audit3.c: New file.
21701         * sysdeps/i386/tst-audit3.h: Likewise.
21702         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21703         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21705 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21707         [BZ #18633]
21708         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21709         pointer in C code.
21710         (__strcat_c): Likewise.
21711         (__strcat_g): Likewise.
21713 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21715         [BZ #18592]
21716         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21718 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21720         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21721         New function.  (__ieee754_sqrtf): New function.
21722         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21723         New function.
21724         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21725         New function.
21727 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21729         * sysdeps/ieee754/support.c: Remove unused file.
21731 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21733         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21734         registers instead of d ones so the layout is kernel abi compatible.
21735         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21736         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21737         Likewise.
21739 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21741         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21743 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21745         [BZ #18619]
21746         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21747         and return argument in case of subnormal argument.
21749 2015-07-01  Martin Sebor  <msebor@redhat.com>
21751         [BZ #18435]
21752         * nptl/Makefile: Add tst-once5.cc.
21753         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21754         Remove macro redefinitions.
21755         * nptl/tst-once5.cc: New test.
21757 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21759         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21761         * sysdeps/arm/libm-test-ulps: Regenerated.
21763         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21764         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21766 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21768         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21769         lll_lock_wait_private and lll_futex_wake probes.
21771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21773         Likewise.
21774         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21775         atomic_spin_nop.
21776         * sysdeps/x86_64/bits/atomic.h: Likewise.
21777         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21778         to atomic_spin_nop and move ...
21779         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21780         ... here and ...
21781         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21782         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21783         atomic_spin_nop instead of BUSY_WAIT_NOP.
21784         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21785         Likewise.
21786         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21787         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21788         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21789         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21790         instead of atomic_delay.
21792 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21794         [BZ #18613]
21795         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21796         X_ADJ not X when adjusting exponent.
21797         (__ieee754_gamma_r): Do intermediate computations in
21798         round-to-nearest then adjust overflowing and underflowing results
21799         as needed.
21800         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21801         of X_ADJ not X when adjusting exponent.
21802         (__ieee754_gammaf_r): Do intermediate computations in
21803         round-to-nearest then adjust overflowing and underflowing results
21804         as needed.
21805         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21806         log of X_ADJ not X when adjusting exponent.
21807         (__ieee754_gammal_r): Do intermediate computations in
21808         round-to-nearest then adjust overflowing and underflowing results
21809         as needed.  Use 1.0L not 1.0f as numerator of division.
21810         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21811         log of X_ADJ not X when adjusting exponent.
21812         (__ieee754_gammal_r): Do intermediate computations in
21813         round-to-nearest then adjust overflowing and underflowing results
21814         as needed.  Use 1.0L not 1.0f as numerator of division.
21815         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21816         of X_ADJ not X when adjusting exponent.
21817         (__ieee754_gammal_r): Do intermediate computations in
21818         round-to-nearest then adjust overflowing and underflowing results
21819         as needed.  Use 1.0L not 1.0f as numerator of division.
21820         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21821         to auto-libm-test-in.
21822         (tgamma_test): Use ALL_RM_TEST.
21823         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21824         tests of tgamma with spurious-overflow.
21825         * math/auto-libm-test-out: Regenerated.
21826         * math/gen-libm-have-vector-test.sh: Do not check for START.
21827         * sysdeps/i386/fpu/libm-test-ulps: Update.
21828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21830         [BZ #18612]
21831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21832         arguments, just return 0.5 times the argument, with underflow
21833         forced as needed.
21834         * math/auto-libm-test-in: Add more tests of j1.
21835         * math/auto-libm-test-out: Regenerated.
21837         [BZ #16559]
21838         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21839         (__ieee754_j1): Force underflow exception for small results.
21840         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21841         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21842         (__ieee754_j1f): Force underflow exception for small results.
21843         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21844         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21845         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21847         (__ieee754_j1l): Force underflow exception for small results.
21848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21849         * math/auto-libm-test-in: Add more tests of j1 and jn.
21850         * math/auto-libm-test-out: Regenerated.
21852         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21853         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21854         (PF_MPLS): Likewise.
21855         (AF_IB): Likewise.
21856         (AF_MPLS): Likewise.
21857         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21858         value and macro.
21859         (MS_RMT_MASK): Include MS_LAZYTIME.
21861 2015-06-26  Mel Gorman  <mgorman@suse.de>
21863         [BZ #18502]
21864         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21865         already minimal.
21867 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21869         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21870         (DT_MIPS_NUM): Update.
21871         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21872         DT_MIPS_RLD_MAP_REL.
21874 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21876         [BZ #16559]
21877         [BZ #18602]
21878         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21879         round-to-nearest internally then recompute results that
21880         underflowed to zero in the original rounding mode.
21881         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21882         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21884         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21885         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21886         * sysdeps/i386/fpu/libm-test-ulps: Update.
21887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21889 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21891         * NEWS: Fixed description of link with vector math library.
21893 2015-06-25  Andreas Schwab  <schwab@suse.de>
21895         [BZ #18549]
21896         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21897         * libio/test-fmemopen.c (do_test): Add test for it.
21899 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21901         [BZ #17841]
21902         * Makeconfig (no-pie-ldflag): New.
21903         (+link): Set to $(+link-pie) if default to PIE.
21904         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21905         * config.make.in (build-pie-default): New.
21906         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21907         is default.  AC_SUBST.
21908         * configure: Regenerated.
21909         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21911 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21913         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21914         to 'unsigned int'.
21916         * resolv/gai_misc.h (struct waitlist): Change type of field
21917         counterp to 'volatile unsigned int *'.
21918         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21919         FUTEXADDR and OLDVAL.
21920         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21921         Give local variable TOTAL type 'volatile unsigned int'.
21922         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21923         * resolv/gai_suspend.c (gai_suspend):
21924         Give local variable CNTR type 'unsigned int'.
21926         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21927         counterp to 'volatile unsigned int *'.
21928         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21929         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21930         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21931         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21932         Give local variable TOTAL type 'volatile unsigned int'.
21933         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21935 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21937         [BZ #18383]
21938         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21939         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21940         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21941         comment for i386/x86-64.
21942         (test-xfail-tst-tlsalign-extern-static): Removed.
21944 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21946         * math/test-double.h: New file.
21947         * math/test-float.h: Likewise.
21948         * math/test-ldouble.h: Likewise.
21949         * math/test-math-inline.h: Likewise.
21950         * math/test-math-no-inline.h: Likewise.
21951         * math/test-math-scalar.h: Likewise.
21952         * math/test-math-vector.h: Likewise.
21953         * math/test-vec-loop.h: Remove file.  Contents moved into
21954         test-math-vector.h.
21955         * math/libm-test.inc (MATHCONST): Do not document macro.
21956         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21957         and test-math-scalar.h.
21958         (FUNC): Remove macro.
21959         (FUNC_TEST): Likewise.
21960         (FLOAT): Likewise.
21961         (MATHCONST): Likewise.
21962         (PRINTF_EXPR): Likewise.
21963         (PRINTF_XEXPR): Likewise.
21964         (PRINTF_NEXPR): Likewise.
21965         (TEST_DOUBLE): Likewise.
21966         (TEST_MATHVEC): Likewise.
21967         (__NO_MATH_INLINES): Likewise.
21968         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21969         and test-math-scalar.h.
21970         (FUNC): Remove macro.
21971         (FUNC_TEST): Likewise.
21972         (FLOAT): Likewise.
21973         (MATHCONST): Likewise.
21974         (PRINTF_EXPR): Likewise.
21975         (PRINTF_XEXPR): Likewise.
21976         (PRINTF_NEXPR): Likewise.
21977         (TEST_FLOAT): Likewise.
21978         (TEST_MATHVEC): Likewise.
21979         (__NO_MATH_INLINES): Likewise.
21980         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21981         and test-math-scalar.h.
21982         (FUNC): Remove macro.
21983         (FUNC_TEST): Likewise.
21984         (FLOAT): Likewise.
21985         (MATHCONST): Likewise.
21986         (PRINTF_EXPR): Likewise.
21987         (PRINTF_XEXPR): Likewise.
21988         (PRINTF_NEXPR): Likewise.
21989         (TEST_DOUBLE): Likewise.
21990         (TEST_MATHVEC): Likewise.
21991         (TEST_INLINE): Likewise.
21992         (__NO_MATH_INLINES): Likewise.
21993         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21994         test-math-scalar.h.
21995         (FUNC): Remove macro.
21996         (FUNC_TEST): Likewise.
21997         (FLOAT): Likewise.
21998         (MATHCONST): Likewise.
21999         (PRINTF_EXPR): Likewise.
22000         (PRINTF_XEXPR): Likewise.
22001         (PRINTF_NEXPR): Likewise.
22002         (TEST_FLOAT): Likewise.
22003         (TEST_MATHVEC): Likewise.
22004         (TEST_INLINE): Likewise.
22005         (__NO_MATH_INLINES): Likewise.
22006         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22007         and test-math-scalar.h.
22008         (FUNC): Remove macro.
22009         (FUNC_TEST): Likewise.
22010         (FLOAT): Likewise.
22011         (MATHCONST): Likewise.
22012         (PRINTF_EXPR): Likewise.
22013         (PRINTF_XEXPR): Likewise.
22014         (PRINTF_NEXPR): Likewise.
22015         (TEST_LDOUBLE): Likewise.
22016         (TEST_MATHVEC): Likewise.
22017         (TEST_INLINE): Likewise.
22018         (__NO_MATH_INLINES): Likewise.
22019         * math/test-ldouble.c: Include test-ldouble.h,
22020         test-math-no-inline.h and test-math-scalar.h.
22021         (FUNC): Remove macro.
22022         (FUNC_TEST): Likewise.
22023         (FLOAT): Likewise.
22024         (MATHCONST): Likewise.
22025         (PRINTF_EXPR): Likewise.
22026         (PRINTF_XEXPR): Likewise.
22027         (PRINTF_NEXPR): Likewise.
22028         (TEST_LDOUBLE): Likewise.
22029         (TEST_MATHVEC): Likewise.
22030         (__NO_MATH_INLINES): Likewise.
22031         * math/test-double-vlen2.h: Include test-double.h,
22032         test-math-no-inline.h and test-math-vector.h.
22033         (FLOAT): Remove macro.
22034         (FUNC): Likewise.
22035         (MATHCONST): Likewise.
22036         (PRINTF_EXPR): Likewise.
22037         (PRINTF_XEXPR): Likewise.
22038         (PRINTF_NEXPR): Likewise.
22039         (TEST_DOUBLE): Likewise.
22040         (TEST_MATHVEC): Likewise.
22041         (__NO_MATH_INLINES): Likewise.
22042         (CNCT): Likewise.
22043         (CONCAT): Likewise.
22044         (WRAPPER_NAME): Likewise.
22045         (WRAPPER_DECL): Likewise.
22046         (WRAPPER_DECL_ff): Likewise.
22047         (WRAPPER_DECL_fFF): Likewise.
22048         (VECTOR_WRAPPER): Likewise.
22049         (VECTOR_WRAPPER_ff): Likewise.
22050         (VECTOR_WRAPPER_fFF): Likewise.
22051         (VEC_LEN): New macro.
22052         * math/test-double-vlen4.h: Include test-double.h,
22053         test-math-no-inline.h and test-math-vector.h.
22054         (FLOAT): Remove macro.
22055         (FUNC): Likewise.
22056         (MATHCONST): Likewise.
22057         (PRINTF_EXPR): Likewise.
22058         (PRINTF_XEXPR): Likewise.
22059         (PRINTF_NEXPR): Likewise.
22060         (TEST_DOUBLE): Likewise.
22061         (TEST_MATHVEC): Likewise.
22062         (__NO_MATH_INLINES): Likewise.
22063         (CNCT): Likewise.
22064         (CONCAT): Likewise.
22065         (WRAPPER_NAME): Likewise.
22066         (WRAPPER_DECL): Likewise.
22067         (WRAPPER_DECL_ff): Likewise.
22068         (WRAPPER_DECL_fFF): Likewise.
22069         (VECTOR_WRAPPER): Likewise.
22070         (VECTOR_WRAPPER_ff): Likewise.
22071         (VECTOR_WRAPPER_fFF): Likewise.
22072         (VEC_LEN): New macro.
22073         * math/test-double-vlen8.h: Include test-double.h,
22074         test-math-no-inline.h and test-math-vector.h.
22075         (FLOAT): Remove macro.
22076         (FUNC): Likewise.
22077         (MATHCONST): Likewise.
22078         (PRINTF_EXPR): Likewise.
22079         (PRINTF_XEXPR): Likewise.
22080         (PRINTF_NEXPR): Likewise.
22081         (TEST_DOUBLE): Likewise.
22082         (TEST_MATHVEC): Likewise.
22083         (__NO_MATH_INLINES): Likewise.
22084         (CNCT): Likewise.
22085         (CONCAT): Likewise.
22086         (WRAPPER_NAME): Likewise.
22087         (WRAPPER_DECL): Likewise.
22088         (WRAPPER_DECL_ff): Likewise.
22089         (WRAPPER_DECL_fFF): Likewise.
22090         (VECTOR_WRAPPER): Likewise.
22091         (VECTOR_WRAPPER_ff): Likewise.
22092         (VECTOR_WRAPPER_fFF): Likewise.
22093         (VEC_LEN): New macro.
22094         * math/test-float-vlen4.h: Include test-float.h,
22095         test-math-no-inline.h and test-math-vector.h.
22096         (FLOAT): Remove macro.
22097         (FUNC): Likewise.
22098         (MATHCONST): Likewise.
22099         (PRINTF_EXPR): Likewise.
22100         (PRINTF_XEXPR): Likewise.
22101         (PRINTF_NEXPR): Likewise.
22102         (TEST_FLOAT): Likewise.
22103         (TEST_MATHVEC): Likewise.
22104         (__NO_MATH_INLINES): Likewise.
22105         (CNCT): Likewise.
22106         (CONCAT): Likewise.
22107         (WRAPPER_NAME): Likewise.
22108         (WRAPPER_DECL): Likewise.
22109         (WRAPPER_DECL_ff): Likewise.
22110         (WRAPPER_DECL_fFF): Likewise.
22111         (VECTOR_WRAPPER): Likewise.
22112         (VECTOR_WRAPPER_ff): Likewise.
22113         (VECTOR_WRAPPER_fFF): Likewise.
22114         (VEC_LEN): New macro.
22115         * math/test-float-vlen8.h: Include test-float.h,
22116         test-math-no-inline.h and test-math-vector.h.
22117         (FLOAT): Remove macro.
22118         (FUNC): Likewise.
22119         (MATHCONST): Likewise.
22120         (PRINTF_EXPR): Likewise.
22121         (PRINTF_XEXPR): Likewise.
22122         (PRINTF_NEXPR): Likewise.
22123         (TEST_FLOAT): Likewise.
22124         (TEST_MATHVEC): Likewise.
22125         (__NO_MATH_INLINES): Likewise.
22126         (CNCT): Likewise.
22127         (CONCAT): Likewise.
22128         (WRAPPER_NAME): Likewise.
22129         (WRAPPER_DECL): Likewise.
22130         (WRAPPER_DECL_ff): Likewise.
22131         (WRAPPER_DECL_fFF): Likewise.
22132         (VECTOR_WRAPPER): Likewise.
22133         (VECTOR_WRAPPER_ff): Likewise.
22134         (VECTOR_WRAPPER_fFF): Likewise.
22135         (VEC_LEN): New macro.
22136         * math/test-float-vlen16.h: Include test-float.h,
22137         test-math-no-inline.h and test-math-vector.h.
22138         (FLOAT): Remove macro.
22139         (FUNC): Likewise.
22140         (MATHCONST): Likewise.
22141         (PRINTF_EXPR): Likewise.
22142         (PRINTF_XEXPR): Likewise.
22143         (PRINTF_NEXPR): Likewise.
22144         (TEST_FLOAT): Likewise.
22145         (TEST_MATHVEC): Likewise.
22146         (__NO_MATH_INLINES): Likewise.
22147         (CNCT): Likewise.
22148         (CONCAT): Likewise.
22149         (WRAPPER_NAME): Likewise.
22150         (WRAPPER_DECL): Likewise.
22151         (WRAPPER_DECL_ff): Likewise.
22152         (WRAPPER_DECL_fFF): Likewise.
22153         (VECTOR_WRAPPER): Likewise.
22154         (VECTOR_WRAPPER_ff): Likewise.
22155         (VECTOR_WRAPPER_fFF): Likewise.
22156         (VEC_LEN): New macro.
22157         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22158         test-vec-loop.h.
22159         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22160         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22161         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22162         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22164         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22165         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22167 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22169         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22170         (__getlogin_r): ... this.
22172 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22174         [BZ #18594]
22175         * math/s_ccosh.c (__ccosh): Compare with least normal value
22176         instead of comparing class with FP_SUBNORMAL.
22177         * math/s_ccoshf.c (__ccoshf): Likewise.
22178         * math/s_ccoshl.c (__ccoshl): Likewise.
22179         * math/s_cexp.c (__cexp): Likewise.
22180         * math/s_cexpf.c (__cexpf): Likewise.
22181         * math/s_cexpl.c (__cexpl): Likewise.
22182         * math/s_csin.c (__csin): Likewise.
22183         * math/s_csinf.c (__csinf): Likewise.
22184         * math/s_csinh.c (__csinh): Likewise.
22185         * math/s_csinhf.c (__csinhf): Likewise.
22186         * math/s_csinhl.c (__csinhl): Likewise.
22187         * math/s_csinl.c (__csinl): Likewise.
22188         * math/s_ctan.c (__ctan): Likewise.
22189         * math/s_ctanf.c (__ctanf): Likewise.
22190         * math/s_ctanh.c (__ctanh): Likewise.
22191         * math/s_ctanhf.c (__ctanhf): Likewise.
22192         * math/s_ctanhl.c (__ctanhl): Likewise.
22193         * math/s_ctanl.c (__ctanl): Likewise.
22194         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22195         csin, csinh, ctan and ctanh.
22196         * math/auto-libm-test-out: Regenerated.
22197         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22198         * sysdeps/i386/fpu/libm-test-ulps: Update.
22199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22201 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22203         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22204         return value is wrong, print the expected value too.
22206 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22208         [BZ #18585]
22209         * elf/readlib.c (is_gdb_python_file): New.
22210         (process_file): Don't issue errors on filenames with -gdb.py
22211         suffix.
22213 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22215         * math/auto-libm-test-in: Add more tests of csin and csinh.
22216         * math/auto-libm-test-out: Regenerated.
22217         * math/libm-test.inc (csin_test_data): Remove tests moved to
22218         auto-libm-test-in.
22219         (csinh_test_data): Likewise.
22221         [BZ #18593]
22222         * math/s_csin.c (__csin): Negate before rather than after possibly
22223         overflowing multiplication.
22224         * math/s_csinf.c (__csinf): Likewise.
22225         * math/s_csinh.c (__csinh): Likewise.
22226         * math/s_csinhf.c (__csinhf): Likewise.
22227         * math/s_csinhl.c (__csinhl): Likewise.
22228         * math/s_csinl.c (__csinl): Likewise.
22229         * math/auto-libm-test-in: Add some tests of csin and csinh.
22230         * math/auto-libm-test-out: Regenerated.
22231         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22232         (csinh_test_data): Likewise.
22233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22235         [BZ #18586]
22236         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22237         underflow exception for small results.
22239 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22241         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22242         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22243         variable and included header.
22244         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22245         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22247         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22248         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22252         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22253         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22254         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22255         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22256         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22257         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22258         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22259         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22261 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22263         [BZ #16526]
22264         [BZ #16538]
22265         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22266         (__sin): Force underflow exception for arguments with small
22267         absolute value.
22268         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22269         (__kernel_sinf): Force underflow exception for arguments with
22270         small absolute value.
22271         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22272         (__kernel_sincosl): Force underflow exception for arguments with
22273         small absolute value.
22274         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22275         (__kernel_sinl): Force underflow exception for arguments with
22276         small absolute value.
22277         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22278         (__kernel_sincosl): Force underflow exception for arguments with
22279         small absolute value.
22280         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22281         (__kernel_sinl): Force underflow exception for arguments with
22282         small absolute value.
22283         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22284         (__kernel_sinl): Force underflow exception for arguments with
22285         small absolute value.
22286         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22287         (__kernel_sinf): Force underflow exception for arguments with
22288         small absolute value.
22289         * math/auto-libm-test-in: Add more tests of sin and sincos.
22290         * math/auto-libm-test-out: Regenerated.
22292         [BZ #18245]
22293         [BZ #18583]
22294         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22295         (__kernel_standard_l): Use feholdexcept and fesetenv around
22296         conversion to double instead of special-casing overflow and
22297         underflow.
22298         * math/libm-test.inc (fmod_test_data): Add more tests.
22299         (remainder_test_data): Likewise.
22300         (sqrt_test_data): Likewise.
22302 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22304         [BZ #17403]
22305         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22306         atomic_read_barrier, atomic_write_barrier): Define.
22307         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22308         atomic_read_barrier, atomic_write_barrier): Define.
22310 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22312         * math/Makefile [$(PERL) != no]
22313         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22314         dependency on libm-test.stmp below the inclusion of Rules.
22316 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22320         and included header.
22321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22323         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22329         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22330         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22331         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22332         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22333         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22334         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22335         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22336         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22337         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22338         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22339         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22341 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22343         [BZ #18371]
22344         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22345         intermediate but not final result might underflow.
22346         * math/s_csqrtf.c (__csqrtf): Likewise.
22347         * math/s_csqrtl.c (__csqrtl): Likewise.
22348         * math/auto-libm-test-in: Add more tests of csqrt.
22349         * math/auto-libm-test-out: Regenerated.
22350         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         [BZ #18219]
22353         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22354         threshold on absolute value of exponent for which scaling is used.
22355         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22356         * math/auto-libm-test-in: Add more tests of exp2.
22357         * math/auto-libm-test-out: Regenerated.
22359 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22361         [BZ #17977]
22362         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22363         when initializing interface list, based on the bug analysis
22364         and the patch proposed by Eric Newton.
22365         * resolv/tst-res_hconf_reorder.c: New test.
22366         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22367         tst-res_hconf_reorder.
22368         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22369         and $(shared-thread-library).
22370         (tst-res_hconf_reorder-ENV): New variable.
22372         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22373         in comment.
22375 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22377         [BZ #16353]
22378         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22379         (__expm1): Force underflow exception for arguments with small
22380         absolute value.
22381         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22382         (__expm1f): Force underflow exception for arguments with small
22383         absolute value.
22384         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22385         (__expm1): Force underflow exception for arguments with small
22386         absolute value.
22387         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22388         (__expm1f): Force underflow exception for arguments with small
22389         absolute value.
22390         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22391         Check for small arguments before calling __expm1.
22392         * math/auto-libm-test-in: Do not mark underflow exceptions as
22393         possibly missing for bug 16353.
22394         * math/auto-libm-test-out: Regenerated.
22396 2015-06-22  Andreas Schwab  <schwab@suse.de>
22398         [BZ #18513]
22399         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22400         PTR queries.
22402 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22404         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22406         * string/strcoll_l.c: Remove unused struct element idxnow.
22408 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22410         [BZ #18569]
22411         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22412         underflow and return argument in case of subnormal argument.
22413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22414         Likewise.
22415         * math/auto-libm-test-in: Add more tests of expm1.
22416         * math/auto-libm-test-out: Regenerated.
22418         [BZ #16361]
22419         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22420         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22421         tiny results.
22422         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22423         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22424         tiny results.
22425         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22426         mark underflow exceptions as possibly missing for bug 16361.
22427         * math/auto-libm-test-out: Regenerated.
22429 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22431         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22432         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22433         Remove variable.
22434         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22435         (test-xfail-XOPEN2K8/utmpx.h/conform).
22437         * conform/conformtest.pl ($xerrors): New variable.
22438         (note_error): New function.
22439         (compiletest): New argument $xfail.  Use not_error.
22440         (runtest): Likewise.
22441         (top level): Handle xfail- lines.  Update calls to compiletest and
22442         runtest.  Handle xfail- and optional- in headers listed with
22443         allow-header.
22444         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22445         (O_EXEC): Likewise.
22446         (O_SEARCH): Likewise.
22447         * conform/data/stropts.h-data (ioctl): Likewise.
22448         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22449         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22450         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22451         (msghdr.msg_controllen): Likewise.
22452         (cmsghdr.cmsg_len): Likewise.
22453         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22454         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22455         variable.
22456         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22457         (test-xfail-XPG4/stropts.h/conform): Likewise.
22458         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22459         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22460         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22461         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22462         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22463         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22464         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22465         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22466         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22467         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22468         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22469         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22470         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22471         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22472         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22473         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22474         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22475         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22476         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22478 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22480         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22481         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22482         definitions for proper unfolding of __MATHDECL_VEC.
22484 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22486         * benchtests/bench-strcoll.c:
22487         Include string.h.
22488         (main): Remove unused variable res.
22490 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22492         * timezone/Makefile (%/UTC %/Universal):
22493         Generate test-result files for UTC and Universal.
22495 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22497         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22499 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22501         [BZ #16350]
22502         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22503         for arguments with small absolute value.
22504         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22505         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22506         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22507         (__asinh): Force underflow exception for arguments with small
22508         absolute value.
22509         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22510         (__asinhf): Force underflow exception for arguments with small
22511         absolute value.
22512         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22513         (__asinhl): Force underflow exception for arguments with small
22514         absolute value.
22515         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22516         (__asinhl): Force underflow exception for arguments with small
22517         absolute value.
22518         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22519         (__asinhl): Force underflow exception for arguments with small
22520         absolute value.
22521         * math/auto-libm-test-in: Do not mark underflow exceptions as
22522         possibly missing for bug 16350.
22523         * math/auto-libm-test-out: Regenerated.
22525         * include/bits/ipc.h: Remove file.
22526         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22527         variable.
22528         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22529         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22530         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22531         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22532         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22533         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22534         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22535         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22536         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22538         * math/auto-libm-test-in: Remove spurious underflow allowance for
22539         tests of cexp.
22540         * math/auto-libm-test-out: Regenerated.
22542         [BZ #18558]
22543         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22544         unconditional definition.
22545         (MCAST_BLOCK_SOURCE): Likewise.
22546         (MCAST_UNBLOCK_SOURCE): Likewise.
22547         (MCAST_LEAVE_GROUP): Likewise.
22548         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22549         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22550         (MCAST_MSFILTER): Likewise.
22551         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22552         Remove variable.
22553         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22554         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22555         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22556         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22557         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22559 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22561         * NEWS: Mention addition of x86_64 vector sincosf.
22562         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22563         * math/test-float-vlen4.h: Likewise.
22564         * math/test-float-vlen8.h: Likewise.
22565         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22566         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22567         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22568         * sysdeps/x86_64/fpu/Versions: New versions added.
22569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22571         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22575         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22578         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22579         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22580         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22581         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22582         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22583         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22584         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22585         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22586         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22587         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22588         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22590         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22591         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22592         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22594         * NEWS: Mention addition of x86_64 vector sincos.
22595         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22596         * math/math.h (__MATHDECL_VEC): New macro.
22597         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22598         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22599         declaration under condition.
22600         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22601         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22602         TEST_VEC_LOOP change.
22603         * math/test-double-vlen4.h: Likewise.
22604         * math/test-double-vlen8.h: Likewise.
22605         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22606         * math/test-float-vlen4.h: Likewise.
22607         * math/test-float-vlen8.h: Likewise.
22608         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22609         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22610         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22611         * sysdeps/x86_64/fpu/Versions: New versions added.
22612         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22613         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22614         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22615         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22616         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22620         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22621         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22622         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22623         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22624         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22625         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22626         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22627         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22628         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22629         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22630         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22632         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22633         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22634         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22635         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22639         redirections for powf.
22640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22641         * sysdeps/x86_64/fpu/Versions: New versions added.
22642         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22643         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22644         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22645         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22646         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22651         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22652         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22653         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22654         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22655         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22656         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22657         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22658         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22659         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22661         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22664         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22665         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22666         * math/test-float-vlen16.h: Fixed 2 argument macro.
22667         * math/test-float-vlen4.h: Likewise.
22668         * math/test-float-vlen8.h: Likewise.
22669         * NEWS: Mention addition of x86_64 vector powf.
22671 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22673         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22674         and redefine.
22675         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22676         and redefine.
22677         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22681         [BZ #18553]
22682         * resource/getpriority.c (getpriority): Rename to __getpriority
22683         and define as weak alias of __getpriority.
22684         * resource/setpriority.c (setpriority): Rename to __setpriority
22685         and define as weak alias of __setpriority.
22686         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22687         __getpriority and define as weak alias of __getpriority.
22688         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22689         __setpriority and define as weak alias of __setpriority.
22690         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22691         strong name.
22692         (setpriority): Use __setpriority as strong name.
22693         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22694         __getpriority and define as weak alias of __getpriority.
22695         * include/sys/resource.h (__getpriority): Declare.  Use
22696         libc_hidden_proto.
22697         (__setpriority): Likewise.
22698         (getpriority): Don't use libc_hidden_proto.
22699         (setpriority): Likewise.
22700         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22701         getpriority.  Call __setpriority instead of setpriority.
22702         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22703         Remove variable.
22705         [BZ #18547]
22706         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22707         as weak alias of __getttynam.  Use prototype function definition.
22708         Call __setttyent, __getttyent and __endttyent instead of
22709         setttyent, getttyent and endttyent.
22710         (getttyent): Rename to __getttyent and define as weak alias of
22711         __getttyent.  Call __setttyent instead of setttyent.  Call
22712         __fgets_unlocked instead of fgets_unlocked.
22713         (setttyent): Rename to __setttyent and define as weak alias of
22714         __setttyent.
22715         (endttyent): Rename to __endttyent and define as weak alias of
22716         __endttyent.
22717         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22718         (__setttyent): Likewise.
22719         (__endttyent): Likewise.
22720         (getttyent): Don't use libc_hidden_proto.
22721         (setttyent): Likewise.
22722         (endttyent): Likewise.
22723         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22724         __endttyent instead of setttyent, getttyent and endttyent.
22725         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22726         Remove variable.
22728         [BZ #18546]
22729         * socket/recv.c (__recv): Use libc_hidden_def.
22730         * socket/socket.c (__socket): Likewise.
22731         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22732         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22733         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22734         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22735         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22736         libc_hidden_def.
22737         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22738         libc_hidden_weak.
22739         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22740         Use libc_hidden_proto.
22741         (__recv): Likewise.
22742         * socket/Versions (libc): Export __recv and __socket at version
22743         GLIBC_PRIVATE.
22744         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22745         instead of recv.
22746         (init_mq_netlink): Call __socket instead of socket.
22747         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22748         Remove variable.
22750         [BZ #18545]
22751         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22752         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22753         hidden_weak.
22754         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22755         define as alias of __mq_timedsend.  Use hidden_weak.
22756         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22757         __mq_timedsend as strong name.
22758         (mq_timedreceive): Use __mq_timedreceive as strong name.
22759         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22760         (__mq_timedreceive): Likewise.
22761         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22762         __mq_timedreceive instead of mq_timedreceive.
22763         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22764         instead of mq_timedsend.
22765         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22766         Remove variable.
22768         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22769         hidden_def and hidden_weak instead of libc_hidden_def and
22770         libc_hidden_weak.
22771         (top level): Refer to hidden_def in comment.
22772         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22773         macro.  Use it instead of libc_hidden_def.
22774         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22775         specify __GI_* name explicitly.
22776         (mq_timedreceive): Likewise.
22777         (mq_setattr): Likewise.
22779         [BZ #18544]
22780         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22781         __pthread_barrier_init and define as weak alias of
22782         __pthread_barrier_init.
22783         * sysdeps/sparc/nptl/pthread_barrier_init.c
22784         (pthread_barrier_init): Likewise.
22785         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22786         __pthread_barrier_wait and define as weak alias of
22787         __pthread_barrier_wait.
22788         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22789         (pthread_barrier_wait): Likewise.
22790         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22791         (pthread_barrier_wait): Likewise.
22792         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22793         (pthread_barrier_wait): Likewise.
22794         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22795         (pthread_barrier_wait): Likewise.
22796         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22797         __pthread_barrier_wait at version GLIBC_PRIVATE.
22798         * include/pthread.h (__pthread_barrier_init): Declare.
22799         (__pthread_barrier_wait): Likewise.
22800         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22801         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22802         (helper_thread): Likewise.
22803         (init_mq_netlink): Call __pthread_barrier_init instead of
22804         pthread_barrier_init.
22806         [BZ #18542]
22807         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22808         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22809         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22810         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22811         vswscanf.
22812         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22813         Remove variable.
22815         [BZ #18540]
22816         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22817         strong alias of _IO_fflush.  Use libc_hidden_def.
22818         * libio/iofflush_u.c (fflush_unlocked): Rename to
22819         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22820         Use libc_hidden_weak.
22821         * include/stdio.h (__fflush_unlocked): Declare.  Use
22822         libc_hidden_proto.
22823         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22824         fflush_unlocked.
22825         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22826         Remove variable.
22828         [BZ #18539]
22829         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22830         define as weak alias of __addseverity.
22831         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22832         Remove variable.
22833         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22834         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22835         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22837         [BZ #18536]
22838         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22839         (__tfind): Likewise.
22840         (__tdelete): Likewise.
22841         (__twalk): Likewise.
22842         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22843         __twalk to GLIBC_PRIVATE.
22844         * include/search.h (__tsearch): Use libc_hidden_proto.
22845         (__tfind): Likewise.
22846         (__tdelete): Likewise.
22847         (__twalk): Likewise.
22848         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22849         Call __tdelete instead of tdelete.
22850         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22851         tfind.  Call __tsearch instead of tsearch.
22852         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22853         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22854         Remove variable.
22855         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22857         [BZ #18534]
22858         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22859         (dprintf): Define as a weak alias of __dprintf, not a strong
22860         alias.
22861         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22862         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22863         dprintf.
22864         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22865         Remove variable.
22866         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22867         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22869         [BZ #18533]
22870         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22871         not a strong alias.
22872         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22873         Remove variable.
22875         [BZ #18532]
22876         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22877         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22878         (in6addr_loopback): Rename to __in6addr_loopback and define as
22879         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22880         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22881         libc_hidden_proto.
22882         (__in6addr_any): Likewise.
22883         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22884         in6addr_any.
22885         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22886         variable.
22887         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22889 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22891         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22892         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22893         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22894         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22895         redirections for pow.
22896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22897         * sysdeps/x86_64/fpu/Versions: New versions added.
22898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22900         build of SSE, AVX2 and AVX512 IFUNC versions.
22901         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22902         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22903         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22904         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22905         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22907         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22908         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22909         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22910         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22911         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22912         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22913         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22914         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22915         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22916         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22918         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22919         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22920         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22921         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22922         * NEWS: Mention addition of x86_64 vector pow.
22924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22925         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22926         redirections for expf.
22927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22928         * sysdeps/x86_64/fpu/Versions: New versions added.
22929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22931         build of SSE, AVX2 and AVX512 IFUNC versions.
22932         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22933         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22934         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22935         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22936         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22937         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22938         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22939         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22940         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22941         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22942         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22943         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22944         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22945         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22946         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22947         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22950         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22951         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22952         * NEWS: Mention addition of x86_64 vector expf.
22954         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22955         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22956         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22957         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22958         redirections for exp.
22959         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22960         * sysdeps/x86_64/fpu/Versions: New versions added.
22961         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22962         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22963         build of SSE, AVX2 and AVX512 IFUNC versions.
22964         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22966         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22969         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22970         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22971         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22972         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22973         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22974         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22975         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22976         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22977         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22980         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22981         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22982         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22983         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22984         * NEWS: Mention addition of x86_64 vector exp.
22986         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22987         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22988         redirections for logf.
22989         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22990         * sysdeps/x86_64/fpu/Versions: New versions added.
22991         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22992         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22993         build of SSE, AVX2 and AVX512 IFUNC versions.
22994         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22995         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22996         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22997         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22998         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22999         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23000         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23001         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23002         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23003         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23004         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23005         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23006         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23007         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23008         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23009         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23010         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23011         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23012         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23013         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23014         * NEWS: Mention addition of x86_64 vector logf.
23016         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23017         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23018         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23019         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23020         redirections for log.
23021         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23022         * sysdeps/x86_64/fpu/Versions: New versions added.
23023         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23024         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23025         build of SSE, AVX2 and AVX512 IFUNC versions.
23026         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23027         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23028         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23029         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23030         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23031         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23032         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23033         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23034         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23035         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23036         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23037         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23038         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23039         test.
23040         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23041         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23043         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23044         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23045         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23046         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23047         * NEWS: Mention addition of x86_64 vector log.
23049 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23051         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23052         cfi_adjust_cfa_offset argument.
23053         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23054         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23056         [BZ #18034]
23057         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23058         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23059         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23060         ordering using ldar.
23061         (_dl_tlsdesc_dynamic): Likewise.
23062         (_dl_tlsdesc_return_lazy): Likewise.
23063         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23064         relaxed atomics instead of volatile and synchronize with release store.
23065         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23066         volatile.
23067         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23069 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23072         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23074         * sysdeps/x86_64/fpu/Versions: New versions added.
23075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23077         build of SSE, AVX2 and AVX512 IFUNC versions.
23078         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23079         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23083         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23084         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23085         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23086         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23087         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23088         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23089         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23090         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23091         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23092         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23093         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23094         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23095         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23096         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23097         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23098         * NEWS: Mention addition of x86_64 vector sinf.
23100 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23102         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23103         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23104         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23105         Remove variable.
23106         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23107         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23109 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #18530]
23112         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23113         strong alias of _IO_fputs.  Use libc_hidden_def.
23114         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23115         and define as weak alias of __fputs_unlocked.  Use
23116         libc_hidden_weak.
23117         * include/stdio.h (__fputs_unlocked): Declare.  Use
23118         libc_hidden_proto.
23119         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23120         fputs_unlocked.
23122         [BZ #18529]
23123         * resolv/netdb.h [__USE_POSIX]: Change condition to
23124         [__USE_XOPEN2K].
23125         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23126         not expect.
23127         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23128         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23129         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23130         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23131         [XPG4 || UNIX98] (AI_ALL): Likewise.
23132         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23133         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23134         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23135         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23136         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23137         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23138         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23139         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23140         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23141         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23142         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23143         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23144         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23145         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23146         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23147         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23148         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23149         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23150         [XPG4 || UNIX98] (gai_strerror): Likewise.
23151         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23152         [XPG4 || UNIX98] (getnameinfo): Likewise.
23154         [BZ #18528]
23155         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23156         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23157         __USE_XOPEN2K8].
23158         (getgrent): Likewise.
23159         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23160         expect.
23161         [XPG3 || POSIX2008] (endgrent): Likewise.
23162         [XPG3] (setgrent): Likewise.
23163         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23164         variable.
23165         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23167         [BZ #18527]
23168         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23169         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23170         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23171         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23172         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23173         * include/unistd.h (__getlogin_r): Declare.  Use
23174         libc_hidden_proto.
23175         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23176         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23177         variable.
23178         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23179         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23180         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23182 2015-06-12  Martin Sebor  <msebor@redhat.com>
23184         [BZ #18512]
23185         * Makerules (check-install-supported): New target.
23186         (install): Add check-install-supported as a dependency.
23187         * manual/install.texi (Installing the C Library): Document
23188         that overriding prefix and exec_prefix is not supported.
23189         Mention DESTDIR.
23190         * INSTALL: Regenerate from the above.
23192 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23194         [BZ #18519]
23195         * posix/Versions (libc): Export __libc_pread at version
23196         GLIBC_PRIVATE.
23197         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23198         instead of pread.
23199         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23200         variable.
23202         [BZ #18522]
23203         * misc/efgcvt_r.c
23204         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23205         (cvt_symbol): Use weak_alias instead of strong_alias.
23206         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23207         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23208         Remove variable.
23209         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23210         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23212         [BZ #18520]
23213         * inet/herrno.c (h_errno): Rename to __h_errno.
23214         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23215         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23216         to __h_errno instead of h_errno.
23217         * nptl/herrno.c (h_errno): Rename to __h_errno.
23218         (__h_errno_location): Refer to __h_errno not h_errno.
23219         * resolv/Versions (h_errno): Rename to __h_errno.
23220         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23221         Remove variable.
23222         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23224 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23226         * configure.ac: More strict check for AVX512 assembler support.
23227         * configure: Regenerated.
23229         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23230         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23231         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23232         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23233         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23234         * sysdeps/x86_64/fpu/Versions: New versions added.
23235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23236         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23237         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23239         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23240         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23241         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23242         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23244         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23245         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23246         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23247         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23248         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23249         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23250         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23251         test.
23252         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23255         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23256         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23257         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23258         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23259         * NEWS: Mention addition of x86_64 vector sin.
23261 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23263         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23264         comment.
23266 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23268         [BZ #18479]
23269         * nptl/pt-interp.c: New file.
23270         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23271         Add pt-interp.
23272         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23273         $(common-objpfx)runtime-linker.h.
23275 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23277         * Makeconfig (+interp): Remove unused variable.
23278         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23279         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23280         $(elf-objpfx)runtime-linker.h.
23281         ($(elf-objpfx)runtime-linker.h): Rename to
23282         $(common-objpfx)runtime-linker.h and move ...
23283         * Makerules [$(build-shared) = yes]: ... here.
23284         * elf/interp.c: Include <runtime-linker.h> instead of
23285         <elf/runtime-linker.h>.
23287 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23289         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23290         (__gettimeofday_syscall): Remove vsyscall fallback.
23291         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23292         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23293         Add syscall fallback function.
23294         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23295         if vDSO is not present.
23296         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23297         fallback function.
23298         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23299         present.
23300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23301         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23303 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23305         [BZ #18497]
23306         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23307         of wcscmp.
23308         (wcscmp): Define as weak alias of WCSCMP.
23309         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23310         wcscoll.
23311         (USE_HIDDEN_DEF): Define.
23312         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23313         __wcscoll.  Don't use libc_hidden_weak.
23314         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23315         wcscmp.
23316         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23317         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23318         __GI_wcscmp.
23319         (weak_alias): Undefine and redefine.
23320         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23321         __wcscmp and define as weak alias of __wcscmp.
23322         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23323         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23324         (__wcscoll): Likewise.
23325         (wcscmp): Don't use libc_hidden_proto.
23326         (wcscoll): Likewise.
23327         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23328         wcscoll.
23329         * posix/regexec.c (check_node_accept_bytes): Likewise.
23330         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23331         variable.
23332         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23333         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23335         [BZ #18507]
23336         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23337         __fstatvfs and define as weak alias of __fstatvfs.  Use
23338         libc_hidden_weak.
23339         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23340         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23341         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23342         Define as alias of __fstatvfs, not fstatvfs.
23343         (fstatvfs64): Likewise.
23344         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23345         Define as alias of __statvfs, not statvfs.
23346         (statvfs64): Likewise.
23347         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23348         Remove variable.
23350 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23353         (HAVE_GETCPU_VSYSCALL): Define.
23354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23355         (HAVE_GETCPU_VSYSCALL): Likewise.
23356         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23357         * sysdeps/unix/sysv/linux/sched_getcpu.c
23358         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23359         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23360         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23361         prototype.
23362         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23363         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23364         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23366         Define.
23367         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23368         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23369         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23372 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23374         * sysdeps/x86_64/fpu/Makefile: New file.
23375         * sysdeps/x86_64/fpu/Versions: New file.
23376         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23377         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23378         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23379         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23380         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23381         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23382         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23383         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23384         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23385         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23386         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23388         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23389         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23390         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23391         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23392         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23393         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23394         * sysdeps/x86_64/configure: Regenerated.
23395         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23396         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23397         * manual/install.texi (Configuring and compiling): Document
23398         --disable-mathvec.
23399         * INSTALL: Regenerated.
23400         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23402         * math/Makefile: Added rules for vector tests.
23403         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23404         declaration under condition.
23405         * math/test-double-vlen2.h: New file.
23406         * math/test-double-vlen4.h: New file.
23407         * math/test-double-vlen8.h: New file.
23408         * math/test-vec-loop.h: Added initialization macro.
23409         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23411         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23413         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23416         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23417         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23418         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23419         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23421         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23422         * sysdeps/x86_64/fpu/Versions: New versions added.
23423         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23426         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23427         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23428         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23429         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23430         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23432         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23433         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23434         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23435         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23436         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23437         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23438         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23439         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23440         * NEWS: Mention addition of x86_64 vector cosf.
23442         * math/Makefile: Added CFLAGS for new tests.
23443         * math/test-float-vlen16.h: New file.
23444         * math/test-float-vlen4.h: New file.
23445         * math/test-float-vlen8.h: New file.
23446         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23447         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23449         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23450         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23451         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23452         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23455         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23456         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23458 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23460         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23461         * locale/programs/ld-ctype.c: Likewise.
23463 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23465         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23466         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23467         bit_ZMM16_31_state): New macro.
23468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23469         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23471 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23473         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23475 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23477         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23479 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23481         [BZ #18498]
23482         * libio/memstream.c (open_memstream): Rename to __open_memstream
23483         and define as weak alias of __open_memstream.
23484         * include/stdio.h (__open_memstream): Declare.  Use
23485         libc_hidden_proto.
23486         (open_memstream): Don't use libc_hidden_proto.
23487         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23488         open_memstream.
23489         * posix/getopt.c (_getopt_internal_r): Likewise.
23490         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23491         variable.
23492         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23493         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23494         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23496         [BZ #18496]
23497         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23498         instead of wcrtomb.
23500         [BZ #18483]
23501         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23502         [__USE_XOPEN2K8].  Remove redundant #endif.
23503         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23504         Remove redundant #if.
23505         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23506         Remove variable.
23507         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23508         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23510         [BZ #18495]
23511         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23512         (__iswlower): Likewise.
23513         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23514         (__iswlower): Likewise.
23515         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23516         instead of towlower.
23517         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23518         instead of iswlower.  Call __towupper instead of towupper.
23519         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23520         instead of iswalnum.
23522 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23524         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23525         errors to stderr.
23527 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23529         [BZ #15661]
23530         [BZ #17322]
23531         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23532         Check for overflow properly.  Check for O_APPEND.  Ignore large
23533         file system block sizes.  Add comments about problems.
23534         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23535         * manual/filesys.texi (Storage Allocation): New node.
23537 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23539         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23540         cancellable syscalls.
23541         (SYS_ify): Add guard to no redefine it.
23542         (INLINE_SYSCALL): Likewise.
23543         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23544         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23545         SYSCALL_CANCEL instead.
23546         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23547         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23548         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23549         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23550         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23551         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23552         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23553         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23554         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23555         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23556         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23557         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23558         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23559         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23560         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23562         Likewise.
23563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23564         (__libc_pread64): Likewise.
23565         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23566         (__libc_preadv): Likewise.
23567         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23568         (__libc_readv64): Likewise.
23569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23570         (__libc_pwrite): Likewise.
23571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23572         (__libc_pwrite64): Likewise.
23573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23574         (__libc_pwritev): Likewise.
23575         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23576         (__libc_pwritev64): Likewise.
23577         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23578         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23579         (sync_file_range): Likewise.
23580         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23581         Likewise.
23582         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23583         Likewise.
23584         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23585         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23586         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23587         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23588         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23589         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23590         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23591         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23593         Likewise.
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23595         (__libc_read64): Likewise.
23596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23597         Likewise.
23598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23599         Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23601         Likewise.
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23603         Likewise.
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23605         (__libc_pread64): Likewise.
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23607         Likewise.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23609         (__libc_pwrite64): Likewise.
23610         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23611         (sync_file_range): Likewise.
23612         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23613         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23614         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23615         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23616         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23617         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23618         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23619         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23620         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23621         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23622         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23623         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23624         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23625         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23626         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23627         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23628         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23629         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23630         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23631         Likewise.
23632         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23633         Likewise.
23634         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23635         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23636         Likewise.
23637         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23638         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23639         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23640         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23641         Likewise.
23642         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23643         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23644         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23645         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23646         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23648 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23650         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23651         Include dl-vdso.
23652         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23653         Use VDSO routines for gettimeofday, clock_gettime if
23654         available.
23655         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23656         Declare VDSO symbols.
23657         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23658         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23659         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23660         * sysdeps/unix/sysv/linux/arm/Versions: Add
23661         __vdso_clock_gettime.
23663 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23665         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23666         be an inline implementation regardless of library is built within.
23667         (open_not_cancel_2): Likewise.
23668         (__read_nocancel): Likewise.
23669         (__write_nocancel): Likewise.
23670         (openat_not_cancel): Likewise.
23671         (openat_not_cancel_3): Likewise.
23672         (openat64_not_cancel): Likewise.
23673         (openat64_not_cancel_3): Likewise.
23674         (__close_nocancel): Likewise.
23675         (pause_not_cancel): Likewise.
23676         (nanosleep_not_cancel): Likewise.
23677         (sigsuspend_not_cancel): Likewise.
23679 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23681         [BZ #14958]
23682         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23683         wake-up.
23684         (__pthread_rwlock_rdlock_slow): Likewise.
23685         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23686         Likewise.
23687         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23688         Likewise.
23689         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23690         * nptl/tst-rwlock16.c: New file.
23691         * nptl/Makefile (tests): Add new test.
23693 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23695         [BZ #18324]
23696         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23697         missing wake-up of readers.
23698         * nptl/tst-rwlock15.c: New file.
23699         * nptl/Makefile (tests): Add new test.
23701 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23703         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23704         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23705         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23706         and __nacl_supply_interface_rtld.
23707         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23708         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23709         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23710         Add __nacl_supply_interface_rtld.
23711         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23713 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23715         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23716         isfinite.
23717         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23718         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23720 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23722         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23723         __signbit* with standard C99 macros.
23724         * math/e_exp10l.c: Likewise.
23725         * math/e_exp2l.c: Likewise.
23726         * math/e_scalb.c: Likewise.
23727         * math/e_scalbf.c: Likewise.
23728         * math/e_scalbl.c: Likewise.
23729         * math/s_ldexp.c: Likewise.
23730         * math/s_ldexpf.c: Likewise.
23731         * math/s_ldexpl.c: Likewise.
23732         * math/w_atan2.c: Likewise.
23733         * math/w_atan2f.c: Likewise.
23734         * math/w_atan2l.c: Likewise.
23735         * math/w_cosh.c: Likewise.
23736         * math/w_coshf.c: Likewise.
23737         * math/w_coshl.c: Likewise.
23738         * math/w_exp10.c: Likewise.
23739         * math/w_exp10f.c: Likewise.
23740         * math/w_exp10l.c: Likewise.
23741         * math/w_exp2.c: Likewise.
23742         * math/w_exp2f.c: Likewise.
23743         * math/w_exp2l.c: Likewise.
23744         * math/w_fmod.c: Likewise.
23745         * math/w_fmodf.c: Likewise.
23746         * math/w_fmodl.c: Likewise.
23747         * math/w_hypot.c: Likewise.
23748         * math/w_hypotf.c: Likewise.
23749         * math/w_hypotl.c: Likewise.
23750         * math/w_jnl.c: Likewise.
23751         * math/w_lgamma.c: Likewise.
23752         * math/w_lgamma_r.c: Likewise.
23753         * math/w_lgammaf.c: Likewise.
23754         * math/w_lgammaf_r.c: Likewise.
23755         * math/w_lgammal.c: Likewise.
23756         * math/w_lgammal_r.c: Likewise.
23757         * math/w_pow.c: Likewise.
23758         * math/w_powf.c: Likewise.
23759         * math/w_powl.c: Likewise.
23760         * math/w_remainder.c: Likewise.
23761         * math/w_remainderf.c: Likewise.
23762         * math/w_remainderl.c: Likewise.
23763         * math/w_scalb.c: Likewise.
23764         * math/w_scalbf.c: Likewise.
23765         * math/w_scalbl.c: Likewise.
23766         * math/w_scalbln.c: Likewise.
23767         * math/w_scalblnf.c: Likewise.
23768         * math/w_scalblnl.c: Likewise.
23769         * math/w_sinh.c: Likewise.
23770         * math/w_sinhf.c: Likewise.
23771         * math/w_sinhl.c: Likewise.
23772         * math/w_tgamma.c: Likewise.
23773         * math/w_tgammaf.c: Likewise.
23774         * math/w_tgammal.c: Likewise.
23775         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23776         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23777         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23778         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23779         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23780         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23781         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23782         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23783         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23784         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23785         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23786         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23787         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23788         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23792         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23793         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23795         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23799         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23800         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23802         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23803         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23804         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23805         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23806         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23807         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23808         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23809         * stdio-common/printf_fp.c: Likewise.
23810         * stdio-common/printf_fphex.c: Likewise.
23811         * stdio-common/printf_size.c: Likewise.
23813 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23815         [BZ #18470]
23816         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23817         strnlen.
23818         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23819         Remove variable.
23820         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23821         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23822         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23823         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23824         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23825         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23826         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23827         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23828         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23829         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23831         [BZ #18468]
23832         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23833         weak alias of __wmemchr.  Use libc_hidden_weak.
23834         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23835         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23836         instead of wmemchr.
23838 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23840         [BZ #18383]
23841         * elf/tst-tlsalign-extern.c: New file.
23842         * elf/tst-tlsalign-extern-static.c: New file.
23843         * elf/tst-tlsalign-vars.c: New file.
23844         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23845         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23846         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23847         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23848         (test-xfail-tst-tlsalign-extern-static): New variable.
23850 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23852         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23853         Use variable name _sc_err instead of err.
23854         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23855         instead of ret.
23856         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23857         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23858         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23859         (INLINE_SYSCALL): Likewise.
23861         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23862         * include/string.h (__strnlen): Use libc_hidden_proto.
23863         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23864         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23865         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23866         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23867         (libc_hidden_def): Undefine and redefine.
23868         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23869         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23870         __GI_strnlen.
23871         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23872         libc_hidden_def.
23873         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23875         [BZ #18469]
23876         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23877         weak alias of __towlower.  Use libc_hidden_weak.
23878         (towupper): Rename to __towupper and define as weak alias of
23879         __towupper.  Use libc_hidden_weak.
23880         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23881         (__towupper): Likewise.
23882         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23883         __towlower instead of towlower.
23885 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23887         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23888         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23890 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23892         * sysdeps/aarch64/libm-test-ulps: Update.
23894 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23896         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23897         Define.
23898         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23900         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23901         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23902         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23903         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23904         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23906 2015-06-01  Martin Sebor  <msebor@redhat.com>
23908         [BZ #18116]
23909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23910         (__setcontext): Use extended four-operand version of mtsf whenever
23911         possible.
23912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23913         (__novec_swapcontext): Likewise.
23915 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23917         * benchtests/scripts/compare_bench.py: New file.
23918         * benchtests/scripts/import_bench.py (mean): New function.
23919         (split_list): Likewise.
23920         (do_for_all_timings): Likewise.
23921         (compress_timings): Likewise.
23923         * benchtests/scripts/import_bench.py: New file.
23924         * benchtests/scripts/validate_benchout.py: Import import_bench
23925         instead of jsonschema.
23926         (validate_bench): Remove function.
23927         (main): Use import_bench.
23929 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23931         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23932         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23934 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23938 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23940         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23941         set THREAD_SELF->tid to a magic value and futex-wake it.
23942         Pass its address to the thread_exit system call.
23943         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23944         bit is clear.
23945         * sysdeps/nacl/lowlevellock.h: New file.
23946         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23948         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23949         Add TIMEOUT to current time, don't subtract it.
23951 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23953         [BZ #2981]
23954         [BZ #18422]
23955         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23956         ($(objpfx)tst-audit2.out): Also depend on
23957         $(objpfx)tst-auditmod9b.so.
23958         * elf/tst-audit2.c: Include <dlfcn.h>.
23959         (calloc_called): New.
23960         (calloc): Allow to be called more than once.
23961         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23963 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23965         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23966         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23968 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23970         * stdlib/monetary.h: Fix comment.
23972 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23974         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23975         Avoid using variables in #defines that might cause shadowing.
23976         (INTERNAL_VSYSCALL_CALL): Likewise.
23978 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23980         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23982         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23983         * nptl/lll_timedlock_wait.c: ... to this new file.
23984         * nptl/Makefile (libpthread-routines): Add it.
23985         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23986         * nptl/lll_timedwait_tid.c: ... to this new file.
23987         * nptl/Makefile (libpthread-routines): Add it.
23988         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23989         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23990         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23991         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23992         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23993         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23994         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23995         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23996         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23997         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23999 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24001         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24002         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24003         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24005         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24007         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24009         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24010         * sysdeps/unix/sysv/linux/tile/sysdep.h
24011         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24012         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24013         using vDSO syscall macro.
24015 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24017         [BZ #17293]
24018         * uk_UA: Fix sorting order for Ukrainian locale
24020 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24022         * stdlib/monetary.h: Fix comment.
24024 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24026         [BZ #18234]
24027         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24028         st_mtim and st_ctim members.
24029         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24030         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24031         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24032         (struct stat64): Likewise.
24033         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24034         (struct stat64): Likewise.
24035         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24036         (struct stat64): Likewise.
24038 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24040         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24041         Define and include sysdep-vdso.h.
24042         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24043         Likewise.
24044         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24045         Likewise.
24046         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24047         Define with VDSO_SYMBOL and use PTR_MANGLE.
24048         (__vdso_clock_gettime): Likewise.
24049         (__vdso_clock_getres): Likewise.
24050         (_libc_vdso_platform_setup): Likewise.
24051         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24052         Likewise.
24053         (_libc_vdso_platform_setup): Likewise.
24054         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24055         Likewise.
24056         (__vdso_clock_gettime): Likewise.
24057         (__vdso_clock_getres): Likewise.
24058         (__vdso_get_tbfreq): Likewise.
24059         (__vdso_getcpu): Likewise.
24060         (__vdso_time): Likewise.
24061         (__vdso_sigtramp_rt64): Likewise.
24062         (__vdso_signtramp32): Likewise.
24063         (__vdso_sigtramp_rt32): Likewise.
24064         (_libc_vdso_platform_setup): Likewise.
24065         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24066         Likewise.
24067         (__vdso_clock_gettime): Likewise.
24068         (__vdso_clock_getres): Likewise.
24069         (_libc_vdso_platform_setup): Likewise.
24070         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24071         Likewise.
24072         (__vdso_clock_gettime): Likewise.
24073         (_libc_vdso_platform_setup): Likewise.
24074         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24075         Likewise.
24076         (__vdso_getcpu): Likewise.
24077         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24078         Use VDSO_SYMBOL macro to define.
24079         (__vdso_clock_gettime): Likewise.
24080         (__vdso_clock_getres): Likewise.
24081         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24082         Likewise.
24083         (__vdso_clock_gettime): Likewise.
24084         (__vdso_clock_getres): Likewise.
24085         (__vdso_get_tbfreq): Likewise.
24086         (__vdso_getcpu): Likewise.
24087         (__vdso_time): Likewise.
24088         (__vdso_sigtramp_rt64): Likewise.
24089         (__vdso_signtramp32): Likewise.
24090         (__vdso_sigtramp_rt32): Likewise.
24091         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24092         Likewise.
24093         (__vdso_clock_gettime): Likewise.
24094         (__vdso_clock_getres): Likewise.
24095         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24096         Likewise.
24097         (__vdso_clock_gettime): Likewise.
24098         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24099         Likewise.
24100         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24101         macro.
24102         (INTERNAL_VSYSCALL): Likewise.
24103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24104         Remove macro.
24105         (INTERNAL_VSYSCALL): Likewise.
24106         (INTERNAL_VSYSCALL_NCS): Likewise.
24107         (INTERNAL_VSYSCALL_CALL): New macro.
24108         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24110         Likewise.
24111         (INTERNAL_VSYSCALL): Likewise.
24112         (INTERNAL_VSYSCALL_NCS): Likewise.
24113         (INTERNAL_VSYSCALL_CALL): New macro.
24114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24116         (INLINE_VSYSCALL): Remove macro.
24117         (INTERNAL_VSYSCALL): Remove macro.
24118         (INTERNAL_VSYSCALL_NCS): Remove macro.
24119         (INTERNAL_VSYSCALL_CALL): New macro.
24120         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24121         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24122         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24123         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24124         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24126         (INLINE_VSYSCALL): Remove macro.
24127         (INTERNAL_VSYSCALL): Likewise.
24128         (INTERNAL_VSYSCALL_NCS): Likewise.
24129         (INTERNAL_VSYSCALL_CALL): New macro.
24130         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24131         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24132         PTR_DEMANGLE on vDSO pointer.
24133         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24134         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24135         macro.
24136         (INTERNAL_SYSCALL): Likewise.
24137         (INTERNAL_VSYSCALL_NCS): Remove macro.
24138         (INTERNAL_VSYSCALL_CALL): New macro.
24139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24140         Remove macro.
24141         (INTERNAL_VSYSCALL): Likewise.
24142         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24143         sysdep-vdso.h instead of libc-vdso.h.
24144         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24145         definition.
24146         (INLINE_VSYSCALL): Likewise.
24147         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24148         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24149         definition.
24150         (INLINE_VSYSCALL): Likewise.
24151         (INTERNAL_VSYSCALL): Likewise.
24152         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24153         * sysdeps/unix/sysv/linux/timespec_get.c
24154         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24155         (timespec_get): Use ANSI prototype.
24156         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24157         and definition for Linux.
24159 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24161         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24162         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24164 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24166         [BZ #2981]
24167         [BZ #18410]
24168         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24169         for missing DT_PLTRELSZ.
24171 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24173         Remove obsolete aliases that broke 'locale -a'
24174         [BZ #18412]
24175         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24176         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24177         breaking some applications that use 'locale -a' output.
24178         Change the encoding of this file from Latin-1 to ASCII to avoid
24179         other potential problems with people grepping this file.
24181 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24183         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24184         -fasynchronous-unwind-tables.
24185         (CFLAGS-sendto.c): Likewise.
24186         (CFLAGS-sendmsg.c): Likewise.
24187         (CFLAGS-connect.c): Likewise.
24188         (CFLAGS-recvmsg.c): Likewise.
24189         (CFLAGS-recvfrom.c): Likewise.
24190         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24191         (SOCKETCALL): New macro: non-cancellable socketcall.
24192         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24193         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24194         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24195         * sysdeps/unix/sysv/linux/accept.c: New file.
24196         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24197         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24198         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24199         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24200         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24201         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24202         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24203         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24204         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24205         * sysdeps/unix/sysv/linux/send.c: Likewise.
24206         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24207         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24208         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24209         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24210         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24211         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24212         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24213         prototype.
24214         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24215         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24216         instead of __internal_xxx function.
24217         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24218         prototype.
24219         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24220         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24221         instead of __internal_xxx function.
24222         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24223         prototype.
24224         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24225         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24226         instead of __internal_xxx function.
24227         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24228         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24229         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24230         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24231         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24232         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24233         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24234         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24235         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24236         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24237         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24238         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24239         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24240         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24241         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24242         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24243         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24244         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24245         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24246         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24249         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24250         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24251         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24252         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24253         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24254         * sysdeps/unix/sysv/linux/send.S: Likewise.
24255         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24256         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24257         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24258         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24259         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24260         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24261         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24262         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24263         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24264         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24265         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24266         socketcall is implemented in GLIBC.
24268 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24270         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24271         (__fma): Ignore uninitialized warnings around packing.
24272         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24273         (__fmaf): Ignore uninitialized warnings around packing.
24274         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24275         (__fmal): Ignore uninitialized warnings around packing.
24277         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24278         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24279         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24280         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24282         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24283         switch statement into default case.
24284         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24286         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24287         a conditional in forcing "inexact".
24288         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24289         Likewise.
24291 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24293         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24294         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24295         for each INTERNAL_SYSCALL use.
24297 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24299         [BZ #438]
24300         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24301         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24302         variable.
24304         [BZ #18444]
24305         * string/basename.c (basename): Rename to __basename and define as
24306         weak alias of __basename.  Use libc_hidden_weak.
24307         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24308         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24309         __basename instead of basename.
24310         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24311         Remove variable.
24312         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24314 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24316         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24317         (_IO_JUMPS_FILE_plus): New.
24318         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24319         _IO_CAST_FIELD_ACCESS.
24320         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24321         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24322         * libio/freopen.c (freopen): Likewise.
24323         * libio/freopen64.c (freopen64): Likewise.
24324         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24325         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24326         * libio/iofwide.c (_IO_fwide): Likewise.
24327         * libio/memstream.c (open_memstream): Likewise.
24328         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24329         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24330         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24332 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24334         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24335         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24336         NADJ.
24337         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24338         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24339         NADJ.
24340         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24341         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24342         NADJ.
24344         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24345         (p == 4) case.
24347         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24348         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24349         Remove variable.
24350         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24351         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24352         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24354 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24356         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24357         Adjust jump table label generation macros.
24359 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24361         * stdio-common/vfprintf.c (vfprintf): Move local variables
24362         args_malloced, specs, specs_malloced, and the code after
24363         do_positional to the printf_positional function.
24364         (printf_positional): New function.
24366 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24368         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24369         function.
24370         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24371         STEP4_TABLE, process_arg): Move macro definitions
24372         out of the vfprintf function.  (Cosmetic change only.)
24374 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24376         * benchtests/Makefile (stdio-common-bench): Define.
24377         (benchset): Add stdio-common-bench.
24378         * sprintf-inputs: New file.
24379         * sprintf-source.c: New file.
24381 2015-05-21  Andreas Schwab  <schwab@suse.de>
24383         [BZ #13028]
24384         [BZ #17053]
24385         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24386         of struct __res_state.
24387         * resolv/res_send.c (__libc_res_nsend): Likewise.
24388         (get_nsaddr): New function.
24389         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24390         statp directly.
24392 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24394         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24395         -D_POSIX_C_SOURCE=199506L.
24397         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24399         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24400         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24401         Do not mention otherwise.
24402         [POSIX] (_XOPEN_VERSION): Do not expect.
24403         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24404         [POSIX] (_POSIX2_C_BIND): Likewise.
24405         [POSIX] (_POSIX2_VERSION): Likewise.
24406         [POSIX] (_XOPEN_XPG2): Likewise.
24407         [POSIX] (_XOPEN_XPG3): Likewise.
24408         [POSIX] (_XOPEN_XPG4): Likewise.
24409         [POSIX] (_XOPEN_UNIX): Likewise.
24410         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24411         [POSIX] (_POSIX_BARRIERS): Likewise.
24412         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24413         [POSIX] (_POSIX_CPUTIME): Likewise.
24414         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24415         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24416         [POSIX] (_POSIX_SHELL): Likewise.
24417         [POSIX] (_POSIX_SPAWN): Likewise.
24418         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24419         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24420         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24421         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24422         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24423         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24424         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24425         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24426         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24427         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24428         [POSIX] (_POSIX2_PBS): Likewise.
24429         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24430         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24431         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24432         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24433         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24434         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24435         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24436         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24437         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24438         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24439         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24440         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24441         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24442         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24443         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24444         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24445         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24446         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24447         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24448         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24449         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24450         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24451         [POSIX] (_SC_2_C_BIND): Likewise.
24452         [POSIX] (_SC_2_C_VERSION): Likewise.
24453         [POSIX] (_SC_2_PBS): Likewise.
24454         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24455         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24456         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24457         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24458         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24459         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24460         [POSIX] (_SC_BARRIERS): Likewise.
24461         [POSIX] (_SC_BASE): Likewise.
24462         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24463         [POSIX] (_SC_DEVICE_IO): Likewise.
24464         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24465         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24466         [POSIX] (_SC_FD_MGMT): Likewise.
24467         [POSIX] (_SC_FIFO): Likewise.
24468         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24469         [POSIX] (_SC_FILE_LOCKING): Likewise.
24470         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24471         [POSIX] (_SC_IOV_MAX): Likewise.
24472         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24473         [POSIX] (_SC_NETWORKING): Likewise.
24474         [POSIX] (_SC_PAGE_SIZE): Likewise.
24475         [POSIX] (_SC_PASS_MAX): Likewise.
24476         [POSIX] (_SC_PIPE): Likewise.
24477         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24478         [POSIX] (_SC_REGEXP): Likewise.
24479         [POSIX] (_SC_SHELL): Likewise.
24480         [POSIX] (_SC_SIGNALS): Likewise.
24481         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24482         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24483         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24484         [POSIX] (_SC_USER_GROUPS): Likewise.
24485         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24486         [POSIX] (_SC_STREAMS): Likewise.
24487         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24488         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24489         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24490         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24491         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24492         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24493         [POSIX] (_PC_FILESIZEBITS): Likewise.
24494         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24495         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24496         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24497         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24498         [POSIX] (uid_t): Likewise.
24499         [POSIX] (gid_t): Likewise.
24500         [POSIX] (off_t): Likewise.
24501         [POSIX] (pid_t): Likewise.
24502         [POSIX] (cuserid): Allow.
24503         (_SC_2_CHAR_TERM): Require constant.
24504         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24505         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24506         variable.
24508 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24510         * sysdeps/nacl/pthread-pids.h: New file.
24511         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24512         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24514         * nptl/pthread-pids.h: New file.
24515         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24516         * nptl/nptl-init.c: Include <pthread-pids.h>.
24517         (__pthread_initialize_minimal_internal):
24518         Call __pthread_initialize_pids instead of set_tid_address syscall.
24520         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24521         * sysdeps/posix/usleep.c: ... here.
24523 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24525         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24526         call_pselect6 object.
24527         [$(subdir) = io]: Remove call_sync_file_range object.
24528         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24529         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24530         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24531         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24533 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24535         * math/s_cproj.c: Add include "math_private.h".
24536         * math/s_cprojf.c: Likewise.
24537         * math/s_cprojl.c: Likewise.
24539 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24541         [BZ #18244]
24542         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24543         high mantissa bit when testing whether P is a NaN.
24544         * math/libm-test.inc (remainder_test_data): Add more tests.
24545         (remquo_test_data): Likewise.
24547         [BZ #18049]
24548         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24549         below -32, return the argument, with underflow if subnormal.
24550         * math/auto-libm-test-in: Add more tests of atanh.
24551         * math/auto-libm-test-out: Regenerated.
24553 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24555         [BZ #18434]
24556         * nptl/tst-sem15.c: New file.
24557         * nptl/Makefile (tests): Add it.
24558         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24559         s/<</>>/ to fix typo in EOVERFLOW check.
24560         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24562 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24564         * manual/strings.texi (envz_remove): Fix typo in safety
24565         annotations.
24567 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24568             Steve Ellcey  <sellcey@imgtec.com>
24570         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24571         in order to avoid strict alias warnings.
24572         (iruserok_af): Ditto for ra.
24574 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24576         [BZ #17581]
24577         * malloc/hooks.c
24578         (magicbyte): Convert to a function and avoid returning 0x01.
24579         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24580         (mem2chunk_check): Fix unsigned comparisons to zero.
24581         Hoist defs of sz and magic.
24583 2015-05-19  Richard Henderson  <rth@redhat.com>
24585         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24587         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24589 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24591         [BZ #16159]
24592         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24593         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24594         (reused_arena): Find a non-corrupt arena.
24595         (heap_trim): Pass arena to unlink.
24596         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24597         malloc_printerr.
24598         (top_check): Likewise.
24599         (free_check): Likewise.
24600         (realloc_check): Likewise.
24601         * malloc/malloc.c (malloc_printerr): Add arena argument.
24602         (unlink): Likewise.
24603         (munmap_chunk): Adjust.
24604         (ARENA_CORRUPTION_BIT): New macro.
24605         (arena_is_corrupt): Likewise.
24606         (set_arena_corrupt): Likewise.
24607         (sysmalloc): Use mmap if there are no usable arenas.
24608         (_int_malloc): Likewise.
24609         (__libc_malloc): Don't fail if arena_get returns NULL.
24610         (_mid_memalign): Likewise.
24611         (__libc_calloc): Likewise.
24612         (__libc_realloc): Adjust for additional argument to
24613         malloc_printerr.
24614         (_int_free): Likewise.
24615         (malloc_consolidate): Likewise.
24616         (_int_realloc): Likewise.
24617         (_int_memalign): Don't touch corrupt arenas.
24618         * malloc/tst-malloc-backtrace.c: New test case.
24620         * Makefile (summarize-tests): Fix return value on success.
24622         * manual/string.texi (Envz Functions): Add envz_remove.
24624 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24626         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24627         (invalid_name): New function, broken out of ...
24628         (__opendirat): ... here.  Call it.
24629         (need_isdir_precheck): New function, broken out of ...
24630         (__opendirat): ... here.  Call it.
24631         Use __fxstatat64, not __xstatat64.
24632         (opendir_oflags): New function, broken out of ...
24633         (__opendirat): ... here.  Call it.
24634         (opendir_tail): New function, broken out of ...
24635         (__opendirat): ... here.  Call it.
24636         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24637         opendir_tail, rather than punting to __opendirat.
24638         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24640 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24642         * .gitignore: Ignore generated *.pyc.
24644 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24646         * include/stdio.h: Define __need_wint_t.
24647         * test-skeleton.c: Avoid `for' loop initial declaration.
24648         * nptl/tst-initializers1.c: Use test-skeleton.c.
24650 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24652         [BZ #18418]
24653         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24655 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24657         [BZ #16352]
24658         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24659         (__ieee754_atanh): Force underflow exception for results with
24660         small absolute value.
24661         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24662         (__ieee754_atanhf): Force underflow exception for results with
24663         small absolute value.
24664         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24665         (__ieee754_atanh): Force underflow exception for results with
24666         small absolute value.
24667         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24668         (__ieee754_atanhf): Force underflow exception for results with
24669         small absolute value.
24670         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24671         (__ieee754_atanhl): Force underflow exception for results with
24672         small absolute value.
24673         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24674         (__ieee754_atanhl): Force underflow exception for results with
24675         small absolute value.
24676         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24677         (__ieee754_atanhl): Force underflow exception for results with
24678         small absolute value.
24679         * math/auto-libm-test-in: Do not allow missing underflow
24680         exceptions from atanh.
24681         * math/auto-libm-test-out: Regenerated.
24683         [BZ #18221]
24684         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24685         2**-28 as threshold for returning x or +/- 1/x.
24686         * math/auto-libm-test-in: Add more tests of tan.
24687         * math/auto-libm-test-out: Regenerated.
24689         [BZ #18220]
24690         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24691         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24692         * math/auto-libm-test-in: Add another test of lgamma.
24693         * math/auto-libm-test-out: Regenerated.
24695 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24697         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24698         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24699         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24700         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24701         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24702         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24703         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24704         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24706         (log1): Use fabs.  (my_log2): Use fabs.
24707         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24708         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24710         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24712         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24713         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24714         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24715         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24716         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24717         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24719 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24721         [BZ #18217]
24722         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24723         as threshold for returning 1 - x.
24724         * math/auto-libm-test-in: Add more tests of erfc.
24725         * math/auto-libm-test-out: Regenerated.
24727 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #18196]
24730         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24731         threshold for large arguments.
24732         * math/auto-libm-test-in: Add another test of atan.
24733         * math/auto-libm-test-out: Regenerated.
24735         [BZ #16339]
24736         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24737         (__log1p): Force underflow exception for results with small
24738         absolute value.
24739         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24740         (__log1pf): Force underflow exception for results with small
24741         absolute value.
24742         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24743         (__log1p): Force underflow exception for results with small
24744         absolute value.
24745         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24746         (__log1pf): Force underflow exception for results with small
24747         absolute value.
24748         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24749         (__log1pl): Force underflow exception for results with small
24750         absolute value.
24751         * math/auto-libm-test-in: Do not allow missing underflow
24752         exceptions from log1p.
24753         * math/auto-libm-test-out: Regenerated.
24755 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24756             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24758         [BZ #16704]
24759         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24761 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24763         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24764         (libmvec): New variable.
24765         * configure.ac: Added option for mathvec build.
24766         * configure: Regenerated.
24767         * mathvec/Depend: New file.
24768         * mathvec/Makefile: New file.
24769         * shlib-versions: Added libmvec.
24770         * math/Makefile: Added rule for libm.so installation.
24772         * bits/math-vector.h: New file.
24773         * bits/libm-simd-decl-stubs.h: New header.
24774         * math/Makefile (headers): Added new header
24775         libm-simd-decl-stubs.h.
24776         * math/math.h (__MATHCALL_VEC): New macro.
24778         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24779         for conditions in testing functions.
24780         * math/Makefile: Added call of libm-have-vector-test.sh.
24781         * math/libm-test.inc (HAVE_VECTOR): New macros.
24783         * math/libm-test.inc: START refactored.
24784         * math/test-double.c (TEST_MATHVEC): Add define.
24785         * math/test-float.c: Likewise.
24786         * math/test-idouble.c: Likewise.
24787         * math/test-ifloat.c: Likewise.
24788         * math/test-ildoubl.c: Likewise.
24789         * math/test-ldouble.c: Likewise.
24790         * sysdeps/generic/math-tests-arch.h
24791         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24792         architecture check.
24794         * math/test-double.c (FUNC_TEST): New macro.
24795         * math/test-float.c: Likewise.
24796         * math/test-idouble.c: Likewise.
24797         * math/test-ifloat.c: Likewise.
24798         * math/test-ildoubl.c: Likewise.
24799         * math/test-ldouble.c: Likewise.
24800         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24802 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24804         * sysdeps/nacl/fdopendir.c: New file.
24806         * dirent/scandir-tail.c: New file.
24807         * dirent/scandir64-tail.c: New file.
24808         * dirent/Makefile (routines): Add them.
24809         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24810         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24811         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24812         [!SCANDIR] (SCANDIR_TAIL): New macro.
24813         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24814         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24815         (SCANDIRAT): Macro removed.
24816         (SCANDIR_TAIL): New macro.
24817         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24818         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24819         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24820         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24821         (READDIR): Macro removed.
24822         (SCANDIR_TAIL): New macro.
24823         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24824         (SCANDIR_TAIL): New macro.
24826         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24827         * dirent/scandir-cancel.c: ... to this new file.
24828         * dirent/Makefile (routines): Add it.
24829         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24830         * sysdeps/unix/sysv/linux/i386/scandir64.c
24831         (SKIP_SCANDIR_CANCEL): Macro removed.
24832         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24834         * dirent/tst-scandir.c: New file.
24835         * dirent/tst-scandir64.c: New file.
24836         * dirent/Makefile (tests): Add them.
24838 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24840         [BZ #18409]
24841         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24843 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24845         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24846         list.
24848 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24850         * benchtests/bench-strcoll.c: New benchmark.
24851         * benchtests/Makefile: Generate locales and run benchmark.
24852         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24853         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24854         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24855         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24856         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24857         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24858         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24859         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24860         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24861         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24862         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24863         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24864         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24865         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24866         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24867         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24868         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24869         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24870         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24871         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24872         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24873         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24874         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24875         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24877 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24879         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24880         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24882 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24884         * posix/uname-values.h: New file.
24885         * posix/uname.c: Include that instead of <config-name.h>.
24886         * sysdeps/nacl/uname-values.h: New file.
24887         * sysdeps/arm/nacl/uname-values.h: New file.
24889 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24891         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24892         splitting into fields.
24894 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24896         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24897         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24898         * locale/localeinfo.h: Add enum collation_encoding_type.
24899         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24900         * programs/ld-collate.c (collate_output): Add encoding type info.
24901         * string/strcoll_l.c (STRDIFF): New function.
24902         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24903         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24905 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24907         [BZ #18397]
24908         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24909         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24910         <fpu_control.h> instead of <math/fpu_control.c>.
24911         * sysdeps/mips/mips32/fpu/Makefile: New file.
24913 2015-05-11  Andreas Schwab  <schwab@suse.de>
24915         [BZ #18007]
24916         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24917         nss_endgrent.
24918         (_nss_compat_endgrent): Call nss_endgrent.
24919         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24920         nss_endpwent.
24921         (_nss_compat_endpwent): Call nss_endpwent.
24922         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24923         needent, call nss_setspent only if non-zero.
24924         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24925         (internal_endspent): Don't call nss_endspent.
24926         (_nss_compat_endspent): Call nss_endspent.
24927         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24928         Remove.  All uses removed.
24929         (internal_setent): Remove parameter stayopen, add parameter
24930         stream.  Use it instead of global variable.
24931         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24932         (internal_endent, internal_getent): Add parameter stream.  Use it
24933         instead of global variable.
24934         (CONCAT(_nss_files_end,ENTNAME))
24935         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24936         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24937         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24938         uses removed.
24939         (internal_setent, internal_endent): Add parameter stream.  Use it
24940         instead of global variable.
24941         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24942         stream.
24943         (get_next_alias): Add parameter stream.
24944         (_nss_files_getaliasent_r): Pass global stream.
24945         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24946         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24947         (_nss_files_gethostbyname4_r): Pass local stream to
24948         internal_setent, internal_getent and internal_endent.  Remove
24949         locking.
24951 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24953         * tst-strfmon1.c (tests): Update expected currency symbol.
24955 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24957         * sysdeps/nacl/gethostname.c: New file.
24959 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24961         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24962         and sinh.
24963         * math/auto-libm-test-out: Regenerated.
24964         * sysdeps/i386/fpu/libm-test-ulps: Update.
24965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24967 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24969         [BZ #18125]
24970         * stdlib/tst-setcontext3.c: New file.
24971         * stdlib/tst-setcontext3.sh: New file.
24972         * stdlib/Makefile (tests): Add tst-setcontext3.
24973         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24974         to verify test program created output file.
24975         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24976         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24977         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24978         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24980 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24982         [BZ #18383]
24983         * elf/tst-tlsalign.c: New file.
24984         * elf/tst-tlsalign-static.c: New file.
24985         * elf/tst-tlsalign-lib.c: New file.
24986         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24987         (tests-static): Add tst-tlsalign-static.
24988         (modules-names): Add tst-tlsalign-lib.
24989         (test-xfail-tst-tlsalign): New variable.
24990         (test-xfail-tst-tlsalign-static): New variable.
24992         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24993         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24995 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24997         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24998         csqrt, erfc, sin and sincos.
24999         * math/auto-libm-test-out: Regenerated.
25000         * sysdeps/i386/fpu/libm-test-ulps: Update.
25001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25003 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25005         * sysdeps/aarch64/libm-test-ulps: Update.
25007 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25009         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25010         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25011         * math/auto-libm-test-out: Regenerated.
25012         * sysdeps/i386/fpu/libm-test-ulps: Update.
25013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25015 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25017         [BZ #18265]
25018         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25019         (wcsncpy): Likewise.
25021 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25023         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25024         Assume __ASSUME_FALLOCATE is always true.
25025         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25026         (__posix_fallocate64_l64): Likweise.
25027         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25028         (posix_fallocate): Likewise.
25029         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25030         (__posix_fallocate64_l64): Likewise.
25031         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25032         [!__ASSUME_FALLOCATE]: Add comment.
25034 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25036         * sysdeps/unix/sysv/linux/i386/Makefile
25037         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25038         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25039         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25040         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25041         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25042         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25043         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25045 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25047         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25048         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25049         tgamma.
25050         * math/auto-libm-test-out: Regenerated.
25051         * sysdeps/i386/fpu/libm-test-ulps: Update.
25052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25054 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25056         * math/auto-libm-test-in: Add more tests of tgamma.
25057         * math/auto-libm-test-out: Regenerated.
25058         * sysdeps/i386/fpu/libm-test-ulps: Update.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25061         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
25067         * math/auto-libm-test-out: Regenerated.
25068         * sysdeps/i386/fpu/libm-test-ulps: Update.
25069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25071         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25072         * math/auto-libm-test-out: Regenerated.
25073         * sysdeps/i386/fpu/libm-test-ulps: Update.
25074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25076         * math/auto-libm-test-in: Add another test of pow.
25077         * math/auto-libm-test-out: Regenerated.
25078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25080         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
25086         log1p.
25087         * math/auto-libm-test-out: Regenerated.
25088         * sysdeps/i386/fpu/libm-test-ulps: Update.
25089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25091 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25093         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25094         Elf64_Chdr structs and ELFCOMPRESS constants.
25096 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25098         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25099         expm1.
25100         * math/auto-libm-test-out: Regenerated.
25101         * sysdeps/i386/fpu/libm-test-ulps: Update.
25102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25104         * math/auto-libm-test-in: Add more tests of erf and erfc.
25105         * math/auto-libm-test-out: Regenerated.
25106         * sysdeps/i386/fpu/libm-test-ulps: Update.
25107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25109 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25111         * config.h.in (HAVE_AARCH64_BE): Add.
25113 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25115         * math/auto-libm-test-in: Add more tests of csqrt.
25116         * math/auto-libm-test-out: Regenerated.
25117         * sysdeps/i386/fpu/libm-test-ulps: Update.
25118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25120         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25121         * math/auto-libm-test-out: Regenerated.
25122         * sysdeps/i386/fpu/libm-test-ulps: Update.
25123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25125         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25127 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25129         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25130         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25132         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25133         (euidaccess, eaccess): Define as weak aliases.
25135         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25136         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25137         but __suseconds_t is often 'long int' so some sources assume that
25138         type is being used (e.g. they use %ld to print tv_usec).
25140 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25142         [BZ #18007]
25143         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25144         (CVE-2014-8121)
25145         * nss/tst-nss-getpwent.c: New file.
25146         * nss/Makefile (tests): Add new test.
25148 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25150         [BZ #18346]
25151         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25152         exponents less than 48 as cases where high part of mantissa needs
25153         examining to determine whether argument is integral.
25154         * math/libm-test.inc (round_test_data): Add more tests.
25156 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25158         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25160 2015-04-27  David S. Miller  <davem@davemloft.net>
25162         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25163         __tls_get_addr.
25164         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25166 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25168         [BZ#18333]
25169         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25171 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25173         [BZ#18333]
25174         * time/tzset.c (parse_tzname): Return error on memory allocation
25175         failure.
25176         * test-skeleton.c (struct temp_name_list): Change type of name
25177         member to non-const.
25178         (add_temp_file): Create a copy of the file name.
25179         (delete_temp_files): Deallocate memory.
25180         (create_temp_file): Add comment.
25182 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25184         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25185         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25187 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25189         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25190         * sysdeps/arm/configure: Regenerated.
25192 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25194         [BZ #17715]
25195         * time/tzfile.c (__tzfile_read): Check for large values of
25196         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25197         * time/tzset.c (__tzstring_len): New function, based on the old
25198         __tzstring function.
25199         (__tzstring): Call __tzstring_len.
25200         (parse_tzname): New helper function extracted from
25201         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25202         the input string.
25203         (parse_offset): New helper function extracted from
25204         __tzset_parse_tz.  Replace switch with fallthrough with
25205         initialization before sscanf.
25206         (parse_rule): Likewise.
25207         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25208         new-style function definition.
25209         * timezone/Makefile (tests): Add tst-tzset.
25210         (tst-tzset.out): Dependencies on time zone files.
25211         (tst-tzset-ENV): Set TZDIR.
25212         (testdata/XT%): Copy crafted time zone files.
25213         * timezone/README: Mention crafted time zone files.
25214         * timezone/testdata/XT1, timezone/testdata/XT2,
25215         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25216         files.
25217         * timezone/tst-tzset.c: New test.
25219 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25221         * Makeconfig (+gccwarn): Remove -Winline.
25223 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25225         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25227 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25229         * NEWS: Mention sysconf() cache information support for s390.
25230         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25232 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25234         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25235         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25236         (__nearbyint): Likewise.
25237         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25238         (copysignl): Likewise.
25240 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25242         [BZ #18287]
25243         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25244         based on padding.  (CVE-2015-1781)
25246 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25248         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25249         libc-vdso.h.
25250         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25251         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25252         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25253         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25254         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25255         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25256         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25257         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25258         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25259         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25260         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25261         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25262         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25263         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25264         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25265         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25266         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25267         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25268         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25269         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25270         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25271         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25272         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25274 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25276         * stdlib/setenv.c (__add_to_environ):
25277         Dump core quickly if setenv (..., NULL, ...) is called.
25278         This time, do it the right way, and pacify GCC with a pragma.
25280 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25282         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25283         IMAP->l_prev cannot be null, and #if out the code for the contrary
25284         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25285         believe that NS (&_dl_ns[NSID]) could point outside the array.
25287         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25288         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25289         before using NSID as an index.
25291 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25293         [BZ #17825]
25294         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25295         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25296         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25298 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25300         Add preliminary port to Google Native Client on ARM.
25301         * abi-tags (.*-.*-nacl.*): New entry.
25302         * sysdeps/arm/nacl: New directory.
25303         * sysdeps/nacl: New directory.
25305 2015-04-16  David S. Miller  <davem@davemloft.net>
25307         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25308         lowlevellock-futex.h
25310 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25312         * sysdeps/tile/configure.ac: New file.
25313         * sysdeps/tile/configure: Regenerated.
25315 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25317         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25318         conditionals for weak_alias and libc_hidden_weak.
25319         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25320         libc_hidden_weak and weak_alias.
25321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25322         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25323         and weak_alias for static one.
25325 2015-04-15  David S. Miller  <davem@davemloft.net>
25327         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25329 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25331         [BZ #18206]
25332         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25333           Use signed comparision instead of substraction to avoid
25334           overflow bug.
25335         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25336           Take the sign of ret.
25337         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25338           Do not expect precise return values. Only the sign matters.
25339         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25340         * wcsmbs/test-wcsncmp.c: New File.
25341         * string/test-strncmp.c: Add wcsncmp support.
25343 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25345         [BZ #6792]
25346         * math/w_log1p.c: New file.
25347         * math/w_log1pf.c: Likewise.
25348         * math/w_log1pl.c: Likewise.
25349         * math/Makefile (libm-calls): Add w_log1p.
25350         * math/s_log1pl.c (log1pl): Remove weak_alias.
25351         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25352         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25353         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25354         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25355         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25356         [NO_LONG_DOUBLE] (log1pl): Likewise.
25357         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25358         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25359         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25360         (log1p): Remove long_double_symbol.
25361         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25362         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25363         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25364         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25365         remove weak_alias for corresponding log1p function.
25366         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25367         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25368         * sysdeps/ia64/fpu/w_log1p.c: New file.
25369         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25370         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25371         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25373 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25375         [BZ #18247]
25376         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25377         decimal exponent by 1.
25378         * stdlib/tst-strtod-round-data: Add more tests.
25379         * stdlib/tst-strtod-round.c (tests): Regenerated.
25381 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25383         * math/auto-libm-test-in: Add more tests of clog and clog10.
25384         * math/auto-libm-test-out: Regenerated.
25385         * sysdeps/i386/fpu/libm-test-ulps: Update.
25386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25388 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25390         * Makeconfig (module-cppflags): Exclude all .v.i files.
25391         (skip-module-cppflags): Variable removed.
25393         * configure.ac (libc_config_ok): Initialize before reading
25394         preconfigure scripts, not after.
25395         * configure: Regenerated.
25397         * test-skeleton.c (TIMEOUT): Move #define to top level.
25398         (main): Grok environment variable TEST_DIRECT.  If set, print
25399         test expectation details into that file and then behave as if
25400         given --direct.
25402 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25404         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25405         warning on 32-bit.
25407 2015-04-08  David S. Miller  <davem@davemloft.net>
25409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25411 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25413         * math/auto-libm-test-in: Add more tests of atanh.
25414         * math/auto-libm-test-out: Regenerated.
25415         * sysdeps/i386/fpu/libm-test-ulps: Update.
25416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25418         * math/auto-libm-test-in: Add more tests of atan.
25419         * math/auto-libm-test-out: Regenerated.
25420         * sysdeps/i386/fpu/libm-test-ulps: Update.
25421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25423 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25425         * elf/pldd.c (main): Rewrite to use struct
25426         scratch_buffer instead of extend_alloca.
25427         * elf/pldd-xx.c (find_maps): Likewise.
25428         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25429         <alloca.h>.
25430         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25431         scratch_buffer instead of extend_alloca.
25432         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25433         grp/compat-initgroups.c.
25434         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25435         Rewrite to use struct scratch_buffer instead of extend_alloca.
25436         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25437         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25439 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25441         * math/auto-libm-test-in: Add more tests of cbrt.
25442         * math/auto-libm-test-out: Regenerated.
25443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25445         * math/auto-libm-test-in: Add more tests of cabs.
25446         * math/auto-libm-test-out: Regenerated.
25447         * sysdeps/i386/fpu/libm-test-ulps: Update.
25448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25450         [BZ #18210]
25451         [BZ #18211]
25452         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25453         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25454         computations.
25455         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25456         clog10.
25457         * math/auto-libm-test-out: Regenerated.
25458         * sysdeps/i386/fpu/libm-test-ulps: Update.
25459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25461         [BZ #18197]
25462         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25463         (atan): Set FE_TONEAREST mode for internal computations.
25464         * math/auto-libm-test-in: Add more tests of atan.
25465         * math/auto-libm-test-out: Regenerated.
25467 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25469         [BZ #17930]
25470         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25472 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25474         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25476 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25478         * include/scratch_buffer.h: New file.
25479         * malloc/scratch_buffer_grow.c: Likewise.
25480         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25481         * malloc/scratch_buffer_set_array_size.c: Likewise.
25482         * malloc/tst-scratch_buffer.c: Likewise.
25483         * malloc/Makefile (routines): Add scratch_buffer_grow.
25484         (tests): Add test case.
25485         * malloc/Versions (GLIBC_PRIVATE): Export
25486         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25487         __libc_scratch_buffer_set_array_size.
25489 2015-04-06  Richard Henderson  <rth@redhat.com>
25491         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25492         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25494         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25495         unsigned int before printing.
25497 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25499         [BZ #17596]
25500         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25501         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25503 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25505         * include/libc-internal.h (libc_max_align_t): Define.
25507 2015-04-02  Andreas Schwab  <schwab@suse.de>
25509         [BZ #16850]
25510         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25512 2015-04-02  Mel Gorman  <mgorman@suse.de>
25514         [BZ #17195]
25515         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25516         as well as the main arena.
25518 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25520         [BZ #18185]
25521         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25522         sharing L2 cache to 2 for Silvermont/Knights Landing.
25524 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25526         [BZ #17711]
25527         * config.make.in (have-protected-data): New.
25528         * configure.ac: Check linker support for protected data symbol.
25529         * configure: Regenerated.
25530         * elf/Makefile (modules-names): Add tst-protected1moda and
25531         tst-protected1modb if $(have-protected-data) is yes.
25532         (tests): Add tst-protected1a and tst-protected1b if
25533         $(have-protected-data) is yes.
25534         ($(objpfx)tst-protected1a): New.
25535         ($(objpfx)tst-protected1b): Likewise.
25536         (tst-protected1modb.so-no-z-defs): Likewise.
25537         * elf/tst-protected1a.c: New file.
25538         * elf/tst-protected1b.c: Likewise.
25539         * elf/tst-protected1mod.h: Likewise.
25540         * elf/tst-protected1moda.c: Likewise.
25541         * elf/tst-protected1modb.c: Likewise.
25543 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25545         [BZ #17711]
25546         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25547         indicates it is called from do_lookup_x on relocation against
25548         protected data, skip the data definion in the executable from
25549         copy reloc.
25550         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25551         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25552         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25553         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25554         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25555         otherwise to 0.
25556         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25557         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25558         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25559         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25560         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25561         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25563 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25565         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25566         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25568 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25570         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25571         THREAD_SETMEM_NC.
25572         * sysdeps/x86_64/nptl/tls.h: Ditto.
25574 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25576         * dlfcn/tststatic.c (main): Converted to ...
25577         (do_test): ... this.
25578         (TEST_FUNCTION): New macro.
25579         Include test-skeleton.c.
25581 2015-03-26  Alan Modra  <amodra@gmail.com>
25583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25584         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25585         zero for undefined weak.
25586         (elf_machine_plt_conflict): Similarly.
25588 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25590         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25591         atanh.
25592         * math/auto-libm-test-out: Regenerated.
25593         * sysdeps/i386/fpu/libm-test-ulps: Update.
25594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596         * math/auto-libm-test-in: Add another test of asin.
25597         * math/auto-libm-test-out: Regenerated.
25598         * sysdeps/i386/fpu/libm-test-ulps: Update.
25599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25601         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25602         Remove macro.
25603         (LLL_EBX_REG): Likewise.
25604         (LLL_ENTER_KERNEL): Likewise.
25606         * math/auto-libm-test-in: Add more tests of asin.
25607         * math/auto-libm-test-out: Regenerated.
25608         * sysdeps/i386/fpu/libm-test-ulps: Update.
25609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25611         [BZ #18138]
25612         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25613         libc_do_syscall_args): New structure.
25614         (INTERNAL_SYSCALL_MAIN_0): New macro.
25615         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25616         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25617         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25618         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25619         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25620         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25621         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25622         Replace conditional definitions by conditional definitions of ....
25623         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25624         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25625         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25626         (libpthread-sysdep_routines): Add libc-do-syscall.
25627         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25629         to __NR_futex not 240.
25631 2015-03-25  Alan Modra  <amodra@gmail.com>
25633         * NEWS: Advertise TLS optimization.
25634         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25635         (DT_PPC_NUM): Increment.
25636         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25637         (CHECK_STATIC_TLS): Use here.
25638         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25639         TLS descriptors.
25640         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25641         * sysdeps/powerpc/dl-tls.c: New file.
25642         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25643         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25644         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25645         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25650 2015-03-25  Alan Modra  <amodra@gmail.com>
25652         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25653         for overlapping .opd entries" to "support...".
25654         * sysdeps/powerpc/powerpc64/configure: Regenerate
25656 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25658         * math/auto-libm-test-in: Add more tests of acos.
25659         * math/auto-libm-test-out: Regenerated.
25660         * sysdeps/i386/fpu/libm-test-ulps: Update.
25661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25663         * math/auto-libm-test-in: Add more tests of expm1.
25664         * math/auto-libm-test-out: Regenerated.
25665         * sysdeps/i386/fpu/libm-test-ulps: Update.
25666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25668 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25670         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25671         * math/auto-libm-test-out: Regenerated.
25672         * sysdeps/i386/fpu/libm-test-ulps: Update.
25673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25675         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25678         * math/auto-libm-test-in: Add more tests of log2.
25679         * math/auto-libm-test-out: Regenerated.
25680         * sysdeps/i386/fpu/libm-test-ulps: Update.
25681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25683 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25685         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25686         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25687         _IO_IS_APPENDING bit in READ_WRITE instead.
25689 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25691         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25692         (__determine_cpumask_size): Replace extend_alloca with a
25693         variable-length array.  Do not treat res == 0 as an error.
25695 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25697         [BZ #18100]
25698         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25699         and integer overflow.
25700         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25701         (main): Add integer overflow tests.
25702         * manual/pattern.texi (Calling Wordexp): Document additional use
25703         for WRDE_SYNTAX.
25705 2015-03-23  Alan Modra  <amodra@gmail.com>
25707         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25708         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25709         and false branch of conditional.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25711         Likewise.
25713 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25715         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25716         libc-modules.h
25717         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25718         unused declaration of _hurd_intr_rpc_msg_in_trap.
25719         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25720         defined instead of whether it is non-zero.
25721         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25722         input constraint instead of both input and output constraint.  Use ecx
25723         clobber instead of %ecx.
25724         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25725         mutex_unlock): Use a statement expression instead of an expression list.
25726         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25727         type to vm_size_t instead of vm_address_t.
25728         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25729         defined instead of whether it is non-zero.
25730         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25731         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25732         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25733         comparisons with mapaddr.
25734         * nscd/nscd-client.h: Include <time.h>.
25735         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25736         9th parameter to __vm_region instead of int.
25737         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25738         * scripts/check-local-headers.sh (exclude): Add device/,
25739         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25740         cthreads.h.
25742 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25744         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25745         to account for alignment padding.
25746         * sysdeps/arm/memmove.S: Likewise.
25748 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25750         * sysdeps/unix/sysv/linux/generic/README: New file.
25752 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25754         [BZ #18138]
25755         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25756         (futex_abstimed_wait)
25757         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25758         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25759         of lll_futex_timed_wait.
25761 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25763         [BZ #17542]
25764         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25766 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25768         [BZ #17090]
25769         [BZ #17620]
25770         [BZ #17621]
25771         [BZ #17628]
25772         * NEWS: Update.
25773         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25774         entries with Static TLS too.  Skip entries past the end of the
25775         allocated DTV, from Alan Modra.
25776         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25777         Static TLS DTV entry set up from...
25778         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25779         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25780         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25781         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25782         for Static TLS.
25783         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25784         that the slot we find is associated with the given map before
25785         using its generation count.
25786         * nptl_db/db_info.c: Include ldsodefs.h.
25787         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25788         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25789         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25790         (link_map::l_tls_offset): New struct field.
25791         (dtv_t::counter): Likewise.
25792         (rtld_global): New struct.
25793         (_rtld_global): New rtld variable.
25794         (dl_tls_dtv_slotinfo_list): New rtld global field.
25795         (dtv_slotinfo_list): New struct.
25796         (dtv_slotinfo): Likewise.
25797         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25798         (td_lookup): Rename to...
25799         (td_mod_lookup): ... this.  Use new mod parameter instead of
25800         LIBPTHREAD_SO.
25801         * nptl_db/td_thr_tlsbase.c: Include link.h.
25802         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25803         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25804         addresses even if the DTV is out of date or missing them.
25805         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25806         index zero-length arrays.
25807         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25808         (td_lookup): Make it a macro implemented in terms of...
25809         (td_mod_lookup): ... this declaration.
25810         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25811         (DB_MAIN_VARIABLE): Likewise.
25813 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25815         [BZ #18134]
25816         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25818 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25820         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25822 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25824         [BZ #18128]
25825         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25826         (atomic_add, atomic_increment_and_test)
25827         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25829 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25831         * stdlib/setenv.c (__add_to_environ):
25832         Dump core quickly if setenv (..., NULL, ...) is called.
25834 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25836         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25837         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25838         all the necessary asm magic in one place.
25839         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25840         using those.
25842 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25844         [BZ #14906]
25845         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25846         traced file mtime. Use consistent log message.
25847         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25848         (register_traced_file): Call install_watches. Always set mtime.
25849         (invalidate_cache): Iterate over all trace files. Call install_watches.
25850         (inotify_check_files): Don't inline. Handle watching parent
25851         directories and configuration file movement in and out.
25852         (handle_inotify_events): New function.
25853         (main_loop_poll): Call handle_inotify_events.
25854         (main_loop_epoll): Likewise.
25855         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25856         (struct traced_file): Use array of inotify fds. Add parent directory,
25857         and basename.
25858         (struct database_dyn): Remove unused file_mtime.
25859         (init_traced_file): New inline function.
25860         (define_traced_file): New macro.
25861         * nss/nss_db/db-init.c: Use define_traced_file.
25862         (_nss_db_init): Use init_traced_file.
25863         * nss/nss_files/files-init.c: Use define_traced_file.
25864         (_nss_files_init): Use init_traced_file.
25866 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25868         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25869         [_LIBC]: Do not include <stdlib.h>.
25870         [!_LIBC] (abort): Remove declaration.
25871         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25872         _FP_STATIC_ASSERT instead of conditionally calling abort.
25873         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25874         (_FP_EXTEND_CNAN): Likewise.
25875         (FP_TRUNC): Likewise.
25876         (__FP_CLZ): Likewise.
25877         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25879 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25881         * manual/string.texi (XPG basename): Fix prototype.
25883 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25885         [BZ #18080]
25886         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25887         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25888         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25889         (__setcontext): Likewise.
25890         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25891         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25892         Call rt_sigprocmask syscall one time to set new signal mask
25893         and retrieve the current signal mask instead of two calls.
25894         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25895         (__swapcontext): Likewise.
25896         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25897         * stdlib/tst-setcontext2.c: New file.
25899 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25901         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25903 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25905         [BZ #18093]
25906         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25907         the wrong size.
25909 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25911         [BZ #18043]
25912         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25914 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25916         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25917         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25918         Remove define.
25919         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25920         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25921         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25922         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25923         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25924         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25925         define.
25926         * nptl_db/td_symbol_list.c (td_lookup): Remove
25927         HAVE_ASM_GLOBAL_DOT_NAME code.
25928         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25929         HAVE_ASM_GLOBAL_DOT_NAME check.
25930         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25931         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25932         (DOT_LABEL): Remove define.
25933         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25934         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25935         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25936         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25937         (__TLS_GET_ADDR): Likewise.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25939         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25941 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25943         [BZ #18111]
25944         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25945         (_FPU_SETCW): Initialize cw from fpsr before storing.
25946         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25947         (fesetexceptflag): Rewrite using fpu_control.h.
25948         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25950 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25952         [BZ #18110]
25953         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25954         asms.
25955         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25957 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25959         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25960         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25961         abort.
25962         (_FP_FMA): Likewise.
25963         (_FP_DIV): Likewise.
25965 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25967         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25968         with 0 in that case.
25969         * Makefile (summarize-tests): New canned sequence, factored out of
25970         commands for targets tests and xtests.  Display summary lines that
25971         don't start with PASS: or XFAIL: rather than ones that do start with
25972         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25973         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25974         do start with ERROR: or FAIL:.
25975         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25976         (except for [$(build-shared) = yes]).
25977         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25978         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25979         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25980         * nptl/Makefile: Revert 2015-03-04 changes.
25981         [$(CXX) empty] (tests-unsupported): New variable.
25982         * debug/Makefile: Likewise.
25984         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25985         gnulib file.  Replace __attribute with __attribute__ throughout.
25987 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25989         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25991 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #18104]
25994         * math/auto-libm-test-in: Add another test of pow.
25995         * math/auto-libm-test-out: Regenerated.
25997 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25999         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26000         $(config-cflags-nofma).
26002 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26004         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26005         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26006         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26007         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26008         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26009         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26010         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26011         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26012         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26013         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26014         Add comment on closing #endif.
26016 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26018         * posix/wordexp.c (CHAR_IN_SET): New macro.
26019         (parse_param): Use it.
26021 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26023         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26025 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26027         [BZ #18043]
26028         * posix/wordexp.c (parse_param): Fix buffer overflow.
26029         * posix/wordexp-test.c (test_case): Add test case.
26031 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26033         [BZ #18042]
26034         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26035         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26037 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26039         [BZ #18043]
26040         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26041         (do_bz18043): Delete.
26042         (at_page_end): New.
26043         (testit): Refactor to have words at the edge of unreadable page.
26045 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26047         [BZ #16734]
26048         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26049         Cleanup read-only streams as well.
26050         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26052 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26054         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26055         <bits/libc-lockP.h>
26057 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26059         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26060         on [__KERNEL__].
26061         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26062         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26063         * soft-fp/op-common.h (_FP_DECL): Likewise.
26065 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26067         * elf/ifuncdep2.c (global): Replace
26068         __attribute__((visibility("protected"))) with
26069         asm (".protected global").
26070         * elf/ifuncmod1.c (global): Likewise.
26071         * elf/ifuncmod5.c (global): Likewise.
26073 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26075         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26076         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26078 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26080         * manual/install.texi (Configuring and compiling):
26081         Document test-wrapper-env-only.
26082         * INSTALL: Regenerated.
26084 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26086         [BZ #18043]
26087         * posix/wordexp.c (parse_param): Fix buffer overflow.
26088         * posix/wordexp-test.c (do_bz18043): Add test case.
26090 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26092         * time/tst-strptime2.c (do_test): Ensure failing tests are
26093         reported correctly.
26094         * time/tst-strptime3.c (do_test): Likewise.
26096 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26098         Fix aio_error thread-safety.
26099         * sysdeps/pthread/aio_error.c: New file
26100         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26101         synchronization.
26103 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26105         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26106         (group_number, vfprintf): Use it.
26107         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26108         (JUMP, REF): Use it.
26109         (WORK_BUFFER_SIZE): New enum constant.
26110         (process_arg, vfprintf): Use it.
26112 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26114         * manual/errno.texi (Error Messages): Complete example function
26115         by adding missing #define.
26116         (program_invocation_name): Add statement indicating GNU
26117         extension and reference which header file declares the variable.
26118         (program_invocation_short_name): Likewise.
26120 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26122         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26123         compatibility note.
26125 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26127         * Makeconfig (test-wrapper-env-only): New variable.
26128         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26129         then use that with $(test-wrapper-env-only) rather than using
26130         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26132 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26134         [BZ #18082]
26135         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26136         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26137         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26138         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26139         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26140         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26141         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26142         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26143         Likewise.
26144         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26145         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26146         Likewise.
26147         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26148         Likewise.
26149         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26150         Likewise.
26151         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26152         Likewise.
26153         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26154         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26155         Likewise.
26156         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26157         Likewise.
26158         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26159         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26161 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26163         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26164         (ETH_ALEN): New macro.
26165         (struct ether_addr): Use it for length of ether_addr_octet.
26167         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26168         (setdb): Don't call __nss_configure_lookup for "rpc".
26169         (do_test): Don't call test_rpc.
26170         (output_rpcent, test_rpc): Functions moved ...
26171         * sunrpc/test-rpcent.c: ... to this new file.
26172         * sunrpc/Makefile (tests): Add it.
26174         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26175         __xpg_sigpause.
26176         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26177         * nptl/tst-signal6.c: Likewise.
26178         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26179         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26181         * configure.ac (libc_cv_cxx_link_ok): New check.
26182         Reset CXX to empty if it fails to link.
26183         * configure: Regenerated.
26184         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26185         bug-atexit3-lib only if $(CXX) is nonempty.
26186         * nptl/Makefile (tests): Likewise for tst-cancel24.
26187         (tests, tests-static): Likewise for tst-cancel24-static.
26188         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26189         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26190         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26191         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26193 2015-03-04  Andreas Schwab  <schwab@suse.de>
26195         [BZ #17631]
26196         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26197         for non-GCC compilers.
26198         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26199         Likewise.
26201 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26203         [BZ #17776]
26204         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26205         integer before bitwise and assembly operations.
26206         (feclearexcept): Likewise.
26207         * math/test-fenvinline.c: New file.
26208         * math/Makefile: Add test-fenvinline test.
26210 2015-03-03  Alan Modra  <amodra@gmail.com>
26212         [BZ #16512]
26213         * scripts/localplt.awk: Strip off symbol version.
26214         * NEWS: Mention bug fix.
26216 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26218         * sysdeps/pthread/timer_routines.c
26219         (timer_free_list, thread_free_list, thread_active_list): Make static.
26221 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26223         [BZ #17779]
26224         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26225         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26226         Undefine.
26227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26228         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26229         Likewise.
26230         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26231         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26232         Likewise.
26234 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26236         [BZ #18036]
26237         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26238         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26240 2015-03-02  Andreas Schwab  <schwab@suse.de>
26242         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26243         variable name.
26245 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26247         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26248         Return error status.
26250 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26252         [BZ #15969]
26253         * locale/findlocale.c (_nl_find_locale): Introduce const
26254         version of loc_name and drop unsafe type casts.
26256 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26258         * dlfcn/tststatic2.c (main): Converted to ...
26259         (do_test): ... this.
26260         (TEST_FUNCTION): New macro.
26261         Include test-skeleton.c.
26263 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26265         [BZ #17711]
26266         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26267         (tests-pie): Add vismain.
26268         (CFLAGS-vismain.c): New.
26269         * elf/vismain.c: Add comments for PIE requirement.
26271 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26273         [BZ #18046]
26274         [BZ #18047]
26275         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26276         0x1p-56L as threshold for just returning the argument.
26277         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26278         0x1p-32L as threshold for just returning the argument.
26279         * math/auto-libm-test-in: Add more tests of atanh.
26280         * math/auto-libm-test-out: Regenerated.
26281         * sysdeps/i386/fpu/libm-test-ulps: Update.
26282         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26284 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26286         * string/bcopy.c (bcopy): Call memmove for performance.
26288 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26290         * string/bzero.c (__bzero): Call memset for performance.
26292 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26294         [BZ #18068]
26295         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26296         to 00100000.
26298 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26300         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26302 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26304         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26305         (__kernel_standard): Use CSTR macro when setting exc.name.
26306         * sysdeps/ieee754/Makefile [$(subdir) = math]
26307         (CFLAGS-k_standard.c): Remove variable.
26309         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26310         setting p and q from "else if" to "else".
26311         (qzero): Likewise.
26312         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26313         (qone): Likewise.
26314         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26315         (qzerof): Likewise.
26316         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26317         (qonef): Likewise.
26318         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26319         (qzero): Likewise.
26320         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26321         (qone): Likewise.
26323         [BZ #18038]
26324         [BZ #18039]
26325         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26326         return pi/2 for arguments below 0x1p-113L.
26327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26328         return pi/2 for arguments below 0x1p-106L.
26329         * math/auto-libm-test-in: Add more tests of acos.
26330         * math/auto-libm-test-out: Regenerated.
26332         [BZ #16351]
26333         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26334         (MO): New macro.
26335         (__ieee754_asin): Force underflow exception for results with small
26336         absolute value.
26337         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26338         (MO): New macro.
26339         (__ieee754_asinf): Force underflow exception for results with
26340         small absolute value.
26341         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26342         (__ieee754_asin): Force underflow exception for results with small
26343         absolute value.
26344         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26345         (__ieee754_asinf): Force underflow exception for results with
26346         small absolute value.
26347         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26348         (__ieee754_asinl): Force underflow exception for results with
26349         small absolute value.
26350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26351         (__ieee754_asinl): Force underflow exception for results with
26352         small absolute value.
26353         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26354         (__ieee754_asinl): Force underflow exception for results with
26355         small absolute value.
26356         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26357         Include <math.h>.
26358         * math/auto-libm-test-in: Do not mark underflow exceptions as
26359         possibly missing for bug 16351.
26360         * math/auto-libm-test-out: Regenerated.
26362         [BZ #18030]
26363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26364         of power of 2 down when low part has opposite sign.
26365         * math/libm-test.inc (logb_test_data): Add more tests.
26367 2015-02-26  Andreas Schwab  <schwab@suse.de>
26369         [BZ #18032]
26370         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26371         over collating symbol inside a bracket expression.  Minor cleanup.
26372         * posix/tst-fnmatch3.c (do_test): Add test case.
26374 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #18029]
26377         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26378         Adjust exponent of power of 2 down when low part has opposite
26379         sign.
26380         * math/libm-test.inc (ilogb_test_data): Add more tests.
26382 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26384         [BZ #15969]
26385         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26386         the previous change.
26388         [BZ #15969]
26389         * locale/findlocale.c (_nl_find_locale): Retry archive search
26390         after alias expansion.
26392 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26394         * iconv/tst-iconv3.c (main): Converted to ...
26395         (do_test): ... this.
26396         (TEST_FUNCTION): New macro.
26397         Include test-skeleton.c.
26399         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26400         (convert): Make function static.
26401         (test_unalign): Likewise.  Add const to argument pointee types.
26402         (main): Replace with static function do_test.
26403         Print "Succeeded." only if RET is zero.
26404         (TEST_FUNCTION): New macro.
26405         Include test-skeleton.c.
26407         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26408         returns a null pointer.
26410 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26412         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26413         to __memcpy_ppc only for static builds.
26415 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26417         [BZ #18020]
26418         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26419         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26420         * math/auto-libm-test-in: Add more tests of asinh.
26421         * math/auto-libm-test-out: Regenerated.
26422         * sysdeps/i386/fpu/libm-test-ulps: Update.
26423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26425 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26427         [BZ #15850]
26428         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26429         and ip6_mtuinfo definitions here.
26430         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26431         in this define too.  Update comment.
26433 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26435         * elf/sprof.c (load_shobj): Tweak error message to match others.
26437 2015-02-24  Kevin Easton  <kevin@guarana.org>
26439         [BZ #16145] (partial fix)
26440         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26441         to reduce lock contention.
26443 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26445         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26446         (struct timex): Update time comment.
26447         (ADJ_SETOFFSET): Define.
26449 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26451         [BZ #18019]
26452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26453         2**56 not 2**28 as threshold for log (2x) formula.
26454         * math/auto-libm-test-in: Add more tests of acosh.
26455         * math/auto-libm-test-out: Regenerated.
26456         * sysdeps/i386/fpu/libm-test-ulps: Update.
26457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26459 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26461         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26462         parenthesis around the buf assignment.
26463         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26465 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #16783]
26468         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26469         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26470         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26471         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26472         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26473         * math/libm-test.inc (scalb_test_data): Add more tests.
26475 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26477         [BZ #17916]
26478         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26479         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26481 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26483         [BZ #17523]
26484         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26485         * io/bits/fcntl2.h (open): Use it.
26486         (openat): Likewise.
26487         * io/open.c (__libc_open): Likewise.
26488         * io/open64.c (__libc_open64): Likewise.
26489         * io/open64_2.c (__open64_2): Likewise.
26490         * io/open_2.c (__open_2): Likewise.
26491         * io/openat.c (__openat): Likewise.
26492         * io/openat64.c (__openat64): Likewise.
26493         * io/openat64_2.c (__openat64_2): Likewise.
26494         * io/openat_2.c (__openat_2): Likewise.
26495         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26496         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26497         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26498         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26499         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26500         (__open_nocancel): Likewise.
26501         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26502         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26503         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26505 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26507         [BZ #14841]
26508         * resolv/gethnamaddr.c (getanswer): Skip logging if
26509         RES_USE_DNSSEC is set.
26510         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26512 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26514         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26516 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26518         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26519         201304L, for Unicode 7.
26521 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26523         [BZ #17836]
26524         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26525         shared library.  Add gmon-start.os otherwise.
26526         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26527         $(objpfx)gmon-start.os if builing shared library.
26528         ($(objpfx)g$(static-start-installed-name)): Likewise.
26530 2015-02-23  Andreas Schwab  <schwab@suse.de>
26532         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26534 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26536         [BZ #17269]
26537         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26538         (enlarge_userbuf): Likewise.
26540 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26542         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26543         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26544         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26545         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26547 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26549         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26550         expression inside statement expression.
26552 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26554         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26555         <sysdeps/nptl/lowlevellock.h> and remove macros and
26556         functions that are now defined there.
26557         (SYS_futex): Remove.
26558         (lll_compare_and_swap): Remove.
26559         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26561 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26563         [BZ #17999]
26564         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26565         instead of scandirat.
26566         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26567         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26568         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26569         __scandirat.
26570         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26571         (__scandirat): Declare.  Use libc_hidden_proto.
26572         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26573         Remove variable.
26574         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26576 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26578         [BZ #15319]
26579         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26580         (MO): New macro.
26581         (__ieee754_atan2): For results with small absolute value, force
26582         underflow exception and remove excess range and precision from
26583         return value.
26584         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26585         (MO): New macro.
26586         (__ieee754_atan2f): For results with small absolute value, force
26587         underflow exception and remove excess range and precision from
26588         return value.
26589         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26590         (MO): New macro.
26591         (__atan): For results with small absolute value, force underflow
26592         exception and remove excess range and precision from return value.
26593         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26594         (MO): New macro.
26595         (__atanf): For results with small absolute value, force underflow
26596         exception and remove excess range and precision from return value.
26597         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26598         <math.h>.
26599         (__ieee754_atan2): Force underflow exception for results with
26600         small absolute value.
26601         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26602         <math_private.h>.
26603         (atan): Force underflow exception for results with small absolute
26604         value.
26605         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26606         (__atanf): Force underflow exception for results with small
26607         absolute value.
26608         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26609         <math.h>.
26610         (__atanl): Force underflow exception for results with small
26611         absolute value.
26612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26613         (__atanl): Force underflow exception for results with small
26614         absolute value.
26615         * sysdeps/x86/fpu/bits/mathinline.h
26616         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26617         (__ieee754_atan2): Only define inline for long double.
26618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26619         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26620         * math/auto-libm-test-in: Do not mark underflow exceptions as
26621         possibly missing for bug 15319.  Add more tests of atan2.
26622         * math/auto-libm-test-out: Regenerated.
26623         * math/libm-test.inc (casin_test_data): Do not mark underflow
26624         exceptions as possibly missing for bug 15319.
26625         (casinh_test_data): Likewise.
26626         * sysdeps/i386/fpu/libm-test-ulps: Update.
26628 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26630         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26631         * sysdeps/mips/bits/endian.h: Fix comments.
26633 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #17996]
26636         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26637         (hdestroy_r): Likewise.
26638         (hsearch_r): Likewise.
26639         (__hcreate_r): Declare and use libc_hidden_proto.
26640         (__hdestroy_r): Likewise.
26641         (__hsearch_r): Likewise.
26642         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26643         (hcreate): Call __hcreate_r instead of hcreate_r.
26644         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26645         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26646         as weak alias of __hcreate_r.
26647         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26648         __hdestroy_r.
26649         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26650         __hsearch_r.
26651         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26652         Remove variable.
26653         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26654         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26655         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26656         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26658 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26660         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26661         arena_lock into a single arena_get.
26663 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26665         * dl-reloc.c: Inlucde libc-internal.h.
26666         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26667         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26668         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26669         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26670         (grow_heap): Likewise.
26671         * malloc/malloc.c: Include libc-internal.h.
26672         (do_check_malloc): Call powerof2.
26673         (sysmalloc): Use pagesize. Call ALIGN_UP.
26674         (systrim): Use pagesize.
26675         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26676         (__libc_valloc): Use pagesize.
26677         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26679 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26681         [BZ #17991]
26682         * include/sys/resource.h (__getrlimit64): Declare.  Use
26683         libc_hidden_proto.
26684         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26685         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26686         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26687         getrlimit64.
26688         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26689         __getrlimit64.
26690         [!getrlimit64] (getrlimit64): Define as weak alias of
26691         __getrlimit64.  Use libc_hidden_weak.
26692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26693         using __getrlimit64 not __new_getrlimit64.
26694         (__GI_getrlimit64): Likewise.
26695         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26696         Likewise.
26697         (__GI_getrlimit64): Likewise.
26698         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26700         (getrlimit): Add __getrlimit64 alias.
26701         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26702         Likewise.
26703         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26704         Remove variable.
26705         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26706         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26708 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26710         * libio/fileops.c: Add missing sys/mman.h
26711         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26713 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26715         * manual/math.texi (Errors in Math Functions): Clarify goals
26716         regarding inexact and underflow exceptions.
26718 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26720         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26721         * sysdeps/mips/memset.S: Ditto.
26723 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26725         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26727 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26729         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26730         (__v1longjmp): Remove versioned symbol.
26731         (__v1siglongjmp): Remove alias and versioned symbol.
26732         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26733         (__v2siglongjmp): Likewise.
26735 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26737         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26739 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26741         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26743 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #17987]
26746         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26747         zero result does not depend on the sign resulting from
26748         subtraction.
26749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26750         Likewise.
26751         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26752         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26753         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26754         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26755         * math/libm-test.inc (remquo_test_data): Add more tests.
26757 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26759         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26760         Problem reported by J William Piggott.
26762 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26764         [BZ #17978]
26765         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26766         products 4 * y and 2 * y where those would overflow.
26767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26768         Likewise.
26769         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26770         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26772         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26773         * math/libm-test.inc (remquo_test_data): Add more tests.
26775         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26777         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26778         [defined _COMPILING_NEWLIB].
26779         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26780         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26782         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26783         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26785 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26787         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26788         acquired.
26790 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26792         [BZ #17792]
26793         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26794         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26795         HOST_STACK_END_ADDR): Likewise.
26797 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26799         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26800         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26801         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26803 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26805         * sysdeps/generic/c++-types.data: New file.
26806         * sysdeps/generic/ld.abilist: New file.
26807         * sysdeps/generic/libBrokenLocale.abilist: New file.
26808         * sysdeps/generic/libanl.abilist: New file.
26809         * sysdeps/generic/libc.abilist: New file.
26810         * sysdeps/generic/libcrypt.abilist: New file.
26811         * sysdeps/generic/libdl.abilist: New file.
26812         * sysdeps/generic/libm.abilist: New file.
26813         * sysdeps/generic/libpthread.abilist: New file.
26814         * sysdeps/generic/libresolv.abilist: New file.
26815         * sysdeps/generic/librt.abilist: New file.
26817 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26819         [BZ #17569]
26820         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26821         Compute absolute value of x as modified by fmod, not original
26822         value of x.
26823         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26824         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26825         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26826         RUN_TEST_ffI_f1_mod8.
26827         (remquo_test_data): Add more tests.
26829 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26831         * sysdeps/init_array/pt-crti.S: New file.
26833 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26835         [BZ #17967]
26836         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26837         __builtin_fmaf instead of relying on contraction of a * b + c.
26839 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26841         [BZ #17969]
26842         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26843         node.
26845 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26847         [BZ #17964]
26848         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26849         __builtin_fma instead of relying on contraction of a * b + c.
26851 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26853         * Makeconfig (ASFLAGS): Add -Werror=undef.
26854         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26855         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26856         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26858         * Makeconfig (after-link): New variable.
26859         (+link-pie, +link-pie-tests): Use it.
26860         (+link-static, +link-static-tests): Likewise.
26861         (+link, +link-tests): Likewise.
26862         * Makerules (build-module, build-module-asneeded): Likewise.
26863         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26864         Likewise.
26865         * elf/Makefile ($(objpfx)ld.so): Likewise.
26867 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26869         [BZ #17965]
26870         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26871         both struct timeval and struct timespec.
26873 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26875         [BZ #16560]
26876         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26877         and redefine.
26878         (__ieee754_exp2l): Do not multiply small fractional parts by
26879         M_LN2l.
26880         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26881         small argument.
26882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26883         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26884         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26885         * math/auto-libm-test-in: Add more tests of exp2.
26886         * math/auto-libm-test-out: Regenerated.
26888 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26890         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26891         unaligned path.
26893 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26895         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26896         little endian.
26898 2015-02-12  Andreas Schwab  <schwab@suse.de>
26900         [BZ #15790]
26901         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26902         Filter out elision flags from value returned in kind.
26903         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26904         * nptl/tst-pthread-mutexattr.c: New file.
26906 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26908         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26909         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26910         into gnu-gnu, and update comment to refer to abi-tags.
26912 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26914         [BZ #15467]
26915         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26916         (__sincos): Set errno to EDOM for infinite argument.
26917         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26918         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26919         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26920         (__sincosl): Set errno to EDOM for infinite argument.
26921         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26922         (__sincosl): Set errno to EDOM for infinite argument.
26923         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26924         (__sincosl): Set errno to EDOM for infinite argument.
26925         * math/libm-test.inc (sincos_test_data): Test errno setting.
26927 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26929         * string/strxfrm_l.c: Remove #define STRCMP.
26930         * string/strcoll_l.c: Remove #define STRLEN.
26931         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26932         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26934 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26936         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26937         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26938         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26939         * sysdeps/mips/mips64/Makefile: ... here.
26940         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26941         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26942         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26943         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26944         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26945         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26946         * sysdeps/mips/mips64/n64/Implies: Likewise.
26948 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26950         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26951         <sys/time.h>, <string.h>, and <errno.h>.
26952         (dest_offset, dest_address, value, zero): Remove unused variables.
26953         (ldouble): Remove typedef.
26954         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26955         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26956         1).  Fix code style.
26957         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26958         (check): Function removed.
26959         (CHECK): New macro.
26960         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26961         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26962         Don't call set_sigaction_FP and remove_sigaction_FP here.
26963         (ldouble_test): Just use 'long double' as macro argument, no need for
26964         the 'ldouble' typedef.
26965         (do_test): Set up SIGFPE handler at start, using plain signal rather
26966         than sigaction.  Fix code style.
26968 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26970         [BZ #17949]
26971         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26972         jump label.
26974 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26976         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26977         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26979         * sysdeps/powerpc/configure.ac: Remove file.
26980         * sysdeps/powerpc/configure: Likewise.
26982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26983         [sysdep_routines]: Remove wordcopy-power6 object.
26984         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26985         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26987         (__memmove_ppc32): Likewise.
26988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26989         file.
26990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26992         Remove preprocessor.
26994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26995         [sysdep_routines]: Remove wide chars objects.
26996         [wcsmbs]: New rule for wide char objects.
26998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26999         Remove wordcopy-power6 obejct.
27000         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27001         Use local call for wordcopy and memcpy symbols.
27002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27004         implementation for loader.
27005         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27007         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27008         Remove wordcopy-power7 object.
27009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27010         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27011         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27012         (_wordcopy_fwd_dest_aligned): Likewise.
27013         (_wordcopy_bwd_aligned): Likewise.
27014         (_wordcopy_bwd_dest_aligned): Likewise.
27016         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27017         Rewrite to call __memmove_ppc instead of include default
27018         implementation.
27020         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27021         Remove wide chars objects.
27022         [wcsmbs]: New rule for wide char objects.
27024 2015-02-09  Andreas Schwab  <schwab@suse.de>
27026         [BZ #17912]
27027         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27028         in terms of __O_DIRECTORY.
27030 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27032         * time/getdate.c: Include <stdbool.h>.
27033         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27034         call PTR_MANGLE.
27035         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27036         PTR_DEMANGLE.
27038 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27040         Add ersatz _Static_assert on older C hosts
27041         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27042         pre-C11 C platform that is not known to support _Static_assert.
27044 2015-02-07  Richard Braun  <rbraun@sceen.net>
27046         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27047         sigstate.
27048         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27050 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27052         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27053         priority against unexistent AIO_PRIO_DELTA_MAX.
27054         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27055         instead of int.
27056         * misc/fchflags.c (fchflags): Likewise.
27057         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27058         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27059         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27060         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27061         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27062         Declare macros.
27063         [__USE_MISC] (chflags, fchflags): Declare functions.
27064         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27065         EINVAL when nfds is greater than FD_SETSIZE.
27066         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27067         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27068         45.
27069         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27070         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27071         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27072         MACH_RCV_TIMED_OUT.
27073         * hurd/hurd/signal.h (_hurd_self_sigstate,
27074         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27075         Explicit casts from void *.
27076         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27077         * abi-tags: Rename gnu-gnu os into gnu.
27079         [BZ #4719]
27080         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27081         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27082         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27083         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27084         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27085         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27087         [BZ #17944]
27088         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27089         duplicates ADDR->sun_path with sockaddr LEN limitation.
27090         * sysdeps/mach/hurd/connect.c: Include <string.h>
27091         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27092         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27093         * sysdeps/mach/hurd/sendto.c: Likewise.
27094         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27095         implementing it by hand.
27097 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27099         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27100         Use sfi_breg on ldr.
27101         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27102         Likewise.
27104         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27105         it's defined.
27106         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27107         Test SIGSETXID only if it's defined.
27109         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27111         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27112         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27114         * nptl/tst-align2.c: Moved ...
27115         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27116         * nptl/Makefile (tests): Remove tst-align2.
27117         * sysdeps/unix/sysv/linux/Makefile
27118         [$(subdir) = nptl] (tests): Add tst-align-clone.
27119         * nptl/tst-getpid1.c: Moved ...
27120         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27121         * nptl/tst-getpid2.c: Moved ...
27122         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27123         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27124         * sysdeps/unix/sysv/linux/Makefile
27125         [$(subdir) = nptl] (tests): ... here.
27126         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27127         * sysdeps/unix/sysv/linux/Makefile
27128         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27130         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27131         Drop trailing \n from perror argument.  Use return rather than exit.
27133         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27134         on [SA_SIGINFO].
27135         * nptl/tst-cancel21.c (do_test): Likewise.
27136         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27137         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27138         [!SA_SIGINFO]: Make it a stub test.
27140         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27141         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27143         * posix/tst-getlogin.c: Move to ...
27144         * login/tst-getlogin.c: ... here.
27145         * posix/Makefile (tests): Move tst-getlogin to ...
27146         * login/Makefile (tests): ... here.
27148         * libio/tst-atime.c (do_test): Move local variables SV and E
27149         inside [ST_NOATIME] conditional.
27151         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27153         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27155         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27156         (wait_code): New function replaces macro.
27157         Call nanosleep rather than syscall.
27159         * nptl/pt-system.c: Rewritten.  Put everything under
27160         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27161         Use IFUNC to redirect when possible.
27163         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27164         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27165         Use IFUNC to redirect when possible.
27167         * nptl/pt-fork.c: Rewritten.  Put everything under
27168         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27169         Use IFUNC to redirect when possible.
27170         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27172         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27173         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27174         unconditionally nowadays.  This included the only reference to
27175         __vdso_clock_gettime that appears outside libc proper.
27176         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27177         Remove version set (containing only __vdso_clock_gettime).
27178         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27179         Add attribute_hidden.
27180         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27181         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27182         libc_hidden_data_def.
27183         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27184         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27186         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27187         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27188         setrpcent, and getrpcport to ...
27189         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27190         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27191         getrpcbynumber_r, and getrpcent_r to ...
27192         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27193         * inet/getrpcbyname.c: Moved ...
27194         * sunrpc/getrpcbyname.c: ... here.
27195         * inet/getrpcbyname_r.c: Moved ...
27196         * sunrpc/getrpcbyname_r.c: ... here.
27197         * inet/getrpcbynumber.c: Moved ...
27198         * sunrpc/getrpcbynumber.c: ... here.
27199         * inet/getrpcbynumber_r.c: Moved ...
27200         * sunrpc/getrpcbynumber_r.c: ... here.
27201         * inet/getrpcent.c: Moved ...
27202         * sunrpc/getrpcent.c: ... here.
27203         * inet/getrpcent_r.c: Moved ...
27204         * sunrpc/getrpcent_r.c: ... here.
27205         * inet/Makefile (routines): Move those to ...
27206         * sunrpc/Makefile (routines): ... here.
27207         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27208         the $(subdirs) list.
27209         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27210         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27211         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27212         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27214         * elf/Makefile (routines): Include $(all-dl-routines), not just
27215         $(dl-routines).
27216         (rtld-routines): Likewise.  Use = rather than :=.
27217         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27218         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27219         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27220         * sysdeps/arm/Makefile: Likewise.
27221         * sysdeps/i386/Makefile: Likewise.
27222         * sysdeps/x86_64/Makefile: Likewise.
27223         * sysdeps/hppa/Makefile [$(subdir) = elf]
27224         (sysdep_routines, sysdep-rtld-routines): Don't add
27225         $(sysdep-dl-routines) to these.
27226         * sysdeps/ia64/Makefile: Likewise.
27227         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27228         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27229         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27230         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27231         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27232         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27233         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27234         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27235         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27236         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27237         these; sysdep-dl-routines alone is enough.
27239 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27241         [BZ #17932]
27242         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27243         where multiplication results in zero and third argument is finite
27244         and nonzero.
27245         * math/auto-libm-test-in: Add more tests of fma.
27246         * math/auto-libm-test-out: Regenerated.
27248         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27249         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27250         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27251         (_FP_CMP_EQ): Likewise.
27252         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27254         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27255         extra argument CHECK_NAN.  Redefine as wrapper around
27256         _FP_EXTEND_CNAN.
27258 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27260         * version.h (RELEASE): Set to "stable".
27261         (VERSION): Set to "2.21"
27262         * include/features.h (__GLIBC_MINOR__): Set to 21.
27264         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27266 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27267             Paul Eggert  <eggert@cs.ucla.edu>
27269         [BZ #16618]
27270         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27271         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27272         size in bytes. Store needed elements in wpmax. Use needed size
27273         in bytes for extend_alloca.
27275 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27277         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27278         binutls 2.25, and texinfo 5.2.
27279         * INSTALL: Regenerate.
27280         * sysdeps/nios2/configure: Regenerate.
27281         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27282         * manual/contrib.texi: Update.
27283         * po/be.po: Update.
27284         * po/bg.po: Update.
27285         * po/ca.po: Update.
27286         * po/cs.po: Update.
27287         * po/da.po: Update.
27288         * po/de.po: Update.
27289         * po/el.po: Update.
27290         * po/eo.po: Update.
27291         * po/es.po: Update.
27292         * po/fi.po: Update.
27293         * po/fr.po: Update.
27294         * po/gl.po: Update.
27295         * po/hr.po: Update.
27296         * po/hu.po: Update.
27297         * po/ia.po: Update.
27298         * po/id.po: Update.
27299         * po/it.po: Update.
27300         * po/ja.po: Update.
27301         * po/ko.po: Update.
27302         * po/lt.po: Update.
27303         * po/nb.po: Update.
27304         * po/nl.po: Update.
27305         * po/pl.po: Update.
27306         * po/pt_BR.po: Update.
27307         * po/ru.po: Update.
27308         * po/rw.po: Update.
27309         * po/sk.po: Update.
27310         * po/sl.po: Update.
27311         * po/sv.po: Update.
27312         * po/tr.po: Update.
27313         * po/uk.po: Update.
27314         * po/vi.po: Update.
27315         * po/zh_CN.po: Update.
27316         * po/zh_TW.po: Update.
27318         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27319         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27320         * sysdeps/hppa/dl-irel.h: Remove #warning.
27321         * sysdeps/hppa/entry.h: Provide prototype for
27322         __canonicalize_funcptr_for_compare and cast argument.
27323         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27324         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27325         * sysdeps/hppa/sotruss-lib.c: New file.
27326         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27327         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27328         (atomic_compare_and_exchange_bool_acq): Likewise.
27329         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27330         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27332         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27333         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27334         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27336 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27338         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27339         called function in non-PIC case.
27341 2015-01-31  David S. Miller  <davem@davemloft.net>
27343         * sysdeps/sparc/sparc32/bits/atomic.h
27344         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27345         unlock not after it.
27346         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27347         volatile register usage warnings from the compiler.
27349         * sysdeps/sparc/nptl/sem_init.c: Delete.
27350         * sysdeps/sparc/nptl/sem_post.c: Delete.
27351         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27352         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27353         * sysdeps/sparc/sparc32/sem_init.c: New file.
27354         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27355         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27356         padding explicitly initialized.
27357         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27358         padding for in-semaphore spinlock.
27359         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27360         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27361         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27362         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27363         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27364         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27365         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27366         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27367         version.
27368         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27369         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27371 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27373         [BZ #17801]
27374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27375         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27376         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27377         New.
27378         (index_AVX_Fast_Unaligned_Load): Likewise.
27379         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27380         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27381         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27382         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27383         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27384         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27385         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27386         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27387         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27389 2015-01-29  Andreas Schwab  <schwab@suse.de>
27391         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27393 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27395         [BZ #17892]
27396         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27398 2015-01-28  Martin Sebor  <msebor@redhat.com>
27400         * math/README.libm-test: Clarify. Add "How to read the test output."
27402 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27404         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27405         Define to 0.
27407 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27409         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27410         (__HAVE_64B_ATOMICS): Define to 0.
27412 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27414         [BZ #17885]
27415         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27416         value to set as new flag.
27418         [BZ #16576]
27419         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27420         and use _ARCH_PPCSQ instead.
27421         (__ieee754_sqrt): Likewise.
27422         (__ieee754_sqrtf): Likewise.
27423         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27424         _ARCH_PPCSQ is defined.
27425         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27426         fsqrt instruction.
27427         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27428         _ARCH_PPCSQ is defined.
27429         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27430         fsqrts instruction.
27431         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27433 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27435         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27436         bug (GCC BZ #64739).
27438 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27440         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27441         Mark _retval as used.
27442         (lll_futex_wake_unlock): Likewise.
27443         (lll_futex_timed_wait_requeue_pi): Likewise.
27445         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27446         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27447         register variables.
27449         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27450         libm_hidden_def.
27452         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27453         (__bswap_64): Mark as __always_inline.
27455 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27457         [BZ #15378]
27458         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27459         when none of the search directories exist.
27461 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27463         [BZ #17869]
27464         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27465         power8 in .machine directive.
27467         [BZ #17868]
27468         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27469         set dependency from opd value.
27471 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27474         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27475         architecture.
27477 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27479         [BZ #17870]
27480         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27481         with uint64_t.
27482         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27483         (uint64_t) 1.
27484         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27485         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27486         Replace 1UL with (uint64_t) 1.
27487         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27488         int with uint64_t.
27490 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27492         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27493         (if_freenameindex): Likewise.
27495         * resource/getrlimit64.c: Add missing libc_hidden_def.
27497 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27499         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27500         __label__.
27501         (_FP_FMA): Likewise.
27502         (_FP_TO_INT_ROUND): Likewise.
27503         (_FP_FROM_INT): Likewise.
27505 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27507         [BZ #16418]
27508         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27509         Make code racy and cancel safe.
27511 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27513         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27514         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27515         attribution.
27517         * pwd/tst-getpw.c: Rewrite.
27519         [BZ #17702]
27520         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27521         (modules-names): Add moddummy1 and moddummy2.
27522         ($(objpfx)tst-rec-dlopen): Define.
27523         * dlfcn/moddummy1.c: New file.
27524         * dlfcn/moddummy2.c: New file.
27525         * dlfcn/tst-rec-dlopen.c: New file.
27526         * elf/dl-cache.c (_dl_load_cache_lookup):
27527         Return char*. Copy result with alloca/strcpy/strdup.
27528         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27529         returns char*. Free cached. If not saving realname
27530         free cached.
27531         * elf/dl-open.c (dl_open_worker): Do not assert that
27532         _r_debug->r_state is RT_CONSISTENT.
27533         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27534         returns char*.
27536 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27537             Carlos O'Donell  <carlos@redhat.com>
27539         [BZ #12674]
27540         * nptl/sem_waitcommon.c: New file.
27541         * nptl/sem_wait.c: Include sem_waitcommon.c.
27542         (__sem_wait_cleanup, do_futex_wait): Remove.
27543         (__new_sem_wait): Adapt.
27544         (__new_sem_trywait): New function.
27545         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27546         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27547         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27548         (sem_timedwait): Adapt.
27549         * nptl/sem_post.c (__new_sem_post): Adapt.
27550         (futex_wake): New function.
27551         (__old_sem_post): Add release MO fence.
27552         * nptl/sem_open.c (sem_open): Adapt.
27553         * nptl/sem_init.c (__new_sem_init): Adapt.
27554         (futex_private_if_supported): New function.
27555         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27556         (__old_sem_getvalue): Add using previous code.
27557         * sysdeps/nptl/internaltypes.h: Adapt.
27558         * nptl/tst-sem13.c (do_test): Adapt.
27559         * nptl/tst-sem11.c (main): Adapt.
27560         * nptl/sem_trywait.c: Remove.
27561         * nptl/DESIGN-sem.txt: Remove.
27562         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27563         (gen-as-const-headers): Remove structsem.sym.
27564         * nptl/structsem.sym: Remove.
27565         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27566         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27567         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27568         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27569         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27570         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27571         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27572         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27573         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27574         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27575         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27576         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27577         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27578         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27579         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27580         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27581         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27582         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27583         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27584         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27585         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27586         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27588 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27590         * INSTALL: Regenerated.
27592         * po/libc.pot: Regenerated.
27594 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27595             Sandra Loosemore  <sandra@codesourcery.com>
27596             Andrew Jenner  <andrew@codesourcery.com>
27597             Joseph Myers  <joseph@codesourcery.com>
27598             Nathan Sidwell  <nathan@codesourcery.com>
27600         * NEWS: Mention new Nios II port.
27601         * sysdeps/nios2/Implies: New file.
27602         * sysdeps/nios2/Makefile: New file.
27603         * sysdeps/nios2/Subdirs: New file.
27604         * sysdeps/nios2/Versions: New file.
27605         * sysdeps/nios2/__longjmp.S: New file.
27606         * sysdeps/nios2/abort-instr.h: New file.
27607         * sysdeps/nios2/backtrace.c: New file.
27608         * sysdeps/nios2/bits/endian.h: New file.
27609         * sysdeps/nios2/bits/fenv.h: New file.
27610         * sysdeps/nios2/bits/link.h: New file.
27611         * sysdeps/nios2/bits/setjmp.h: New file.
27612         * sysdeps/nios2/bsd-_setjmp.S: New file.
27613         * sysdeps/nios2/bsd-setjmp.S: New file.
27614         * sysdeps/nios2/configure: New generated file.
27615         * sysdeps/nios2/configure.ac: New file.
27616         * sysdeps/nios2/crti.S: New file.
27617         * sysdeps/nios2/crtn.S: New file.
27618         * sysdeps/nios2/dl-init.c: New file.
27619         * sysdeps/nios2/dl-machine.h: New file.
27620         * sysdeps/nios2/dl-sysdep.h: New file.
27621         * sysdeps/nios2/dl-tls.h: New file.
27622         * sysdeps/nios2/dl-trampoline.S: New file.
27623         * sysdeps/nios2/gccframe.h: New file.
27624         * sysdeps/nios2/gmp-mparam.h: New file.
27625         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27626         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27627         * sysdeps/nios2/ldsodefs.h: New file.
27628         * sysdeps/nios2/libc-tls.c: New file.
27629         * sysdeps/nios2/libm-test-ulps: New file.
27630         * sysdeps/nios2/machine-gmon.h: New file.
27631         * sysdeps/nios2/math-tests.h: New file.
27632         * sysdeps/nios2/math_private.h: New file.
27633         * sysdeps/nios2/memusage.h: New file.
27634         * sysdeps/nios2/nptl/Makefile: New file.
27635         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27636         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27637         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27638         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27639         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27640         * sysdeps/nios2/nptl/tls.h: New file.
27641         * sysdeps/nios2/preconfigure: New file.
27642         * sysdeps/nios2/s_fma.c: New file.
27643         * sysdeps/nios2/s_fmaf.c: New file.
27644         * sysdeps/nios2/setjmp.S: New file.
27645         * sysdeps/nios2/sfp-machine.h: New file.
27646         * sysdeps/nios2/sotruss-lib.c: New file.
27647         * sysdeps/nios2/stackguard-macros.h: New file.
27648         * sysdeps/nios2/stackinfo.h: New file.
27649         * sysdeps/nios2/start.S: New file.
27650         * sysdeps/nios2/sysdep.h: New file.
27651         * sysdeps/nios2/tls-macros.h: New file.
27652         * sysdeps/nios2/tst-audit.h: New file.
27653         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27654         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27655         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27656         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27657         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27658         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27659         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27660         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27661         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27662         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27663         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27664         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27665         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27666         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27667         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27668         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27669         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27670         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27671         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27672         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27673         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27674         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27675         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27676         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27677         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27678         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27679         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27680         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27681         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27682         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27683         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27684         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27685         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27686         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27687         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27688         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27689         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27690         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27691         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27692         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27693         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27694         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27695         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27696         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27698 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27700         [BZ #17844]
27701         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27702         (getutent): Use weak_alias in non SHARED case
27703         and default_symbol_version in SHARED case.
27704         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27705         (getutent_r, pututline): Likewise.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27707         (getutid): Likewise.
27708         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27709         (getutid_r): Likewise.
27710         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27711         (getutline): Likewise.
27712         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27713         (getutline_r): Likewise.
27714         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27715         (updwtmp): Likewise.
27717 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27719         [BZ #17848]
27720         * sysdeps/s390/s390-32/memcmp.S
27721         (memcmp_g5): Rename to __memcmp_g5.
27722         * sysdeps/s390/s390-32/memcpy.S
27723         (memcpy_g5): Rename to __memcpy_g5.
27724         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27725         (memcpy_mvcle) Rename to __memcpy_mvcle.
27726         * sysdeps/s390/s390-32/memset.S
27727         (memset_g5): Rename to __memset_g5.
27728         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27729         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27730         and use prefixed functions.
27731         * sysdeps/s390/s390-32/multiarch/memcmp.S
27732         (memcmp_z196): Rename to __memcmp_z196.
27733         (memcmp_z10): Rename to __memcmp_z10.
27734         (memcmp): Set alias to __memcmp_g5.
27735         (bcmp): Set alias to __memcmp_g5.
27736         * sysdeps/s390/s390-32/multiarch/memcpy.S
27737         (memcpy_z196): Rename to __memcpy_z196.
27738         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27739         (memcpy_z10): Rename to __memcpy_z10.
27740         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27741         (memcpy): Set alias to __memcpy_g5.
27742         * sysdeps/s390/s390-32/multiarch/memset.S
27743         (memset_z196): Rename to __memset_z196.
27744         Jump to __memset_mvcle instead of memset_mvcle.
27745         (memset_z10): Rename to __memset_z10.
27746         Jump to __memset_mvcle instead of memset_mvcle.
27747         (memset_mvcle) Rename to __memset_mvcle.
27748         (memset): Set alias to __memset_g5.
27749         * sysdeps/s390/s390-64/memcmp.S
27750         (memcmp_z900): Rename to __memcmp_z900.
27751         * sysdeps/s390/s390-64/memcpy.S
27752         (memcpy_z900): Rename to __memcpy_z900.
27753         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27754         (memcpy_mvcle) Rename to __memcpy_mvcle.
27755         * sysdeps/s390/s390-64/memset.S
27756         (memset_z900): Rename to __memset_z900.
27757         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27758         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27759         and use prefixed functions.
27760         * sysdeps/s390/s390-64/multiarch/memcmp.S
27761         (memcmp_z196): Rename to __memcmp_z196.
27762         (memcmp_z10): Rename to __memcmp_z10.
27763         (memcmp): Set alias to __memcmp_z900.
27764         (bcmp): Set alias to __memcmp_z900.
27765         * sysdeps/s390/s390-64/multiarch/memcpy.S
27766         (memcpy_z196): Rename to __memcpy_z196.
27767         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27768         (memcpy_z10): Rename to __memcpy_z10.
27769         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27770         (memcpy): Set alias to __memcpy_z900.
27771         * sysdeps/s390/s390-64/multiarch/memset.S
27772         (memset_z196): Rename to __memset_z196.
27773         Jump to __memset_mvcle instead of memset_mvcle.
27774         (memset_z10): Rename to __memset_z10.
27775         Jump to __memset_mvcle instead of memset_mvcle.
27776         (memset_mvcle) Rename to __memset_mvcle.
27777         (memset): Set alias to __memset_z900.
27779 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27781         [BZ #17748]
27782         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27783         __fesetenv instead of fesetenv.
27785 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27787         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27788         macro.
27790 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27792         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27793         regression on LE.
27795         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27796         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27797         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27798         strncmp-power8 object.
27799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27800         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27801         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27802         * NEWS: Update.
27804 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27805             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27807         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27808         trailing byte check.
27810 2015-01-13  David S. Miller  <davem@davemloft.net>
27812         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27814 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27816         * login/logout.c (logout): Use memset rather than bzero.
27817         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27818         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27819         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27820         (_gethtbyaddr): Likewise.
27821         * locale/programs/simple-hash.c (bcopy): Macro removed.
27823 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27825         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27826         Add strcmp-power8 object.
27827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27828         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27829         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27830         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27831         __strcmp_power8 implementation.
27832         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27833         * NEWS: Update.
27835         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27836         Add strncpy-power8 and stpncpy-power8 objects.
27837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27838         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27839         implementations.
27840         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27841         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27842         __stpncpy_power8 implementation.
27843         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27844         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27845         __strncpy_power8 implementation.
27846         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27847         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27848         * NEWS: Update.
27850         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27851         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27852         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27854         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27855         strncat-power8 object.
27856         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27857         __strcat_power8 implementation.
27858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27859         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27860         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27861         optimized strcat for power8.
27863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27864         strcpy-power8 and stpcpy-power8 objects.
27865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27866         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27867         implementations.
27868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27869         multiarch stpcpy implementation for POWER8.
27870         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27871         multiarch strcpy implementation for POWER8.
27872         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27873         __strcpy_power8 function.
27874         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27875         stpcpy for POWER8.
27876         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27877         strcpy for POWER8.
27878         * NEWS: Update.
27880 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27882         [BZ #16009]
27883         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27884         weights and rules. Use do_xfrm_cached if data fits in cache,
27885         do_xfrm otherwise.  Moved former main loop to...
27886         * (do_xfrm_cached): New function.
27887         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27888         find_idx, find_position and stack_push.
27889         * (find_idx): New function.
27890         * (find_position): Likewise.
27891         * localedata/sort-test.sh: Added test run for do_xfrm.
27892         * localedata/xfrm-test.c (main): Added command line option
27893         -nocache to run the test with strings that are too large for
27894         the STRXFRM cache.
27896 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27898         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27899         variable to lll_futex_wake call, not the value itself.
27901 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27903         [BZ #17803]
27904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27905         twom64.  Adjust value to 0x1p-64L.
27906         (__scalblnl): Only return standard underflowing result for K <=
27907         -64 not K <= -63; adjust exponent for underflowing result by 64
27908         not 63.
27909         * math/libm-test.inc (scalbn_test_data): Add more tests.
27910         (scalbln_test_data): Likewise.
27912         [BZ #17834]
27913         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27914         0x1p63L.
27915         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27916         not HX.
27917         * math/libm-test.inc (scalbn_test_data): Add more tests.
27918         (scalbln_test_data): Likewise.
27920 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27921             Stefani Seibold  <stefani@seibold.net>
27923         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27924         (sysdep_routines): Add dl-vdso here, ...
27925         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27926         (sysdep_routines): ... not here.
27927         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27928         fallback when vDSO is not presented.
27929         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27930         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27931         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27932         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27933         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27934         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27935         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27936         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27937         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27939         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27940         fallback configurable symbol when vDSO is not available.
27941         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27942         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27943         be able to redefine fallback symbol when vDSO is not available.
27944         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27945         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27947 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27949         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27950         (TLS_INIT_TP): Add tm_capable initialization.
27951         (TLS_DEFINE_INIT_TP): Likewise.
27952         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27953         TCB.
27954         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27955         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27956         calculation.
27957         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27958         transactoion is lock elision is built and TCB tm_capable is set.
27959         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27961         (INTERNAL_SYSCALL_NCS): Likewise.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27963         (INTERNAL_SYSCALL_NCS): Likewise.
27964         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27966         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27967         for powerpc.
27968         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27969         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27970         and remove it for 32 bits case.
27971         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27973         initialization.
27974         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27975         Disable lock elision with rdlocks if elision is not available.
27977         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27978         (sysdep_routines): Add lock elision objects.
27979         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27980         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27981         [pthread_mutex_t] (__elision): Add field.
27982         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27983         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27984         elision definitions for powerpc.
27985         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27986         implementation of lock elision for powerpc.
27987         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27988         implementation of timed lock elision for powerpc.
27989         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27990         implementation of trylock with lock elision for powerpc.
27991         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27992         implementaion of unlock for lock elision for powerpc.
27993         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27994         automatic enable lock elision for mutexes.
27995         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27996         transaction execution definitions for powerpc.
27997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27998         definitions.
27999         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28000         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28001         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28002         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28003         * NEWS: Update.
28005 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28007         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28008         for #include of <shm-directory.h>.
28010 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28012         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28013         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28015 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28017         [BZ #17791]
28018         * NEWS: Mention bug fix.
28019         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28020         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28021         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28023 2015-01-09  Torvald Riegel <triegel@redhat.com>
28025         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28027 2015-01-09  Torvald Riegel <triegel@redhat.com>
28029         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28031 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28033         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28034         pointer and cast to uintptr_t.
28036 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28038         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28039         removed.
28040         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28042 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28044         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28045         of 0.
28047 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28049         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28050         <nptl/pthreadP.h> instead.
28051         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28053         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28054         already defined.
28055         [__SIGRTMIN] (init): Function removed.
28056         [__SIGRTMIN] (initialized): Variable removed.
28057         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28058         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28059         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28060         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28061         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28062         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28063         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28064         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28065         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28066         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28067         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28068         * sysdeps/nptl/allocrtsig.c: New file.
28069         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28070         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28071         * sysdeps/generic/testrtsig.h: File removed.
28073         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28074         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28076         * nptl/nptl-init.c (pthread_functions): Conditionalize
28077         .ptr__nptl_setxid initialization on [SIGSETXID].
28079         * sysdeps/nptl/sys/procfs.h: New file.
28080         * nptl_db/Makefile (headers): Add it.
28081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28083         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28084         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28085         * nptl/pthread_attr_setaffinity.c: Include it.
28086         * nptl/pthread_setattr_default_np.c: Likewise.
28087         * nptl/check-cpuset.h: New file.
28089 2015-01-08  Richard Henderson  <rth@redhat.com>
28091         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28092         (CFLAGS-tst-execstack-prog.c): Likewise.
28093         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28095 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28096             Sandra Loosemore  <sandra@codesourcery.com>
28097             Andrew Jenner  <andrew@codesourcery.com>
28098             Joseph Myers  <joseph@codesourcery.com>
28099             Nathan Sidwell  <nathan@codesourcery.com>
28101         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28102         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28103         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28104         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28105         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28106         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28107         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28108         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28109         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28110         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28111         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28112         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28113         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28114         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28115         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28116         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28117         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28119 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28121         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28122         timespec struct member in syscall macro.
28123         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28124         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28125         first timeval struct member in syscall macro.
28126         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28128 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28130         [BZ #17748]
28131         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28132         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28133         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28134         __feupdateenv and define as weak alias of __feupdateenv.  Use
28135         libm_hidden_weak.
28136         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28137         libm_hidden_def.
28138         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28139         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28140         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28141         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28142         libm_hidden_def.
28143         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28144         __feupdateenv and define as weak alias of __feupdateenv.  Use
28145         libm_hidden_weak.
28146         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28147         libm_hidden_def.
28148         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28149         __feupdateenv and define as weak alias of __feupdateenv.  Use
28150         libm_hidden_weak.
28151         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28152         libm_hidden_def.
28153         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28154         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28155         (__feupdateenv): Likewise.
28156         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28157         __feupdateenv and define as weak alias of __feupdateenv.  Use
28158         libm_hidden_weak.
28159         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28160         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28161         libm_hidden_def.
28162         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28163         function.
28164         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28165         libm_hidden_def.
28166         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28167         __feupdateenv instead of feupdateenv.
28168         (default_libc_feupdateenv_test): Likewise.
28169         (libc_feresetround_ctx): Likewise.
28171 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28173         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28174         prototype.
28176 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28178         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28179         COLL_SYM in a couple of places to avoid uninitialized variable
28180         wanings on tilegx gcc 4.8.2.
28182 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28184         * sysdeps/aarch64/strcpy.S: New file.
28185         * sysdeps/aarch64/stpcpy.S: New file.
28186         * NEWS: Updated.
28188 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28190         * sysdeps/aarch64/strrchr.S: New file.
28191         * NEWS: Updated.
28193 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28195         [BZ #17658]
28196         * stdlib/setenv.c: Fix memory leak when setting large,
28197         duplicate string.
28199 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28201         [BZ #17273]
28202         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28203         and tabs from buffer before parsing fstab entry.
28204         * misc/tst-mntent.c (main): Add test for mount entry with
28205         trailing spaces and tabs.
28207 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28209         [BZ #17748]
28210         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28211         * math/fesetround.c (fesetround): Rename to __fesetround and
28212         define as weak alias of __fesetround.  Use libm_hidden_weak.
28213         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28214         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28215         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28216         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28217         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28218         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28219         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28220         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28221         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28222         __fesetround_inline.
28223         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28224         __fesetround_inline instead of __fesetround.
28225         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28226         __fesetround and define as weak alias of __fesetround.  Use
28227         libm_hidden_weak.  Call __fesetround_inline instead of
28228         __fesetround.
28229         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28230         __fesetround and define as weak alias of __fesetround.  Use
28231         libm_hidden_weak.
28232         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28233         Likewise.
28234         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28235         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28236         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28237         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28238         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28239         __fesetround and define as weak alias of __fesetround.  Use
28240         libm_hidden_weak.
28241         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28242         __fesetround instead of fesetround.
28243         (default_libc_feholdexcept_setround): Likewise.
28244         (libc_feholdsetround_ctx): Likewise.
28245         (libc_feholdsetround_noex_ctx): Likewise.
28247         [BZ #17748]
28248         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28249         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28250         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28251         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28252         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28253         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28254         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28255         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28256         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28257         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28258         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28259         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28260         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28261         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28263         libm_hidden_def.
28264         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28265         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28266         Likewise.
28267         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28268         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28269         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28270         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28271         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28272         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28273         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28274         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28275         __fesetenv instead of fesetenv.
28276         (libc_feresetround_noex_ctx): Likewise.
28277         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28278         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28279         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28280         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28281         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28282         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28283         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28284         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28285         (__feupdateenv): Likewise.
28286         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28287         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28288         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28289         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28291 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28293         [BZ #17806]
28294         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28295         addresses have been freed.
28297 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28299         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28300         and nservall.
28302 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28304         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28305         Clean up check_pf allocation pattern. addresses
28307 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28309         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28310         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28311         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28312         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28313         * nptl/pthread_join.c (pthread_join): Likewise.
28314         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28315         * sysdeps/posix/waitid.c (__waitid): Likewise.
28316         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28317         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28318         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28319         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28321         Likewise.
28322         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28323         (__libc_pread64): Likewise.
28324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28325         (__libc_pwrite): Likewise.
28326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28327         (__libc_pwrite64): Likewsie.
28328         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28329         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28330         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28331         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28332         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28333         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28334         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28336         Likewise.
28337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28338         (__libc_pread64): Likewise.
28339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28340         Likewise.
28341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28342         (__libc_pwrite64): Likewise.
28343         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28344         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28345         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28346         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28347         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28348         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28349         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28350         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28351         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28352         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28353         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28354         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28355         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28356         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28357         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28358         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28359         Likewise.
28361 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28363         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28364         (CFLAGS-test-double.c): Likewise.
28365         (CFLAGS-test-ldouble.c): Likewise.
28366         (CPPFLAGS-test-ifloat.c): Likewise.
28367         (CPPFLAGS-test-idouble.c): Likewise.
28368         (CPPFLAGS-test-ildoubl.c): Likewise.
28369         (CFLAGS-test-test-fenv.c): Remove variable.
28370         (CFLAGS-test-misc.c): Likewise.
28372 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28374         [BZ #17797]
28375         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28376         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28377         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28378         CLOCKS_PER_SEC == 1000000.
28379         * time/clocktest.c (main): Replace %ld with %jd and cast to
28380         intmax_t.
28382 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28384         * sysdeps/generic/unwind-resume.h: New file.
28385         * sysdeps/gnu/unwind-resume.c: Include it.
28386         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28387         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28388         argument list.
28389         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28390         global rather than static.
28391         (_Unwind_Resume): Update user.
28392         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28393         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28394         rather than static.  Add __attribute__ ((cold)).
28395         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28396         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28397         * sysdeps/arm/arm-unwind-resume.S: New file.
28398         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28399         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28400         * sysdeps/arm/Makefile [$(subdir) = csu]
28401         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28402         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28403         Add rt-arm-unwind-resume.
28404         [$(subdir) = nptl]
28405         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28406         Add pt-arm-unwind-resume.
28407         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28408         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28410 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28412         [BZ #17748]
28413         * include/fenv.h (__feholdexcept): Declare.  Use
28414         libm_hidden_proto.
28415         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28416         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28417         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28418         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28419         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28420         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28421         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28422         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28423         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28424         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28425         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28426         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28427         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28428         (feholdexcept): Likewise.
28429         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28430         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28431         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28432         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28433         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28434         __feholdexcept instead of feholdexcept.
28435         (default_libc_feholdexcept_setround): Likewise.
28437 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28439         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28440         to avoid using stl/str to align destination.
28442 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28444         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28446 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28448         [BZ #17796]
28449         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28450         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28451         Define as weak alias not strong alias.
28453 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28455         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28456         bltzal with addiupc.
28457         (RTLD_START): Ditto.
28459 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28461         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28462         for __vdso_* functions in declarations.
28463         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28464         definitions.
28465         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28466         INTERNAL_VSYSCALL): Use struct return types to check for error.
28468         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28469         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28470         function with cast from llround().
28471         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28472         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28473         Define.
28475 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28477         [BZ #17793]
28478         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28479         Define as weak alias not strong alias.
28481         [BZ #17635]
28482         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28483         ...
28484         * ctype/ctype-extn.c: ... here.
28485         (__isblank_l): Move to ...
28486         * ctype/ctype-c99_l.c: ... here.  New file.
28487         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28488         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28489         Remove variable.
28490         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28491         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28492         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28493         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28494         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28496         [BZ #17777]
28497         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28498         (posix_fadvise64): Define as weak alias not strong alias.
28499         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28500         (posix_fallocate64): Likewise.
28501         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28502         Remove variable.
28503         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28504         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28505         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28506         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28507         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28509 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28511         [BZ #16191]
28512         * NEWS: Mention bug fix.
28513         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28514         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28515         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28516         (HOST_STACK_END_ADDR): Likewise.
28518 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28520         [BZ #17748]
28521         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28522         * math/fegetround.c (fegetround): Rename to __fegetround and
28523         define as weak alias of __fegetround.  Use libm_hidden_weak.
28524         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28525         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28526         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28527         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28528         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28529         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28530         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28531         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28532         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28533         Undefine after rather than before function definition; use
28534         parentheses around function name in definition.
28535         (__fegetround): Also undefine macro after function definition.
28536         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28537         __fegetround and define as weak alias of __fegetround.  Use
28538         libm_hidden_weak.  Do not undefine as macro.
28539         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28540         Likewise.
28541         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28542         __fegetround and define as weak alias of __fegetround.  Use
28543         libm_hidden_weak.
28544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28545         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28546         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28547         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28548         __fegetround and define as weak alias of __fegetround.  Use
28549         libm_hidden_weak.
28550         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28551         __fegetround instead of fegetround.
28553         [BZ #17782]
28554         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28555         Condition macro definition on [__USE_MISC].
28557         [BZ #17781]
28558         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28559         (struct sigaction): Change type of sa_flags field to int.
28561         [BZ #17780]
28562         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28563         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28564         __glibc_reserved0.
28566         * nptl/version.c (banner): Use single year in copyright notice.
28568         * NEWS: Update copyright dates.
28569         * catgets/gencat.c (print_version): Likewise.
28570         * csu/version.c (banner): Likewise.
28571         * debug/catchsegv.sh: Likewise.
28572         * debug/pcprofiledump.c (print_version): Likewise.
28573         * debug/xtrace.sh (do_version): Likewise.
28574         * elf/ldconfig.c (print_version): Likewise.
28575         * elf/ldd.bash.in: Likewise.
28576         * elf/pldd.c (print_version): Likewise.
28577         * elf/sotruss.sh: Likewise.
28578         * elf/sprof.c (print_version): Likewise.
28579         * iconv/iconv_prog.c (print_version): Likewise.
28580         * iconv/iconvconfig.c (print_version): Likewise.
28581         * locale/programs/locale.c (print_version): Likewise.
28582         * locale/programs/localedef.c (print_version): Likewise.
28583         * login/programs/pt_chown.c (print_version): Likewise.
28584         * malloc/memusage.sh (do_version): Likewise.
28585         * malloc/memusagestat.c (print_version): Likewise.
28586         * malloc/mtrace.pl: Likewise.
28587         * manual/libc.texinfo: Likewise.
28588         * nptl/version.c (banner): Likewise.
28589         * nscd/nscd.c (print_version): Likewise.
28590         * nss/getent.c (print_version): Likewise.
28591         * nss/makedb.c (print_version): Likewise.
28592         * posix/getconf.c (main): Likewise.
28593         * scripts/test-installation.pl: Likewise.
28594         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28596 2015-01-02  Will Newton  <will.newton@linaro.org>
28598         * sysdeps/arm/armv7/configure: Removed.
28599         * sysdeps/arm/armv7/configure.ac: Likewise.
28601 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28603         * All files with FSF copyright notices: Update copyright dates
28604         using scripts/update-copyrights.
28605         * intl/plural.c: Regenerated.
28606         * locale/programs/charmap-kw.h: Likewise.
28607         * locale/programs/locfile-kw.h: Likewise.
28609 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28611         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28613 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28615         [BZ #17748]
28616         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28617         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28618         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28619         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28620         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28621         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28622         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28623         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28624         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28625         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28626         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28627         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28628         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28629         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28630         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28631         libm_hidden_def.
28632         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28634         Likewise.
28635         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28636         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28637         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28638         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28639         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28640         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28641         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28642         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28643         __fegetenv instead of fegetenv.
28644         (libc_feholdsetround_noex_ctx): Likewise.
28646 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28648         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28649         (Elf_MIPS_ABIFlags_v0): New structure.
28650         (EF_MIPS_FP64): Define.
28651         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28652         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28653         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28654         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28655         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28656         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28657         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28658         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28659         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28660         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28661         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28662         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28663         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28664         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28665         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28666         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28667         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28668         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28669         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28670         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28671         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28672         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28673         field.
28674         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28675         EF_MIPS_FP64.
28676         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28677         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28678         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28679         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28680         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28681         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28682         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28683         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28684         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28685         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28686         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28687         record the current FP ABI extension.
28688         (mips-mode-switch): Define to show if kernel headers support mode
28689         switching.
28690         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28691         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28692         supported SYSV ABI version to 3.
28693         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28694         feature.
28696 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28699         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28700         path.
28701         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28703 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28705         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28706         __fegetround and redefine to call __fegetround.  Remove condition
28707         on [!__NO_MATH_INLINES].
28708         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28709         function.
28710         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28712         Remove macro.
28713         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28714         instead of <fenv_libc.h>.
28715         (__llrintl): Call fegetround instead of __fegetround.
28716         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28717         instead of <fenv_libc.h>.
28718         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28719         (__lrintl): Call fegetround instead of __fegetround.
28720         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28721         instead of <fenv_libc.h>.
28722         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28723         (__rintl): Call fegetround instead of __fegetround.
28725 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28727         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28728         arrays.
28730 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28732         [BZ #17775]
28733         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28734         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28735         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28737 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28739         * sysdeps/i386/tls-macros.h: Include <features.h>.
28740         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28741         (TLS_IE): Likewise.
28742         (TLS_LD): Likewise.
28743         (TLS_GD): Likewise.
28744         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28745         define for GCC >= 5.0.
28747 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28749         * math/test-fenv.c (test_single_exception, set_single_exc,
28750         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28751         feexcp_mask_test, feenable_test, fe_single_test): Add
28752         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28753         case where they are not used.
28754         * math/libm-test.inc: Likewise.
28755         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28756         unused in the absence of FP rounding/exception support.
28757         * stdio-common/tst-printf-round.c: Likewise.
28758         * stdlib/tst-strtod-round.c: Likewise.
28759         * stdlib/tst-strtod-underflow.c: Likewise.
28761 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28763         [BZ #17723]
28764         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28765         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28766         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28767         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28768         libm_hidden_weak.
28769         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28770         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28771         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28772         libm_hidden_def.
28773         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28774         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28775         libm_hidden_weak.
28776         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28777         Likewise.
28778         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28779         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28780         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28781         libm_hidden_weak.
28782         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28783         libm_hidden_def.
28784         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28785         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28786         (__feraiseexcept): Likewise.
28787         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28788         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28789         libm_hidden_weak.
28790         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28791         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28792         libm_hidden_def.
28793         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28794         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28795         Use libm_hidden_def.
28796         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28797         libm_hidden_def.
28798         (feraiseexcept): Define as weak not strong alias.  Use
28799         libm_hidden_weak.
28800         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28801         New inline function.  Factored out of ...
28802         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28803         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28804         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28805         feraiseexcept.
28806         * math/w_acos.c (__acos): Likewise.
28807         * math/w_asin.c (__asin): Likewise.
28808         * math/w_ilogb.c (__ilogb): Likewise.
28809         * math/w_j0.c (y0): Likewise.
28810         * math/w_j1.c (y1): Likewise.
28811         * math/w_jn.c (yn): Likewise.
28812         * math/w_log.c (__log): Likewise.
28813         * math/w_log10.c (__log10): Likewise.
28814         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28815         * sysdeps/aarch64/fpu/math_private.h
28816         (libc_feupdateenv_test_aarch64): Likewise.
28817         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28818         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28819         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28820         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28821         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28822         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28823         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28824         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28825         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28826         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28828 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28830         [BZ #17732]
28831         * io/test-utime.c (main): Replace %ld with %jd and cast to
28832         intmax_t.
28833         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28834         * nptl/tst-mutex5.c: Include <stdint.h>.
28835         (do_test): Replace %ld with %jd and cast to intmax_t.
28836         * posix/tst-regex.c (run_test): Likewise.
28837         (run_test_backwards): Likewise.
28838         * rt/tst-clock.c: Include <stdint.h>.
28839         (clock_test): Replace %ld with %jd and cast to intmax_t.
28840         * rt/tst-cpuclock1.c: Include <stdint.h>.
28841         (do_test): Replace %lu with %ju and cast to uintmax_t.
28842         * rt/tst-cpuclock2.c: Include <stdint.h>.
28843         (do_test): Replace %lu with %ju and cast to uintmax_t.
28844         * rt/tst-mqueue1.c: Include <stdint.h>.
28845         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28846         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28847         intmax_t.
28848         * rt/tst-mqueue4.c (do_test): Likewise.
28849         * rt/tst-timer4.c: Include <stdint.h>.
28850         (check_ts): Replace %ld with %jd and cast to intmax_t.
28851         (do_test): Likewise.
28852         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28853         and cast to intmax_t.
28854         * sysdeps/pthread/tst-timer.c (main): Likewise.
28855         * time/clocktest.c (main): Likewise.
28856         * time/tst-posixtz.c (do_test): Likewise.
28857         * timezone/tst-timezone.c (main): Likewise.
28859 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28860             H.J. Lu  <hongjiu.lu@intel.com>
28862         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28863         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28864         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28865         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28866         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28867         version if bit_Fast_Unaligned_Load is set.
28868         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28869         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28870         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28871         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28872         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28873         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28875         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28876         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28877         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28878         to 4.
28879         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28880         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28881         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28882         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28884 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28886         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28887         instead of #if to avoid a Wundef warning.
28888         * stdlib/tst-limits.c (do_test): Likewise.
28890         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28891         parallel other exception macros.
28892         (fegetenv): Convert from macro to extern inline so that it applies
28893         retroactively to inline functions already seen by the compiler.
28894         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28896         * posix/Makefile (before-compile): Use $(objpfx) for
28897         posix-conf-vars-def.h.
28899 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28901         * posix/getconf.c (main): Use size_t for type of I.
28902         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28903         NSPEC.
28905         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28906         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28907         * posix/posix-envs.def: Likewise.
28908         * sysdeps/posix/sysconf.c: Likewise.
28909         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28910         (specs): Remove array.
28911         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28912         array.
28914         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28915         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28916         (__sysconf): Use CONF_IS_* macros.
28918         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28919         ($(objpfx)posix-conf-vars-def.h): New target.
28920         * posix/posix-conf-vars.list: New file.
28921         * posix/posix-conf-vars.h: New file.
28922         * posix/confstr.c: Include posix-conf-vars.h.
28923         (confstr): Use CONF_IS_* macros.
28924         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28925         CONF_IS_* macros.
28926         * scripts/gen-posix-conf-vars.awk: New file.
28928 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28930         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28931         fegetround): Add no-op macros to avoid linknamespace issues.
28933         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28934         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28936         * sysdeps/unix/sysv/linux/tile/sysdep.h
28937         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28938         assembly-specific section to avoid a redefinition warning.
28940         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28941         long before casting to pointer to avoid a cast warning.
28943 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28945         * sysdeps/tile/tilegx/Implies: New file.
28947 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28949         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28951 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28953         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28955 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28958         not define.
28959         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28960         <kernel-features.h>.
28961         (__utimes) [__NR_utimes]: Make code unconditional.
28962         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28963         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28964         (__ASSUME_UTIMES): Do not undefine.
28965         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28966         (__ASSUME_UTIMES): Likewise.
28967         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28968         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28969         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28970         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28972 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28974         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28976 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28978         [BZ #17747]
28979         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28980         alias to weak alias for j0l, y0l.
28981         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28982         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28984         [BZ #17746]
28985         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28986         conversion.
28988 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28990         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28991         to zero if not already defined.
28993 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #17724]
28996         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28997         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28998         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28999         (char *) casts added.
29000         * sysdeps/ieee754/k_standardf.c: New file.
29001         * sysdeps/ieee754/k_standardl.c: Likewise.
29002         * math/Makefile (libm-support): Remove k_standard.
29003         (libm-calls): Add k_standard.
29005 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29007         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29008         Optimize to avoid an unnecessary FPCR read.
29010 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29012         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29013         Optimize to reduce FPCR/FPSR accesses.
29015 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29017         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29018         Call libc_fetestexcept_aarch64.
29020 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29022         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29023         Call libc_fesetround_aarch64.
29025 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29027         [BZ #17733]
29028         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29029         (__bind): Do not define as weak alias.
29030         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29031         define.
29032         (__getsockname): Do not define as weak alias.
29034 2014-12-22  Will Newton  <will.newton@linaro.org>
29036         * manual/install.texi: Document that we require bison 2.7
29037         or above.
29038         * INSTALL: Regenerate.
29039         * configure.ac: Use AC_CHECK_PROG_VER instead of
29040         AC_PATH_PROG when checking for bison and check for
29041         version 2.7 or above.
29042         * configure: Regenerate.
29044 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29046         [BZ #17745]
29047         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29048         * sysdeps/tile/ffsll.c (ffsll): To here.
29050         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29052 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29054         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29055         if not defined.
29056         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29057         definition.
29058         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29059         hidden ___tls_get_addr.
29060         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29061         hidden __tls_get_addr.
29062         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29063         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29064         Likewise.
29066 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29068         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29069         _dl_init call.
29071 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29073         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29074         from "call _dl_init@PLT".
29075         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29077 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29079         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29080         guarantees.
29082 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29084         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29086 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29088         [BZ #17744]
29089         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29090         strnlen.
29092 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29094         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29095         of multu on MIPSr6.
29096         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29097         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29098         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29099         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29100         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29102 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29104         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29105         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29106         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29107         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29108         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29109         mips32r6/mips64r6.
29110         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29112 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29114         * string/strncat.c (STRNCAT): Simplify implementation.
29116 2014-12-19  David S. Miller  <davem@davemloft.net>
29118         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29119         access the quad as both a long double and as a series of 4 words.
29121         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29122         link_map->l_info array access.
29124 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29126         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29128         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29129         * math/atest-exp2.c (TIMEOUT): Likewise.
29130         * math/atest-sincos.c (TIMEOUT): Likewise.
29132 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29134         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29135         -Wno-error with -fno-builtin-lround.
29137 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29139         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29140         Contains futex constants and functions moved over from ...
29141         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29142         <lowlevellock-futex.h>.
29143         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29144         (lll_timedwait_tid): Add comments and parentheses around macro
29145         arguments.
29147 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29150         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29151         (__lll_private_flag): Remove.
29152         (lll_futex_wait): Likewise.
29153         (lll_futex_timed_wait): Likewise.
29154         (lll_futex_wake): Likewise.
29155         (lll_futex_requeue): Likewise.
29156         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29157         (__lll_timedwait_tid): Spell out argument names.
29158         (lll_timedwait_tid): Add comments and parentheses around macro
29159         arguments.
29160         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29161         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29163 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29165         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29166         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29168         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29169         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29170         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29171         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29172         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29173         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29174         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29177         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29179         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29180         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29181         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29182         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29183         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29185 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29187         * sysdeps/x86_64/x32/Makefile: New file.
29189 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29191         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29192         1L with (mp_limb_t) 1.
29194 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29196         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29197         * nptl/libc_pthread_init.c: ... here.
29198         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29199         * nptl/register-atfork.c: ... here.
29201         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29202         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29203         Use assert_perror to check its return value.
29204         (__gai_create_helper_thread): Likewise.
29206         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29208         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29210 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29212         [BZ #17725]
29213         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29214         __profil_counter.
29215         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29216         Likewise.
29217         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29218         Likewise.
29219         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29220         Likewise.
29221         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29222         (profil_counter): Likewise.
29223         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29224         (profil_counter): Likewise.
29225         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29226         Likewise.
29227         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29228         Likewise.
29229         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29230         (profil_counter): Likewise.
29231         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29232         Likewise.
29233         [!__profil_counter] (profil_counter): Define as weak alias of
29234         __profil_counter.
29235         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29236         (profil_counter): Rename to __profil_counter.
29237         [!__profil_counter] (profil_counter): Define as weak alias of
29238         __profil_counter.
29239         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29240         (profil_counter): Rename to __profil_counter.
29241         [!__profil_counter] (profil_counter): Define as weak alias of
29242         __profil_counter.
29243         * sysdeps/posix/profil.c: Update comment referring to
29244         profil_counter.
29245         (__profil): Use __profil_counter instead of profil_counter.
29246         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29247         __profil_counter.  Use __profil_counter_ushort and
29248         __profil_counter_uint in definitions.
29249         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29250         instead of profil_counter_uint and profil_counter_ushort.
29252         [BZ #17722]
29253         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29254         define as weak alias of __inet_makeaddr.
29255         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29256         as weak alias of __inet_addr.
29257         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29258         as weak alias of __inet_pton.  Use libc_hidden_weak.
29259         * include/arpa/inet.h (__inet_pton): Declare.  Use
29260         libc_hidden_proto.
29261         (inet_makeaddr): Don't use libc_hidden_proto.
29262         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29263         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29264         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29265         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29266         Remove variable.
29267         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29268         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29270 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29272         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29274 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29276         * stdio-common/bug-vfprintf-nargs.c (do_test):
29277         Cast value to intptr_t to avoid format warning
29278         for usage with PRIdPTR printing macro.
29280 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29282         * libio/tst-widetext.c (do_test):
29283         Use format type %td instead of %Zd for ptrdiff_t
29284         in order to avoid format warning.
29286 2014-12-17  Andreas Schwab  <schwab@suse.de>
29288         * nscd/mem.c (gc): Add size_t cast to match printf format.
29290 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29292         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29293         (init): Apply PTR_MANGLE to pointers before storing them.
29294         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29295         before using them.
29297 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29299         [BZ #17719]
29300         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29301         define as weak alias of __memrchr.
29302         (__memrchr): Do not define as strong alias of memrchr.
29303         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29304         Remove variable.
29305         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29306         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29307         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29309         [BZ #17717]
29310         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29311         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29312         (if_indextoname): Rename to __if_indextoname and define as weak
29313         alias of __if_indextoname.  Use libc_hidden_weak.
29314         (if_freenameindex): Rename to __if_freenameindex and define as
29315         weak alias of __if_freenameindex.
29316         (if_nameindex): Rename to __if_nameindex and define as weak alias
29317         of __if_nameindex.
29318         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29319         __if_nametoindex and define as weak alias of __if_nametoindex.
29320         Use libc_hidden_weak.
29321         (if_freenameindex): Rename to __if_freenameindex and define as
29322         weak alias of __if_freenameindex.
29323         (if_nameindex): Rename to __if_nameindex and define as weak alias
29324         of __if_nameindex.
29325         (if_indextoname): Rename to __if_indextoname and define as weak
29326         alias of __if_indextoname.  Use libc_hidden_weak.
29327         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29328         __if_nametoindex and define as weak alias of __if_nametoindex.
29329         Use libc_hidden_weak.
29330         (if_freenameindex): Rename to __if_freenameindex and define as
29331         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29332         (if_nameindex_netlink): Use __if_freenameindex instead of
29333         if_freenameindex.
29334         (if_nameindex): Rename to __if_nameindex and define as weak alias
29335         of __if_nameindex.  Use libc_hidden_weak.
29336         (if_indextoname): Rename to __if_indextoname and define as weak
29337         alias of __if_indextoname.  Use libc_hidden_weak.
29338         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29339         libc_hidden_proto.
29340         [!_ISOMAC] (__if_freenameindex): Likewise.
29341         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29342         if_nametoindex.
29343         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29344         variable.
29345         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29346         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29347         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29348         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29349         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29350         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29351         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29353         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29354         Remove variable.
29355         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29356         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29358 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29360         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29361         subscript above bounds'
29363         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29364         bounds.
29366 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29368         * libio/tst-fopenloc.c: Use test-skeleton.c.
29370         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29371         (entry): Rename to ITEM.
29372         (do_test, comp): Adjust.
29374         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29376 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29378         * string/tester.c: Include <libc-internal.h>.
29379         (test_memset): Ignore -Wmemset-transposed-args.
29381 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29383         * misc/tst-mntent2.c (do_test): Fix warning.
29385 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29387         * elf/tst-unique4lib.cc(a): Mark as used.
29389 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29391         [BZ #17630]
29392         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29393         names.
29395 2014-12-16  Allan McRae  <allan@archlinux.org>
29397         * stdio-common/Makefile (tests): Re-add bug26.
29399 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29401         [BZ #17657]
29402         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29403         static array.
29405 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29407         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29408         (__lll_lock_wait): Likewise.
29409         (__lll_timedlock_wait): Likewise.
29410         (__lll_timedwait_tid): Likewise.
29411         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29412         (__lll_robust_timedlock_wait): Likewise.
29413         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29414         (lll_cond_trylock): Likewise.
29415         (__lll_lock): Likewise.
29416         (__lll_robust_lock): Likewise.
29417         (__lll_cond_lock): Likewise.
29418         (lll_robust_cond_lock): Likewise.
29419         (__lll_timedlock): Likewise.
29420         (__lll_robust_timedlock): Likewise.
29421         (__lll_unlock): Likewise.
29422         (__lll_robust_unlock): Likewise.
29423         (lll_wait_tid): Likewise.
29424         (lll_timedwait_tid): Likewise.
29426 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29428         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29430 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29432         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29434 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29436         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29437         * stdio-common/tst-sprintf.c: Likewise.
29439 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29441         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29443 2014-12-15  Jeff Law  <law@redhat.com>
29445         [BZ #16617]
29446         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29447         on the heap.  (CVE-2012-3406)
29448         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29449         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29450         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29452 2014-12-15  Will Newton  <will.newton@linaro.org>
29454         * manual/install.texi: Bump required version of texinfo
29455         to 4.7 from 4.5.
29456         * INSTALL: Regenerated.
29457         * configure.ac: Check for makeinfo version 4.7 and above.
29458         * configure: Regenerated.
29460 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29462         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29463         PREFIX, string constant to insert between directory and name.
29464         * sysdeps/posix/shm_open.c: Update caller.
29465         * sysdeps/posix/shm_unlink.c: Likewise.
29466         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29467         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29468         (SEM_SHM_PREFIX): New macro.
29469         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29470         [$(have-thread-library) = no].
29471         * nptl/Makefile (libpthread-routines): Add shm-directory.
29472         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29473         * sysdeps/nptl/shm-directory.h: New file.
29474         * sysdeps/posix/shm-directory.c
29475         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29476         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29477         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29478         INTERNAL_SYSCALL.
29479         (__where_is_shmfs): Function removed.
29480         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29481         Variables removed.
29482         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29483         Use SHM_GET_NAME.
29484         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29486         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29487         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29488         unconditional for use inside libpthread.
29489         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29491 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29493         * nptl/pthread_getaffinity.c: New file.
29494         * nptl/pthread_setaffinity.c: New file.
29495         * nptl/pthread_getname.c: New file.
29496         * nptl/pthread_setname.c: New file.
29498         * nptl/pthread_create.c (START_THREAD_DEFN)
29499         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29501 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29502             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29504         * resolv/res_send.c (send_vc): Disable warning resplen may
29505         be used uninitialized.
29507 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29509         * nptl/tst-mutex6.c
29510         (ATTR_NULL): New define checks ATTR against NULL.
29511         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29512         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29514 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29516         [BZ #17581]
29517         * malloc/hooks.c
29518         (mem2mem_check): Revert my previous change.
29519         (malloc_check_get_size): Revert my previous change.
29520         (mem2chunk_check): Revert my previous change.
29522 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29524         * sysdeps/posix/shm-directory.c: New file.
29525         * sysdeps/posix/shm-directory.h: New file.
29526         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29527         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29528         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29529         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29530         Transmute EPERM to EACCES.
29531         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29532         from ...
29533         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29534         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29536 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29538         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29539         pointer and cast to uintptr_t.
29540         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29541         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29542         Add cast to avoid warning.
29543         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29545 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29547         * nptl/semaphore.h: Move to ...
29548         * sysdeps/pthread/semaphore.h: ... here.
29549         * Makefile (installed-headers): Change nptl/semaphore.h to
29550         sysdeps/pthread/semaphore.h.
29552 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29554         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29555         generated error format strings.
29557         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29558         -Wformat-extra-args warnings for scanf formats.
29559         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29560         test of zero-length format (duh).
29561         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29562         corner-case scanf format test.
29563         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29564         generated fprintf format string.
29565         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29566         corner-case sprintf format tests.
29567         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29568         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29569         -Wformat-extra-args warnings throughout.
29570         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29571         (CFLAGS-scanf4.c): Likewise.
29572         (CFLAGS-scanf7.c): Likewise.
29573         (CFLAGS-tst-sprintf.c): Likewise.
29574         (CFLAGS-tst-printf.c): Likewise.
29575         (CFLAGS-tst-printfsz.c): Likewise.
29577 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29579         * include/cpio.h: New file.
29580         * include/fmtmsg.h: Likewise.
29582         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29583         corresponding format argument to size_t.
29584         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29585         arguments.
29586         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29587         corresponding format argument to size_t.
29588         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29589         arguments.
29590         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29591         corresponding format argument to size_t.
29592         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29593         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29594         (CFLAGS-tst-mbswcs2.c): Likewise.
29595         (CFLAGS-tst-mbswcs3.c): Likewise.
29596         (CFLAGS-tst-mbswcs4.c): Likewise.
29597         (CFLAGS-tst-mbswcs5.c): Likewise.
29598         (CFLAGS-tst-trans.c): Likewise.
29600 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29602         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29603         rather than assuming they won't contain any '%'s.
29605 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29607         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29608         inhibit_loop_to_libcall to avoid recursive calls.
29609         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29610         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29612 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29614         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29615         prototype.
29617 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29619         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29620         integer value instead of boolean.
29622 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29624         * malloc/malloc.c: Fix powerof2 check.
29626 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29628         * locale/programs/locfile.h (maybe_swap_uint32):
29629         Remove inline and add unused attribute.
29631 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29633         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29634         Truncating assembler expression to a .long expression.
29636 2014-12-11  Andreas Schwab  <schwab@suse.de>
29638         * elf/rtld.c (struct map_args): Constify str member.
29639         (do_preload): Constify fname argument.
29641 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29643         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29644         constants definition.
29646 2014-12-11  Andreas Schwab  <schwab@suse.de>
29648         [BZ #16657]
29649         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29650         FORCE_ELISION instead of DO_ELISION.
29651         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29652         Remove.
29653         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29654         Likewise.
29656         * iconvdata/gconv-modules: Remove duplicate entry.
29658 2014-12-11  Will Newton  <will.newton@linaro.org>
29660         Merge gettext 0.19.3 into intl/.
29662         This involves a number of cosmetic changes to comments
29663         and ANSI function definitions and prototypes throughout
29664         all the files. The gettext copyright header is used but
29665         with the date ranges taken from the glibc copy.
29667         * NEWS: Add gettext merge to 2.21.
29668         * intl/bindtextdom.c: Switch to gettext copyright.
29669         Use ANSI definitions and prototypes.
29670         Use gl_* locking primitives rather than __libc_* ones.
29671         Use __builtin_expect rather than __glibc_likely/unlikely.
29672         * intl/dcgettext.c: Switch to gettext copyright.
29673         Use ANSI definitions and prototypes.
29674         * intl/dcigettext.c: Switch to gettext copyright.
29675         Use ANSI definitions and prototypes.
29676         (INTDIV0_RAISES_SIGFPE): New define.
29677         Use gl_* locking primitives rather than __libc_* ones.
29678         Include eval-plural.h instead of plural-eval.c.
29679         Use __builtin_expect rather than __glibc_likely/unlikely.
29680         * intl/dcngettext.c: Switch to gettext copyright.
29681         Use ANSI definitions and prototypes.
29682         * intl/dgettext.c: Likewise.
29683         * intl/dngettext.c: Likewise.
29684         * intl/plural-eval.c: Renamed to...
29685         * intl/eval-plural.h: ...this.
29686         * intl/explodename.c: Switch to gettext copyright.
29687         Use ANSI definitions and prototypes.
29688         (_nl_explode_name): Use strchr instead of __rawmemchr.
29689         * intl/finddomain.c: Switch to gettext copyright.
29690         Use ANSI definitions and prototypes.
29691         Use gl_* locking primitives rather than __libc_* ones.
29692         (_nl_find_domain): Use malloc rather than alloca for
29693         allocation of temporary locale name.
29694         * intl/gettext.c: Switch to gettext copyright.
29695         Use ANSI definitions and prototypes.
29696         * intl/gettextP.h: Switch to gettext copyright.
29697         Use ANSI definitions and prototypes.
29698         Use gl_* locking primitives rather than __libc_* ones.
29699         * intl/gmo.h: Switch to gettext copyright.
29700         (struct sysdep_string): Move struct segment_pair outside of
29701         struct definition.
29702         * intl/hash-string.c: Use ANSI definitions and prototypes.
29703         * intl/hash-string.h: Switch to gettext copyright.
29704         Use ANSI definitions and prototypes.
29705         * intl/l10nflist.c: Switch to gettext copyright.
29706         Use ANSI definitions and prototypes.
29707         (_nl_normalize_codeset): Avoid integer overflow.
29708         * intl/loadinfo.h: Switch to gettext copyright.
29709         Use ANSI definitions and prototypes.
29710         (LIBINTL_DLL_EXPORTED): New define.
29711         (PATH_SEPARATOR): New define.
29712         * intl/loadmsgcat.c: Switch to gettext copyright.
29713         * intl/localealias.c: Switch to gettext copyright.
29714         Use ANSI definitions and prototypes.
29715         (_nl_expand_alias): Use PATH_SEPARATOR.
29716         * intl/ngettext.c: Switch to gettext copyright.
29717         Use ANSI definitions and prototypes.
29718         * intl/plural-exp.c: Likewise.
29719         * intl/plural-exp.h: Switch to gettext copyright.
29720         Use ANSI definitions and prototypes.
29721         (struct expression): Move definition of enum operator outside
29722         of struct definition.
29723         * intl/plural.c: Regenerate.
29724         * intl/plural.y: Switch to gettext copyright.
29725         Use ANSI definitions and prototypes.
29726         Port to bison 3.0.
29727         * intl/textdomain.c: Switch to gettext copyright.
29728         Use ANSI definitions and prototypes.
29729         Use gl_* locking primitives rather than __libc_* ones.
29731 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29733         * debug/warning-nop.c: Add used atrribute.
29735 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29737         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29739         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29740         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29741         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29743 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29744             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29746         [BZ #17634]
29747         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29748         Undefine after defining function.  Define as weak alias of
29749         __wcschr.  Use libc_hidden_weak.
29750         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29751         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29752         (libc_hidden_def): Also define __GI___wcschr alias.
29753         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29754         __wcschr and define as weak alias of __wcschr.
29755         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29756         __wcschr.
29757         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29758         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29759         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29760         libc_hidden_weak.  Do not use libc_hidden_def.
29761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29762         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29763         __GI___wcschr alias.
29764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29765         [IS_IN (libc)] (wcschr): Define as macro expanding to
29766         __redirect_wcschr.
29767         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29768         [IS_IN (libc)] (__wcschr_power6): Likewise.
29769         [IS_IN (libc)] (__wcschr_power7): Likewise.
29770         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29771         instead of wcschr.
29772         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29773         __libc_wcschr.
29774         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29775         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29776         __wcschr and define as weak alias of __wcschr.  Use
29777         libc_hidden_builtin_def.
29778         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29779         as weak alias of __wcschr.  Use libc_hidden_weak.
29780         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29781         wcschr.
29782         * time/era.c (_nl_init_era_entries): Likewise.
29783         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29784         variable.
29785         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29786         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29788 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29790         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29791         format for long int variable.
29793 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29795         [BZ #10672]
29796         * manual/search.texi: (Array Sort Function): Remove claim how to make
29797         qsort stable.
29799 2014-12-10  Andreas Schwab  <schwab@suse.de>
29801         [BZ #12847]
29802         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29803         user-controlled locks.
29805 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29807         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29808         register.
29810 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29812         * configure.ac (--disable-werror): New configure option.
29813         (enable_werror): New AC_SUBST.
29814         * configure: Regenerated.
29815         * config.make.in (enable-werror): New variable.
29816         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29817         -Wno-error=undef.
29818         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29819         * manual/install.texi (Configuring and compiling): Document
29820         --disable-werror.
29821         * INSTALL: Regenerated.
29822         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29823         (CFLAGS-tst-chk2.c): Likewise.
29824         (CFLAGS-tst-chk3.c): Likewise.
29825         (CFLAGS-tst-chk4.cc): Likewise.
29826         (CFLAGS-tst-chk5.cc): Likewise.
29827         (CFLAGS-tst-chk6.cc): Likewise.
29828         (CFLAGS-tst-lfschk1.c): Likewise.
29829         (CFLAGS-tst-lfschk2.c): Likewise.
29830         (CFLAGS-tst-lfschk3.c): Likewise.
29831         (CFLAGS-tst-lfschk4.cc): Likewise.
29832         (CFLAGS-tst-lfschk5.cc): Likewise.
29833         (CFLAGS-tst-lfschk6.cc): Likewise.
29835         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29836         (main): Disable -Wdeprecated-declarations around calls to
29837         register_printf_function.
29839         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29840         (do_test): Disable -Wdiv-by-zero around some calls to
29841         fwrite_unlocked and fread_unlocked.
29843         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29844         (DIAG_POP_NEEDS_COMMENT): Likewise.
29845         (_DIAG_STR1): Likewise.
29846         (_DIAG_STR): Likewise.
29847         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29848         * stdio-common/bug21.c: Include <libc-internal.h>.
29849         (do_test): Disable -Wformat around call to sscanf.
29850         * stdio-common/scanf14.c: Include <libc-internal.h>.
29851         (main): Disable -Wformat around some calls to scanf functions.
29853 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29855         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29857 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29859         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29860         stack variable alignment.
29862 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29864         [BZ #17682]
29865         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29866         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29867         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29868         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29869         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29870         __getrlimit instead of getrlimit.
29871         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29872         __gettimeofday instead of gettimeofday.
29873         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29874         Likewise.
29875         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29876         Likewise.
29877         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29878         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29879         Remove variable.
29880         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29881         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29883 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29885         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29886         for wide-character tests.
29888 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29890         * io/openat64.c: #include <libc-internal.h>
29891         (__openat64): Prototypify.  Use ignore_value on MODE.
29892         * io/openat.c: Likewise.
29893         * misc/reboot.c: #include <libc-internal.h>
29894         (reboot): Prototypify.  Use ignore_value on HOWTO.
29895         * misc/ptrace.c: #include <libc-internal.h>
29896         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29898 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29900         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29901         XPG4, UNIX98 and XOPEN2K.
29902         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29903         Remove variable.
29904         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29906 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29908         * libio/fileops.c: Use ISO C style for function definitions.
29909         * libio/iofopen.c: Likewise.
29910         * libio/wfileops.c: Likewise.
29912         [BZ #17653]
29913         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29914         offset on EOF.
29915         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29916         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29917         (fgets_func): Function pointer to fgets and fgetws.
29918         (do_ftell_test): Add test to verify ftell value after read
29919         EOF.
29920         (do_test): Set fgets_func.
29922         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29923         O_TRUNC flag for w and w+ modes.
29924         (do_rewind_test): Likewise.
29925         (do_ftell_test): Likewise.
29926         (do_write_test): Likewise.
29928         [BZ #17647]
29929         * libio/fileops.c (do_ftell): Seek only when there are
29930         unflushed writes.
29931         * libio/wfileops.c (do_ftell_wide): Likewise.
29932         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29933         test case.
29934         (do_one_test): Call it.
29936 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29938         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29939         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29940         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29941         Remove variable.
29942         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29943         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29944         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29946 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29948         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29949         Remove variable.
29950         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29952         [BZ #17668]
29953         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29954         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29955         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29956         __freeifaddrs.  Use libc_hidden_weak.
29957         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29958         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29959         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29960         __freeifaddrs.  Use libc_hidden_weak.
29961         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29962         __getifaddrs and define as weak alias of __getifaddrs.  Use
29963         libc_hidden_weak.
29964         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29965         __freeifaddrs.  Use libc_hidden_weak.
29966         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29967         Remove variable.
29968         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29969         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29971 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29973         [BZ #17601]
29974         * sysdeps/mips/start.S (__start): Use indirect jump to call
29975         __libc_start_main.
29977 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29979         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29981         * nptl/tst-mutex1.c: Include <stdbool.h>.
29982         [!ATTR] (ATTR_NULL): New macro.
29983         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29984         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29985         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29987         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29988         to char *.
29990         [BZ #17665]
29991         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29992         Change conditional to [__USE_MISC].
29994         [BZ #17664]
29995         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29996         fgets_unlocked.
29997         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29998         __fgets_unlocked.
29999         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30000         fgets_unlocked.
30001         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30002         Remove variable.
30003         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30004         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30005         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30006         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30007         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30008         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30009         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30010         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30011         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30013         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30015 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30018         Remove strpbrk objects.
30019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30020         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30021         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30022         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30023         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30024         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30027         Remove strcspn objects.
30028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30029         (__libc_ifunc_impl_list): Remove strcspn implementation.
30030         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30031         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30032         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30033         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30036         Remove strspn objetcs.
30037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30038         (__libc_ifunc_impl_list): Remove strspn implementation.
30039         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30040         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30041         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30042         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30044 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30046         [BZ #17581]
30047         * malloc/hooks.c
30048         (mem2mem_check): Add a terminator to the chain of checking blocks.
30049         (malloc_check_get_size): Use it here.
30050         (mem2chunk_check): Ditto.
30052 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30054         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30055         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30057 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30059         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30061         * nptl/nptl-init.c: Include libc-internal.h.
30062         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30064         * elf/ldconfig.c (search_dir): Expand comment.
30066 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30068         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30069         variable.
30070         (linknamespace-symlist-stdlibs-tests): Likewise.
30071         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30072         instead of $(objpfx)symlist-stdlibs.
30073         (linknamespace-libs-isoc): New variable.
30074         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30075         (linknamespace-libs-ISO): New variable.
30076         (linknamespace-libs-ISO99): Likewise.
30077         (linknamespace-libs-ISO11): Likewise.
30078         (linknamespace-libs-XPG3): Likewise.
30079         (linknamespace-libs-XPG4): Likewise.
30080         (linknamespace-libs-POSIX): Likewise.
30081         (linknamespace-libs-UNIX98): Likewise.
30082         (linknamespace-libs-XOPEN2K): Likewise.
30083         (linknamespace-libs-POSIX2008): Likewise.
30084         (linknamespace-libs-XOPEN2K8): Likewise.
30085         ($(objpfx)symlist-stdlibs): Replace by
30086         $(linknamespace-symlist-stdlibs-tests).  Use
30087         $(linknamespace-libs-$*) as set of libraries.
30088         ($(linknamespace-header-tests)): Update dependencies.  Use
30089         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30090         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30091         * conform/linknamespace.pl: Remove comment about considering
30092         definitions of symbols from irrelevant libraries.
30094 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30096         [BZ #13862]
30097         * elf/dl-tls.c: Include <atomic.h>.
30098         (oom): Remove #ifdef SHARED/#endif.
30099         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30100         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30101         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30102         big enough.
30103         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30104         * nptl/Makefile (tests): Add tst-stack4.
30105         (modules-names): Add tst-stack4mod.
30106         ($(objpfx)tst-stack4): New.
30107         (tst-stack4mod.sos): Likewise.
30108         ($(objpfx)tst-stack4.out): Likewise.
30109         ($(tst-stack4mod.sos)): Likewise.
30110         (clean): Likewise.
30111         * nptl/tst-stack4.c: New file.
30112         * nptl/tst-stack4mod.c: Likewise.
30114 2014-11-27  J. Brown  <jb999@gmx.de>
30116         * sysdeps/x86/bits/string.h: Add recent CPUs.
30118 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30120         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30121         sigblock.
30123         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30124         feof.
30126         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30127         variable.
30129 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30131         * nscd/connections.c: Include libc-internal.h because of macro
30132         usage ignore_value.
30134 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30136         * string/bits/string3.h (__warn_memset_zero_len): Don't
30137         declare for gcc newer than 5.0.
30138         (memset): Don't test for zero-length __LEN for gcc newer than
30139         5.0.
30141 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30143         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30144         size_t for %zu format.
30146         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30147         difference, not %ju.
30149 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30151         * include/libc-internal.h (ignore_value): New macro.
30152         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30153         with ignore_value.
30155         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30156         definition.
30158         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30159         pthread_cleanup_push to void *.
30161         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30162         Undefine.
30164         [BZ #16619]
30165         [BZ #16740]
30166         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30167         instead of 1L << 52.
30169         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30170         * libio/bug-rewind2.c (do_test): Likewise.
30172         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30173         * debug/test-strcpy_chk-ifunc.c: Likewise.
30174         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30175         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30176         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30177         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30178         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30179         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30180         * Rules [$(multi-arch) = no] (tests): Do not filter out
30181         $(tests-ifunc).
30182         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30183         * debug/Makefile (tests-ifunc): Remove variable.
30184         (tests): Do not add $(tests-ifunc).
30185         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30186         (tests): Do not add $(tests-ifunc).
30187         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30188         [TEST_IFUNC]: Remove conditionals.
30189         * string/test-string.h (TEST_IFUNC): Remove macro.
30190         [TEST_IFUNC]: Remove conditionals.
30192         * string/test-strchr.c [!WIDE] (L): New macro.
30193         [WIDE] (L): Likewise.
30194         (check1): Use CHAR instead of char.  Use L on string and character
30195         constants.
30197 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30199         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30200         tests.
30201         * sysdeps/powerpc/bits/atomic.h
30202         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30203         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30204         (atomic_exchange_and_add_acq): Likewise.
30205         (atomic_exchange_and_add_rel): Likewise.
30206         * sysdeps/powerpc/powerpc32/bits/atomic.h
30207         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30208         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30209         * sysdeps/powerpc/powerpc64/bits/atomic.h
30210         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30211         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30213 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30215         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30216         Change synchronization of __sched_fifo_min_prio and
30217         __sched_fifo_max_prio.
30218         * nptl/pthread_mutexattr_getprioceiling.c
30219         (pthread_mutexattr_getprioceiling): Likewise.
30220         * nptl/pthread_mutexattr_setprioceiling.c
30221         (pthread_mutexattr_setprioceiling): Likewise.
30222         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30223         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30224         Likewise.
30226 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30228         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30229         void.
30231 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30233         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30234         third argument const.
30236 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30238         fnmatch: work around GCC compiler warning bug with uninit var
30239         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30240         This works around a bug with x86-64 GCC 4.9.2 and earlier
30241         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30242         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30243         used uninitialized in this function [-Wmaybe-uninitialized]".
30245 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30247         * posix/bug-regex31.c (main): Return RES not 0.
30249 2014-11-25  Anton Blanchard <anton@samba.org>
30251         * sysdeps/powerpc/bits/atomic.h
30252         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30254 2014-11-24  Sterling Augustine  <saugustine@google.com>
30256         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30258 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30260         [BZ #17608]
30261         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30263 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30265         [BZ #17633]
30266         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30267         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30268         variable.
30269         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30270         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30272 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30274         * string/strncpy.c (strncpy): Improve performance by using memset.
30276 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30278         * string/strcpy.c (strcpy):
30279         Improve performance by using strlen and memcpy.
30281 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30283         * string/strcoll_l.c (get_next_seq): __always_inline.
30284         * string/strcoll_l.c (do_compare): __always_inline.
30286 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30288         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30289         defined.
30290         * include/mqueue.h: Likewise.
30291         * include/stdlib.h: Likewise.
30293         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30294         (get_null_defines): Adjust.
30295         * sunrpc/Makefile: Adjust comment.
30296         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30297         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30298         (CFLAGS-interp.c): Likewise.
30299         (CFLAGS-ldconfig.c): Likewise.
30300         (CPPFLAGS-.os): Likewise.
30301         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30302         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30303         * extra-modules.mk (extra-modules.mk): Likewise.
30304         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30305         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30306         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30307         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30308         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30309         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30310         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30311         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30312         * iconvdata/Makefile (CPPFLAGS): Likewise.
30313         (cpp-srcs-left): Add libof for all iconvdata routines.
30314         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30315         * include/assert.h: Likewise.
30316         * include/ctype.h: Likewise.
30317         * include/errno.h: Likewise.
30318         * include/libc-symbols.h: Likewise.
30319         * include/math.h: Likewise.
30320         * include/netdb.h: Likewise.
30321         * include/resolv.h: Likewise.
30322         * include/stdio.h: Likewise.
30323         * include/stdlib.h: Likewise.
30324         * include/string.h: Likewise.
30325         * include/sys/stat.h: Likewise.
30326         * include/wctype.h: Likewise.
30327         * intl/l10nflist.c: Likewise.
30328         * libidn/idn-stub.c: Likewise.
30329         * libio/libioP.h: Likewise.
30330         * nptl/libc_multiple_threads.c: Likewise.
30331         * nptl/pthreadP.h: Likewise.
30332         * posix/regex_internal.h: Likewise.
30333         * resolv/res_hconf.c: Likewise.
30334         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30335         * sysdeps/arm/memmove.S: Likewise.
30336         * sysdeps/arm/sysdep.h: Likewise.
30337         * sysdeps/generic/_itoa.h: Likewise.
30338         * sysdeps/generic/symbol-hacks.h: Likewise.
30339         * sysdeps/gnu/errlist.awk: Likewise.
30340         * sysdeps/gnu/errlist.c: Likewise.
30341         * sysdeps/i386/i586/memcpy.S: Likewise.
30342         * sysdeps/i386/i586/memset.S: Likewise.
30343         * sysdeps/i386/i686/memcpy.S: Likewise.
30344         * sysdeps/i386/i686/memmove.S: Likewise.
30345         * sysdeps/i386/i686/mempcpy.S: Likewise.
30346         * sysdeps/i386/i686/memset.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30364         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30394         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30399         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30402         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30405         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30408         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30409         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30410         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30411         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30412         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30413         * sysdeps/posix/closedir.c: Likewise.
30414         * sysdeps/posix/opendir.c: Likewise.
30415         * sysdeps/posix/readdir.c: Likewise.
30416         * sysdeps/posix/rewinddir.c: Likewise.
30417         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30418         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30419         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30420         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30421         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30422         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30423         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30424         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30428         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30429         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30430         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30431         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30433         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30434         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30435         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30436         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30438         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30439         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30440         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30444         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30445         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30452         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30453         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30455         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30456         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30457         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30458         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30459         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30460         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30461         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30462         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30463         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30464         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30465         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30466         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30467         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30470         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30472         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30473         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30474         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30475         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30476         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30477         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30478         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30479         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30480         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30481         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30482         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30483         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30484         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30485         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30486         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30487         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30488         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30489         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30490         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30491         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30492         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30493         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30494         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30495         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30496         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30497         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30498         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30499         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30501         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30502         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30503         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30504         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30505         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30506         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30507         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30508         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30509         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30511         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30512         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30513         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30515         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30516         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30517         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30518         * sysdeps/unix/alpha/sysdep.S: Likewise.
30519         * sysdeps/unix/alpha/sysdep.h: Likewise.
30520         * sysdeps/unix/make-syscalls.sh: Likewise.
30521         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30523         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30524         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30525         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30526         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30527         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30528         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30529         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30530         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30531         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30532         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30534         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30535         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30536         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30537         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30538         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30539         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30540         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30541         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30542         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30543         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30544         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30545         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30546         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30547         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30550         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30551         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30555         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30558         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30559         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30560         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30561         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30562         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30563         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30564         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30565         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30570         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30571         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30572         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30573         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30574         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30575         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30576         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30577         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30579         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30580         * sysdeps/x86_64/memcpy.S: Likewise.
30581         * sysdeps/x86_64/memmove.c: Likewise.
30582         * sysdeps/x86_64/memset.S: Likewise.
30583         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30584         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30585         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30586         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30587         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30590         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30591         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30592         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30593         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30594         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30595         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30596         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30597         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30598         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30599         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30600         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30601         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30602         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30603         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30604         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30605         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30606         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30607         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30608         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30609         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30610         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30611         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30612         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30613         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30614         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30615         * sysdeps/x86_64/strcmp.S: Likewise.
30617         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30619         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30620         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30621         * elf/rtld-Rules: Likewise.
30622         * elf/setup-vdso.h: Likewise.
30623         * include/assert.h: Likewise.
30624         * include/bits/stdlib-float.h: Likewise.
30625         * include/errno.h: Likewise.
30626         * include/sys/stat.h: Likewise.
30627         * include/unistd.h: Likewise.
30628         * sysdeps/aarch64/setjmp.S: Likewise.
30629         * sysdeps/alpha/setjmp.S: Likewise.
30630         * sysdeps/arm/__longjmp.S: Likewise.
30631         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30632         * sysdeps/arm/setjmp.S: Likewise.
30633         * sysdeps/arm/sysdep.h: Likewise.
30634         * sysdeps/generic/_itoa.h: Likewise.
30635         * sysdeps/generic/dl-sysdep.h: Likewise.
30636         * sysdeps/generic/ldsodefs.h: Likewise.
30637         * sysdeps/i386/dl-tls.h: Likewise.
30638         * sysdeps/i386/setjmp.S: Likewise.
30639         * sysdeps/m68k/setjmp.c: Likewise.
30640         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30641         * sysdeps/mach/hurd/opendir.c: Likewise.
30642         * sysdeps/posix/getcwd.c: Likewise.
30643         * sysdeps/posix/opendir.c: Likewise.
30644         * sysdeps/posix/profil.c: Likewise.
30645         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30646         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30647         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30648         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30649         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30650         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30651         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30652         * sysdeps/s390/dl-tls.h: Likewise.
30653         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30654         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30655         * sysdeps/sh/sh3/setjmp.S: Likewise.
30656         * sysdeps/sh/sh4/setjmp.S: Likewise.
30657         * sysdeps/unix/alpha/sysdep.h: Likewise.
30658         * sysdeps/unix/arm/sysdep.S: Likewise.
30659         * sysdeps/unix/i386/sysdep.S: Likewise.
30660         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30661         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30662         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30663         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30665         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30666         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30667         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30668         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30669         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30670         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30671         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30672         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30675         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30678         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30679         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30680         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30683         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30684         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30687         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30688         * sysdeps/x86_64/setjmp.S: Likewise.
30690         * include/math.h: Use IS_IN instead of IS_IN_libm.
30691         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30692         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30694         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30695         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30699         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30700         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30701         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30702         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30703         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30704         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30705         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30706         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30707         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30708         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30709         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30710         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30711         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30712         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30713         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30714         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30715         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30716         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30717         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30718         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30719         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30720         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30721         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30722         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30723         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30725         Likewise.
30726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30727         Likewise.
30728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30729         Likewise.
30730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30731         Likewise.
30732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30733         Likewise.
30734         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30735         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30736         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30737         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30738         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30739         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30745         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30746         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30747         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30748         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30749         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30750         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30751         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30752         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30753         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30754         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30755         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30756         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30757         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30758         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30760         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30762         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30763         * nptl/pthreadP.h: Likewise.
30764         * nptl_db/structs.def: Likewise.
30765         * sysdeps/arm/sysdep.h: Likewise.
30766         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30767         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30768         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30769         * sysdeps/unix/alpha/sysdep.h: Likewise.
30770         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30771         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30772         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30773         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30774         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30775         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30777         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30778         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30779         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30780         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30781         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30782         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30783         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30788         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30789         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30791         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30792         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30793         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30794         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30795         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30797         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30798         * nptl/pthreadP.h: Likewise.
30799         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30800         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30801         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30802         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30803         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30805         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30806         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30807         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30808         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30809         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30810         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30812         Likewise.
30813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30814         Likewise.
30815         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30817         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30820         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30821         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30822         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30824         * dlfcn/dladdr.c: Use IS_IN.
30825         * dlfcn/dladdr1.c: Likewise.
30826         * dlfcn/dlclose.c: Likewise.
30827         * dlfcn/dlerror.c: Likewise.
30828         * dlfcn/dlinfo.c: Likewise.
30829         * dlfcn/dlmopen.c: Likewise.
30830         * dlfcn/dlopen.c: Likewise.
30831         * dlfcn/dlsym.c: Likewise.
30832         * dlfcn/dlvsym.c: Likewise.
30834         * include/ifaddrs.h: Use IS_IN.
30835         * inet/check_pf.c: Likewise.
30836         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30837         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30839         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30840         IS_IN_ldconfig.
30841         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30842         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30844         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30845         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30846         IS_IN (libc).
30848         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30850         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30851         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30852         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30853         * include/libc-symbols.h (IS_IN_LIB): New macro.
30854         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30855         * include/netdb.h: Likewise.
30856         * include/stap-probe.h: Remove all uses of IN_LIB.
30858         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30859         instead of IN_MODULE.
30860         * include/libc-symbols.h (IN_MODULE): Define using
30861         MODULE_NAME.
30862         (PASTE_NAME, PASTE_NAME1): New macros.
30863         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30864         of IN_LIB.
30865         (STAP_PROBE_ASM): Likewise.
30867 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30869         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30870         __mach_init in dlopened libc.
30872 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30874         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30875         * sysdeps/arm/preconfigure: Regenerate.
30877 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30879         * nptl/pthread_create.c (__pthread_create_2_1): Set
30880         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30881         when copying values from IATTR into PD.
30883 2014-11-21  Will Newton  <will.newton@linaro.org>
30884             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30886         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30887         Refactor inline-asm.  Also add comment.
30889         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30890         ElfW macro instead of hardcoded Elf64 types.
30891         (la_aarch64_gnu_pltenter): Likewise.
30892         * sysdeps/aarch64/dl-machine.h
30893         (elf_machine_runtime_setup): Use ElfW(Addr).
30895         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30896         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30897         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30898         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30899         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30900         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30901         (R_AARCH64_TLS_DTPMOD): This.
30902         (R_AARCH64_TLS_DTPREL64): Rename to ...
30903         (R_AARCH64_TLS_DTPREL): This.
30904         (R_AARCH64_TLS_TPREL64): Rename to ...
30905         (R_AARCH64_TLS_TPREL): This.
30906         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30907         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30908         R_AARCH64_TLS_TPREL64.
30909         (elf_machine_rela): Likewise.
30911 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30913         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30914         by setting it to 0.  64b atomics are not supported currently.
30916 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30918         [BZ #16469]
30919         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30920         search domain names.
30922 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30924         [BZ #16469]
30925         * NEWS: Update.
30926         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30927         trailing dot.
30928         * posix/tst-getaddrinfo5.c: New.
30929         * posix/Makefile (tests): Add it.
30931 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30933         [BZ #14498]
30934         * NEWS: Fixed.
30935         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30936         after parsing line but before break_if_match.
30937         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30938         if there is a protocol mismatch.
30940 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30942         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30943         because the potential race is on the user-supplied stream.
30945 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30947         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30948         string literal if not passed a buffer.
30949         * manual/job.texi (ctermid): Update reasoning, note deviation
30950         from posix, suggest mtasurace when not passed a buffer, for
30951         future non-preliminary safety notes.
30953 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30955         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30956         of not passing it a buffer.
30957         Reported by Peng Haitao.
30959 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30961         * manual/Makefile ($(objpfx)stamp-summary): Require
30962         check-safety.sh to pass.
30963         * manual/check-safety.sh: Wish for verification that every
30964         @deftypefn and @deftypefun is followed by a @safety remark.
30966 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30968         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30970         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30971         PTHREAD_CANCEL_ASYNCHRONOUS.
30972         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30973         send SIGCANCEL.
30975         * nptl/default-sched.h: New file.
30976         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30977         * nptl/pthread_create.c: Include it.
30978         (__pthread_create_2_1): Use collect_default_sched instead of making
30979         Linux syscalls here directly.
30981 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30983         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30984         __pthread_once): Use C11 atomics.
30986 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30988         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30990 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30992         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30993         atomic_thread_fence_acquire, atomic_thread_fence_release,
30994         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30995         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30996         atomic_compare_exchange_weak_relaxed,
30997         atomic_compare_exchange_weak_acquire,
30998         atomic_compare_exchange_weak_release,
30999         atomic_exchange_acquire, atomic_exchange_release,
31000         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31001         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31002         atomic_fetch_and_acquire,
31003         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31005 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31007         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31008         USE_ATOMIC_COMPILER_BUILTINS): Define.
31009         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31011         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31013         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31015         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31017         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31019         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31021         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31023         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31025         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31027         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31029         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31031         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31033         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31035         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31037         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31039         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31041         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31043         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31044         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31045         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31047         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31050 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31052         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31053         the sched_priority value here.  It was already checked when the user
31054         called pthread_attr_setschedparam.
31056         * nptl/tst-bad-schedattr.c: New file.
31057         * nptl/Makefile (tests): Add it.
31059 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31060             Florian Weimer  <fweimer@redhat.com>
31061             Joseph Myers  <joseph@codesourcery.com>
31062             Adam Conrad  <adconrad@0c3.net>
31063             Andreas Schwab  <schwab@suse.de>
31064             Brooks  <bmoses@google.com>
31066         [BZ #17625]
31067         * wordexp-test.c (__dso_handle): Add prototype.
31068         (__register_atfork): Likewise.
31069         (__app_register_atfork): New function.
31070         (registered_forks): New global.
31071         (register_fork): New function.
31072         (test_case): Add 3 new tests for WRDE_CMDSUB.
31073         (main): Call __app_register_atfork.
31074         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31075         fork count is non-zero fail the test.
31076         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31077         is set.
31078         (parse_dollars): Remove check for WRDE_NOCMD.
31079         (parse_dquote): Likewise.
31081 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31083         * Makeconfig (built-modules): List non-library modules to be
31084         built.
31085         (module-cppflags): Include libc-modules.h for
31086         everything except shlib-versions.v.i.
31087         (CPPFLAGS): Use it.
31088         (before-compile): Add libc-modules.h.
31089         ($(common-objpfx)libc-modules.h,
31090         $(common-objpfx)libc-modules.stmp): New targets.
31091         (common-generated): Add libc-modules.h and libc-modules.stmp.
31092         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31093         * include/libc-symbols.h: Don't include libc-modules.h.
31094         * include/libc-modules.h: Remove file.
31095         * scripts/gen-libc-modules.awk: New script to generate
31096         libc-modules.h.
31097         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31098         Depend on libc-modules.stmp.
31100         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31102         * Makeconfig (in-module): Get value of libof set for the
31103         translation unit.
31104         (CPPFLAGS): Use $(in-module).
31105         * Makerules: Don't suffix routine names for nonlib.
31106         * include/libc-modules.h: New file.
31107         * include/libc-symbols.h: Include libc-modules.h
31108         (IS_IN): New macro to replace IS_IN_* macros.
31109         * elf/Makefile: Set libof-* for each routine.
31110         * elf/rtld-Rules: Likewise.
31111         * extra-modules.mk: Likewise.
31112         * iconv/Makefile: Likewise.
31113         * iconvdata/Makefile: Likewise.
31114         * locale/Makefile: Likewise.
31115         * malloc/Makefile: Likewise.
31116         * nss/Makefile: Likewise.
31117         * sysdeps/gnu/Makefile: Likewise.
31118         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31119         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31120         * sysdeps/s390/s390-64/Makefile: Likewise.
31121         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31122         CPPFLAGS for nscd instead of nonlib.
31124 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31126         * nptl/createthread.c: New file.
31128         * nptl/createthread.c: Moved ...
31129         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31131         * nptl/createthread.c: Add proper top-line comment.
31132         (do_clone): Folded into ...
31133         (create_thread): ... here.  Take new arguments STOPPED_START and
31134         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31135         increment __nptl_threads, do event-reporting logic, do
31136         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31137         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31138         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31139         just send SIGCANCEL.
31140         * nptl/pthread_create.c: Forward-declare create_thread before
31141         including createthread.c.
31142         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31143         declaration, and new macro START_THREAD_SELF to replace argument.
31144         Remove return statement.
31145         (report_thread_creation): New function.
31146         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31147         synchronization logic, and __nptl_nthreads increment here, around
31148         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31149         PD->parent_cancelhandling here, before create_thread.  When
31150         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31151         __deallocate_stack, and ENOMEM translation here.
31153 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31155         [BZ #17616]
31156         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31157         (mptwo): Rename to __mptwo.
31158         (__inv): Use __mptwo instead of mptwo.
31159         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31160         (mptwo): Rename to __mptwo.
31161         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31162         of mpone and __mptwo instead of mptwo.
31163         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31164         instead of mpone.
31165         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31166         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31167         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31168         of mpone and __mptwo instead of mptwo.
31169         (__mpranred): Use __mpone instead of mpone.
31170         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31171         variable.
31172         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31173         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31174         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31175         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31176         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31177         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31178         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31179         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31180         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31181         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31182         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31183         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31184         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31185         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31186         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31187         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31188         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31189         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31190         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31192 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31194         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31195         replace BSD Handler xref with BSD Signal Handling.
31197 2014-11-17  Richard Henderson  <rth@redhat.com>
31199         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31200         (_FP_PACK_RAW_2): Remove.
31201         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31202         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31203         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31204         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31205         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31206         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31207         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31208         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31209         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31210         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31211         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31212         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31213         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31214         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31215         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31216         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31218 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31220         * signal/signal.h [__USE_MISC]
31221         (struct sigvec): Remove type.
31222         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31223         (sigvec): Remove declaration.
31224         * sysdeps/posix/sigvec.c: Moved ...
31225         * signal/sigvec.c: ... here, replacing old file.
31226         (struct sigvec): New type, copied from old signal.h definition.
31227         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31228         (__sigvec): Convert definition to prototype.
31229         (sigvec): Replace weak_alias with compat_symbol.
31230         * signal/Versions (libc: GLIBC_2.21): New version set.
31231         * include/signal.h: Remove __sigvec declaration.
31232         * sysdeps/unix/bsd/sigvec.c: Remove file.
31233         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31234         * manual/signal.texi (BSD Handler): Remove subsection.
31235         Move siginterrupt up to ...
31236         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31237         (Blocking in BSD): Fold subsection into its parent.
31238         * NEWS: Mention sigvec removal.
31240 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31242         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31243         (DLA_FMS): Make definition conditional only on [__FMA4__].
31244         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31245         definition.
31247         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31248         Make definition conditional only on [PROF].
31249         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31250         definition.
31251         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31252         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31254         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31255         !__GNUC__].
31256         * include/signal.h (__sigpause): Move declaration above call to
31257         libc_hidden_proto.
31258         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31259         variable.
31260         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31261         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31263 2014-11-14  David S. Miller  <davem@davemloft.net>
31265         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31266         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31268 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31270         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31271         * configure: Regenerated.
31272         * manual/install.texi (Tools for Compilation): Document a
31273         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31274         compiler verified to work.
31275         * INSTALL: Regenerated.
31277         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31278         redeclare with asm name.
31279         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31280         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31281         including <string.h>.
31282         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31283         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31284         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31285         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31286         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31288         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31290 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31292         * stdlib/strtol.c (__strtol): Use prototype definition.
31294         [BZ #17594]
31295         * stdlib/strtol.c (SYM__): New macro.
31296         (SYM__1): Likewise.
31297         (__strtol): Likewise.
31298         (strtol): Rename to __strtol and define as weak alias of
31299         __strtol.  Use libc_hidden_weak.
31301 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31303         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31304         Use numbered labels in inline assembly.
31306 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31308         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31309         Add setjmp LIBC_PROBE.
31310         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31311         Likewise.
31312         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31313         Add longjmp, longjmp_target LIBC_PROBE.
31314         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31315         Likewise.
31317 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31319         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31320         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31321         to get rid of unused variable warning.
31323 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31325         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31326         Check for unwind_backtrace ==  NULL only in SHARED case.
31327         (__backchain_backtrace): Compile only in SHARED case.
31328         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31329         Likewise.
31330         (__backchain_backtrace): Declare as static.
31332 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31334         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31335         (__libc_multiple_threads_ptr): Variable moved ...
31336         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31338 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31340         * conform/GlibcConform.pm: New file.
31341         * conform/conformtest.pl: Use GlibcConform module.
31342         * conform/linknamespace.pl: New file.
31343         * conform/list-header-symbols.pl: Likewise.
31344         * conform/Makefile (linknamespace-symlists-base): New variable.
31345         (linknamespace-symlists-tests): Likewise.
31346         (linknamespace-header-base): Likewise.
31347         (linknamespace-header-tests): Likewise.
31348         (tests-special): Add new tests.
31349         ($(linknamespace-symlists-tests)): New rule.
31350         (linknamespace-libs): New variable.
31351         ($(objpfx)symlist-stdlibs): New rule.
31352         ($(linknamespace-header-tests)): Likewise.
31353         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31354         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31355         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31356         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31357         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31358         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31359         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31360         (test-xfail-ISO/math.h/linknamespace): Likewise.
31361         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31362         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31363         (test-xfail-ISO/time.h/linknamespace): Likewise.
31364         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31365         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31366         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31367         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31368         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31369         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31370         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31371         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31372         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31373         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31374         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31375         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31376         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31377         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31378         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31379         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31380         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31381         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31382         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31383         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31384         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31385         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31386         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31387         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31388         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31389         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31390         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31391         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31392         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31393         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31394         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31395         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31396         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31397         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31398         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31399         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31400         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31401         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31402         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31403         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31404         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31405         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31406         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31407         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31408         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31409         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31410         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31411         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31412         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31413         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31414         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31415         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31416         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31417         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31418         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31419         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31420         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31421         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31422         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31423         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31424         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31425         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31426         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31427         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31428         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31429         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31430         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31431         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31432         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31433         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31434         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31435         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31436         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31437         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31438         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31439         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31440         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31441         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31442         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31443         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31444         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31445         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31446         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31447         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31448         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31449         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31450         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31451         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31452         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31453         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31454         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31455         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31456         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31457         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31458         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31459         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31460         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31461         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31462         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31463         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31464         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31465         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31466         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31467         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31468         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31469         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31470         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31471         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31472         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31473         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31474         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31475         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31476         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31477         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31478         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31479         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31480         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31481         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31482         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31483         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31484         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31485         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31486         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31487         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31488         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31489         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31490         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31491         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31492         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31493         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31494         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31495         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31496         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31497         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31498         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31499         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31500         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31501         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31502         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31503         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31504         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31505         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31506         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31507         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31508         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31509         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31510         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31511         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31512         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31513         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31515         [BZ #17589]
31516         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31517         of fgets_unlocked.
31519         [BZ #17585]
31520         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31521         (memmem): Rename to __memmem and define as weak alias of
31522         __memmem.  Use libc_hidden_weak.
31523         (__memmem): Use libc_hidden_def.
31524         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31525         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31526         memmem.
31528         [BZ #17582]
31529         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31530         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31531         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31532         and define as weak alias of __fgets_unlocked.  Use
31533         libc_hidden_weak.
31534         (__fgets_unlocked): Use libc_hidden_def.
31535         * include/stdio.h (__fgets_unlocked): Declare.  Use
31536         libc_hidden_proto.
31537         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31538         __fgets_unlocked instead of fgets_unlocked.
31539         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31540         (GET_NPROCS_CONF_PARSER): Likewise.
31541         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31542         (GET_NPROCS_CONF_PARSER): Likewise.
31544         [BZ #17574]
31545         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31546         weak alias of __wmemset.  Use libc_hidden_weak.
31547         (__wmemset): Use libc_hidden_def.
31548         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31549         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31550         of wmemset.
31552         [BZ #17573]
31553         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31554         with asm name __mempcpy.
31555         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31557         [BZ #17572]
31558         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31559         and define as weak alias of __rawmemchr.
31560         (__rawmemchr): Do not define as strong alias of rawmemchr.
31562         [BZ #17571]
31563         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31564         alias of __qsort_r.
31565         (qsort): Call __qsort_r instead of qsort_r.
31566         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31567         (__qsort_r): Declare.  Call libc_hidden_proto.
31568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31569         instead of qsort_r.
31570         * nscd/gai.c (__qsort_r): Define to qsort_r.
31571         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31572         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31573         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31575         [BZ #17570]
31576         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31577         define as weak alias of __malloc_info.
31579         [BZ #17584]
31580         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31581         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31582         (__rewinddir): Use libc_hidden_def.
31583         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31584         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31585         (__rewinddir): Use libc_hidden_def.
31586         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31587         weak alias of __rewinddir.  Don't use libc_hidden_def.
31588         (__rewinddir): Use libc_hidden_def.
31589         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31590         (__rewinddir): Use libc_hidden_proto.
31591         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31592         rewinddir.
31593         (__getcwd): Use __rewinddir instead of rewinddir.
31595         [BZ #17583]
31596         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31597         alias of __fileno.  Use libc_hidden_weak.
31598         (__fileno): Use libc_hidden_def.
31599         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31600         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31601         alias of __ftello.
31602         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31603         __ftello.
31604         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31605         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31606         libc_hidden_def.
31607         (fread_unlocked): Don't use libc_hidden_ver.
31608         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31609         and define as weak alias of __fread_unlocked.  Don't use
31610         libc_hidden_def.
31611         (__fread_unlocked): Use libc_hidden_def.
31612         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31613         (ftello): Don't use libc_hidden_proto.
31614         (__ftello): Declare.  Use libc_hidden_proto.
31615         (fread_unlocked): Don't use libc_hidden_proto.
31616         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31617         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31618         and __ftello instead of fileno, fread_unlocked and ftello.
31620 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31622         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31623         GOT12.
31624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31625         Likewise.
31626         (_dl_start_user): Likewise.
31627         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31629 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31630             Siddhesh Poyarekar  <siddhesh@redhat.com>
31632         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31633         Move argv and envp down instead of moving argc up.
31634         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31636 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31638         [BZ #17506]
31639         * test-skeleton.c (main): Return successful if one of
31640         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31641         * string/tst-strcoll-overflow.c: Define expected status.
31643 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31645         [BZ #17475]
31646         * locale/iso-639.def: Define Bhili and Tulu language codes.
31648 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31650         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31652 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31654         [BZ #17555]
31655         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31657 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31659         * configure.ac: Updated check of minimal required version to
31660         2.22.
31661         * manual/install.texi (Tools for Compilation): Updated version
31662         number.
31663         * configure: Regenerated.
31664         * INSTALL: Likewise.
31666 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31668         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31669         __tls_get_addr.
31671 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31673         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31674         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31675         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31676         libc_hidden_weak.
31677         (waitpid): Define as alias of __waitpid.
31678         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31679         __waitpid.
31680         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31681         libc_hidden_weak.
31682         (waitpid): Define as alias of __waitpid.
31683         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31684         __libc_waitpid alias.
31685         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31686         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31687         Likewise.
31688         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31689         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31690         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31691         alias.
31692         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31693         __waitpid.
31694         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31695         libc_hidden_weak.
31696         (waitpid): Define as alias of __waitpid.
31698 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31700         * manual/llio.texi: Add comment that write safety has been
31701         fixed in Linux.
31703         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31704         (localplt-build-dso): Add elf/ld.so.
31705         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31706         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31707         and free for ld.so.
31708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31709         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31711         Likewise.
31712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31713         Likewise.
31714         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31715         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31716         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31717         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31718         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31719         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31720         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31721         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31722         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31724         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31726 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31728         [BZ #14132]
31729         * include/libc-symbols.h (INTUSE): Remove macro.
31730         (INTDEF): Likewise.
31731         (INTVARDEF): Likewise.
31732         (_INTVARDEF): Likewise.
31733         (INTDEF2): Likewise.
31734         (INTVARDEF2): Likewise.
31735         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31736         rtld_hidden_def instead of INTVARDEF.
31737         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31738         (_dl_starting_up_internal): Remove declaration.
31739         (_dl_starting_up): Use rtld_hidden_proto.
31740         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31741         declaration.
31742         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31743         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31744         _dl_starting_up.
31745         * elf/dl-writev.h (_dl_writev): Likewise.
31746         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31747         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31748         _dl_starting_up_internal.
31750 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31752         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31753         test-skeleton.c.
31755 2014-11-05  Will Newton  <will.newton@linaro.org>
31757         * benchtests/Makefile: (bench-malloc): Add malloc thread
31758         scalability benchmark.
31759         * benchtests/bench-malloc-threads.c: New file.
31761 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31763         * sysdeps/aarch64/strchrnul.S: New file.
31765 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31767         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31768         definition.
31769         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31770         Likwise.
31771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31772         Likewise.
31773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31774         Likewise.
31775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31776         Likewise.
31777         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31778         Likewise.
31780 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31782         * catgets/test-gencat.c: Use test-skeleton.c.
31783         * catgets/tst-catgets.c: Likewise.
31784         * csu/tst-empty.c: Likewise.
31785         * elf/tst-audit2.c: Likewise.
31786         * elf/tst-global1.c: Likewise.
31787         * elf/tst-pathopt.c: Likewise.
31788         * elf/tst-piemod1.c: Likewise.
31789         * elf/tst-tls10.c: Likewise.
31790         * elf/tst-tls11.c: Likewise.
31791         * elf/tst-tls12.c: Likewise.
31792         * gnulib/tst-gcc.c: Likewise.
31793         * iconvdata/tst-e2big.c: Likewise.
31794         * iconvdata/tst-loading.c: Likewise.
31795         * iconv/tst-iconv1.c: Likewise.
31796         * iconv/tst-iconv2.c: Likewise.
31797         * inet/test-inet6_opt.c: Likewise.
31798         * inet/tst-gethnm.c: Likewise.
31799         * inet/tst-network.c: Likewise.
31800         * inet/tst-ntoa.c: Likewise.
31801         * intl/tst-codeset.c: Likewise.
31802         * intl/tst-gettext2.c: Likewise.
31803         * intl/tst-gettext3.c: Likewise.
31804         * intl/tst-ngettext.c: Likewise.
31805         * intl/tst-translit.c: Likewise.
31806         * io/test-stat.c: Likewise.
31807         * libio/test-fmemopen.c: Likewise.
31808         * libio/tst-freopen.c: Likewise.
31809         * libio/tst-sscanf.c: Likewise.
31810         * libio/tst-ungetwc1.c: Likewise.
31811         * libio/tst-ungetwc2.c: Likewise.
31812         * libio/tst-widetext.c: Likewise.
31813         * localedata/tst-ctype.c: Likewise.
31814         * localedata/tst-digits.c: Likewise.
31815         * localedata/tst-leaks.c: Likewise.
31816         * localedata/tst-mbswcs1.c: Likewise.
31817         * localedata/tst-mbswcs2.c: Likewise.
31818         * localedata/tst-mbswcs3.c: Likewise.
31819         * localedata/tst-mbswcs4.c: Likewise.
31820         * localedata/tst-mbswcs5.c: Likewise.
31821         * localedata/tst-setlocale.c: Likewise.
31822         * localedata/tst-trans.c: Likewise.
31823         * localedata/tst-wctype.c: Likewise.
31824         * localedata/tst-xlocale1.c: Likewise.
31825         * login/tst-grantpt.c: Likewise.
31826         * malloc/tst-calloc.c: Likewise.
31827         * malloc/tst-malloc.c: Likewise.
31828         * malloc/tst-mallocstate.c: Likewise.
31829         * malloc/tst-mcheck.c: Likewise.
31830         * malloc/tst-mtrace.c: Likewise.
31831         * malloc/tst-obstack.c: Likewise.
31832         * math/atest-exp2.c: Likewise.
31833         * math/atest-exp.c: Likewise.
31834         * math/atest-sincos.c: Likewise.
31835         * math/test-matherr.c: Likewise.
31836         * math/test-misc.c: Likewise.
31837         * math/test-powl.c: Likewise.
31838         * math/tst-definitions.c: Likewise.
31839         * misc/tst-dirname.c: Likewise.
31840         * misc/tst-efgcvt.c: Likewise.
31841         * misc/tst-fdset.c: Likewise.
31842         * misc/tst-hsearch.c: Likewise.
31843         * misc/tst-mntent2.c: Likewise.
31844         * nptl/tst-sem7.c: Likewise.
31845         * nptl/tst-sem8.c: Likewise.
31846         * nptl/tst-sem9.c: Likewise.
31847         * nss/test-netdb.c: Likewise.
31848         * posix/tst-fnmatch.c: Likewise.
31849         * posix/tst-getlogin.c: Likewise.
31850         * posix/tst-gnuglob.c: Likewise.
31851         * posix/tst-mmap.c: Likewise.
31852         * pwd/tst-getpw.c: Likewise.
31853         * resolv/tst-inet_ntop.c: Likewise.
31854         * rt/tst-timer.c: Likewise.
31855         * stdio-common/test-fseek.c: Likewise.
31856         * stdio-common/test-popen.c: Likewise.
31857         * stdio-common/test-vfprintf.c: Likewise.
31858         * stdio-common/tst-cookie.c: Likewise.
31859         * stdio-common/tst-fileno.c: Likewise.
31860         * stdio-common/tst-gets.c: Likewise.
31861         * stdio-common/tst-obprintf.c: Likewise.
31862         * stdio-common/tst-perror.c: Likewise.
31863         * stdio-common/tst-sprintf2.c: Likewise.
31864         * stdio-common/tst-sprintf3.c: Likewise.
31865         * stdio-common/tst-sprintf.c: Likewise.
31866         * stdio-common/tst-swprintf.c: Likewise.
31867         * stdio-common/tst-tmpnam.c: Likewise.
31868         * stdio-common/tst-unbputc.c: Likewise.
31869         * stdio-common/tst-wc-printf.c: Likewise.
31870         * stdlib/tst-environ.c: Likewise.
31871         * stdlib/tst-fmtmsg.c: Likewise.
31872         * stdlib/tst-limits.c: Likewise.
31873         * stdlib/tst-rand48-2.c: Likewise.
31874         * stdlib/tst-rand48.c: Likewise.
31875         * stdlib/tst-random2.c: Likewise.
31876         * stdlib/tst-random.c: Likewise.
31877         * stdlib/tst-strtol.c: Likewise.
31878         * stdlib/tst-strtoll.c: Likewise.
31879         * stdlib/tst-tls-atexit.c: Likewise.
31880         * stdlib/tst-xpg-basename.c: Likewise.
31881         * string/test-ffs.c: Likewise.
31882         * string/tst-bswap.c: Likewise.
31883         * string/tst-inlcall.c: Likewise.
31884         * string/tst-strtok.c: Likewise.
31885         * string/tst-strxfrm.c: Likewise.
31886         * sysdeps/x86_64/tst-audit10.c: Likewise.
31887         * sysdeps/x86_64/tst-audit3.c: Likewise.
31888         * sysdeps/x86_64/tst-audit4.c: Likewise.
31889         * sysdeps/x86_64/tst-audit5.c: Likewise.
31890         * time/tst-ftime_l.c: Likewise.
31891         * time/tst-getdate.c: Likewise.
31892         * time/tst-mktime3.c: Likewise.
31893         * time/tst-mktime.c: Likewise.
31894         * time/tst-posixtz.c: Likewise.
31895         * time/tst-strptime2.c: Likewise.
31896         * time/tst-strptime3.c: Likewise.
31897         * wcsmbs/tst-btowc.c: Likewise.
31898         * wcsmbs/tst-mbrtowc.c: Likewise.
31899         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31900         * wcsmbs/tst-wchar-h.c: Likewise.
31901         * wcsmbs/tst-wcpncpy.c: Likewise.
31902         * wcsmbs/tst-wcrtomb.c: Likewise.
31903         * wcsmbs/tst-wcsnlen.c: Likewise.
31904         * wcsmbs/tst-wcstof.c: Likewise.
31906 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31908         [BZ #14132]
31909         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31910         INTDEF.
31911         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31912         declaration.
31913         (_dl_mcount): Use rtld_hidden_proto.
31914         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31915         _dl_mcount.
31916         * elf/rtld.c (_rtld_global_ro): Likewise.
31918         [BZ #14132]
31919         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31920         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31921         of _dl_init_internal.
31922         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31923         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31924         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31925         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31926         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31927         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31928         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31929         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31930         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31931         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31932         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31933         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31934         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31935         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31936         * sysdeps/tile/dl-start.S (_start): Likewise.
31937         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31938         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31940         [BZ #14132]
31941         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31942         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31943         (rtld_progname): Make macro definition unconditional.
31944         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31945         INTDEF.
31946         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31947         (dl_main): Likewise.
31948         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31949         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31950         instead of _dl_argv_internal.
31951         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31952         __GI__dl_argv instead of INTUSE(_dl_argv).
31953         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31954         __GI__dl_argv instead of _dl_argv_internal.
31956         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31957         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31958         macro.
31959         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31960         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31961         New macro.
31962         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31963         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31964         macro.
31965         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31966         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31968 2014-11-04  Andreas Schwab  <schwab@suse.de>
31970         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31972 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31974         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31975         mtvsrd instruction in binary form.
31977 2014-11-03  Andreas Schwab  <schwab@suse.de>
31979         [BZ #17522]
31980         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31981         for less than MB_LEN_MAX use a local buffer of that size.
31982         * libio/tst-fputws.c: New file.
31983         * libio/Makefile (tests): Add tst-fputws.
31985 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31987         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31988         the size of the fpu_fr.fpu_dregs[] array.
31990 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31992         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31993         (__nanosleep): Do not define as alias.
31994         (nanosleep): Define as alias of __nanosleep.
31995         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31996         __libc_nanosleep name.
31998 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32000         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32001         install.texi in comment.
32003 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32005         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32006         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32007         ... add here and use lwsync or sync ...
32008         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32009         ... and add here using lwsync.
32011 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32013         * elf/dl-machine-reject-phdr.h: New file.
32014         * elf/dl-load.c: #include that.
32015         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32016         if that returned true.
32018 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32020         [BZ #17496]
32021         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32022         gen-as-const-headers chunk.  Add a big scare comment after the last
32023         safe place to touch before-compile.
32025 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32027         * manual/install.texi (Tools for Compilation): Update autoconf
32028         version requirements.
32029         * INSTALL: Regenerated.
32031         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32032         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32033         (__libc_pselect): Likewise.
32035         [BZ #14138]
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32041 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32043         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32044         correct barrier instruction.
32045         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32046         Likewise.
32047         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32048         Likewise.
32050 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32052         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32053         after defining inlines.  Instead, just use parens to defeat macro
32054         expansion of __isctype in its declaration.
32056 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32058         * include/sys/uio.h (__libc_readv): Remove declaration.
32059         (__libc_writev): Likewise.
32060         * misc/readv.c (__libc_readv): Rename to __readv.
32061         (__readv): Do not define as alias.
32062         (readv): Define as alias of __readv.
32063         * misc/writev.c (__libc_writev): Rename to __writev.
32064         (__writev): Do not define as alias.
32065         (writev): Define as alias of __writev.
32066         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32067         (__readv): Do not define as alias.
32068         (readv): Define unconditionally as alias of __readv.
32069         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32070         (__writev): Do not define as alias.
32071         (writev): Define unconditionally as alias of __writev.
32072         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32073         name.
32074         (writev): Do not define __libc_writev name.
32076 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32078         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32079         (convert_charseq): New function, broken out of ...
32080         (use_from_charmap): ... here.  Call it.
32081         (use_to_charmap): Use convert_charseq and free instead of duplicating
32082         its code with a variable-length stack struct.
32084 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32086         * include/fcntl.h (__libc_creat): Remove declaration.
32087         * io/creat.c (__libc_creat): Rename to creat.
32088         (creat): Do not define as alias.
32089         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32090         of creat instead of __libc_creat.
32091         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32092         to creat.
32093         (creat): Do not define as alias.
32094         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32095         __libc_creat.
32096         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32097         __libc_creat name.
32098         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32099         Likewise.
32101 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32103         * manual/llio.texi: Add comments discussing why write() may be
32104         considered MT-unsafe on Linux.
32106 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32108         * dl-load.c (local_strdup): Remove.
32109         (expand_dynamic_string_token): Use __strdup.
32110         (decompose_rpath): Likewise.
32111         (_dl_map_object): Likewise.
32113 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32115         [BZ #14132]
32116         * sysdeps/generic/unwind-dw2-fde.c
32117         (__register_frame_info_bases_internal): Do not declare.
32118         (__register_frame_info_table_bases_internal): Likewise.
32119         (__deregister_frame_info_bases_internal): Likewise.
32120         (__register_frame_info_bases): Declare and use hidden_proto before
32121         definition.  Use hidden_def instead of INTDEF.
32122         (__register_frame_info_table_bases): Likewise.
32123         (__deregister_frame_info_bases): Likewise.
32124         (__register_frame_info): Do not use INTUSE.
32125         (__register_frame): Likewise.
32126         (__register_frame_info_table): Likewise.
32127         (__register_frame_table): Likewise.
32128         (__deregister_frame_info): Likewise.
32129         (__deregister_frame): Likewise.
32131 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32133         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32134         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32135         not undefine.
32136         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32137         Likewise.
32138         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32139         Likewise.
32141 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32143         [BZ #14138]
32144         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32145         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32146         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32147         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32148         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32149         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32150         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32151         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32152         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32153         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32154         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32155         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32156         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32157         syscall.
32158         (setfsuid): Likewise.
32159         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32160         (setfsuid): Likewise.
32161         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32162         (setfsuid): Likewise.
32163         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32164         Likewise.
32165         (setfsuid): Likewise.
32166         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32167         (setfsuid): Likewise.
32168         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32169         Likewise.
32170         (setfsuid): Likewise.
32172 2014-10-27  Andreas Schwab  <schwab@suse.de>
32174         [BZ #17501]
32175         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32176         check for Slow_SSE4_2 feature bit.
32177         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32178         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32179         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32180         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32182 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32184         * configure.ac: Validate compiler version with a empirical test of
32185         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32186         $CC -v output.
32187         * configure: Regenerated.
32189         * inet/htons.c (htons): Prototypify.
32190         * inet/htonl.c (htonl): Likewise.
32192 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32194         * string/strncat.c (strncat): Improve performance by using strlen.
32196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32198         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32200 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32202         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32203         Call libc_fetestexcept_aarch64.
32205 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32207         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32208         Call libc_feholdexcept_aarch64.
32210 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32212         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32213         Call get_rounding_mode.
32215 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32217         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32218         Simplify logic.
32220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32222         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32223         Simplify logic.
32225 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32227         [BZ #14138]
32228         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32229         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32230         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32231         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32232         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32233         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32234         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32235         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32236         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32237         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32238         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32239         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32240         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32241         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32242         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32243         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32244         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32245         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32246         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32247         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32248         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32249         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32250         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32251         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32252         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32253         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32254         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32255         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32256         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32257         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32258         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32259         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32260         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32261         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32262         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32263         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32264         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32265         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32266         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32267         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32268         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32269         syscall.
32270         (geteuid): Likewise.
32271         (getgid): Likewise.
32272         (getuid): Likewise.
32273         (getresgid): Likewise.
32274         (getresuid): Likewise.
32275         (getgroups): Likewise.
32276         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32277         (geteuid): Likewise.
32278         (getgid): Likewise.
32279         (getuid): Likewise.
32280         (getresgid): Likewise.
32281         (getresuid): Likewise.
32282         (getgroups): Likewise.
32283         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32284         (geteuid): Likewise.
32285         (getgid): Likewise.
32286         (getuid): Likewise.
32287         (getresgid): Likewise.
32288         (getresuid): Likewise.
32289         (getgroups): Likewise.
32290         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32291         Likewise.
32292         (geteuid): Likewise.
32293         (getgid): Likewise.
32294         (getuid): Likewise.
32295         (getresgid): Likewise.
32296         (getresuid): Likewise.
32297         (getgroups): Likewise.
32298         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32299         (geteuid): Likewise.
32300         (getgid): Likewise.
32301         (getuid): Likewise.
32302         (getresgid): Likewise.
32303         (getresuid): Likewise.
32304         (getgroups): Likewise.
32305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32306         Likewise.
32307         (geteuid): Likewise.
32308         (getgid): Likewise.
32309         (getuid): Likewise.
32310         (getgroups): Likewise.
32312         [BZ #14138]
32313         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32314         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32315         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32317         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32318         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32319         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32320         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32321         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32322         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32323         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32324         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32325         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32326         __chown.
32327         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32328         (lchown): Likewise.
32329         (fchown): Likewise.
32330         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32331         Likewise.
32332         (lchown): Likewise.
32333         (fchown): Likewise.
32334         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32335         (lchown): Likewise.
32336         (fchown): Likewise.
32337         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32338         Likewise.
32339         (lchown): Likewise.
32340         (fchown): Likewise.
32342 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32344         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32345         Simplify logic.
32347 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32349         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32350         Cleanup logic.
32352 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32354         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32355         Remove unused include.
32357 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32359         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32360         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32361         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32362         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32364 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32365             Helge Deller <deller@gmx.de>
32367         [BZ #17508]
32368         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32369         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32370         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32372 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32374         [BZ #14132]
32375         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32376         Remove macro definition.
32377         (__ashrdi3_v_glibc20): Likewise.
32378         (__lshrdi3_v_glibc20): Likewise.
32379         (__cmpdi2_v_glibc20): Likewise.
32380         (__ucmpdi2_v_glibc20): Likewise.
32381         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32382         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32383         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32384         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32385         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32386         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32388 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32390         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32391         old GNU extension [0] syntax.
32392         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32393         alloca rather than an array member with variable length.
32394         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32395         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32396         (parse_opt): ... here.  Likewise use alloca there.
32397         Validate the -i argument before checking for rootness.
32398         (send_shutdown): New function, broken out of ...
32399         (parse_opt): ... here.
32401 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32403         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32404         macro to get at the _rt_local_ro field.
32405         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32406         ([PIC] case) or _dl_hwcap ([!PIC] case).
32407         * sysdeps/arm/setjmp.S: Likewise.
32409         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32410         * sysdeps/arm/configure.ac: New check to define it.
32411         * sysdeps/arm/configure: Regenerated.
32412         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32413         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32414         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32415         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32416         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32417         Use move/movt pair instead of a load.
32418         (LDST_GLOBAL): Macro removed.
32419         (LDR_GLOBAL): New macro replaces it.
32420         (LDR_HIDDEN): New macro.
32421         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32422         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32424         * setjmp/tst-setjmp-static.c: New file.
32425         * setjmp/Makefile (tests): Add it.
32426         (tests-static): New variable.
32428 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32430         [BZ #17485]
32431         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32433 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32435         [BZ #14132]
32436         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32438 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32440         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32442 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32444         * io/fts.c (dirent_not_directory): New function.
32445         (fts_build): Call it.
32447 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32449         * nptl/version.c (__nptl_main): Use normal __write rather than
32450         INTERNAL_SYSCALL.
32451         (banner): Update copyright years.
32453         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32454         gettimeofday.
32455         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32456         * nptl/pthread_cond_timedwait.c: Likewise.
32457         * nptl/pthread_mutex_timedlock.c: Likewise.
32458         * nptl/sem_timedwait.c: Likewise.
32460         * sysdeps/nptl/bits/libc-lock.h
32461         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32462         (__libc_lock_init_recursive): Return void, not 0.
32463         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32464         (__libc_rwlock_init): Likewise.
32465         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32467 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32469         [BZ #15215]
32470         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32471         (__pthread_once_slow): ... here.
32472         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32473         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32475 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32477         [BZ #15215]
32478         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32479         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32480         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32481         * nptl/pthread_once.c (__pthread_once): Likewise.
32482         Update comments.
32484 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32486         [BZ #14138]
32487         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32488         name.
32489         (writev): Use __libc_writev as strong name.
32490         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32491         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32493 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32495         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32497         * sysdeps/i386/nptl/tls.h
32498         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32499         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32500         New macros.
32501         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32502         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32503         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32504         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32505         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32506         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32508         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32509         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32510         on [__NR_futex].
32511         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32512         broken out of ...
32513         (__pthread_mutex_init): ... here.  Call it.
32514         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32515         Conditionalize PI cases on [__NR_futex].
32516         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32517         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32518         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32520         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32521         conditional on [SIGSETXID].
32522         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32523         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32524         is defined.  Likewise for SIGSETXID.
32525         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32526         Conditionalize definitions on [SIGSETXID].
32527         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32528         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32529         unblocking on [SIGCANCEL].
32531         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32532         [__NR_set_robust_list].
32534 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32536         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32537         (do_compare): Likewise.
32539 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32541         [BZ #15884]
32542         * string/strcoll_l.c: Don't include stdio.h.
32543         (coll_seq): Remove members idxarr and rulearr.
32544         (get_next_seq_cached): Remove function.
32545         (get_next_seq): Likewise.
32546         (get_next_seq_nocache): Rename to get_next_seq.
32547         (do_compare): Remove function.
32548         (do_compare_nocache): Rename to do_compare.
32549         (STRCOLL): Remove weight and rules cache.
32551 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32553         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32554         * sysdeps/arm/sfp-machine.h: ... to here.
32555         * sysdeps/arm/Implies: Remove arm/soft-fp.
32557 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32559         * conform/data/sys/utsname.h-data (*_t): Allow.
32560         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32561         [POSIX] (WEXITED): Do not expect constant.
32562         [POSIX] (WSTOPPED): Likewise.
32563         [POSIX] (WNOHANG): Likewise.
32564         [POSIX] (WNOWAIT): Likewise.
32565         [POSIX] (siginfo_t): Do not expect type or elements.
32566         [POSIX] (pid_t): Do not expect type.
32567         [POSIX] (signal.h): Do not allow header.
32568         [POSIX] (sys/resource.h): Likewise.
32569         [POSIX] (si_*): Do not allow pattern.
32570         [POSIX] (W*): Likewise.
32571         [POSIX] (P_*): Likewise.
32572         [POSIX] (BUS_*): Likewise.
32573         [POSIX] (CLD_*): Likewise.
32574         [POSIX] (FPE_*): Likewise.
32575         [POSIX] (ILL_*): Likewise.
32576         [POSIX] (POLL_*): Likewise.
32577         [POSIX] (SEGV_*): Likewise.
32578         [POSIX] (SI_*): Likewise.
32579         [POSIX] (TRAP_*): Likewise.
32580         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32581         variable.
32583 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32585         [BZ #12926]
32586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32587         infinite loop when __recvmsg returns 0.
32589 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32591         * CANCEL-FCT-WAIVE: Remove file.
32592         * CANCEL-FILE-WAIVE: Likewise.
32594         [BZ #14132]
32595         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32596         instead of INTVARDEF.
32597         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32598         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32599         rtld_hidden_data_def instead of INTVARDEF.
32600         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32601         * elf/dl-deps.c (expand_dst): Likewise.
32602         * elf/dl-load.c (_dl_dst_count): Likewise.
32603         (_dl_dst_substitute): Likewise.
32604         (decompose_rpath): Likewise.
32605         (_dl_init_paths): Likewise.
32606         (open_path): Likewise.
32607         (_dl_map_object): Likewise.
32608         * elf/rtld.c (dl_main): Likewise.
32609         (process_dl_audit): Likewise.
32610         (process_envvars): Likewise.
32611         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32612         Remove declaration.
32613         (__libc_enable_secure): Use rtld_hidden_proto.
32615 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32617         * elf/dl-load.c
32618         (add_path): New function broken out of _dl_rtld_di_serinfo.
32619         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32621 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32623         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32624         parentheses around macro arguments.
32625         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32628         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32630         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32631         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32636         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32637         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32638         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32639         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32640         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32641         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32643         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32648         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32650         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32654         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32655         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32656         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32657         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32659         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32660         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32661         Likewise.
32662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32669         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32673         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32674         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32683         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32685         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32686         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32687         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32688         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32689         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32690         (_FP_FRAC_SRS_1): Likewise.
32691         (_FP_FRAC_CLZ_1): Likewise.
32692         (_FP_MUL_MEAT_1_imm): Likewise.
32693         (_FP_MUL_MEAT_1_wide): Likewise.
32694         (_FP_MUL_MEAT_1_hard): Likewise.
32695         (_FP_SQRT_MEAT_1): Likewise.
32696         (_FP_FRAC_ASSEMBLE_1): Likewise.
32697         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32698         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32699         (__FP_CLZ_2): Likewise.
32700         (_FP_MUL_MEAT_2_wide): Likewise.
32701         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32702         (_FP_MUL_MEAT_2_gmp): Likewise.
32703         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32704         (_FP_SQRT_MEAT_2): Likewise.
32705         (_FP_FRAC_ASSEMBLE_2): Likewise.
32706         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32707         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32708         (_FP_FRAC_CLZ_4): Likewise.
32709         (_FP_MUL_MEAT_4_wide): Likewise.
32710         (_FP_MUL_MEAT_4_gmp): Likewise.
32711         (_FP_SQRT_MEAT_4): Likewise.
32712         (_FP_FRAC_ASSEMBLE_4): Likewise.
32713         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32714         * soft-fp/op-common.h (_FP_CMP): Likewise.
32715         (_FP_CMP_EQ): Likewise.
32716         (_FP_CMP_UNORD): Likewise.
32717         (_FP_TO_INT): Likewise.
32718         (_FP_FROM_INT): Likewise.
32719         [!__FP_CLZ] (__FP_CLZ): Likewise.
32720         (_FP_DIV_HELP_imm): Likewise.
32721         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32722         Likewise.
32723         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32726         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32728         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32729         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32730         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32733         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32734         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32735         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32736         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32737         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32738         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32739         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32746         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32747         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32748         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32749         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32750         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32751         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32752         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32753         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32754         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32755         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32756         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32757         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32758         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32759         (FP_UNPACK_RAW_SP): Likewise.
32760         (FP_PACK_RAW_S): Likewise.
32761         (FP_PACK_RAW_SP): Likewise.
32762         (FP_UNPACK_S): Likewise.
32763         (FP_UNPACK_SP): Likewise.
32764         (FP_UNPACK_SEMIRAW_S): Likewise.
32765         (FP_UNPACK_SEMIRAW_SP): Likewise.
32766         (FP_PACK_S): Likewise.
32767         (FP_PACK_SP): Likewise.
32768         (FP_PACK_SEMIRAW_S): Likewise.
32769         (FP_PACK_SEMIRAW_SP): Likewise.
32770         (_FP_SQRT_MEAT_S): Likewise.
32771         (FP_CMP_S): Likewise.
32772         (FP_CMP_EQ_S): Likewise.
32773         (FP_CMP_UNORD_S): Likewise.
32774         (FP_TO_INT_S): Likewise.
32775         (FP_FROM_INT_S): Likewise.
32777         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32779         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32780         (FP_EX_INVALID_IMZ): Likewise.
32781         (FP_EX_INVALID_IMZ_FMA): Likewise.
32782         (FP_EX_INVALID_ISI): Likewise.
32783         (FP_EX_INVALID_ZDZ): Likewise.
32784         (FP_EX_INVALID_IDI): Likewise.
32785         (FP_EX_INVALID_SQRT): Likewise.
32786         (FP_EX_INVALID_CVI): Likewise.
32787         (FP_EX_INVALID_VC): Likewise.
32788         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32789         "invalid" exceptions.
32790         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32791         (_FP_ADD_INTERNAL): Likewise.
32792         (_FP_MUL): Likewise.
32793         (_FP_FMA): Likewise.
32794         (_FP_DIV): Likewise.
32795         (_FP_CMP_CHECK_NAN): Likewise.
32796         (_FP_SQRT): Likewise.
32797         (_FP_TO_INT): Likewise.
32798         (FP_EXTEND): Likewise.
32800 2014-10-09  Allan McRae  <allan@archlinux.org>
32802         * po/fr.po: Update French translation from translation project.
32804 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32806         [BZ #14132]
32807         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32808         of INTDEF.
32809         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32810         (__cxa_atexit): Use libc_hidden_proto.
32811         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32813         [BZ #14132]
32814         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32815         declaration.
32816         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32817         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32818         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32819         [!_ISOMAC] (__iswctype_internal): Likewise.
32820         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32821         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32822         alias.
32823         (fcntl): Remove __fcntl_internal alias.
32824         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32825         __connect_internal alias.
32826         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32827         Likewise.
32829         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32830         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32831         FP_DENORM_ZERO.
32832         (_FP_CHECK_FLUSH_ZERO): New macro.
32833         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32834         (_FP_CMP): Likewise.
32835         (_FP_CMP_EQ): Likewise.
32836         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32837         FP_DENORM_ZERO.
32838         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32839         (FP_TRUNC): Likewise.
32841         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32842         treated as invalid conversion, not as normal exponent.
32844         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32845         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32846         (_FP_CMP_EQ): Likewise.
32847         (_FP_CMP_UNORD): Likewise.
32848         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32849         (FP_CMP_EQ_D): Likewise.
32850         (FP_CMP_UNORD_D): Likewise.
32851         * soft-fp/extended.h (FP_CMP_E): Likewise.
32852         (FP_CMP_EQ_E): Likewise.
32853         (FP_CMP_UNORD_E): Likewise.
32854         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32855         (FP_CMP_EQ_Q): Likewise.
32856         (FP_CMP_UNORD_Q): Likewise.
32857         * soft-fp/single.h (FP_CMP_S): Likewise.
32858         (FP_CMP_EQ_S): Likewise.
32859         (FP_CMP_UNORD_S): Likewise.
32860         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32861         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32862         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32863         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32864         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32865         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32866         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32867         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32868         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32869         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32870         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32871         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32872         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32873         to FP_CMP_Q.
32874         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32875         FP_CMP_Q.
32876         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32877         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32878         FP_CMP_EQ_Q.
32879         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32880         FP_CMP_Q.
32881         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32882         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32883         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32884         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32885         FP_CMP_EQ_Q.
32886         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32887         FP_CMP_Q.
32888         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32889         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32890         FP_CMP_EQ_Q.
32891         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32892         FP_CMP_Q.
32893         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32894         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32895         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32896         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32897         FP_CMP_EQ_Q.
32899         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32900         a subnormal result, set the underflow exception if trapping on
32901         underflow is enabled.
32902         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32903         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32904         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32905         redefine to 0.
32906         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32907         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32908         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32909         * soft-fp/extendxftf2.c (__extendxftf2): Use
32910         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32912         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32913         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32914         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32915         FP_HANDLE_EXCEPTIONS.
32916         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32917         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32918         FP_HANDLE_EXCEPTIONS.
32919         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32920         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32921         FP_HANDLE_EXCEPTIONS.
32922         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32923         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32924         FP_HANDLE_EXCEPTIONS.
32926 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32928         [BZ #14132]
32929         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32930         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32931         use INTUSE.
32932         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32933         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32934         Remove alias.
32935         (__adjtimex): Define using libc_hidden_ver.
32936         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32937         Remove declaration.
32938         (ntp_gettime): Call __adjtimex directly.
32939         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32940         Remove declaration.
32941         (ntp_gettimex): Call __adjtimex directly.
32942         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32943         __adjtimex_internal alias.
32945 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32947         [BZ #17460]
32948         * nscd/nscd.c (more_help): Rewrite list of tables collection
32949         using xstrdup and asprintf.
32951         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32953 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32954             Roland McGrath  <roland@hack.frob.com>
32956         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32957         (do_lookup_unique): ... local function 'enter' here; update callers.
32959 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32961         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32962         compat_symbol calls on [SHARED].
32963         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32964         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32965         Remove.
32966         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32967         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32968         (oldsetrlimit): Remove.
32969         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32971         (lchown): New syscall entry.
32972         (oldsetrlimit): Remove.
32973         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32975         (oldsetrlimit): Remove.
32976         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32978         [BZ #14138]
32979         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32980         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32981         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32982         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32983         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32984         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32985         (fchown): Likewise.
32986         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32987         (fchown): Likewise.
32988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32989         Likewise.
32991 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32993         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32994         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32995         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32996         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32997         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32998         Likewise.
32999         (__old_sem_post): Likewise.
33001 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33003         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33004         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33005         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33006         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33007         Use INLINE_VSYSCALL macro.
33008         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33009         __vdso_clock_gettime.
33010         * sysdeps/unix/sysv/linux/tile/init-first.c
33011         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33012         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33013         __vdso_clock_gettime.
33015         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33016         to set up frame more cleanly.
33018         * sysdeps/tile/memcmp.c: New file.
33020         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33022         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33023         * sysdeps/tile/tilegx/strcasestr.c: New file.
33024         * sysdeps/tile/tilegx/strnlen.c: New file.
33025         * sysdeps/tile/tilegx/strstr.c: New file.
33027         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33029 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33031         * nptl/tst-setuid3.c: Write errors to stdout.
33033 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33035         * elf/dl-deps.c
33036         (preload): New functions broken out of _dl_map_object_deps.
33037         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33039 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33041         [BZ #14138]
33042         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33043         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33045 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33047         * sysdeps/mips/strcmp.S: New.
33049 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33051         [BZ #14138]
33052         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33053         (linkat): Likewise.
33054         (mkdirat): Likewise.
33055         (readlinkat): Likewise.
33056         (renameat): Likewise.
33057         (symlinkat): Likewise.
33058         (unlinkat): Likewise.
33059         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33060         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33061         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33062         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33063         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33064         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33065         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33067 2014-09-30  Will Newton  <will.newton@linaro.org>
33069         * math/math.h: Define long double math functions if
33070         _LIBC_TEST is defined.
33071         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33073         * localedata/Makefile: Move assignment to tests-special
33074         into an ifdef testing run-built-tests.
33075         * timezone/Makefile: Likewise.
33077 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33079         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33080         with $(BASH) not $(SHELL).
33082 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33083             Matthew LeGendre  <legendre1@llnl.gov>
33085         [BZ #17411]
33086         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33087         l_reloc_result.
33089 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33091         * stdio-common/printf_fp.c
33092         (hack_digit): New function, broken out of ...
33093         (__printf_fp): ... local function here.  Update call sites.
33094         hack_digit now takes an additional parameter that is a pointer
33095         to a struct of the referenced locals.  Those locals moved inside
33096         the struct and references updated.
33098 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33100         * aclocal.m4: Require autoconf 2.69.
33101         * configure: Regenerated.
33102         * sysdeps/aarch64/configure: Likewise.
33103         * sysdeps/alpha/configure: Likewise.
33104         * sysdeps/arm/armv7/configure: Likewise.
33105         * sysdeps/arm/configure: Likewise.
33106         * sysdeps/ia64/configure: Likewise.
33107         * sysdeps/mach/configure: Likewise.
33108         * sysdeps/mips/configure: Likewise.
33109         * sysdeps/s390/configure: Likewise.
33110         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33113         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33114         file.
33115         * sysdeps/ia64/configure.ac: Likewise.
33117 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33120         specify symbol version for ld.so.  Do not include entry for
33121         libpthread.
33122         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33123         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33124         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33126         [BZ #14171]
33127         * Makeconfig [$(build-shared) = yes]
33128         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33129         makefiles.
33130         [$(build-shared) = yes && $(soversions.mk-done) = t]
33131         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33132         [$(build-shared) = yes && $(soversions.mk-done) = t]
33133         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33134         to Makerules.
33135         [$(build-shared) = yes && $(soversions.mk-done) = t]
33136         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33137         here.
33138         [$(build-shared) = yes && $(soversions.mk-done) = t]
33139         (common-generated): Don't append gnu/lib-names.h and
33140         gnu/lib-names.stmp here.
33141         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33142         (lib-names-h-abi): New variable.
33143         [$(build-shared) = yes && $(soversions.mk-done) = t]
33144         (lib-names-stmp-abi): Likewise.
33145         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33146         abi-variants] (before-compile): Append
33147         $(common-objpfx)$(lib-names-h-abi).
33148         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33149         abi-variants] (common-generated): Append gnu/lib-names.h.
33150         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33151         abi-variants] (install-others-nosubdir): Depend on
33152         $(inst_includedir)/$(lib-names-h-abi).
33153         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33154         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33155         [$(build-shared) = yes && $(soversions.mk-done) = t]
33156         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33157         [$(build-shared) = yes && $(soversions.mk-done) = t]
33158         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33159         [$(build-shared) = yes && $(soversions.mk-done) = t]
33160         (common-generated): Append $(lib-names-h-abi) and
33161         $(lib-names-stmp-abi).
33162         * scripts/lib-names.awk: Do not handle multi being set.
33163         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33164         Remove variable.
33165         (abi-lp64_be-ld-soname): Likewise.
33166         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33167         Likewise.
33168         (abi-hard-ld-soname): Likewise.
33169         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33170         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33171         Remove variable.
33172         (abi-o32_hard-ld-soname): Likewise.
33173         (abi-o32_soft_2008-ld-soname): Likewise.
33174         (abi-o32_hard_2008-ld-soname): Likewise.
33175         (abi-n32_soft-ld-soname): Likewise.
33176         (abi-n32_hard-ld-soname): Likewise.
33177         (abi-n32_soft_2008-ld-soname): Likewise.
33178         (abi-n32_hard_2008-ld-soname): Likewise.
33179         (abi-n64_soft-ld-soname): Likewise.
33180         (abi-n64_hard-ld-soname): Likewise.
33181         (abi-n64_soft_2008-ld-soname): Likewise.
33182         (abi-n64_hard_2008-ld-soname): Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33184         Likewise.
33185         (abi-64-v2-ld-soname): Likewise.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33187         ld.so entries.
33188         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33189         variable.
33190         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33191         entry.
33192         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33193         variable.
33194         (abi-64-ld-soname): Likewise.
33195         (abi-x32-ld-soname): Likewise.
33196         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33197         entry.
33198         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33200 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33202         [BZ #14138]
33203         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33204         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33205         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33206         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33207         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33208         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33209         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33210         syscall entry for GLIBC_2.2 symbol version.
33211         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33212         Likewise.
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33214         (setrlimit): Likewise.
33215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33216         Likewise.
33218 2014-09-23  Will Newton  <will.newton@linaro.org>
33220         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33221         _LINUX_ARM_SYSDEP_H include guard too.
33222         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33223         define.
33225 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33227         * sysdeps/unix/sysv/linux/eventfd.c:
33228         Make first argument unsigned.
33229         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33230         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33232 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33234         [BZ #16852]
33235         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33236         * socket/sys/socket.h: Likewise.
33237         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33239 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33241         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33243 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33245         * time/tst-ftime.c: New test.
33246         * time/Makefile (tests): Add tst-ftime.
33248 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33250         * soft-fp/extended.h: Fix comment formatting.
33251         * soft-fp/op-1.h: Likewise.
33252         * soft-fp/op-2.h: Likewise.
33253         * soft-fp/op-4.h: Likewise.
33254         * soft-fp/op-8.h: Likewise.
33255         * soft-fp/op-common.h: Likewise.
33256         * soft-fp/soft-fp.h: Likewise.
33258         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33260 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33262         [BZ #6652]
33263         * Makeconfig (soversions-default-setname): Remove variable.
33264         ($(common-objpfx)soversions.i): Don't pass default_setname to
33265         soversions.awk.
33266         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33267         oldest_abi to abi-versions.awk.
33268         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33269         * config.make.in (oldest-abi): Remove variable.
33270         * configure.ac (--enable-oldest-abi): Remove configure option.
33271         * configure: Regenerated.
33272         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33273         text.
33274         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33275         * scripts/soversions.awk: Do not handle default_setname variable.
33276         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33277         variable.
33278         * sysdeps/mach/hurd/configure: Regenerated.
33279         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33280         variable.
33281         * sysdeps/unix/sysv/linux/configure: Regenerated.
33283 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33285         * elf/Makefile (CFLAGS-interp.c): Remove.
33286         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33287         path string.
33288         * elf/interp.c: Include generated runtime-linker.h
33290         * Makerules (lib%.so): Don't include $(+interp) in
33291         prerequisites.
33292         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33293         * dlfcn/eval.c: Remove file.
33295         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33296         macros.
33298         [BZ #17266]
33299         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33300         4.2 and newer.
33302         [BZ #17370]
33303         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33305 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33306             Jakub Jelinek  <jakub@redhat.com>
33308         [BZ #17266]
33309         * libio/stdio.h: Check definition of __fortify_function
33310         instead of __extern_always_inline to include bits/stdio2.h.
33311         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33312         check if __extern_always_inline is defined.
33313         [__USE_MISC || __USE_XOPEN]: Likewise.
33314         [__USE_ISOC99] Likewise.
33315         * misc/sys/cdefs.h (__fortify_function): Define only if
33316         __extern_always_inline is defined.
33317         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33318         __extern_always_inline and __extern_inline only for g++-4.3
33319         and newer or a compatible gcc.
33321 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33323         [BZ #17371]
33324         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33325         last change to handle zero prefix length.
33327 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33329         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33330         _SC_REGEX_VERSION.
33332         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33333         _POSIX_RAW_SOCKETS.
33335 2014-09-13  Allan McRae  <allan@archlinux.org>
33337         * po/ru.po: Update Russian translation from translation project.
33339 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33341         * locale/programs/locale.c (show_locale_vars): Inline local function
33342         into its sole call site.  Clean up some style nits.
33343         (print_item): New function, broken out of ...
33344         (show_info): ... local function here.  Clean up style nits.
33346         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33347         out of ...
33348         (set_class_defaults): ... local function set_default here.
33349         Define set_default as a macro locally to pass constant parameters.
33350         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33351         rather than a shared local.
33353         * stdlib/rpmatch.c (try): New function, broken out of ...
33354         (rpmatch): ... local function here.  Also, prototypify definition.
33356 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33358         * scripts/soversions.awk: Do not handle configuration names.
33359         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33360         vendor and os variables to soversions.awk.
33361         * configure.ac: Do not modify gnu-* host_os.
33362         * configure: Regenerated
33363         * shlib-versions: Remove first column with configuration names.
33364         * nptl/shlib-versions: Likewise.
33365         * nptl_db/shlib-versions: Likewise.
33366         * sysdeps/hppa/shlib-versions: Likewise.
33367         * sysdeps/m68k/shlib-versions: Likewise.
33368         * sysdeps/mach/hurd/shlib-versions: Likewise.
33369         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33370         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33371         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33372         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33373         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33374         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33375         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33376         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33378         Likewise.
33379         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33380         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33381         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33382         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33383         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33384         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33385         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33386         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33389         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33391         Regenerated.
33392         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33394         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33396         * shlib-versions: Remove OS-specific entries.  Moved to files in
33397         sysdeps.
33398         * sysdeps/mach/hurd/shlib-versions: New file.
33399         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33401         * nptl/shlib-versions: Remove architecture-specific entries.
33402         Moved to files in sysdeps.
33403         * shlib-versions: Likewise.
33404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33405         file.
33406         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33407         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33408         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33409         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33411         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33412         (UDP_NO_CHECK6_RX): Likewise.
33414 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33416         * sysdeps/posix/sysconf.c (__sysconf): Spell
33417         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33419 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33421         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33422         loading.
33423         * iconv/Versions (__gconv_transliterate): Export for use from
33424         gconv modules.
33425         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33426         (struct __gconv_trans_data, __gconv_trans_fct,
33427         __gconv_trans_context_fct, __gconv_trans_query_fct,
33428         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33429         definitions.
33430         (struct __gconv_step_data): Remove __trans member.
33431         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33432         longer hidden.  Remove unused trans_data argument.
33433         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33434         (__gconv_translit_find): Remove declaration.
33435         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33436         prototype.
33437         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33438         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33439         trans_data argument.  Add hidden definition.
33440         (__gconv_translit_find): Remove.
33441         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33442         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33443         * iconv/skeleton.c: Remove transliteration initialization.
33444         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33445         __gconv_step_data initialization.
33446         * libio/iofwide.c (__libio_translit_): Remove.
33447         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33448         * wcsmbs/btowc.c (__btowc): Likewise.
33449         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33450         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33451         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33452         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33453         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33454         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33455         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33456         * wcsmbs/wctob.c (wctob): Likewise.
33458 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33460         [BZ #16194]
33461         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33462         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33463         register usage.
33464         * sysdeps/x86/Makefile: Adjust.
33466 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33467             Roland McGrath  <roland@hack.frob.com>
33469         * locale/weight.h: Add include guard.
33470         (findidx): Make static rather than auto; take new parameters
33471         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33472         * locale/weightwc.h: Likewise.
33473         * posix/fnmatch_loop.c
33474         (FCT): Change type of EXTRA from int32_t to wint_t.
33475         Don't include either header inside the function.
33476         Call FINDIDX rather than findidx, and pass new arguments.
33477         #undef FINDIDX at the end of the file.
33478         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33479         FINDIDX before including fnmatch_loop.c for the non-wide version.
33480         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33481         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33482         for the wide version.
33483         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33484         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33485         Pass new arguments to findidx.
33486         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33487         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33488         Don't #include it inside the function.  Pass new arguments to findidx.
33489         * posix/regex_internal.h
33490         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33491         (re_string_elem_size_at): Don't #include it inside the function.
33492         Pass new arguments to findidx.
33493         * string/strcoll_l.c: #include WEIGHT_H at top level.
33494         (get_next_seq): Don't #include it inside the function.
33495         Pass new arguments to findidx.
33496         (get_next_seq_nocache): Likewise.
33497         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33498         (STRXFRM): Don't #include it inside the function.
33499         Pass new arguments to findidx.
33501 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33503         [BZ #17344]
33504         * malloc/malloc.c (unlink): Turn asserts into a call to
33505         malloc_printerr.
33507 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33509         [BZ #17370]
33510         * libio/wfileops (do_ftell_wide): Free OUT.
33512 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33514         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33516 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33518         [BZ #17363]
33519         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33520         group if the current group is empty.
33522 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524         * benchtests/bench-memset.c (test_main): Add more test from size
33525         from 32 to 512 bytes.
33526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33527         Add POWER8 memset object.
33528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33529         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33530         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33531         implementation.
33532         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33533         Likewise.
33534         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33535         multiarch POWER8 memset optimization.
33536         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33537         POWER8 memset optimization.
33539         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33540         Remove bzero multiarch objects.
33541         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33542         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33543         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33544         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33545         Remove define.
33546         [__bzero]: Redefine to specific name.
33547         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33548         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33549         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33550         define.
33551         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33552         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33554 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33556         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33557         warnings into errors.
33559         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33560         __cxa_thread_atexit_impl prototype.
33562 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33564         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33565         Fix capitalization of error message.
33567 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33569         * sysdeps/mips/preconfigure: Modify ABI tests.
33571 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33573         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33575 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33576             Carlos O'Donell  <carlos@systemhalted.org>
33578         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33579         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33580         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33581         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33582         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33583         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33584         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33585         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33586         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33587         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33588         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33589         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33590         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33591         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33592         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33593         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33594         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33595         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33596         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33597         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33598         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33599         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33600         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33601         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33602         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33603         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33604         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33605         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33606         Deconditionalize the code that was previously under [RESET_PID].
33607         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33608         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33609         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33610         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33611         include sysdep.h.
33613 2014-09-08  Allan McRae  <allan@archlinux.org>
33615         * version.h (RELEASE): Set to "development".
33616         (VERSION): Set to "2.20.90"
33618 2014-09-07  Allan McRae  <allan@archlinux.org
33620         * version.h (RELEASE): Set to "stable".
33621         (VERSION): Set to "2.20"
33622         * include/features.h (__GLIBC_MINOR__): Set to 20.
33624         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33625         Liebler.
33627         * po/ko.po: Update Korean translation from translation project.
33629 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33631         [BZ #17354]
33632         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33633         macro for handling signed relocations.
33635 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33637         [BZ #17325]
33638         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33639         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33640         assert.
33641         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33642         * iconvdata/ibm935.c (BODY): Likewise.
33643         * iconvdata/ibm937.c (BODY): Likewise.
33644         * iconvdata/ibm939.c (BODY): Likewise.
33645         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33646         assert.
33647         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33648         script.
33649         * iconvdata/run-iconv-test.sh: New test loop for checking for
33650         decoder crashers.
33652 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33655         libm_hidden_ver.
33657 2014-09-01  Allan McRae  <allan@archlinux.org>
33659         * po/eo.po: Update Esperanto translation from translation project.
33661         * po/ca.po: Update Catalan translation from translation project.
33663 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33665         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33666         __proc_dostop call.
33668 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33670         [BZ #17319]
33671         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33672         to call set_thread_area instead of hand written asm.
33673         (__NR_set_thread_area): Removed define.
33674         (TLS_FLAG_WRITABLE): Likewise.
33675         (__ASSUME_SET_THREAD_AREA): Remove check.
33676         (TLS_EBX_ARG): Remove define.
33677         (TLS_LOAD_EBX): Likewise.
33679 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33681         Simplify atomicity of socket creation in bind.
33683         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33684         looking up the name after linking the file.
33686 2014-08-27  Allan McRae  <allan@archlinux.org>
33688         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33690 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33692         [BZ #17187]
33693         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33694         trans_compare, open_translit, __gconv_translit_find):
33695         Remove module loading code.
33697 2014-08-26  Allan McRae  <allan@archlinux.org>
33699         * po/vi.po: Update Vietnamese translation from translation project.
33701         * po/uk.po: Update Ukrainian translation from translation project.
33703         * po/fr.po: Update French translation from translation project.
33705         * po/ru.po: Update Russian translation from translation project.
33707         * po/pl.po: Update Polish translation from translation project.
33709         * po/cs.po: Update Czech translation from translation project.
33711         * po/de.po: Update German translation from translation project.
33713         * po/bg.po: Update Bulgarian translation from translation project.
33715         * po/sv.po: Update Sweedish translation from translation project.
33717         * po/nl.po: Update Dutch translation from translation project.
33719         * po/es.po: Update Spanish translation from translation project.
33721 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33723         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33725         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33726         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33727         (CPPFLAGS-iconvconfig): Likewise.
33728         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33730         * include/libc-symbols.h: Remove unnecessary check for
33731         NOT_IN_libc.
33732         * nptl/pthreadP.h: Likewise.
33733         * sysdeps/aarch64/setjmp.S: Likewise.
33734         * sysdeps/alpha/setjmp.S: Likewise.
33735         * sysdeps/arm/sysdep.h: Likewise.
33736         * sysdeps/i386/setjmp.S: Likewise.
33737         * sysdeps/m68k/setjmp.c: Likewise.
33738         * sysdeps/posix/getcwd.c: Likewise.
33739         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33741         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33742         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33743         * sysdeps/sh/sh3/setjmp.S: Likewise.
33744         * sysdeps/sh/sh4/setjmp.S: Likewise.
33745         * sysdeps/unix/alpha/sysdep.h: Likewise.
33746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33748         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33749         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33754         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33757         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33759         * sysdeps/x86_64/setjmp.S: Likewise.
33761 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33763         [BZ #17263]
33764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33765         <stdint.h>.
33766         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33767         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33769 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33771         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33773         [BZ #17262]
33774         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33775         and __x86_64__ when disabling x87 inline functions.
33777 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33779         [BZ #17259]
33780         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33781         asm statement with __cpuid_count.
33783 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33785         * configure.ac: Change __ehdr_start code to dereference the struct.
33786         Run readelf on the output to look for relocations.
33787         * configure: Regenerated.
33789 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #17261]
33792         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33793         value to 0.
33794         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33796 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33798         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33800 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33802         [BZ #16892]
33803         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33804         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33806 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33808         * malloc/malloc.c: Fix typo in comment.
33810 2014-08-09  Allan McRae  <allan@archlinux.org>
33812         * Regenerate libc.po.
33814 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33816         * intl/tst-gettext2.sh: Check every lang file for creation.
33818 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33820         * sysdeps/aarch64/fpu/math_private.h
33821         (libc_feholdsetround_noex_aarch64_ctx): New function.
33823 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33825         * sysdeps/arm/armv6/strcpy.S (strcpy):
33826         Fix performance issue in misaligned cases.
33828 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33830         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33831         Move definition from termios.h.
33832         (struct termio): Likewise.
33833         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33834         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33835         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33836         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33837         Likewise.
33838         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33839         Move definition to ioctl-types.h
33840         (struct termio): Likewise.
33841         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33842         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33843         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33844         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33845         Likewise.
33847 2014-08-05  Richard Henderson  <rth@redhat.com>
33849         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33850         exceptions.
33851         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33852         Add fraiseexcpt.
33853         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33854         Use __feraiseexcept.
33855         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33856         Protect libm symbols with IS_IN_libm.
33858         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33860 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33862         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33864 2014-08-04  Will Newton  <will.newton@linaro.org>
33866         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33867         file.
33869 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33871         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33872         variants for each function.
33874 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33876         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33877         appended ...
33878         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33879         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33880         appended ...
33881         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33882         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33883         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33884         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33885         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33886         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33887         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33888         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33889         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33890         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33891         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33893         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33894         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33895         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33897         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33898         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33899         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33900         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33901         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33902         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33903         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33904         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33905         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33906         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33907         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33909         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33910         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33911         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33912         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33913         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33915         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33916         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33917         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33918         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33919         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33920         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33921         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33922         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33923         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33924         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33925         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33927         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33929         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33930         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33931         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33932         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33933         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33934         Update #include.
33935         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33936         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33938 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33940         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33941         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33942         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33943         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33944         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33945         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33949         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33950         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33951         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33952         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33954 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33956         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33957         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33958         (__libc_vfork): Define function under this name.
33959         (__vfork): Define as an alias.
33960         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33961         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33963 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33965         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33966         that was previously under [RESET_PID].
33967         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33969 2014-08-04  Andreas Schwab  <schwab@suse.de>
33971         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33973 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33975         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33976         (main): Likewise.
33978 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33980         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33982 2014-08-01  Richard Henderon  <rth@redhat.com>
33984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33985         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33986         typo in exact zero test.
33987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33988         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33991 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33993         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33994         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33995         * sysdeps/arm/sysdep.h: ... here.
33996         [!__ASSEMBLER__]: Include <stdint.h>.
33998 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34000         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34001         (HAVE_WCTYPE_H): Likewise.
34002         (HAVE_ISWCTYPE): Likewise.
34003         (ENABLE_NLS): Likewise.
34004         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34005         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34007         * posix/regex_internal.c: Check if DEBUG is defined and is
34008         set.
34010         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34011         (HAVE_MBSRTOWCS): Likewise.
34012         * posix/fnmatch.c: Include string.h unconditionally.
34014 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34016         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34017         reversal.
34019 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34021         * sysdeps/generic/safe-fatal.h: New file.
34022         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34023         * nptl/forward.c: Include it.
34024         (__pthread_unwind): Use __safe_fatal as default action, rather
34025         than a bogus use of INTERNAL_SYSCALL that could never work.
34027         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34028         * configure.ac (libc_cv_builtin_trap): New test.
34029         * configure: Regenerated.
34030         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34031         (ABORT_INSTRUCTION): Define using __builtin_trap.
34033         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34034         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34035         * sysdeps/nptl/nptl-signals.h: New file.
34036         * nptl/pthreadP.h: Include <nptl-signals.h>.
34038 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34040         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34041         (ONE_DIRECTION): Define.
34042         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34043         (ONE_DIRECTION): Define.
34044         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34045         (ONE_DIRECTION): Define.
34047 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34049         * sysdeps/s390/Makefile: Delete file.
34050         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34051         * sysdeps/s390/__longjmp.c: Delete file.
34052         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34053         Remove fields __flags and __reserved.
34054         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34055         and add versioning.
34056         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34057         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34058         * sysdeps/s390/rtld-setjmp.S: Likewise.
34059         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34060         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34061         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34062         * sysdeps/s390/s390-32/setjmp.S: ... here.
34063         Add versioning.
34064         (__sigsetjmp): Remove setting __flags field.
34065         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34066         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34067         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34068         * sysdeps/s390/s390-64/setjmp.S: ... here.
34069         Add versioning.
34070         (__sigsetjmp): Remove setting __flags field.
34071         * sysdeps/s390/setjmp.S: Delete file.
34072         * sysdeps/s390/sigjmp.c: Likewise.
34073         * sysdeps/s390/v1-longjmp.c: Likewise.
34074         * sysdeps/s390/v1-setjmp.h: Likewise.
34075         * sysdeps/s390/v1-sigjmp.c: Likewise.
34076         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34077         Remove v1-longjmp_chk.
34078         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34079         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34080         Include debug/longjmp_chk.c and add versioning.
34081         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34082         Include nptl/pt-longjmp.c and add versioning.
34083         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34084         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34085         Include __longjmp.c.
34086         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34087         Move to ...
34088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34089         (__getcontext): Remove setting __flags field.
34090         Add versioning.
34091         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34092         Don't restore upper high grps.
34093         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34094         Likewise.
34095         (__swapcontext): Remove setting uc_flags field.
34096         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34097         Delete file.
34098         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34099         Include __longjmp.c.
34100         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34101         Move to ...
34102         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34103         (__getcontext): Remove setting __flags field.
34104         Add versioning.
34105         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34106         (__swapcontext): Remove setting uc_flags field.
34107         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34108         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34109         Remove fields uc_high_gprs and __reserved.
34110         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34111         New file with reverted content.
34112         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34113         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34114         Regenerated.
34115         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34116         Regenerated.
34118 2014-07-31  Andreas Schwab  <schwab@suse.de>
34120         * config.h.in (HAVE_IFUNC): Define to 0.
34121         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34122         definedness.
34124 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34127         memmove-avx-unaligned, memcpy-avx-unaligned and
34128         mempcpy-avx-unaligned.
34129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34130         Add tests for AVX memcpy functions.
34131         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34132         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34133         memcpy_chk.
34134         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34135         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34136         memmove_chk.
34137         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34138         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34139         mempcpy_chk.
34140         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34141         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34142         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34144 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34146         [BZ #17213]
34147         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34148         powerpc64le.
34150 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34152         [BZ #16839]
34153         * manual/llio.texi: Add section about open file description locks.
34154         * manual/examples/ofdlocks.c: Example of open file description
34155         lock usage.
34156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34157         F_OFD_SETLK, and F_OFD_SETLKW.
34159 2014-07-23  Allan McRae  <allan@archlinux.org>
34161         * po/es.po: Update Spanish translation from translation project.
34163 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34165         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34167 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34169         [BZ #17078]
34170         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34171         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34172         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34174 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34176         [BZ #17088]
34177         * math/fesetenv.c (__fesetenv)
34178         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34179         * math/feupdateenv.c (__feupdateenv)
34180         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34182         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34183         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34184         (__ASSUME_SOCKETCALL): Do not define.
34186         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34187         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34188         (__ASSUME_SOCKETCALL): Do not define.
34189         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34190         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34191         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34192         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34193         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34194         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34195         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34196         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34199         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34200         (__ASSUME_SOCKETCALL): Do not define.
34201         (__ASSUME_IPC64): Define unconditionally.
34202         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34203         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34204         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34205         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34206         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34208         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34209         Likewise.
34211         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34212         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34213         (__ASSUME_SOCKETCALL): Do not define.
34214         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34215         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34216         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34217         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34218         (__ASSUME_REQUEUE_PI): Define unconditionally.
34219         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34220         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34221         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34222         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34224         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34226         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34227         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34228         (__ASSUME_SOCKETCALL): Do not define.
34229         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34230         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34231         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34232         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34233         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34234         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34236         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34237         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34238         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34239         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34240         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34241         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34243         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34244         (__ASSUME_GETCPU_SYSCALL): Likewise.
34246         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34247         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34248         cases for individual architectures.
34249         * sysdeps/gnu/configure: Regenerated.
34250         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34251         LIBC_SLIBDIR_RTLDDIR.
34252         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34253         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34254         LIBC_SLIBDIR_RTLDDIR.
34255         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34257         LIBC_SLIBDIR_RTLDDIR.
34258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34259         Regenerated.
34260         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34261         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34262         file.
34263         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34264         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34265         file.
34266         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34267         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34268         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34269         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34271         * sysdeps/aarch64/shlib-versions: Move to ...
34272         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34273         * sysdeps/alpha/shlib-versions: Move to ...
34274         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34275         * sysdeps/arm/shlib-versions: Move to ...
34276         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34277         * sysdeps/hppa/shlib-versions: Move all contents except for
34278         libgcc_s entry to ...
34279         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34280         entry from ...
34281         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34282         * sysdeps/ia64/shlib-versions: Move to ...
34283         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34284         entry from ...
34285         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34286         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34287         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34288         * sysdeps/microblaze/shlib-versions: Move to ...
34289         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34290         * sysdeps/mips/shlib-versions: Move to ...
34291         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34292         entry from ...
34293         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34294         * sysdeps/tile/shlib-versions: Move to ...
34295         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34296         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34297         from ...
34298         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34299         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34300         entry from ...
34301         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34303 2014-07-17  Will Newton  <will.newton@linaro.org>
34305         * sysdeps/arm/bits/atomic.h
34306         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34307         (__arch_compare_and_exchange_bool_16_int): Likewise.
34308         (__arch_compare_and_exchange_bool_64_int): Likewise.
34310         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34311         into an #else block.
34313 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34315         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34316         just Linux configurations.  Test empirically that the compiler sets
34317         __ARM_EABI__, rather than using the tuple to decide.
34318         * sysdeps/arm/preconfigure: Regenerated.
34319         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34320         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34321         contents appended ...
34322         * sysdeps/arm/configure.ac: ... here.
34323         * sysdeps/arm/configure: Regenerated.
34325 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34327         * nptl/pthread_kill.c: New file.
34328         * nptl/pthread_sigmask.c: New file.
34329         * nptl/pthread_sigqueue.c: New file.
34331         * sysdeps/nptl/lowlevellock.h: New file.
34332         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34333         * sysdeps/nptl/lowlevellock-futex.h: New file.
34335         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34336         Remove dead declarations.
34338 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34340         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34341         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34342         config-cflags-avx2.
34343         * sysdeps/x86_64/configure.ac: Likewise.
34344         * sysdeps/i386/configure: Regenerated.
34345         * sysdeps/x86_64/configure: Likewise.
34346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34347         memset-avx2 only if config-cflags-avx2 is yes.
34348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34349         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34350         defined.
34351         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34352         only if HAVE_AVX2_SUPPORT is defined.
34353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34355 2014-07-14  Alan Modra  <amodra@gmail.com>
34357         [BZ #17153]
34358         * elf/elf.h (DT_PPC64_NUM): Correct value.
34359         * NEWS: Add to fixed bug list.
34361 2014-07-13  Jim Meyering  <meyering@fb.com>
34363         [BZ 17150]
34364         regex: don't deref NULL upon heap allocation failure
34365         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34366         failure in one more place.
34367         To trigger the segfault, configure grep -with-included-regex,
34368         build it, and run these commands:
34369         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34371 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34373         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34375 2014-07-11  Richard Henderson  <rth@redhat.com>
34377         * sysdeps/aarch64/libm-test-ulps: Update.
34379 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34381         [BZ #17135]
34382         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34383         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34384         (__nptl_setxid): Initialize error member.  Call
34385         __nptl_setxid_error.
34386         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34387         * nptl/descr.h (struct xid_command): Add error member.
34388         * nptl/tst-setuid3.c: New file.
34389         * nptl/Makefile (tests): Add it.
34391 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34394         New define.
34395         (__lll_trylock): Use __lll_base_trylock.
34396         (__lll_cond_trylock): Likewise.
34398 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34400         * nptl/pthread_create.c (start_thread): Use atomic_or and
34401         lll_futex_wake directly rather than lll_robust_dead.
34402         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34403         (lll_robust_dead): Macro removed.
34404         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34405         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34406         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34407         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34408         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34409         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34410         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34411         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34412         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34413         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34414         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34415         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34416         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34417         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34418         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34420         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34421         Use atomic_compare_and_exchange_val_acq directly rather than
34422         lll_robust_trylock.
34423         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34424         (__lll_robust_trylock, lll_robust_trylock): Removed.
34425         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34426         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34427         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34428         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34429         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34430         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34431         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34432         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34433         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34434         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34435         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34436         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34437         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34438         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34440 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34442         * manual/locale.texi (Locale Names): New section documenting
34443         locale name syntax.  Adjust menu and node chaining accordingly.
34444         (Choosing Locale): Reference Locale Names, Locale Categories.
34445         Mention setting LC_ALL=C.  Reflect that name syntax is now
34446         documented.
34447         (Locale Categories): New section title.  Reference Locale Names.
34448         LC_ALL is an environment variable, but not a category.
34449         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34450         description, now in Locale Name.  Reference that section.  Locale
34451         name syntax is now documented.
34453 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34455         [BZ #17137]
34456         * locale/findlocale.c (name_present, valid_locale_name): New
34457         functions.
34458         (_nl_find_locale): Use the loc_name variable to store name
34459         candidates.  Call name_present and valid_locale_name to check and
34460         validate locale names.  Return an error if the locale is invalid.
34462 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34464         * locale/setlocale.c (setlocale): Use strdup for allocating
34465         composite name copy.
34467 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34469         Sync up with gnulib.
34470         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34471         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34472         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34473         and _GL_ARG_NONNULL.
34474         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34475         [!_LIBC]: Include code for Windows and Cygwin.
34476         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34477         Include prototype for int strerror_r.
34478         [!_LIBC] (is_open): New function.
34479         (flush_stdout): New function.
34480         (print_errno_message): Use it.
34481         (error): Likewise.
34482         (error_at_line): Likewise.
34483         (error_tail) Add function attribute macros.  Use
34484         __builtin_expect.
34486         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34488         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34490         * io/ftw.c: Include sys/param.h unconditionally.
34492         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34494         [BZ #17125]
34495         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34496         libc_freeres_ptr.
34497         (freecache): New function to free CACHE on exit.
34499         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34500         initialization.
34502 2014-07-09  David S. Miller  <davem@davemloft.net>
34504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34506         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34507         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34508         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34509         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34510         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34511         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34512         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34513         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34514         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34515         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34516         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34517         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34518         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34520 2014-07-09  Andreas Schwab  <schwab@suse.de>
34522         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34523         output.
34524         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34525         (do_test): Likewise.
34527         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34529 2014-07-09  Will Newton  <will.newton@linaro.org>
34531         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34532         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34533         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34534         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34535         * sysdeps/hppa/start.S (_start): Likewise.
34537 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34539         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34541         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34542         defined.
34544 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34546         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34547         after checking that it is non-NULL.
34549         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34551 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34553         * sysdeps/powerpc/memmove.c: Remove file.
34554         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34555         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34556         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34557         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34558         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34559         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34560         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34561         string memmove instead of removed powerpc one.
34563         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34564         [weak_alias]: Fix compiler warning due trailing data.
34565         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34566         [weak_alias]: Likewise.
34567         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34568         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34571         (__libc_ifunc_impl_list): Add memmove functions.
34573 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34575         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34576         Remove code.
34577         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34578         Likewise.
34579         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34580         Likewise.
34581         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34582         Likewise.
34583         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34584         Likewise.
34585         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34586         Likewise.
34587         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34588         Likewise.
34589         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34590         Likewise.
34591         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34592         Likewise.
34593         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34594         Likewise.
34595         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34596         Likewise.
34597         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34598         Likewise.
34599         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34600         Likewise.
34601         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34602         Likewise.
34603         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34604         Likewise.
34605         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34606         Likewise.
34607         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34608         Likewise.
34610 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34612         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34613         to avoid alignment traps in non-cacheable memory.
34614         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34617         multiarch objects.
34618         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34619         file: multiarch power7 memmove.
34620         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34621         multiarch default memmove.
34622         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34623         multiarch memove for powerpc32/power4.
34625         * string/bcopy.c: Use full path to include memmove.c.
34626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34627         multiarch objects.
34628         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34629         bcopy for powerpc64.
34630         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34631         bcopy for powerpc64.
34632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34633         and memmove implementations.
34634         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34635         optimized multiarch memmove for POWER7/powerpc64.
34636         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34637         default multiarch memmove for powerpc64.
34638         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34639         multiarch for powerpc64.
34640         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34641         for POWER7/powerpc64.
34642         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34643         memmove for POWER7/powerpc64.
34645         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34646         glibc default one.
34648         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34649         __ELF_NATIVE_CLASS equal to 64.
34651 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34653         * sysdeps/nptl/lowlevellock.h: File removed.
34655         * NEWS: NPTL is no longer an add-on!
34656         * nptl/internaltypes.h: Moved ...
34657         * sysdeps/nptl/internaltypes.h: ... here.
34658         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34659         * sysdeps/nptl/fork.c: Likewise.
34660         * sysdeps/nptl/gai_misc.h: Likewise.
34661         * sysdeps/nptl/librt-cancellation.c: Likewise.
34662         * sysdeps/nptl/jmp-unwind.c: Likewise.
34663         * sysdeps/nptl/setxid.h: Likewise.
34664         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34665         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34666         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34667         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34668         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34669         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34670         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34671         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34672         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34673         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34674         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34675         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34676         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34677         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34678         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34679         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34680         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34681         * nptl/Makeconfig: Moved ...
34682         * sysdeps/nptl/Makeconfig: ... here.
34683         * nptl/configure: File removed.
34684         * nptl/ANNOUNCE: File removed.
34685         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34686         * sysdeps/unix/sysv/linux/configure: Regenerated.
34688         * nptl/Makefile (routines): Add libc_pthread_init,
34689         libc_multiple_threads, register-atfork and unregister-atfork.
34690         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34691         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34692         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34693         pthread-pi-defines.sym, structsem.sym.
34694         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34695         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34696         [$(subdir) = nptl] (tests): Add tst-setgetname.
34697         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34698         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34699         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34700         [!LIBC_SIGACTION]: Remove aliases.
34701         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34702         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34703         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34704         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34705         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34706         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34707         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34709         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34710         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34711         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34712         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34713         __libc_allocate_rtsig_private.
34714         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34715         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34716         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34717         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34718         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34719         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34720         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34721         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34722         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34723         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34724         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34725         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34726         * nptl/internaltypes.h: ... here.
34727         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34728         * sysdeps/nptl/jmp-unwind.c: ... here.
34729         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34730         * nptl/libc-lowlevellock.c: ... here.
34731         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34732         * nptl/libc_multiple_threads.c: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34734         * nptl/libc_pthread_init.c: ... here.
34735         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34736         * nptl/lowlevelbarrier.sym: ... here.
34737         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34738         * nptl/lowlevelcond.sym: ... here.
34739         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34740         * nptl/lowlevellock.c: ... here.
34741         * nptl/lowlevellock.h: Moved ...
34742         * sysdeps/nptl/lowlevellock.h: ... here.
34743         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34744         * nptl/lowlevelrobustlock.c: ... here.
34745         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34746         * nptl/lowlevelrobustlock.sym: ... here.
34747         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34748         * nptl/lowlevelrwlock.sym: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34750         * nptl/pt-fork.c: ... here.
34751         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34752         * nptl/pthread-pi-defines.sym: ... here.
34753         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34754         * nptl/pthread_attr_getaffinity.c: ... here.
34755         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34756         * nptl/pthread_attr_setaffinity.c: ... here.
34757         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34758         * nptl/pthread_mutex_cond_lock.c: ... here.
34759         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34760         Update #include.
34761         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34762         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34763         * nptl/pthread_once.c: ... here, replacing old file.
34764         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34765         * nptl/pthread_yield.c: ... here.
34766         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34767         * nptl/register-atfork.c: ... here.
34768         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34769         * nptl/sem_post.c: ... here.
34770         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34771         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34772         * nptl/sem_timedwait.c: ... here.
34773         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34774         * nptl/sem_trywait.c: ... here.
34775         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34776         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34777         * nptl/sem_wait.c: ... here.
34778         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34779         * nptl/structsem.sym: ... here.
34780         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34781         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34782         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34783         * nptl/unregister-atfork.c: ... here.
34784         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34785         * nptl/unwindbuf.sym: ... here.
34786         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34787         * sysdeps/nptl/fork.c: ... here.
34788         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34789         * sysdeps/nptl/fork.h: ... here.
34790         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34791         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34792         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34794         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34795         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34796         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34797         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34798         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34799         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34800         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34801         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34802         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34803         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34804         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34805         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34806         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34807         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34808         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34809         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34810         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34811         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34812         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34813         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34814         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34815         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34816         * sysdeps/unix/sysv/linux/raise.c: ... here.
34817         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34818         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34819         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34820         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34821         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34822         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34823         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34824         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34825         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34826         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34827         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34828         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34829         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34830         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34831         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34833 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34835         * sysdeps/generic/memcopy.h: Add comment for
34836         MEMCPY_OK_FOR_FWD_MEMMOVE.
34838 2014-07-04  Will Newton  <will.newton@linaro.org>
34840         * string/memchr.c: Merge from gnulib.
34841         [_LIBC]: Remove conditionals.
34842         (__ptr_t): Remove define.
34843         (LONG_MAX_32_BITS): Likewise.
34844         (LONG_MAX): Likewise.
34845         (MEMCHR): Use ANSI prototype and optimize algorithm.
34847         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34849 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34851         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34852         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34854         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34855         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34856         in a bare environment with no <stdlib.h> installed.
34857         * sysdeps/nptl/configure: Regenerated.
34859         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34861         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34862         AC_EGREP_CPP for kernel header checks, so they only succeed if
34863         including <linux/version.h> actually works right.
34864         * sysdeps/unix/sysv/linux/configure: Regenerated.
34866         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34867         value so it's not diagnosed as unused.
34869         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34870         thing) with "ifeq ($(subdir),rt)".
34872 2014-07-03  Richard Henderson  <rth@redhat.com>
34874         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34875         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34876         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34878         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34879         (math_force_eval): New.
34881         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34882         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34884         * sysdeps/alpha/fpu/s_round.c: Remove file.
34885         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34887         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34888         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34889         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34890         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34891         (_dl_start, print_statistics): Likewise.
34892         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34893         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34895         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34896         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34897         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34898         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34899         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34900         (HP_SMALL_TIMING_AVAIL): Define.
34901         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34902         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34903         (HP_SMALL_TIMING_AVAIL): Define.
34904         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34905         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34907         * sysdeps/aarch64/hp-timing.h: New file.
34909         * sysdeps/generic/hp-timing.h: Remove dead comment.
34910         * sysdeps/generic/hp-timing-common.h: New file.
34911         * sysdeps/alpha/hp-timing.h: Include it.
34912         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34913         * sysdeps/i386/i686/hp-timing.h: Likewise.
34914         * sysdeps/ia64/hp-timing.h: Likewise.
34915         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34916         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34918         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34919         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34920         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34921         (hp_timing_t): New.
34923         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34924         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34925         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34926         * elf/rtld.c (_dl_start_final): Likewise.
34927         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34928         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34929         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34930         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34931         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34933         (HP_TIMING_DIFF_INIT): Remove.
34934         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34936         (HP_TIMING_DIFF_INIT): Remove.
34937         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34938         * sysdeps/i386/i686/hp-timing.c: Remove file.
34939         * sysdeps/x86_64/hp-timing.c: Remove file.
34940         * sysdeps/ia64/hp-timing.c: Remove file.
34941         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34942         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34943         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34944         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34946         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34947         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34948         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34949         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34951         (HP_TIMING_ACCUM): Remove.
34952         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34954         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34956         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34957         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34958         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34959         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34961         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34962         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34963         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34965         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34967 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34969         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34971 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34973         Sync up with gettext.
34974         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34975         [_MSC_VER]: Include malloc.h
34976         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34977         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34978         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34979         TEMP_FAILURE_RETRY.  Cast return of alloca.
34980         [!_LIBC] Call gl_rwlock_init.
34981         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34983 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34985         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34986         before checking its value.
34988 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34990         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34992         * debug/memcpy_chk.c: Don't include pagecopy.h.
34993         * debug/mempcpy_chk.c: Likewise.
34994         * string/memcpy.c: Likewise.
34995         * string/memmove.c: Likewise.
34996         * sysdeps/powerpc/memmove.c: Likewise.
34997         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34998         definition of PAGE_COPY_FWD_MAYBE here...
34999         * sysdeps/generic/pagecopy.h: ... from here.
35000         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35002 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35003             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35005         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35007         optimizations.
35008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35009         (__libc_ifunc_impl_list): Likewise.
35010         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35011         multiarch strcat for PPC64.
35012         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35013         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35015 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35017         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35019 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35021         * intl/loadmsgcat.c: Remove declaration of
35022         get_sysdep_segment_value.
35023         (get_sysdep_segment_value): Use ISO C style.
35024         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35025         semicolon.  Fix typo and formatting in comment.
35026         (_nl_unload_domain): Use ISO C style.
35028         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35030 2014-07-02  Will Newton  <will.newton@linaro.org>
35032         * malloc/obstack.c: Merge from gnulib master.
35033         [HAVE_CONFIG_H]: Remove conditional code.
35034         [!_LIBC]: Include config.h.
35035         [!ELIDE_CODE]: Don't include inttypes.h, include
35036         stdint.h unconditionally.
35037         (print_and_abort): Mark as _Noreturn.
35038         (_obstack_allocated_p): Mark as __attribute_pure__.
35039         (obstack_free): Rename to __obstack_free.
35040         [!__attribute__]: Remove conditional code.
35041         * malloc/obstack.h: Merge from gnulib master.
35042         [__cplusplus]: Move conditional down.
35043         [!__attribute_pure__]: Define __attribute_pure__ here
35044         if it is not already defined.
35045         (_obstack_memory_used): Mark as __attribute_pure__.
35046         [!__obstack_free]: Define as obstack_free.
35047         [__GNUC__]: Remove check for ancient NeXT gcc.
35049 2014-07-02  Will Newton  <will.newton@linaro.org>
35050             Paul Eggert  <eggert@cs.ucla.edu>
35052         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35054 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35056         * resolv/gethnamaddr.c: Add comment warning that the file is
35057         not maintained.
35059 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35061         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35062         entries.
35064         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35065         entry for aio_cancel and aio_cancel64.
35066         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35067         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35068         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35069         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35070         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35071         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35072         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35073         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35074         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35075         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35076         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35077         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35078         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35080 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35082         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35083         * nptl/pthread_mutex_lock.c: Likewise.
35084         * nptl/pthread_mutex_timedlock.c: Likewise.
35085         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35087 2014-07-01  Richard henderson  <rth@redhat.com>
35089         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35090         (__isnan, __isnanl): Remove.
35091         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35093         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35095 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35099 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35101         * resolv/nss_dns/dns-host.c (getanswer_r)
35102         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35104 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35107         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35108         undefine.
35109         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35110         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35112 2014-07-01  Roland McGrath <roland@hack.frob.com>
35114         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35115         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35117         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35118         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35120         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35121         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35122         ... here.
35123         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35124         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35126         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35127         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35128         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35129         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35131         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35132         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35133         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35134         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35135         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35136         Moved ...
35137         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35138         ... here.
35139         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35140         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35141         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35142         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35144         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35145         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35146         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35147         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35148         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35149         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35150         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35152         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35153         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35154         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35158         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35159         ... here.
35160         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35161         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35162         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35163         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35164         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35165         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35166         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35167         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35169 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35171         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35172         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35173         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35174         Add sysdep.
35176 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35180 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35182         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35183         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35185         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35187         * sysdeps/arm/libm-test-ulps: Regenerated.
35189 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35190             Roland McGrath <roland@hack.frob.com>
35192         * test-skeleton.c (signal_handler): Kill the whole process group
35193         before killing the child individually.
35194         (main): Report any failure on `setpgid'.
35196 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35198         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35199         from _TLS_H to _ARM_NPTL_TLS_H.
35200         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35201         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35203 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35205         [BZ #16539]
35206         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35207         (__expm1l): Return argument unchanged when small but not
35208         subnormal.
35210         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35211         include macro name.
35212         (_FP_UNPACK_RAW_1_P): Likewise.
35213         (_FP_PACK_RAW_1): Likewise.
35214         (_FP_PACK_RAW_1_P): Likewise.
35215         (_FP_MUL_MEAT_1_wide): Likewise.
35216         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35217         (_FP_MUL_MEAT_1_hard): Likewise.
35218         (_FP_DIV_MEAT_1_imm): Likewise.
35219         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35220         (_FP_DIV_MEAT_1_udiv): Likewise.
35221         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35222         (_FP_UNPACK_RAW_2): Likewise.
35223         (_FP_UNPACK_RAW_2_P): Likewise.
35224         (_FP_PACK_RAW_2): Likewise.
35225         (_FP_PACK_RAW_2_P): Likewise.
35226         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35227         (_FP_MUL_MEAT_2_wide): Likewise.
35228         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35229         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35230         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35231         (_FP_MUL_MEAT_2_gmp): Likewise.
35232         (_FP_DIV_MEAT_2_udiv): Likewise.
35233         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35234         (_FP_FRAC_SRL_4): Likewise.
35235         (_FP_FRAC_SRST_4): Likewise.
35236         (_FP_FRAC_SRS_4): Likewise.
35237         (_FP_UNPACK_RAW_4): Likewise.
35238         (_FP_UNPACK_RAW_4_P): Likewise.
35239         (_FP_PACK_RAW_4): Likewise.
35240         (_FP_PACK_RAW_4_P): Likewise.
35241         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35242         (_FP_MUL_MEAT_4_wide): Likewise.
35243         (_FP_MUL_MEAT_4_gmp): Likewise.
35244         (umul_ppppmnnn): Likewise.
35245         (_FP_DIV_MEAT_4_udiv): Likewise.
35246         (__FP_FRAC_ADD_4): Likewise.
35247         (__FP_FRAC_SUB_3): Likewise.
35248         (__FP_FRAC_SUB_4): Likewise.
35249         (__FP_FRAC_DEC_3): Likewise.
35250         (__FP_FRAC_DEC_4): Likewise.
35251         (__FP_FRAC_ADDI_4): Likewise.
35252         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35253         (_FP_FRAC_SRL_8): Likewise.
35254         (_FP_FRAC_SRS_8): Likewise.
35256         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35257         include macro name.
35258         (FP_UNPACK_RAW_EP): Likewise.
35259         (FP_PACK_RAW_E): Likewise.
35260         (FP_PACK_RAW_EP): Likewise.
35261         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35262         (_FP_ISSIGNAN): Likewise.
35263         (_FP_ADD_INTERNAL): Likewise.
35264         (_FP_FMA): Likewise.
35265         (_FP_CMP): Likewise.
35266         (_FP_SQRT): Likewise.
35267         (_FP_TO_INT): Likewise.
35268         (_FP_FROM_INT): Likewise.
35269         (FP_EXTEND): Likewise.
35270         (_FP_DIV_MEAT_N_loop): Likewise.
35272 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35274         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35275         throughout.
35277 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35279         [BZ #17097]
35280         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35281         result with correct sign in case of exponents that produce
35282         overflow except for X very close to 1.
35284 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35286         mktime: merge #if/#ifdef usage from glibc
35287         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35288         as that works with both Glibc's and Gnulib's style.
35289         See thread starting at Siddhesh Poyarekar's bug report at:
35290         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35292 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35294         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35295         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35296         * sysdeps/tile/tilegx/memmove.c: Remove file.
35298 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35300         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35301         abi-name definition.
35302         * scripts/soversions.awk: Do not handle or generate ABI lines.
35303         * shlib-versions: Remove ABI entries.
35304         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35305         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35307 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35310         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35311         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35312         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35314         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35316         Moved ...
35317         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35318         ... here.
35319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35320         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35322         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35324         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35328         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35330         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35332         Moved ...
35333         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35335         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35337         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35339         Moved ...
35340         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35342         Moved ...
35343         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35345         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35347         Moved ...
35348         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35350         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35352         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35354         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35356         Moved ...
35357         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35359         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35360         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35361         Moved ...
35362         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35364         Moved ...
35365         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35367         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35369         Moved ...
35370         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35371         ... here.
35372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35373         Identical file removed.
35374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35375         Moved ...
35376         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35378         Identical file removed.
35379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35382         Moved ...
35383         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35385         Identical file removed.
35386         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35387         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35389         Identical file removed.
35390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35391         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35393         Identical file removed.
35394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35395         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35397         Identical file removed.
35398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35399         Moved ...
35400         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35402         Identical file removed.
35403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35404         Moved ...
35405         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35406         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35407         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35409         Identical file removed.
35410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35411         Moved ...
35412         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35413         ... here.
35414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35415         Identical file removed.
35416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35417         Moved ...
35418         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35420         Identical file removed.
35421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35422         Moved ...
35423         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35424         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35425         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35427         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35429         Moved ...
35430         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35431         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35432         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35434         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35435         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35436         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35437         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35438         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35440 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35442         [BZ #17092]
35443         * nscd/nscd.c (monitor_child): Return exit status of child
35444         instead of return value from wait syscall.
35446 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35448         * configure.ac (libc_commonpagesize): Remove variable.
35449         (libc_relro_required): Likewise.
35450         (libc_cv_z_relro): Remove configure test.
35451         * configure: Regenerated.
35452         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35453         variable.
35454         (libc_relro_required): Likewise.
35455         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35456         (libc_relro_required): Likewise.
35457         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35458         (libc_relro_required): Likewise.
35459         * sysdeps/arm/preconfigure: Regenerated.
35460         * sysdeps/ia64/preconfigure: Remove file.
35461         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35462         variable.
35463         (libc_relro_required): Likewise.
35465         [BZ #16561]
35466         [BZ #16562]
35467         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35468         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35469         recompute overflowing results in original rounding mode.
35470         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35471         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35472         recompute overflowing results in original rounding mode.
35473         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35474         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35475         recompute overflowing results in original rounding mode.
35476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35477         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35478         recompute overflowing results in original rounding mode.
35479         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35480         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35481         recompute overflowing results in original rounding mode.
35482         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35483         (libc_feholdsetround_ctx): New macro.
35484         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35485         * sysdeps/i386/fpu/libm-test-ulps: Update.
35486         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35488 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35490         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35491         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35492         corresponding .cpsetup call.
35494 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35496         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35497         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35498         * sysdeps/arm/Makefile [$(subdir) = csu]
35499         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35500         (static-only-routines): Add aeabi_read_tp here.
35501         (shared-only-routines): Add libc-aeabi_read_tp here.
35502         (CFLAGS-libc-start.c): Add -fexceptions here.
35503         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35504         (sysdep_routines, static-only-routines, shared-only-routines):
35505         Don't add to these here.
35506         (CFLAGS-libc-start.c): Likewise.
35508         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35509         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35510         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35511         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35512         * sysdeps/arm/Makefile [$(subdir) = rt]
35513         (librt-sysdep_routines, librt-shared-only-routines):
35514         Append rt-aeabi_unwind_cpp_pr1 here.
35515         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35516         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35517         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35518         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35519         Append nptl-aeabi_unwind_cpp_pr1 here.
35520         (tests): Filter out tst-cleanupx4 here.
35521         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35522         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35523         Don't do those here.
35525 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35527         * scripts/list-sources.sh: Do not handle ports specially.
35529 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35531         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35532         * sysdeps/arm/feupdateenv.c: Likewise.
35534         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35536 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35538         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35539         trailing whitespace removed.
35540         * scripts/config.guess: Update to version 2014-03-23.
35541         * scripts/config.sub: Update to version 2014-05-01
35542         * scripts/install-sh: Update to version 2013-12-25.23.
35543         * scripts/move-if-change: Update from gnulib.
35545 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35547         * debug/memmove_chk.c: Remove pagecopy.h include.
35549 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35551         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35552         identical to gnulib mktime.
35554 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35556         * configure.ac: Do not test for machine being rs6000.  Do not test
35557         for powerpc*-*soft.
35558         * configure: Regenerated.
35560         [BZ #11505]
35561         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35562         test.
35563         * configure: Regenerated.
35564         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35565         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35566         Remove configure test.
35567         * sysdeps/arm/configure: Regenerated.
35568         * sysdeps/nptl/configure.ac: Do not check
35569         libc_cv_asm_cfi_directives.
35570         * sysdeps/nptl/configure: Regenerated.
35571         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35572         * sysdeps/x86_64/nptl/configure: Remove generated file.
35573         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35574         unconditional.
35575         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35577 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35579         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35580         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35581         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35582         it is defined.
35584         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35585         instead of whether it is defined.
35586         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35587         * sysdeps/hppa/dl-machine.h: Likewise.
35588         * sysdeps/ia64/dl-machine.h: Likewise.
35589         * sysdeps/m68k/dl-machine.h: Likewise.
35590         * sysdeps/microblaze/dl-machine.h: Likewise.
35591         * sysdeps/mips/dl-machine.: Likewise.
35592         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35593         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35594         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35595         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35596         * sysdeps/sh/dl-machine.h: Likewise.
35597         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35598         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35599         * sysdeps/tile/dl-machine.h: Likewise.
35600         * sysdeps/x86_64/dl-machine.h: Likewise.
35602         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35603         code.
35604         (verify_persistent_db): Likewise.
35606 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35609         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35611         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35613         Moved ...
35614         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35615         ... here.
35616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35619         Identical file removed.
35620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35621         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35623         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35625         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35627         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35629         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35631         Moved ...
35632         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35634         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35636         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35638         Moved ...
35639         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35641         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35643         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35645         Identical file removed.
35646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35647         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35649         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35651         Moved ...
35652         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35653         ... here.
35654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35661         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35663         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35665         Moved ...
35666         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35668         Moved ...
35669         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35673         Moved ...
35674         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35679         folded into ...
35680         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35681         * sysdeps/unix/sysv/linux/s390/Versions
35682         (libpthread: GLIBC_2.19): New version set.
35683         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35684         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35685         (librt: GLIBC_2.3.3): New version set.
35686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35687         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35688         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35689         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35690         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35691         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35692         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35694         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35696         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35697         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35698         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35700         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35701         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35702         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35703         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35704         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35705         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35706         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35707         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35708         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35709         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35710         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35711         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35712         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35714         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35716         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35717         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35722         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35724         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35726         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35728         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35730         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35733         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35734         (__libc_vfork): Define the function under this name.
35735         [!NOT_IN_libc] (__vfork): Make this an alias.
35736         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35738         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35739         (__libc_vfork): Define the function under this name.
35740         [!NOT_IN_libc] (__vfork): Make this an alias.
35741         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35742         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35743         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35745         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35746         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35748         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35749         code that was previously under [RESET_PID].
35750         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35751         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35754         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35755         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35756         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35757         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35758         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35759         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35760         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35761         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35762         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35763         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35765         Moved ...
35766         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35767         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35768         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35769         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35770         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35771         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35772         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35773         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35774         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35775         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35776         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35777         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35778         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35779         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35780         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35781         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35782         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35783         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35784         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35785         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35786         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35787         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35788         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35789         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35790         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35791         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35792         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35794         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35796 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35798         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35799         that was previously under [RESET_PID].
35800         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35802 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35804         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35805         not undefine and redefine.
35806         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35807         [O_CLOEXEC]: Make code unconditional.
35808         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35809         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35810         <kernel-features.h>.
35811         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35812         conditional variable definition.
35813         (shm_open) [O_CLOEXEC]: Make code unconditional.
35814         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35815         code.
35817         * configure.ac (USE_REGPARMS): Don't define here.
35818         * configure: Regenerated.
35819         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35820         * sysdeps/i386/configure: Regenerated.
35822         * nptl/createthread.c: Don't include kernel-features.h.
35823         * nptl/pthread_cancel.c: Likewise.
35824         * nptl/pthread_condattr_setclock.c: Likewise.
35825         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35826         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35827         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35828         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35829         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35831         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35833         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35834         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35835         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35836         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35837         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35838         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35839         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35840         * nscd/gai.c: Likewise.
35841         * nss/nss_db/db-open.c: Likewise.
35842         * sysdeps/generic/ldsodefs.h: Likewise.
35843         * sysdeps/sh/nptl/tls.h: Likewise.
35844         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35845         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35846         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35847         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35848         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35849         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35850         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35851         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35853         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35854         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35855         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35856         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35857         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35858         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35859         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35860         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35861         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35862         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35863         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35865         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35866         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35867         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35872         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35873         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35874         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35875         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35876         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35877         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35878         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35879         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35880         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35881         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35882         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35883         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35884         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35885         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35886         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35887         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35888         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35889         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35890         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35891         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35892         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35893         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35894         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35895         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35896         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35897         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35898         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35899         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35900         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35901         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35924         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35925         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35926         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35927         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35928         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35929         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35930         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35931         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35932         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35933         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35934         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35935         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35936         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35937         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35938         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35939         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35940         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35941         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35942         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35943         * sysdeps/unix/sysv/linux/system.c: Likewise.
35944         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35945         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35946         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35947         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35948         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35950         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35952         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35953         * configure: Regenerated.
35954         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35956         * configure.ac (base_machine): Do not set specially for particular
35957         machines here.
35958         * configure: Regenerated.
35959         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35960         settings from configure.ac.
35961         * sysdeps/i386/preconfigure: New file.
35962         * sysdeps/s390/preconfigure: Likewise.
35963         * sysdeps/sh/preconfigure: Likewise.
35964         * sysdeps/sparc/preconfigure: Likewise.
35966 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35968         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35969         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35970         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35971         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35972         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35973         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35974         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35975         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35976         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35977         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35978         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35979         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35980         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35981         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35982         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35983         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35985         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35986         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35988         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35989         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35990         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35991         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35992         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35993         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35994         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35995         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35996         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35997         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35998         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35999         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36000         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36001         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36002         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36003         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36004         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36005         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36006         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36007         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36008         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36009         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36010         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36011         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36013         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36014         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36015         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36016         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36017         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36018         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36019         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36020         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36021         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36022         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36023         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36024         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36025         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36028         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36030         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36032         Moved ...
36033         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36034         ... here.
36035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36036         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36038         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36040         Moved ...
36041         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36043         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36045         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36047         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36049         Moved ...
36050         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36057         Moved ...
36058         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36060         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36062         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36064         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36066         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36068         Moved ...
36069         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36070         ... here.
36071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36074         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36076         Moved ...
36077         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36079         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36081         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36083         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36085         Moved ...
36086         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36088         Moved ...
36089         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36091         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36093         Moved ...
36094         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36098         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36100 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36102         * timezone/checktab.awk: Update from tzcode 2014e.
36103         * timezone/private.h: Likewise.
36104         * timezone/tzfile.h: Likewise.
36105         * timezone/zdump.c: Likewise.
36106         * timezone/zic.c: Likewise.
36108         * sysdeps/unix/sysv/linux/kernel-features.h
36109         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36111         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36112         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36113         Remove conditional code.
36115 2014-06-25  Will Newton  <will.newton@linaro.org>
36117         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36118         (_dl_arm_cap_flags): Add HWCAP2 values.
36119         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36120         (_DL_HWCAP_COUNT): Increase to 37.
36121         (_DL_HWCAP_LAST): New define.
36122         (_DL_HWCAP2_LAST): New define.
36123         (_dl_procinfo): Add support for printing
36124         AT_HWCAP2 entries.
36125         (_dl_string_hwcap): Use _dl_hwcap_string.
36127 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36131 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36133         * README: Do not mention ports directory.
36135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36136         Remove macro.
36137         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36138         <kernel-features.h>.
36139         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36140         conditional variable definition.
36141         (__futimes): Update comment.
36142         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36143         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36145         [BZ #16560]
36146         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36147         arguments close to 0.
36148         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36149         Likewise.
36150         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36151         Likewise.
36152         * math/auto-libm-test-in: Add more tests of exp10.
36153         * math/auto-libm-test-out: Regenerated.
36154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36156         * sysdeps/unix/sysv/linux/kernel-features.h
36157         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36158         * sysdeps/unix/sysv/linux/readv.c: Do not include
36159         <kernel-features.h>.
36160         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36161         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36162         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36163         unconditional.
36164         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36165         conditional code.
36166         * sysdeps/unix/sysv/linux/writev.c: Do not include
36167         <kernel-features.h>.
36168         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36169         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36170         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36171         unconditional.
36172         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36173         conditional code.
36175 2014-06-25  Will Newton  <will.newton@linaro.org>
36177         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36178         comment changes throughout the file.  Remove checks
36179         for HAVE_*_H definitions that are not required.
36180         (__gen_tempname): Call abort if an unknown kind value is
36181         passed.
36183 2014-06-25  Andreas Schwab  <schwab@suse.de>
36185         [BZ #17086]
36186         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36187         scalbln, scalblnf, scalblnl in libc.
36189 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36191         [BZ #17086]
36192         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36193         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36194         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36196 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36198         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36199         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36200         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36201         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36202         Update #include.
36203         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36204         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36205         Update #include.
36206         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36207         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36208         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36209         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36210         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36211         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36212         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36213         * sysdeps/x86/bits/semaphore.h: ... here.
36214         * sysdeps/x86/nptl/elide.h: Moved ...
36215         * sysdeps/x86/elide.h: ... here.
36216         * sysdeps/x86_64/nptl/Implies: File removed.
36217         * sysdeps/i386/nptl/Implies: File removed.
36219 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36221         [BZ #16539]
36222         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36223         return the argument for normal arguments with exponent below -64.
36224         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36225         Likewise.
36226         * math/auto-libm-test-in: Add another test of expm1.
36227         * math/auto-libm-test-out: Regenerated.
36229         [BZ #16287]
36230         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36231         calling __erfcl for arguments at least 16.
36232         * math/auto-libm-test-in: Add more tests of erf.
36233         * math/auto-libm-test-out: Regenerated.
36235         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36236         individual architectures.
36237         * sysdeps/unix/sysv/linux/configure: Regenerated.
36238         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36239         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36240         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36241         (ldd_rewrite_script): Define variable.
36242         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36244         file.
36245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36246         generated file.
36247         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36248         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36249         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36250         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36251         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36252         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36253         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36254         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36256 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36258         [BZ #17084]
36259         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36260         Rename member __data.d to __data.__elision_data.
36262 2014-06-24  Wilco  <wdijkstr@arm.com>
36264         * NEWS: Add 16918 to fixed bug list.
36266 2014-06-24  Wilco  <wdijkstr@arm.com>
36268         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36270 2014-06-24  Wilco  <wdijkstr@arm.com>
36272         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36273         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36274         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36275         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36276         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36277         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36278         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36279         Use _FPU_MASK_RM.
36281 2014-06-24  Wilco  <wdijkstr@arm.com>
36283         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36285 2014-06-24  Wilco  <wdijkstr@arm.com>
36287         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36288         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36289         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36290         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36292 2014-06-24  Wilco  <wdijkstr@arm.com>
36294         [BZ #16918]
36295         * sysdeps/arm/feupdateenv.c (feupdateenv):
36296         Rewrite to reduce FPSCR accesses and fix return value.
36298 2014-06-24  Wilco  <wdijkstr@arm.com>
36300         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36301         Optimize to avoid unnecessary FPSCR writes.
36302         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36303         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36304         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36305         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36307 2014-06-24  Wilco  <wdijkstr@arm.com>
36309         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36310         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36311         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36312         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36313         Call libc_fetestexcept_vfp.
36314         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36315         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36316         __SOFTFP__ ifdef so that they can be built for softfp.
36318 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36320         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36321         argument type signed char.
36323         * Makerules (check-abi): Dump diff of symlist if the test
36324         fails.
36326 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36328         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36329         using abort.
36331         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36332         Remove unused variable ST.
36334 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36336         [BZ #16354]
36337         [BZ #17061]
36338         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36339         small arguments before calling __expm1.
36340         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36341         small arguments before calling __expm1f.
36342         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36343         small arguments before calling __expm1l.
36344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36345         Likewise.
36346         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36347         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36348         spurious underflow for some cosh tests.
36349         * math/auto-libm-test-out: Regenerated.
36350         * sysdeps/i386/fpu/libm-test-ulps: Update.
36352         [BZ #17050]
36353         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36354         (__ieee754_y1): Set errno if return value overflows.
36355         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36356         (__ieee754_y1f): Set errno if return value overflows.
36357         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36358         (__ieee754_y1l): Set errno if return value overflows.
36359         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36360         (__ieee754_y1l): Set errno if return value overflows.
36361         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36362         * math/auto-libm-test-out: Regenerated.
36364         * math/gen-auto-libm-tests.c: Document use of
36365         ignore-zero-inf-sign.
36366         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36367         (input_flags): Add ignore-zero-inf-sign.
36368         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36369         * math/gen-libm-test.pl (generate_testfile): Handle
36370         ignore-zero-inf-sign.
36371         * math/auto-libm-test-in: Mark some cpow tests with
36372         ignore-zero-inf-sign and some with xfail-rounding.
36373         * math/auto-libm-test-out: Regenerated.
36374         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36375         * sysdeps/i386/fpu/libm-test-ulps: Update.
36376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36378         [BZ #16315]
36379         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36380         overflowing or underflowing operations take place with sign of
36381         result.
36382         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36383         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36384         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36385         (__ieee754_pow): Recompute overflowing and underflowing results in
36386         original rounding mode.
36387         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36388         (__powl_helper): Allow negative argument X and scale negated value
36389         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36390         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36391         overflowing or underflowing operations take place with sign of
36392         result.
36393         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36394         Include <math.h>.
36395         * math/auto-libm-test-in: Add more tests of pow.
36396         * math/auto-libm-test-out: Regenerated.
36397         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36398         (pow_tonearest_test_data): Remove.
36399         (pow_test_tonearest): Likewise.
36400         (pow_towardzero_test_data): Likewise.
36401         (pow_test_towardzero): Likewise.
36402         (pow_downward_test_data): Likewise.
36403         (pow_test_downward): Likewise.
36404         (pow_upward_test_data): Likewise.
36405         (pow_test_upward): Likewise.
36406         (main): Don't call removed functions.
36407         * sysdeps/i386/fpu/libm-test-ulps: Update.
36408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36410 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36413         Moved ...
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36416         Moved ...
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36419         Moved ...
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36422         Moved ...
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36425         File removed.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36427         File removed.
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36429         File removed.
36430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36431         File removed.
36432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36433         File removed.
36434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36435         File removed.
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36437         File removed.
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36439         File removed.
36440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36441         File removed.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36443         File removed.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36445         File removed.
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36447         File removed.
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36449         Moved ...
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36452         Moved ...
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36454         ... here.
36455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36456         Moved ...
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36462         Moved ...
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36465         Moved ...
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36468         Moved ...
36469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36471         Moved ...
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36474         Moved ...
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36478         ... here.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36480         Moved ...
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36483         Moved ...
36484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36485         ... here.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36487         Moved ...
36488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36489         ... here.
36490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36491         Moved ...
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36493         ... here.
36494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36495         Moved ...
36496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36498         Moved ...
36499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36503         Moved ...
36504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36505         ... here.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36507         Moved ...
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36509         ... here.
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36511         Moved ...
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36514         Moved ...
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36517         Moved ...
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36520         Moved ...
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36523         Moved ...
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36525         ... here.
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36530         Moved ...
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36533         Moved ...
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36536         Moved ...
36537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36541         Moved ...
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36544         Moved ...
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36547         Moved ...
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36549         ... here.
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36551         Moved ...
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36553         ... here.
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36555         Moved ...
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36557         ... here.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36559         Moved ...
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36562         Moved ...
36563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36565         Moved ...
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36568         Moved ...
36569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36570         ... here.
36571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36572         Moved ...
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36574         ... here.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36576         Moved ...
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36578         ... here.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36580         Moved ...
36581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36583         Moved ...
36584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36586 2014-06-23  Will Newton  <will.newton@linaro.org>
36587             Wilco  <wdijkstr@arm.com>
36589         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36590         implementation.  Include get-rounding-mode.h.
36591         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36592         [!libc_feholdsetround_noex_ctx]: Define
36593         libc_feholdsetround_noex_ctx.
36594         [!libc_feholdsetround_noexf_ctx]: Define
36595         libc_feholdsetround_noexf_ctx.
36596         [!libc_feholdsetround_noexl_ctx]: Define
36597         libc_feholdsetround_noexl_ctx.
36598         (libc_feholdsetround_ctx): New function.
36599         (libc_feresetround_ctx): New function.
36600         (libc_feholdsetround_noex_ctx): New function.
36601         (libc_feresetround_noex_ctx): New function.
36603 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36605         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36606         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36607         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36608         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36609         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36610         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36612         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36613         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36614         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36615         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36616         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36617         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36619         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36621         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36622         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36623         Moved ...
36624         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36625         ... here.
36626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36627         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36629         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36631         Moved ...
36632         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36633         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36634         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36636         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36638         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36640         Moved ...
36641         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36643         Moved ...
36644         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36646         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36648         Moved ...
36649         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36651         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36652         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36653         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36654         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36655         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36657         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36659         Moved ...
36660         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36661         ... here.
36662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36663         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36664         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36665         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36666         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36667         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36669         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36671         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36673         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36675         Moved ...
36676         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36678         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36680         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36682         Moved ...
36683         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36685         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36686         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36687         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36689         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36690         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36691         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36692         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36693         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36694         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36695         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36696         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36697         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36698         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36699         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36700         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36701         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36702         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36703         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36704         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36705         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36706         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36707         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36708         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36709         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36710         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36711         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36712         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36713         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36714         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36715         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36716         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36718 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36721         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36722         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36723         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36724         (IPV6_PMTUDISC_INTERFACE): Likewise.
36725         (IPV6_PMTUDISC_OMIT): Likewise.
36727 2014-06-23  Andreas Schwab  <schwab@suse.de>
36729         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36730         Remove unused errout label.
36732 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36734         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36735         macro: hardware supports Vector Crypto instructions.
36737 2014-06-23  Will Newton  <will.newton@linaro.org>
36739         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36740         rather than __builtin_expect.
36742         * elf/dl-lookup.c (undefined_msg): Remove variable.
36743         (_dl_lookup_symbol_x): Replace undefined_msg with string
36744         literal.
36746         * elf/dl-lookup.c (do_lookup_unique): New function.
36747         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36748         to a separate function.
36750 2014-06-23  Andreas Schwab  <schwab@suse.de>
36752         [BZ #17079]
36753         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36754         before reading the next line.
36756 2014-06-23  Will Newton  <will.newton@linaro.org>
36758         * test-skeleton.c (signal_handler): Use printf and %m
36759         rather than perror.  Use printf rather than fprintf to
36760         stderr.  Use puts rather than fputs to stderr.
36761         (main): Likewise.
36763 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36765         * nscd/nscd.c (thread_info_t): Remove typedef.
36766         (thread_info): Remove variable.
36768 2014-06-21  Allan McRae  <allan@archlinux.org>
36770         * NEWS: Mention CVE-2014-4043.
36772 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36774         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36775         * nptl/smp.h: ... here.
36777         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36779         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36780         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36781         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36782         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36784         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36785         * nptl/stack-aliasing.h: New file.
36786         * sysdeps/i386/i686/stack-aliasing.h: New file.
36787         * sysdeps/i386/i686/nptl/Makefile: File removed.
36788         * sysdeps/x86_64/stack-aliasing.h: New file.
36789         * sysdeps/x86_64/nptl/Makefile
36790         (CFLAGS-pthread_create.c): Variable removed.
36792         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36793         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36794         old file.
36795         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36796         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36797         old file.
36799 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36802         (__ASSUME_SIGFRAME_V2): Remove macro.
36803         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36804         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36805         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36806         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36807         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36808         Declare as function.  Remove conditional macro definitions.
36809         (__default_rt_sa_restorer): Likewise.
36810         (__default_sa_restorer_v1): Remove declaration.
36811         (__default_sa_restorer_v2): Likewise.
36812         (__default_rt_sa_restorer_v1): Likewise.
36813         (__default_rt_sa_restorer_v2): Likewise.
36814         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36815         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36816         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36818 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36820         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36821         (libpthread-routines): Add sysdep.
36822         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36823         * sysdeps/unix/sysv/linux/sparc/Versions
36824         (libpthread: GLIBC_2.3.3): New version set.
36825         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36826         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36827         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36828         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36829         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36830         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36831         Moved ...
36832         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36833         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36834         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36835         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36836         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36837         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36838         * sysdeps/sparc/nptl/sem_init.c: ... here.
36839         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36840         * sysdeps/sparc/nptl/sem_post.c: ... here.
36841         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36842         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36843         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36844         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36845         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36846         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36847         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36848         (libpthread-routines): Add cpu_relax.
36849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36850         File removed.
36851         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36852         (librt: GLIBC_2.3.3): New version set.
36853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36854         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36855         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36856         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36859         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36861         Moved ...
36862         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36864         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36866         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36868         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36870         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36872         Moved ...
36873         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36874         Update #include.
36875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36876         Moved ...
36877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36878         Update #include.
36879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36880         Moved ...
36881         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36882         Update #include.
36883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36884         Moved ...
36885         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36886         Update #include.
36887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36888         Moved ...
36889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36890         Update #include.
36891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36892         Moved ...
36893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36894         Update #include.
36895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36896         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36902         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36904         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36906         Moved ...
36907         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36909         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36911         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36913 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36915         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36916         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36917         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36918         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36919         * nscd/nscd.c: Likewise.
36920         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36921         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36922         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36923         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36925         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36926         <kernel-features.h>.
36927         (init_mq_netlink): Remove conditional have_sock_cloexec
36928         definitions.  Remove code conditional on have_sock_cloexec < 0.
36929         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36930         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36931         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36932         <kernel-features.h>.
36933         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36934         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36936 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36939         Add tests for memset_chk and memset.
36941         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36942         with AVX2_Usable.
36944 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36946         [BZ #16046]
36947         * elf/tst-dl-iter-static.c: New file.
36948         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36950         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36951         error.
36953 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36955         * sysdeps/unix/sysv/linux/kernel-features.h
36956         (__ASSUME_F_GETOWN_EX): Remove macro.
36957         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36958         <kernel-features.h>.
36959         (miss_F_GETOWN_EX): Remove variable or macro.
36960         (do_fcntl): Do not check miss_F_GETOWN_EX.
36961         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36963         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36964         Remove macro.
36965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36966         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36967         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36969         * sysdeps/unix/sysv/linux/kernel-features.h
36970         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36971         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36972         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36973         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36975 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36977         [BZ #17075]
36978         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36979         Fix calculation of the symbol's value.
36980         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36981         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36982         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36983         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36984         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36985         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36986         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36987         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36988         (modules-names): Add `tst-armtlsdescmod',
36989         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36990         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36991         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36992         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36993         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36994         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36995         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36996         ($(objpfx)tst-armtlsdescloc): New dependency.
36997         ($(objpfx)tst-armtlsdescextnow): Likewise.
36998         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36999         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37000         TLS scheme support.
37001         * sysdeps/arm/configure: Regenerate.
37003 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37005         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37006         (__atfct_seterrno_2): Likewise.
37007         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37008         <kernel-features.h>.
37009         (__ASSUME_ATFCTS): Do not undefine and redefine.
37010         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37011         (__have_atfcts): Remove conditional definition.
37012         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37013         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37014         unreachable if [__ASSUME_ATFCTS].
37015         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37016         not undefine and redefine.
37017         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37018         <kernel-features.h>.
37019         (faccessat) [__NR_faccessat]: Make code unconditional.
37020         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37021         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37022         <kernel-features.h>.
37023         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37024         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37025         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37026         <kernel-features.h>.
37027         (fchownat) [__NR_fchownat]: Make code unconditional.
37028         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37029         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37030         <kernel-features.h>.
37031         (futimesat) [__NR_futimesat]: Make code unconditional.
37032         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37033         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37034         <kernel-features.h>.
37035         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37036         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37037         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37038         <kernel-features.h>.
37039         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37040         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37041         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37042         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37043         <kernel-features.h>.
37044         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37045         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37046         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37047         <kernel-features.h>.
37048         (linkat) [__NR_linkat]: Make code unconditional.
37049         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37050         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37051         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37052         <kernel-features.h>.
37053         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37054         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37055         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37056         <kernel-features.h>.
37057         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37058         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37059         * sysdeps/unix/sysv/linux/openat.c: Do not include
37060         <kernel-features.h>.
37061         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37062         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37063         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37064         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37065         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37066         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37067         <kernel-features.h>.
37068         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37069         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37070         result of INLINE_SYSCALL directly, not via int variable.
37071         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37072         <kernel-features.h>.
37073         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37074         (renameat) [__NR_renameat]: Make code unconditional.
37075         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37076         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37077         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37078         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37079         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37080         (__ASSUME_ATFCTS): Do not undefine and redefine.
37081         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37082         <kernel-features.h>.
37083         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37084         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37085         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37086         <kernel-features.h>.
37087         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37088         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37089         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37090         (__ASSUME_ATFCTS): Do not undefine and redefine.
37091         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37092         <kernel-features.h>.
37093         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37094         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37095         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37096         <kernel-features.h>.
37097         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37098         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37100 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37102         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37104 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37106         [BZ #17069]
37107         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37108         constructed tree before returning error.
37109         * posix/bug-regexp36.c: Expand test case.
37111 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37113         [BZ #6803]
37114         * math/libm-test.inc (scalbln_test_date):
37115         Add errno expectations.
37116         * math/w_scalblnf.c: New File.
37117         Add wrapper which checks for setting errno to ERANGE.
37118         Add weak_alias for corresponding scalbln function.
37119         * math/w_scalbln.c: Likewise.
37120         * math/w_scalblnl.c: Likewise.
37121         * math/Makefile (libm-calls): Add w_scalbln.
37122         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37123         Remove weak_alias for corresponding scalbln function.
37124         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37126         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37128         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37129         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37130         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37131         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37132         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37133         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37134         Remove long_double_symbol for scalblnl function in libm, libc.
37135         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37136         Add wrapper which checks for setting errno to ERANGE.
37137         Add long_double_symbol for scalblnl function in libm, libc.
37138         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37139         Remove long_double_symbol for scalblnl in libm.
37140         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37141         Add wrapper which checks for setting errno to ERANGE.
37142         Add long_double_symbol for scalblnl function in libm.
37143         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37144         Do not use wrapper because of own implementation.
37146 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37148         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37149         3 bytes for __pad1 for x32.
37150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37152 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37153             H.J. Lu  <hongjiu.lu@intel.com>
37155         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37156         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37159         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37161 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37163         [BZ #17069]
37164         * posix/regcomp.c (parse_expression): Deallocate partially
37165         constructed tree before returning error.
37166         * posix/Makefile.c (tests): Add bug-regex36.
37167         (generated): Add bug-regex36.mtrace.
37168         (tests-special): Add $(objpfx)bug-regex36-mem.out
37169         (bug-regex36-ENV): New variable.
37170         ($(objpfx)bug-regex36-mem.out): New rule.
37171         * posix/bug-regex36.c: New file.
37173 2014-06-19  Will Newton  <will.newton@linaro.org>
37175         * malloc/malloc.c (systrim): If extra is zero then return
37176         early.
37178 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37180         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37182 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37184         * sysdeps/aarch64/strchr.S: New file.
37186 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37188         [BZ #17022]
37189         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37190         from arguments -2 or below.
37191         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37192         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37194 2014-06-18  Andreas Schwab  <schwab@suse.de>
37196         [BZ #17062]
37197         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37198         of a bracket expr not to run off the end of the string.
37199         * posix/Makefile (tests): Add tst-fnmatch3.
37200         * posix/tst-fnmatch3.c: New file.
37202 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37204         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37205         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37206         [$(cross-compiling) = no]: Likewise.
37207         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37208         [$(cross-compiling) = no]: Likewise.
37210 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37212         [BZ #17031]
37213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37214         double, adjusted for any remainder from the high double.
37215         * math/libm-test.inc (nearbyint): Add tests.
37216         (rint): Likewise.
37218 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37220         * nptl/sysdeps/powerpc/Makefile: Moved ...
37221         * sysdeps/powerpc/nptl/Makefile: ... here.
37222         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37223         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37224         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37225         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37226         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37227         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37228         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37229         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37230         * nptl/sysdeps/powerpc/tls.h: Moved ...
37231         * sysdeps/powerpc/nptl/tls.h: ... here.
37233 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37235         [BZ #16681]
37236         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37237         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37238         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37239         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37240         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37241         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37242         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37243         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37244         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37246 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37248         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37250 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37252         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37253         defined operator.
37255         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37256         $TIMEOUTFACTOR.
37258 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37260         [BZ #17058]
37261         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37262         non-executed part of the test.
37264 2014-06-16  Andreas Schwab  <schwab@suse.de>
37266         * string/bits/string2.h (strdup, strndup): Update feature guard.
37268 2014-06-14  David S. Miller  <davem@davemloft.net>
37270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37272 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37274         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37275         that was previously under [RESET_PID].
37276         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37278         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37279         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37280         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37282         (__libc_vfork): New strong alias.
37283         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37285 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37287         * sysdeps/generic/elide.h: New file.
37289 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37291         * Makefile (installed-headers): Adjust path of pthread.h header.
37293 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37295         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37296         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37297         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37298         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37300         * nptl/sysdeps/s390/Makefile: Moved ...
37301         * sysdeps/s390/nptl/Makefile: ... here.
37302         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37303         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37304         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37305         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37306         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37307         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37308         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37309         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37310         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37311         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37312         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37313         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37314         * nptl/sysdeps/s390/tls.h: Moved ...
37315         * sysdeps/s390/nptl/tls.h: ... here.
37317         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37318         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37320 2014-06-13  David S. Miller  <davem@davemloft.net>
37322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37325         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37329         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37330         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37331         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37332         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37333         Remove RESET_PID cpp guards.
37334         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37335         Remove RESET_PID cpp guards.
37336         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37338 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37340         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37341         __sp to uintptr_t.
37343 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37345         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37346         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37347         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37348         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37351         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37352         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37353         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37354         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37355         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37357         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37358         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37359         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37360         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37362         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37363         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37366         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37367         (pthread_rwlock_rdlock): Add elision.
37368         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37369         (pthread_rwlock_wrlock): Add elision.
37370         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37371         (pthread_rwlock_trywrlock): Add elision.
37372         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37373         (pthread_rwlock_tryrdlock): Add elision.
37374         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37375         (pthread_rwlock_tryrdlock): Add elision unlock.
37376         * nptl/sysdeps/pthread/pthread.h:
37377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37378         (PTHREAD_RWLOCK_INITIALIZER,
37379         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37380         Handle new elision field.
37381         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37382         * sysdeps/arm/nptl/bits/pthreadtypes.h
37383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37384         * sysdeps/sh/nptl/bits/pthreadtypes.h
37385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37386         * sysdeps/tile/nptl/bits/pthreadtypes.h
37387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37388         * sysdeps/a/nptl/bits/pthreadtypes.h
37389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37390         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37392         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37394         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37396         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37398         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37400         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37402         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37404         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37406         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37407         (elision_init): Set try_xbegin to zero when no RTM.
37408         * sysdeps/x86/nptl/bits/pthreadtypes.h
37409         (pthread_rwlock_t): Change __pad1 to __rwelision.
37410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37412 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37414         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37415         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37416         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37417         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37419 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37421         [BZ #16996]
37422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37423         that the cached result has been set before returning it.
37425 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37427         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37428         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37429         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37430         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37431         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37432         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37434         * nptl/sysdeps/sparc/Makefile: Moved ...
37435         * sysdeps/sparc/nptl/Makefile: ... here.
37436         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37437         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37438         * nptl/sysdeps/sparc/tls.h: Moved ...
37439         * sysdeps/sparc/nptl/tls.h: ... here.
37440         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37441         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37442         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37443         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37444         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37445         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37446         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37447         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37448         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37449         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37450         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37451         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37452         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37453         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37454         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37455         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37456         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37458         Update #include.
37459         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37460         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37461         Update #include.
37462         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37464         Update #include.
37465         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37466         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37467         Update #include.
37469         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37471         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37472         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37474         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37475         (struct list_links): Type removed.
37476         (struct thread_node, struct timer_node): Replace struct list_links
37477         with struct list_head.
37478         (list_unlink_ip): Likewise.
37479         * sysdeps/pthread/timer_routines.c
37480         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37481         (list_append, list_insbefore): Likewise.
37482         (list_init): Function removed.
37483         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37484         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37485         * sysdeps/pthread/Makefile: ... here, new file.
37487         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37488         * sysdeps/nptl/Implies: ... here.
37489         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37490         * nptl/sysdeps/pthread/list.h: Moved ...
37491         * include/list.h: ... here.
37492         * nptl/sysdeps/pthread/createthread.c: Moved ...
37493         * nptl/createthread.c: ... here.
37494         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37495         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37496         * nptl/pt-longjmp.c: ... here.
37497         * nptl/sysdeps/pthread/Makefile: Moved ...
37498         * sysdeps/nptl/Makefile: ... here.
37499         * nptl/sysdeps/pthread/Subdirs: Moved ...
37500         * sysdeps/nptl/Subdirs: ... here.
37501         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37502         * sysdeps/nptl/aio_misc.h: ... here.
37503         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37504         * sysdeps/nptl/bits/libc-lock.h: ... here.
37505         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37506         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37507         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37508         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37509         * nptl/sysdeps/pthread/configure: Moved ...
37510         * sysdeps/nptl/configure: ... here.
37511         * nptl/sysdeps/pthread/configure.ac: Moved ...
37512         * sysdeps/nptl/configure.ac: ... here.
37513         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37514         * sysdeps/nptl/gai_misc.h: ... here.
37515         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37516         * sysdeps/nptl/librt-cancellation.c: ... here.
37517         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37518         * sysdeps/nptl/malloc-machine.h: ... here.
37519         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37520         * sysdeps/nptl/pthread-functions.h: ... here.
37521         * nptl/sysdeps/pthread/pthread.h: Moved ...
37522         * sysdeps/nptl/pthread.h: ... here.
37523         * nptl/sysdeps/pthread/setxid.h: Moved ...
37524         * sysdeps/nptl/setxid.h: ... here.
37525         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37526         * sysdeps/nptl/sigfillset.c: ... here.
37527         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37528         * sysdeps/nptl/tcb-offsets.h: ... here.
37529         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37530         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37531         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37532         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37533         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37534         * sysdeps/pthread/allocalim.h: ... here.
37535         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37536         * sysdeps/pthread/bits/sigthread.h: ... here.
37537         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37538         * sysdeps/pthread/flockfile.c: ... here.
37539         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37540         * sysdeps/pthread/ftrylockfile.c: ... here.
37541         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37542         * sysdeps/pthread/funlockfile.c: ... here.
37543         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37544         * sysdeps/pthread/posix-timer.h: ... here.
37545         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37546         * sysdeps/pthread/timer_create.c: ... here.
37547         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37548         * sysdeps/pthread/timer_delete.c: ... here.
37549         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37550         * sysdeps/pthread/timer_getoverr.c: ... here.
37551         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37552         * sysdeps/pthread/timer_gettime.c: ... here.
37553         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37554         * sysdeps/pthread/timer_routines.c: ... here.
37555         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37556         * sysdeps/pthread/timer_settime.c: ... here.
37557         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37558         * sysdeps/pthread/tst-timer.c: ... here.
37559         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37560         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37562         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37563         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37565         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37566         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37567         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37568         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37569         Update #include target.
37570         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37571         * sysdeps/i386/i686/nptl/Makefile: ... here.
37572         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37573         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37574         Update #include target.
37575         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37576         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37577         * nptl/sysdeps/i386/Makefile: Moved ...
37578         * sysdeps/i386/nptl/Makefile: ... here.
37579         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37580         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37581         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37582         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37583         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37584         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37585         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37586         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37587         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37588         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37589         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37590         * nptl/sysdeps/i386/tls.h: Moved ...
37591         * sysdeps/i386/nptl/tls.h: ... here.
37593         * sysdeps/sh/Makefile [$(subdir) = csu]
37594         (gen-as-const-headers): Add tcb-offsets.sym.
37595         * nptl/sysdeps/sh/Makefile: File removed.
37596         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37597         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37598         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37599         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37600         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37601         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37602         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37603         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37604         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37605         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37606         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37607         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37608         * nptl/sysdeps/sh/tls.h: Moved ...
37609         * sysdeps/sh/nptl/tls.h: ... here.
37610         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37611         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37612         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37613         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37614         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37615         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37616         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37617         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37618         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37619         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37620         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37621         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37622         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37623         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37624         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37625         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37626         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37627         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37629         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37631         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37633         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37635         Moved ...
37636         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37637         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37638         Moved ...
37639         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37641         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37643         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37644         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37645         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37646         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37647         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37648         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37649         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37650         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37651         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37652         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37653         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37654         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37655         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37656         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37657         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37659 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37661         * posix/spawn_faction_addopen.c: Include string.h.
37663 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37665         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37666         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37667         * nptl/sysdeps/x86_64/Makefile: Moved ...
37668         * sysdeps/x86_64/nptl/Makefile: ... here.
37669         * nptl/sysdeps/x86_64/configure: Moved ...
37670         * sysdeps/x86_64/nptl/configure: ... here.
37671         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37672         * sysdeps/x86_64/nptl/configure.ac: ... here.
37673         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37674         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37675         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37676         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37677         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37678         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37679         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37680         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37681         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37682         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37683         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37684         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37685         * nptl/sysdeps/x86_64/tls.h: Moved ...
37686         * sysdeps/x86_64/nptl/tls.h: ... here.
37687         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37688         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37689         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37690         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37692         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37694 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37698 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37700         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37701         type.
37702         [POSIX] (off_t): Likewise.
37703         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37704         [POSIX] (S_ISBLK): Require macro.
37705         [POSIX] (S_ISCHR): Likewise.
37706         [POSIX] (S_ISDIR): Likewise.
37707         [POSIX] (S_ISFIFO): Likewise.
37708         [POSIX] (S_ISREG): Likewise.
37709         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37710         optional-macro.
37711         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37712         type.
37713         [POSIX] (time_t): Likewise.
37714         [POSIX] (timer_t): Likewise.
37716 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37718         [BZ #17048]
37719         * posix/spawn_int.h (struct __spawn_action): Make the path string
37720         non-const to support deallocation.
37721         * posix/spawn_faction_addopen.c
37722         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37723         * posix/spawn_faction_destroy.c
37724         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37725         path in all spawn_do_open actions.
37726         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37727         posix_spawn_file_actions_addopen.
37729 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37731         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37732         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37733         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37734         conditional code always true.
37735         (__libc_vfork): New alias.
37737 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37739         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37740         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37742         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37744         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37745         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37747         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37748         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37750         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37751         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37753 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37755         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37756         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37757         multiarch strcmp for PPC64.
37758         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37759         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37761         multiarch optimizations.
37762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37763         (__libc_ifunc_impl_list): Likewise.
37765 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37767         * benchtests/scripts/validate_benchout.py: New script.
37768         * benchtests/Makefile (bench-func): Call it.
37769         * benchtests/scripts/benchout.schema.json: New file.
37771 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37773         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37774         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37775         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37776         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37777         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37778         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37779         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37780         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37781         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37782         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37783         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37784         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37785         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37786         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37787         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37788         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37790         Moved ...
37791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37792         ... here.
37793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37794         Moved ...
37795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37797         Moved ...
37798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37799         ... here.
37800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37801         Moved ...
37802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37803         ... here.
37804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37805         Moved ...
37806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37808         Moved ...
37809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37810         ... here.
37811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37812         Moved ...
37813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37814         ... here.
37815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37816         Moved ...
37817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37819         Moved ...
37820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37821         ... here.
37822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37823         Moved ...
37824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37825         ... here.
37826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37827         Moved ...
37828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37829         ... here.
37830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37831         Moved ...
37832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37834         Moved ...
37835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37836         ... here.
37837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37838         Moved ...
37839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37840         ... here.
37841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37842         Moved ...
37843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37844         ... here.
37845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37846         Moved ...
37847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37849         Moved ...
37850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37851         ... here.
37852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37853         Moved ...
37854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37855         ... here.
37856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37857         Moved ...
37858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37860         Moved ...
37861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37862         ... here.
37863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37864         Moved ...
37865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37867         Moved ...
37868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37870         Moved ...
37871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37872         ... here.
37873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37874         Moved ...
37875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37876         ... here.
37877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37878         Moved ...
37879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37880         ... here.
37881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37882         Moved ...
37883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37885         Moved ...
37886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37887         ... here.
37888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37889         Moved ...
37890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37891         ... here.
37892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37893         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37895         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37897         Moved ...
37898         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37899         ... here.
37900         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37901         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37903         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37905         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37907         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37909         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37911         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37913         Moved ...
37914         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37915         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37916         Moved ...
37917         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37919         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37921         Moved ...
37922         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37924         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37925         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37926         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37927         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37928         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37930 2014-06-10  Wilco  <wdijkstr@arm.com>
37932         * math/test-fenv-return.c: New file.
37933         * math/Makefile: Add new test test-fenv-return.
37935 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37937         [BZ #17042]
37938         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37939         when x - 1 is zero.
37940         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37941         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37942         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37943         0.0L for an argument of 1.0L.
37944         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37945         Likewise.
37946         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37947         value when x - 1 is zero.
37948         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37949         * sysdeps/i386/fpu/libm-test-ulps: Update.
37950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37952 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37954         [BZ #15119]
37955         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37957 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37959         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37960         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37962 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37964         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37965         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37967         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37968         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37970         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37971         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37973         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37974         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37976         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37977         if not already defined.
37978         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37979         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37980         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37981         (TLS_INIT_TP): Use it.
37982         (TLS_DEFINE_INIT_TP): New macro.
37983         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37985 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37987         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37988         constant.
37989         [POSIX] (IXANY): Likewise.
37990         [POSIX] (OLCUC): Likewise.
37991         [POSIX || POSIX2008] (CBAUD): Do not allow.
37992         [POSIX || POSIX2008] (DEFECHO): Likewise.
37993         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37994         [POSIX || POSIX2008] (ECHOKE): Likewise.
37995         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37996         [POSIX || POSIX2008] (EXTA): Likewise.
37997         [POSIX || POSIX2008] (EXTB): Likewise.
37998         [POSIX || POSIX2008] (FLUSHO): Likewise.
37999         [POSIX || POSIX2008] (LOBLK): Likewise.
38000         [POSIX || POSIX2008] (PENDIN): Likewise.
38001         [POSIX || POSIX2008] (SWTCH): Likewise.
38002         [POSIX || POSIX2008] (VDISCARD): Likewise.
38003         [POSIX || POSIX2008] (VDSUSP): Likewise.
38004         [POSIX || POSIX2008] (VLNEXT): Likewise.
38005         [POSIX || POSIX2008] (VREPRINT): Likewise.
38006         [POSIX || POSIX2008] (VSTATUS): Likewise.
38007         [POSIX || POSIX2008] (VWERASE): Likewise.
38008         (B*): Change to B[0123456789]*.
38009         * conform/data/time.h-data [POSIX || UNIX98]
38010         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38011         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38012         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38013         [POSIX] (tm_*): Do not allow.
38015 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38017         * Makefile (install): Don't set LANGUAGE.
38018         * Makefile.in (install): Likewise.
38019         * assert/Makefile (test-assert-ENV): Remove variable.
38020         (test-assert-perr-ENV): Likewise.
38021         * elf/Makefile (neededtest4-ENV): Likewise.
38022         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38023         [$(cross-compiling) = no]: Don't set LANGUAGE.
38024         * io/ftwtest-sh (LANG): Remove variable.
38025         * libio/Makefile (tst-widetext-ENV): Likewise.
38026         * manual/install.texi (Running make install): Don't refer to
38027         environment settings for make install.
38028         * INSTALL: Regenerated.
38029         * nptl/tst-tls6.sh: Don't set LANG.
38030         * posix/globtest.sh (LANG): Remove variable.
38031         * string/Makefile (tester-ENV): Likewise.
38032         (inl-tester-ENV): Likewise.
38033         (noinl-tester-ENV): Likewise.
38034         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38035         [$(cross-compiling) = no]: Don't set LANGUAGE.
38036         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38037         without explicit environment settings.
38039 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38041         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38042         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38043         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38044         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38046 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38048         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38049         other files in the crypt directory.
38050         * crypt/crypt.c: Remove duplicate includes.
38051         * crypt/crypt-entry.c: Likewise.
38052         * crypt/crypt_util.c: Likewise.
38054 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38056         * Makeconfig (run-program-env): New variable.
38057         (run-program-prefix-before-env): Likewise.
38058         (run-program-prefix-after-env): Likewise.
38059         (run-program-prefix): Define in terms of new variables.
38060         (built-program-cmd-before-env): New variable.
38061         (built-program-cmd-after-env): Likewise.
38062         (built-program-cmd): Define in terms of new variables.
38063         (test-program-prefix-before-env): New variable.
38064         (test-program-prefix-after-env): Likewise.
38065         (test-program-prefix): Define in terms of new variables.
38066         (test-program-cmd-before-env): New variable.
38067         (test-program-cmd-after-env): Likewise.
38068         (test-program-cmd): Define in terms of new variables.
38069         * Rules (make-test-out): Use $(run-program-env).
38070         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38071         (help): Do not mention environment variables.  Mention
38072         --timeoutfactor option.
38073         (timeoutfactor): New variable.
38074         (blacklist_exports): Remove function.
38075         (exports): Remove variable.
38076         (command): Do not include ${exports}.
38077         * manual/install.texi (Configuring and compiling): Do not mention
38078         test wrappers preserving environment variables.  Mention that last
38079         assignment to a variable must take precedence.
38080         * INSTALL: Regenerated.
38081         * benchtests/Makefile (run-bench): Use $(run-program-env).
38082         * catgets/Makefile ($(objpfx)test1.cat): Use
38083         $(built-program-cmd-before-env), $(run-program-env) and
38084         $(built-program-cmd-after-env).
38085         ($(objpfx)test2.cat): Do not specify environment variables
38086         explicitly.
38087         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38088         $(run-program-env) and $(built-program-cmd-after-env).
38089         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38090         $(run-program-env) and $(test-program-cmd-after-env).
38091         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38092         explicitly.
38093         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38094         run_program_env and test_program_cmd_after_env arguments.
38095         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38096         * elf/tst-pathopt.sh: Use run_program_env argument.
38097         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38098         $(test-wrapper-env) and $(run-program-env).
38099         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38100         run_program_env arguments.
38101         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38102         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38103         $(test-program-prefix-before-env), $(run-program-env) and
38104         $(test-program-prefix-after-env).
38105         ($(objpfx)tst-gettext2.out): Likewise.
38106         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38107         run_program_env and test_program_prefix_after_env arguments.
38108         * intl/tst-gettext2.sh: Likewise.
38109         * intl/tst-gettext4.sh: Do not set environment variables
38110         explicitly.
38111         * intl/tst-gettext6.sh: Likewise.
38112         * intl/tst-translit.sh: Likewise.
38113         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38114         $(test-program-prefix-before-env), $(run-program-env) and
38115         $(test-program-prefix-after-env).
38116         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38117         run_program_env and test_program_prefix_after_env arguments.
38118         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38119         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38120         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38121         explicitly with each use of ${test_wrapper_env}.
38122         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38123         $(test-program-prefix-before-env), $(run-program-env) and
38124         $(test-program-prefix-after-env).
38125         * posix/tst-getconf.sh: Do not set environment variables
38126         explicitly.
38127         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38128         run_program_env and test_program_prefix_after_env arguments.
38129         * stdio-common/tst-printf.sh: Do not set environment variables
38130         explicitly.
38131         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38132         $(test-program-prefix-before-env), $(run-program-env) and
38133         $(test-program-prefix-after-env).
38134         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38135         run_program_env and test_program_prefix_after_env arguments.
38136         Split $test calls into $test_pre and $test.
38137         * timezone/Makefile (build-testdata): Use
38138         $(built-program-cmd-before-env), $(run-program-env) and
38139         $(built-program-cmd-after-env).
38141 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38143         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38144         strlen for non SHARED builds.
38146 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38148         * nptl/allocatestack.c (check_list): Inlined function...
38149         (__reclaim_stacks): ... here.
38151 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38153         [BZ #15698]
38154         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38155         memory overrun.
38157 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38159         * Rules (make-test-out): Include
38160         LOCPATH=$(common-objpfx)localedata in default environment.
38161         * debug/Makefile (tst-chk1-ENV): Remove variable.
38162         (tst-chk2-ENV): Likewise.
38163         (tst-chk3-ENV): Likewise.
38164         (tst-chk4-ENV): Likewise.
38165         (tst-chk5-ENV): Likewise.
38166         (tst-chk6-ENV): Likewise.
38167         (tst-lfschk1-ENV): Likewise.
38168         (tst-lfschk2-ENV): Likewise.
38169         (tst-lfschk3-ENV): Likewise.
38170         (tst-lfschk4-ENV): Likewise.
38171         (tst-lfschk5-ENV): Likewise.
38172         (tst-lfschk6-ENV): Likewise.
38173         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38174         (tst-iconv7-ENV): Likewise.
38175         * intl/Makefile (LOCPATH-ENV): Likewise.
38176         (tst-codeset-ENV): Likewise.
38177         (tst-gettext3-ENV): Likewise.
38178         (tst-gettext5-ENV): Likewise.
38179         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38180         (tst-fopenloc-ENV): Likewise.
38181         (tst-fgetws-ENV): Remove variable.
38182         (tst-ungetwc1-ENV): Likewise.
38183         (tst-ungetwc2-ENV): Likewise.
38184         (bug-ungetwc2-ENV): Likewise.
38185         (tst-swscanf-ENV): Likewise.
38186         (bug-ftell-ENV): Likewise.
38187         (tst-fgetwc-ENV): Likewise.
38188         (tst-fseek-ENV): Likewise.
38189         (tst-ftell-partial-wide-ENV): Likewise.
38190         (tst-ftell-active-handler-ENV): Likewise.
38191         (tst-ftell-append-ENV): Likewise.
38192         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38193         (tst-regexloc-ENV): Likewise.
38194         (bug-regex1-ENV): Likewise.
38195         (tst-regex-ENV): Likewise.
38196         (tst-regex2-ENV): Likewise.
38197         (bug-regex5-ENV): Likewise.
38198         (bug-regex6-ENV): Likewise.
38199         (bug-regex17-ENV): Likewise.
38200         (bug-regex18-ENV): Likewise.
38201         (bug-regex19-ENV): Likewise.
38202         (bug-regex20-ENV): Likewise.
38203         (bug-regex22-ENV): Likewise.
38204         (bug-regex23-ENV): Likewise.
38205         (bug-regex25-ENV): Likewise.
38206         (bug-regex26-ENV): Likewise.
38207         (bug-regex30-ENV): Likewise.
38208         (bug-regex32-ENV): Likewise.
38209         (bug-regex33-ENV): Likewise.
38210         (bug-regex34-ENV): Likewise.
38211         (bug-regex35-ENV): Likewise.
38212         (tst-rxspencer-ENV): Likewise.
38213         (tst-rxspencer-no-utf8-ENV): Likewise.
38214         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38215         (tst-sscanf-ENV): Likewise.
38216         (tst-swprintf-ENV): Likewise.
38217         (tst-swscanf-ENV): Likewise.
38218         (test-vfprintf-ENV): Likewise.
38219         (scanf13-ENV): Likewise.
38220         (bug14-ENV): Likewise.
38221         (tst-grouping-ENV): Likewise.
38222         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38223         (tst-strtod3-ENV): Likewise.
38224         (tst-strtod4-ENV): Likewise.
38225         (tst-strtod5-ENV): Likewise.
38226         (testmb2-ENV): Likewise./
38227         * string/Makefile (tst-strxfrm-ENV): Likewise.
38228         (tst-strxfrm2-ENV): Likewise.
38229         (bug-strcoll1-ENV): Likewise.
38230         (test-strcasecmp-ENV): Likewise.
38231         (test-strncasecmp-ENV): Likewise.
38232         * time/Makefile (tst-strptime-ENV): Likewise.
38233         (tst-ftime_l-ENV): Likewise.
38234         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38235         (tst-mbrtowc-ENV): Likewise.
38236         (tst-wcrtomb-ENV): Likewise.
38237         (tst-mbrtowc2-ENV): Likewise.
38238         (tst-c16c32-1-ENV): Likewise.
38239         (tst-mbsnrtowcs-ENV): Likewise.
38241 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38243         * manual/resource.texi (How to get information about the memory
38244         subsystem?): Fix typo.
38245         Reported by Peon de la Parra Ivan <peon@keba.com>
38247 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38249         [BZ #16882]
38250         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38251         (pthread_spin_lock): Branch out of spin loop to proper location.
38252         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38253         (pthread_spin_lock): Likewise.
38255         * nptl/tst-spin4.c: New test.
38256         * nptl/Makefile (tests): Add tst-spin4.
38258 2014-06-03  Andreas Schwab  <schwab@suse.de>
38260         [BZ #15946]
38261         * resolv/res_send.c (send_dg): Reload file descriptor after
38262         calling reopen.
38264 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38266         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38268 2014-06-03  Richard Henderson  <rth@redhat.com>
38270         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38271         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38272         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38273         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38274         in the SAVE_PID block.
38275         (__libc_vfork): New alias.
38276         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38278         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38279         child in registers, not on the stack.  Remove RESET_PID conditionals.
38280         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38282 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38284         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38286 2014-06-03  Wilco  <wdijkstr@arm.com>
38288         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38289         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38290         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38291         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38292         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38293         Likewise.
38295 2014-06-03  Wilco  <wdijkstr@arm.com>
38297         * sysdeps/aarch64/fpu/math_private.h
38298         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38299         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38300         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38301         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38302         Fix declarations.
38304 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38306         * crypt/crypt-private.h: Include ufc-crypt.h.
38307         (__b64_from_24bit): Declare extern.
38308         * crypt/crypt_util.c(__b64_from_24bit): New function.
38309         (b64t): New static const variable.
38310         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38311         (b64t): Remove variable.
38312         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38313         * crypt/sha256-crypt.c: Include crypt-private.h.
38314         (b64t): Remove variable.
38315         (__sha256_crypt_r): Remove b64_from_24bit and replace
38316         with __b64_from_24bit.
38317         * crypt/sha512-crypt.c: Likewise.
38319 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38321         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38322         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38323         Label the code __libc_vfork rather than __vfork.
38324         [!NOT_IN_libc] (vfork): Define as weak alias.
38325         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38326         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38327         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38329 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38331         * malloc/malloc.c (malloc_info): Fix format specifier for
38332         n_mmaps.
38334 2014-06-02  Wilco  <wdijkstr@arm.com>
38336         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38337         FPCR write.
38339 2014-06-02  Wilco  <wdijkstr@arm.com>
38341         [BZ #17009]
38342         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38343         Rewrite to reduce FPCR/FPSR accesses.
38345 2014-06-01  David S. Miller  <davem@davemloft.net>
38347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38349 2014-05-31  David S. Miller  <davem@davemloft.net>
38351         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38352         to occur in round to nearest mode when |x| >= 2.0
38354 2014-05-30  Richard Henderson  <rth@twiddle.net>
38356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38357         (PSEUDO_RET_NOERRNO): Remove.
38358         (ret): Don't redefine.
38359         (ret_NOERRNO): Define in terms of ret.
38360         (ret_ERRVAL): Likewise.
38362         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38363         use of PSEUDO_RET; perform the error check directly.
38365 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38367         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38368         with __int128_t.
38370 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38372         * malloc/malloc (malloc_info): Fix formatting.
38374 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38375             Roland McGrath  <roland@hack.frob.com>
38377         * malloc/malloc (malloc_info): Also print mmapped statistics.
38379 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38381         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38382         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38384 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38386         * malloc/malloc.c (malloc_info): Inline mi_arena.
38388 2014-05-29  Richard Henderson  <rth@twiddle.net>
38390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38391         Remove comma before expanding ASM_ARGS_##nr.
38392         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38393         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38394         of ASM_ARGS_##nr.
38395         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38396         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38397         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38398         (ASM_ARGS_1): Add leading comma.
38400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38401         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38402         to __errno_location.
38403         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38404         Remove the expected plt for __errno_location.
38406         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38407         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38408         call to __read_tp.
38410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38411         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38412         it and break it down.
38413         (DOCARGS_0, DOCARGS_1): Do nothing.
38414         (DOCARGS_2): Update to store into the new stack frame.
38415         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38416         (UNDOCARGS_1): Update to restore from the new stack frame.
38417         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38418         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38421         (SINGLE_THREAD_P): New parameter for result regno.
38422         (PSEUDO): Update to match; use cbz instead of beq.
38424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38425         Use ENTRY to define the _nocancel entry point.  Share the syscall
38426         and syscall error check paths with the cancel path.
38427         (PSEUDO_END): New.
38429         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38430         whitespace; tabs before and after asm mnemonics.
38432 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38434         [BZ #15132]
38435         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38436         Call fstat64 or stat64 internally, depending on arguments passed.
38437         Replace stat buffer argument with file descriptor argument.
38438         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38439         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38440         Pass fd to __internal_statvfs instead of calling fstat64.
38441         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38442         Pass fd to __internal_statvfs64 instead of calling fstat64.
38443         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38444         Pass -1 to __internal_statvfs instead of calling stat64.
38445         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38446         Pass -1 to __internal_statvfs64 instead of calling stat64.
38448 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38450         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38451         that was previously under [RESET_PID].
38452         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38454         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38455         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38457 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38459         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38461         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38462         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38464 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38466         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38468 2014-05-27  Andreas Schwab  <schwab@suse.de>
38470         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38471         TLS_INIT_TP macro.
38472         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38473         * elf/rtld.c (init_tls, dl_main): Likewise.
38474         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38475         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38476         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38477         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38478         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38479         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38480         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38481         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38482         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38483         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38484         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38485         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38486         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38487         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38488         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38489         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38490         * sysdeps/generic/tls.h: Update description.
38492 2014-05-27  Will Newton  <will.newton@linaro.org>
38494         [BZ #16990]
38495         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38496         and restore r2 rather than just restoring.
38498 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38500         [BZ #16724]
38501         * libio/tst-ftell-append.c: New test case.
38502         * libio/Makefile (tests): Add test case.
38503         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38504         append mode.
38505         * libio/wfileops.c (do_ftell_wide): Likewise.
38507 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38511         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38512         ...
38513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38515         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38516         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38517         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38518         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38519         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38520         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38522         Moved ...
38523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38525         Moved ...
38526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38527         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38528         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38529         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38530         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38531         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38532         ...
38533         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38534         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38535         Moved ...
38536         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38537         here.
38538         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38539         ...
38540         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38541         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38542         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38545         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38546         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38547         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38550         merge into ...
38551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38553         ...
38554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38556         ...
38557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38559         Moved ...
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38561         here.
38562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38563         Moved ...
38564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38566         Moved ...
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38570         conditional [RESET_PID].
38571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38573         removed.
38574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38575         removed.
38577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38578         <tcb-offsets.h>.
38579         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38580         (__libc_vfork): New strong alias.
38581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38582         removed.
38583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38584         Removed.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38587         <tcb-offsets.h>.
38588         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38589         (__libc_vfork): New strong alias.
38590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38591         removed.
38592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38593         removed.
38595 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38597         * malloc/malloc.c (mi_arena): New function.
38598         (malloc_info): Remove nested function mi_arena. Call non-nosted
38599         function mi_arena.
38601 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38603         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38604         by insrwi.
38605         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38606         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38607         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38608         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38609         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38610         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38611         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38613 2014-05-26  Andreas Schwab  <schwab@suse.de>
38615         [BZ #16984]
38616         * locale/programs/repertoire.c (repertoire_read): Add slash
38617         between I18NPATH element and file name.
38618         * locale/programs/locfile.c (locfile_read): Likewise.
38620 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38622         * nptl/pthread_mutexattr_settype.c
38623         (__pthread_mutexattr_settype):
38624         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38626 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38628         * nptl/tst-mutex5 (do_test):
38629         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38631 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38633         * benchtests/README: Document 'init' directive.
38634         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38635         BENCH_INIT.
38636         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38637         (parse_file): Recognize 'init' directive.
38639 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38641         [BZ #16796]
38642         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38643         alignment of struct pthread.
38645 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38647         [BZ #16878]
38648         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38649         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38650         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38651         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38653 2014-05-25  Richard Henderson  <rth@twiddle.net>
38655         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38656         (SINGLE_THREAD_P_PIC): Remove.
38657         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38658         (SINGLE_THREAD_P_PIC): Remove.
38660         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38661         branch to syscall error ...
38662         (PSEUDO): ... here.
38663         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38664         from __local_syscall_error to .Lsyscall_error.
38665         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38666         (SYSCALL_ERROR): Update label name.
38668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38669         Do not use DOARGS/UNDOARGS.
38670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38671         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38672         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38673         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38674         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38677         block comment.
38679         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38680         define if !NOT_IN_libc.
38681         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38682         define with non-default symbol versions.
38684 2014-05-23  Richard Henderson  <rth@twiddle.net>
38686         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38687         (vfork, __vfork): Define via compat_symbol.
38689         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38690         [!HAVE_IFUNC] (vfork_compat): Remove.
38691         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38693 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38695         [BZ #16978]
38696         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38697         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38698         variable.
38700 2014-05-23  Richard Henderson  <rth@twiddle.net>
38702         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38703         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38704         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38705         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38707         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38708         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38709         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38710         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38711         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38712         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38713         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38714         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38715         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38716         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38717         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38718         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38719         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38720         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38721         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38722         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38723         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38724         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38725         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38726         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38727         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38728         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38729         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38730         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38731         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38732         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38733         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38734         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38735         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38736         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38737         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38738         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38739         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38740         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38741         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38742         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38743         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38744         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38745         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38746         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38747         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38748         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38749         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38750         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38751         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38752         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38753         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38754         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38755         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38756         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38757         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38758         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38760         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38762         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38764         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38765         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38766         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38767         before exiting on error.
38768         (__libc_vfork): New strong alias.
38769         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38770         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38772         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38773         that was previously under [RESET_PID].
38774         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38776         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38778 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38780         [BZ #16977]
38781         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38782         value when x - 1 is zero.
38783         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38784         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38785         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38786         0.0L for an argument of 1.0L.
38787         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38788         Likewise.
38789         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38790         value when x - 1 is zero.
38791         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38792         * sysdeps/i386/fpu/libm-test-ulps: Update.
38793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38795 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38797         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38798         alphasort and versionsort.
38800 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38802         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38803         macro.
38804         [copysignf]: Likewise.
38806 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38808         * crypt/md5-crypt.c: Fix formatting.
38810 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38812         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38813         (b64_from_24bit): New function.
38815 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38817         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38818         libc_hidden_builtin_def to ifunc.
38819         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38820         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38822 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38824         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38825         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38827 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38829         * nscd/Depend (linuxthreads): Remove.
38830         (nptl): Add.
38831         * resolv/Depend (linuxthreads): Remove.
38832         * rt/Depend (linuxthreads): Remove.
38834         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38835         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38836         $(common-objpfx)elf/.
38837         (link-libc-before-gnulib): Likewise.
38838         (elfobjdir): Remove variable.
38839         * Makefile (install): Use $(elf-objpfx) instead of
38840         $(common-objpfx)elf/.
38841         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38842         $(elfobjdir)/.
38843         (link-libc-deps): Likewise.
38844         ($(common-objpfx)libc.so): Likewise.
38845         ($(common-objpfx)linkobj/libc.so): Likewise.
38846         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38847         instead of $(common-objpfx)elf/.
38848         (symbolic-link-list): Likewise.
38849         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38850         [$(cross-compiling) = no]: Likewise.
38851         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38852         $(elfobjdir)/.
38853         (static-gnulib-arch): Likewise.
38854         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38855         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38856         $(common-objpfx)elf/.
38858 2014-05-21  Richard Henderson  <rth@redhat.com>
38860         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38861         (SINGLE_THREAD_P): Use the correct width load.  Fold
38862         into the ldr offset.
38864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38865         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38867 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38869         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38870         (libgcc_s_resume): Use __attribute_used__.
38871         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38872         Likewise.
38874 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38876         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38877         optimization when used with float constants.
38879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38881 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38883         [BZ #16915]
38884         * locale/nl_langinfo_l.c: Make direct reference to every
38885         _nl_current_CATEGORY symbol.
38886         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38887         (tests-static): Add tst-langinfo-static.
38888         (tests-special): Add tst-langinfo-static.out.
38889         ($(objpfx)tst-langinfo.out): Redirect output.
38890         ($(objpfx)tst-langinfo-static.out): New.
38891         * localedata/tst-langinfo.sh: Send output to stdout.
38892         * localedata/tst-langinfo-static.c: New file.
38894         [BZ #16965]
38895         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38896         when the shift amount is modulo the limb size.
38898 2014-05-20  Richard Henderson  <rth@redhat.com>
38900         [BZ #16967]
38901         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38902         Change type of sa_flags from unsigned int to int.
38904         [BZ #16966]
38905         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38907         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38909 2014-05-20  Will Newton  <will.newton@linaro.org>
38911         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38912         Test the return value of the system call in the nocancel case.
38914 2014-05-20  Will Newton  <will.newton@linaro.org>
38915             Yvan Roux  <yvan.roux@linaro.org>
38917         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38918         #include of asm/ptrace.h.
38919         (PTRACE_GET_THREAD_AREA): Remove #undef.
38920         (PTRACE_GETHBPREGS): Likewise.
38921         (PTRACE_SETHBPREGS): Likewise.
38922         (struct user_regs_struct): New structure.
38923         (struct user_fpsimd_struct): New structure.
38924         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38925         #include of asm/ptrace.h and second #include of sys/user.h.
38926         (PTRACE_GET_THREAD_AREA): Remove #undef.
38927         (PTRACE_GETHBPREGS): Likewise.
38928         (PTRACE_SETHBPREGS): Likewise.
38929         (ELF_NGREG): Use new struct user_regs_struct.
38930         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38932 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38937 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38939         [BZ #16958]
38940         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38941         membar to avoid block loads/stores to overlap previous stores.
38943 2014-05-17  Richard Henderson  <rth@redhat.com>
38945         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38946         Create the __##syscall_name##_nocancel entry point.
38947         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38948         Remove; let the sysdep-cancel.h code create it.
38950 2014-05-17  David S. Miller  <davem@davemloft.net>
38952         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38953         Protect with __USE_GNU.
38954         (TIOCSET_TEMPT): Likewise.
38955         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38956         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38957         these are already provided in bits/ioctl-types.h
38959 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38961         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38962         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38964         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38965         Use wait4 regardless of [__NR_waitpid].
38967 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38969         PR libgcc/60166
38970         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38971         (_FP_NANSIGN_Q): Set the quiet bit.
38973 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38975         * benchtests/Makefile
38976         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38977         not $(common-objpfx)math/libm.so.
38978         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38979         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38980         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38981         $(common-objpfx)dlfcn/libdl.so.
38982         ($(objpfx)tst-audit8): Depend on $(libm), not
38983         $(common-objpfx)math/libm.so.
38984         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38985         not $(common-objpfx)dlfcn/libdl.so.
38986         * math/Makefile
38987         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38988         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38989         [$(build-shared) = yes].
38990         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38991         $(common-objpfx)nptl/libpthread.so.
38992         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38993         $(common-objpfx)math/libm.so$(libm.so-version) or
38994         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38995         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38996         $(common-objpfx)dlfcn/libdl.so.
38997         * setjmp/Makefile (link-libm): Remove variable.
38998         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38999         * stdio-common/Makefile (link-libm): Remove variable.
39000         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39001         * stdlib/Makefile (link-libm): Remove variable.
39002         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39003         ($(objpfx)tst-strtod-round): Likewise.
39004         ($(objpfx)tst-tininess): Likewise.
39005         ($(objpfx)tst-strtod-underflow): Likewise.
39006         ($(objpfx)tst-strtod6): Likewise.
39007         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39008         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39009         $(common-objpfx)dlfcn/libdl.so.
39011 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39013         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39014         BSD terminal modes definitions.
39016 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39018         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39019         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39021         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39022         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39023         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39024         Don't do #include_next.
39025         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39026         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39027         Don't do #include_next.
39028         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39029         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39030         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39031         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39033 2014-05-16  Allan McRae  <allan@archlinux.org>
39035         * po/sv.po: Update Swedish translation from translation project.
39037         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39038         in sed expression.
39040 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39042         [BZ #16917]
39043         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39044         errno if the TIOCGPTN ioctl fails with an error different than
39045         EINVAL.
39046         * login/tst-ptsname.c: New file.
39047         * login/Makefile (tests): Add tst-ptsname.
39049         [BZ #16943]
39050         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39051         and prlimit64.
39053 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39055         [BZ #16849]
39056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39057         herrno to return EAI_AGAIN.
39059 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39061         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39062         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39063         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39064         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39065         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39066         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39067         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39068         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39070         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39071         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39072         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39073         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39074         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39075         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39076         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39077         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39078         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39079         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39080         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39081         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39082         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39083         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39084         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39085         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39086         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39087         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39088         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39089         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39090         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39092         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39094         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39096         Moved ...
39097         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39099         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39101         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39103         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39105         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39107         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39109         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39111         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39113         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39115         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39117         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39119         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39121         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39123         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39125         Moved ...
39126         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39128         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39130         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39132         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39134         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39136         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39138         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39140         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39142         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39144         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39146         Moved ...
39147         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39149         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39151         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39152         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39153         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39154         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39155         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39157         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39159         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39161         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39162         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39163         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39164         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39165         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39166         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39167         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39168         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39169         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39170         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39171         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39172         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39173         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39175         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39177         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39178         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39179         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39180         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39181         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39183         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39184         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39186         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39187         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39189         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39190         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39192         Moved ...
39193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39194         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39195         Moved ...
39196         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39197         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39198         Moved ...
39199         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39201         Moved ...
39202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39203         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39204         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39206         Moved ...
39207         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39209         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39211         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39212         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39213         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39215         Moved ...
39216         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39217         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39218         Moved ...
39219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39220         ... here.
39221         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39222         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39223         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39224         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39226         Moved ...
39227         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39228         ... here.
39229         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39230         Moved ...
39231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39232         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39233         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39234         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39235         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39237         Moved ...
39238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39239         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39240         Moved ...
39241         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39242         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39243         Moved ...
39244         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39246         Moved ...
39247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39248         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39249         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39251         Moved ...
39252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39253         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39254         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39256         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39257         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39258         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39260         Moved ...
39261         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39262         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39263         Moved ...
39264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39265         ... here.
39266         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39267         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39268         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39269         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39271         Moved ...
39272         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39273         ... here.
39274         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39275         Moved ...
39276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39277         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39278         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39279         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39280         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39281         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39282         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39283         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39284         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39286         Moved ...
39287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39288         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39289         Moved ...
39290         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39292         Moved ...
39293         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39295         Moved ...
39296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39297         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39298         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39299         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39300         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39302         Moved ...
39303         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39304         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39305         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39307         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39308         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39309         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39310         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39311         Moved ...
39312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39313         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39314         Moved ...
39315         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39316         ... here.
39317         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39318         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39319         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39320         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39322         Moved ...
39323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39324         ... here.
39325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39326         Moved ...
39327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39328         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39329         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39330         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39331         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39332         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39333         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39334         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39335         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39337         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39339         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39340         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39342         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39343         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39345         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39346         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39347         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39349         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39351         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39352         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39353         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39354         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39355         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39356         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39357         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39358         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39359         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39361         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39363         Moved ...
39364         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39366         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39368         Moved ...
39369         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39371         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39373         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39377         Moved ...
39378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39380         Moved ...
39381         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39383         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39387         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39388         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39389         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39390         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39391         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39392         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39393         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39394         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39395         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39396         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39397         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39399         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39400         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39401         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39402         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39403         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39405         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39406         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39407         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39408         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39409         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39410         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39411         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39412         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39413         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39414         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39419         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39420         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39421         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39422         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39423         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39424         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39425         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39426         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39427         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39428         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39429         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39430         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39431         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39432         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39434         Update #include.
39435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39436         Likewise.
39437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39438         Likewise.
39439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39440         Likewise.
39441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39442         Likewise.
39443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39444         Likewise.
39445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39446         Likewise.
39447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39448         Likewise.
39449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39450         Likewise.
39451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39452         Likewise.
39453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39459         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39461         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39463         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39464         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39465         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39466         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39467         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39469         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39470         that was previously under [RESET_PID].
39471         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39472         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39473         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39475         * sysdeps/i386/nptl/Implies: New file.
39476         * sysdeps/x86_64/nptl/Implies: New file.
39477         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39478         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39479         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39480         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39482         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39483         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39484         (__libc_vfork): New strong alias.
39485         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39486         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39488         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39489         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39490         (__libc_vfork): New strong alias.
39491         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39492         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39494         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39495         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39496         (__libc_vfork): New strong alias.
39497         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39498         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39499         * nptl/pt-vfork.c: New file.
39500         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39501         (libpthread: GLIBC_2.20): New version set (empty).
39503 2014-05-14  Will Newton  <will.newton@linaro.org>
39505         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39506         rather than #if.
39508 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39510         [BZ #16564]
39511         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39512         arguments with exponent 65 or above.
39513         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39514         arguments 0x1p113L or above.
39515         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39516         to arguments 0x1p107L or above.
39517         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39518         positive arguments with exponent 65 or above.
39519         * math/auto-libm-test-in: Add more tests of log1p.
39520         * math/auto-libm-test-out: Regenerated.
39522         [BZ #16928]
39523         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39524         non-finite arguments is +0.
39525         * math/s_cacosf.c (__cacosf): Likewise.
39526         * math/s_cacosl.c (__cacosl): Likewise.
39527         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39528         * sysdeps/i386/fpu/libm-test-ulps: Update.
39529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39531         [BZ #16927]
39532         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39533         value.
39534         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39535         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39536         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39537         for explicit high bit of mantissa when testing for argument equal
39538         to 1.
39539         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39540         * sysdeps/i386/fpu/libm-test-ulps: Update.
39541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39543         [BZ #16516]
39544         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39545         (__erf): Scale by 16 instead of 8 in potentially underflowing
39546         case.  Ensure exception if result actually underflows.
39547         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39548         (__erff): Scale by 16 instead of 8 in potentially underflowing
39549         case.  Ensure exception if result actually underflows.
39550         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39551         (efx8): Remove variable.
39552         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39553         case.  Ensure exception if result actually underflows.
39554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39555         (efx8): Remove variable.
39556         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39557         case.  Ensure exception if result actually underflows.
39558         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39559         (efx8): Remove variable.
39560         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39561         case.  Ensure exception if result actually underflows.
39562         * math/auto-libm-test-in: Add more tests of erf.
39563         * math/auto-libm-test-out: Regenerated.
39565 2014-05-14  Andreas Schwab  <schwab@suse.de>
39567         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39568         Remove code conditionalized on USE___THREAD.
39570         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39571         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39572         not definedness.
39574 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39577         Define unconditionally.
39578         (__ASSUME_O_CLOEXEC): Likewise.
39579         (__ASSUME_SOCK_CLOEXEC): Likewise.
39580         (__ASSUME_IN_NONBLOCK): Likewise.
39581         (__ASSUME_PIPE2): Likewise.
39582         (__ASSUME_EVENTFD2): Likewise.
39583         (__ASSUME_SIGNALFD4): Likewise.
39584         (__ASSUME_DUP3): Likewise.
39585         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39586         (__ASSUME_DUP3): Do not define.
39587         (__ASSUME_EVENTFD2): Likewise.
39588         (__ASSUME_IN_NONBLOCK): Likewise.
39589         (__ASSUME_O_CLOEXEC): Likewise.
39590         (__ASSUME_PIPE2): Likewise.
39591         (__ASSUME_SIGNALFD4): Likewise.
39592         (__ASSUME_SOCK_CLOEXEC): Likewise.
39593         (__ASSUME_UTIMES): Undefine.
39594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39595         (__ASSUME_UTIMES): Do not define.
39596         (__ASSUME_O_CLOEXEC): Likewise.
39597         (__ASSUME_SOCK_CLOEXEC): Likewise.
39598         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39599         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39600         0x020621].
39601         (__ASSUME_PIPE2): Likewise.
39602         (__ASSUME_EVENTFD2): Likewise.
39603         (__ASSUME_SIGNALFD4): Likewise.
39604         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39605         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39606         Do not define.
39607         (__ASSUME_EVENTFD2): Likewise.
39608         (__ASSUME_SIGNALFD4): Likewise.
39609         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39610         (__ASSUME_32BITUIDS): Likewise.
39611         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39612         (__ASSUME_IPC64): Likewise.
39613         (__ASSUME_ST_INO_64_BIT): Likewise.
39614         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39615         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39616         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39617         (__ASSUME_UTIMES): Do not define.
39618         (__ASSUME_PSELECT): Likewise.
39619         (__ASSUME_PPOLL): Likewise.
39620         (__ASSUME_O_CLOEXEC): Likewise.
39621         (__ASSUME_SOCK_CLOEXEC): Likewise.
39622         (__ASSUME_IN_NONBLOCK): Likewise.
39623         (__ASSUME_PIPE2): Likewise.
39624         (__ASSUME_EVENTFD2): Likewise.
39625         (__ASSUME_SIGNALFD4): Likewise.
39626         (__ASSUME_DUP3): Likewise.
39627         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39628         (__ASSUME_UTIMES): Likewise.
39629         (__ASSUME_O_CLOEXEC): Likewise.
39630         (__ASSUME_SOCK_CLOEXEC): Likewise.
39631         (__ASSUME_IN_NONBLOCK): Likewise.
39632         (__ASSUME_PIPE2): Likewise.
39633         (__ASSUME_EVENTFD2): Likewise.
39634         (__ASSUME_SIGNALFD4): Likewise.
39635         (__ASSUME_DUP3): Likewise.
39636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39637         (__ASSUME_UTIMES): Likewise.
39638         (__ASSUME_O_CLOEXEC): Likewise.
39639         (__ASSUME_SOCK_CLOEXEC): Likewise.
39640         (__ASSUME_IN_NONBLOCK): Likewise.
39641         (__ASSUME_PIPE2): Likewise.
39642         (__ASSUME_EVENTFD2): Likewise.
39643         (__ASSUME_SIGNALFD4): Likewise.
39644         (__ASSUME_DUP3): Likewise.
39645         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39646         Likewise.
39647         (__ASSUME_UTIMES): Likewise.
39648         (__ASSUME_EVENTFD2): Likewise.
39649         (__ASSUME_SIGNALFD4): Likewise.
39650         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39651         (__ASSUME_O_CLOEXEC): Likewise.
39652         (__ASSUME_SOCK_CLOEXEC): Likewise.
39653         (__ASSUME_IN_NONBLOCK): Likewise.
39654         (__ASSUME_PIPE2): Likewise.
39655         (__ASSUME_EVENTFD2): Likewise.
39656         (__ASSUME_SIGNALFD4): Likewise.
39657         (__ASSUME_DUP3): Likewise.
39658         (__ASSUME_UTIMES): Undefine.
39660         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39661         feclearexcept.  Remove symbol versioning code.
39662         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39663         symbol versioning code.
39664         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39665         symbol versioning code.
39666         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39667         feupdateenv.  Remove symbol versioning code.
39668         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39669         fegetexceptflag.  Remove symbol versioning code.
39670         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39671         fesetexceptflag.  Remove symbol versioning code.
39672         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39673         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39674         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39675         (__posix_fadvise64_l32): Remove prototype.
39676         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39677         code.
39679 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39681         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39682         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39683         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39684         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39686 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39688         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39689         current working directory
39691 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39693         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39694         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39695         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39696         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39697         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39698         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39699         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39700         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39701         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39702         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39703         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39704         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39705         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39706         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39707         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39708         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39709         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39710         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39711         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39712         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39713         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39714         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39715         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39716         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39717         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39718         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39719         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39720         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39721         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39722         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39723         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39724         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39725         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39726         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39727         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39728         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39729         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39730         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39731         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39732         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39733         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39734         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39736         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39737         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39739         * sysdeps/unix/sysv/linux/arm/Makefile
39740         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39741         Add rt-aeabi_unwind_cpp_pr1.
39742         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39743         Add nptl-aeabi_unwind_cpp_pr1.
39744         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39745         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39746         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39747         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39748         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39749         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39751         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39752         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39753         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39754         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39756         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39757         Deconditionalize the code that was previously under [RESET_PID].
39758         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39760         * sysdeps/generic/exit-thread.h: New file.
39761         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39762         * include/unistd.h (__exit_thread): Remove declaration.
39763         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39764         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39765         * csu/libc-start.c: Include <exit-thread.h>.
39766         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39767         * nptl/pthread_create.c: Include <exit-thread.h>.
39768         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39769         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39770         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39771         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39772         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39773         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39774         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39775         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39776         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39777         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39778         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39779         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39780         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39781         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39782         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39783         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39784         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39786 2014-05-13  Andreas Schwab  <schwab@suse.de>
39788         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39790 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39792         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39793         (__ASSUME_UTIMES): Do not condition on kernel version.
39794         (__ASSUME_PSELECT): Define unconditionally.
39795         (__ASSUME_PPOLL): Likewise.
39796         (__ASSUME_ATFCTS): Likewise.
39797         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39798         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39799         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39800         (__ASSUME_UTIMENSAT): Define unconditionally.
39801         (__ASSUME_PRIVATE_FUTEX): Likewise.
39802         (__ASSUME_FALLOCATE): Likewise.
39803         (__ASSUME_O_CLOEXEC): Likewise.
39804         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39805         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39806         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39807         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39808         (__ASSUME_IN_NONBLOCK): Likewise.
39809         (__ASSUME_PIPE2): Likewise.
39810         (__ASSUME_EVENTFD2): Likewise.
39811         (__ASSUME_SIGNALFD4): Likewise.
39812         (__ASSUME_DUP3): Likewise.
39813         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39814         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39815         (__ASSUME_AT_RANDOM): Likewise.
39816         (__ASSUME_PREADV): Likewise.
39817         (__ASSUME_PWRITEV): Likewise.
39818         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39819         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39820         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39821         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39822         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39824         (__ASSUME_O_CLOEXEC): Define unconditionally.
39825         (__ASSUME_PSELECT): Do not undefine conditionally.
39826         (__ASSUME_PPOLL): Likewise.
39827         (__ASSUME_ATFCTS): Likewise.
39828         (__ASSUME_SET_ROBUST_LIST): Likewise.
39829         (__ASSUME_UTIMENSAT): Likewise.
39830         (__ASSUME_FDATASYNC): Define unconditionally.
39831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39832         (__ASSUME_SIGFRAME_V2): Likewise.
39833         )__ASSUME_EVENTFD2): Likewise.
39834         (__ASSUME_SIGNALFD4): Likewise.
39835         (__ASSUME_PSELECT): Do not undefine conditionally.
39836         (__ASSUME_PPOLL): Likewise.
39837         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39838         (__ASSUME_PSELECT): Define unconditionally.
39839         (__ASSUME_PPOLL): Likewise.
39840         (__ASSUME_O_CLOEXEC): Likewise.
39841         (__ASSUME_SOCK_CLOEXEC): Likewise.
39842         (__ASSUME_IN_NONBLOCK): Likewise.
39843         (__ASSUME_PIPE2): Likewise.
39844         (__ASSUME_EVENTFD2): Likewise.
39845         (__ASSUME_SIGNALFD4): Likewise.
39846         (__ASSUME_DUP3): Likewise.
39847         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39848         (__ASSUME_O_CLOEXEC): Likewise.
39849         (__ASSUME_SOCK_CLOEXEC): Likewise.
39850         (__ASSUME_IN_NONBLOCK): Likewise.
39851         (__ASSUME_PIPE2): Likewise.
39852         (__ASSUME_EVENTFD2): Likewise.
39853         (__ASSUME_SIGNALFD4): Likewise.
39854         (__ASSUME_DUP3): Likewise.
39855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39856         (__ASSUME_EVENTFD2): Likewise.
39857         (__ASSUME_SIGNALFD4): Likewise.
39858         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39860 2014-05-12  Andreas Schwab  <schwab@suse.de>
39862         [BZ #16932]
39863         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39864         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39865         than maximum RPC packet size.
39866         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39867         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39868         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39869         (_nss_nis_getservbyport_r): Likewise.
39871 2014-05-12  Will Newton  <will.newton@linaro.org>
39873         * malloc/Makefile (tests): Add tst-mallopt.
39874         * malloc/tst-mallopt.c: New file.
39876 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39878         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39879         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39881 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39883         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39884         (tst-tlsmod6.so): Likewise.
39886 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39888         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39890 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39892         [BZ #16064]
39893         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39894         and <dl-procinfo.h>.
39895         (__fegetenv): Save SSE state in envp->__eip if supported.
39896         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39897         envp->__eip if supported.
39898         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39899         and <dl-procinfo.h>.
39900         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39901         __data_offset and __data_selector in environment to 0.  Set SSE
39902         state if supported.
39903         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39904         test-fenv-sse.
39905         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39906         -mfpmath=sse.
39907         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39909 2014-05-09  Will Newton  <will.newton@linaro.org>
39911         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39912         and libc_relro_required for ARM.
39913         * sysdeps/arm/preconfigure: Regenerate.
39915 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39916             Stefan Liebler  <stli@linux.vnet.ibm.com>
39918         * config.make.in (enable-lock-elision): New Makefile variable.
39919         * configure.ac: Likewise.
39920         * configure: Regenerate.
39921         * sysdeps/s390/configure.ac:
39922         Add check for gcc transactions support.
39923         * sysdeps/s390/configure: Regenerate.
39924         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39925         Build elision files if enabled.
39926         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39927         Add lock elision support for s390.
39928         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39929         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39930         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39931         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39932         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39933         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39934         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39935         Likewise.
39936         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39937         Likewise.
39938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39939         Likewise.
39940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39941         Likewise.
39942         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39943         (__lll_timedlock_elision, __lll_lock_elision)
39944         (__lll_unlock_elision, __lll_trylock_elision)
39945         (lll_timedlock_elision, lll_lock_elision)
39946         (lll_unlock_elision, lll_trylock_elision): Add.
39947         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39948         (pthread_mutex_t): Add lock elision support for s390.
39950 2014-05-14  Wilco  <wdijkstr@arm.com>
39952         * sysdeps/arm/fclrexcpt.c: Cleanup.
39953         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39954         * sysdeps/arm/feenablxcpt.c: Cleanup.
39955         * sysdeps/arm/fegetenv.c: Cleanup.
39956         * sysdeps/arm/fegetexcept.c: Cleanup.
39957         * sysdeps/arm/fegetround.c: Cleanup.
39958         * sysdeps/arm/feholdexcpt.c: Cleanup.
39959         * sysdeps/arm/fesetenv.c: Cleanup.
39960         * sysdeps/arm/fesetround.c: Cleanup.
39961         * sysdeps/arm/feupdateenv.c: Cleanup.
39962         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39963         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39964         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39965         * sysdeps/arm/ftestexcept.c: Cleanup.
39966         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39967         * sysdeps/arm/setfpucw.c: Cleanup.
39969 2014-05-09  Will Newton  <will.newton@linaro.org>
39971         * sysdeps/arm/armv7/strcmp.S: New file.
39972         * NEWS: Mention addition of ARMv7 optimized strcmp.
39974 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39976         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39977         look for %.ac rather than %.in.
39979         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39980         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39981         * sysdeps/mach/hurd/configure: Regenerated.
39982         * sysdeps/unix/sysv/linux/configure: Regenerated.
39984         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39986 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39988         [BZ# 16922]
39989         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39990         (LONG_SUB): Ditto.
39991         (PTR_SUB): Ditto.
39993 2014-05-07  Andreas Schwab  <schwab@suse.de>
39995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39996         when skipping over non-matching result from nscd.
39998 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40000         [BZ #16876]
40001         * nptl/sockperf.c (client): Check socket return value.
40003         [BZ #16877]
40004         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40005         nscd security class.
40007 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40009         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40010         * sysdeps/arm/unwind.h: ... here.
40012 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40014         [BZ# 16916]
40015         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40016         Define.
40018 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40020         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40021         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40022         multiarch strncpy for PPC64.
40023         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40024         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40026         multiarch optimizations.
40027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40028         (__libc_ifunc_impl_list): Likewise.
40029         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40030         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40031         multiarch stpncpy for PPC64.
40032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40033         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40035 2014-05-06  Andreas Schwab  <schwab@suse.de>
40037         [BZ #16912]
40038         * gmon/mcount.c (_MCOUNT_DECL): Use
40039         atomic_compare_and_exchange_bool_acq instead of
40040         catomic_compare_and_exchange_bool_acq.
40042 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40044         * elf/Makefile (others, install-bin): Remove pldd.
40045         (pldd-modules): Variable removed.
40046         ($(objpfx)pldd): Target removed.
40047         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40048         (others, install-bin): Append pldd here.
40049         ($(objpfx)pldd): New target.
40051         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40052         to 0, so the first #if test emitted later doesn't see it undefined.
40053         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40054         * sysdeps/gnu/errlist.c: Regenerated.
40056 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40058         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40059         [libc_hidden_builtin_def]: Define to empty value.
40060         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40061         [libc_hidden_builtin_def]: Likewise.
40062         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40063         [libc_hidden_builtin_def]: Likewise.
40064         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40065         [libc_hidden_builtin_def]: Likewise.
40066         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40067         __redirect_memcpy and define ifunc as default hidden symbol.
40068         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40069         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40071 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40073         * locale/iso-4217.def: Reintroduce XDR currency.
40075 2014-05-04  Allan McRae  <allan@archlinux.org>
40077         * po/eo.po: Update Esperanto translation from translation project.
40079 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40081         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40082         and FEATURE_INDEX_MAX to 1.
40083         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40085 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40087         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40088         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40089         * iconvdata/big5.c (ONE_DIRECTION): Define.
40090         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40091         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40092         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40093         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40094         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40095         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40096         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40097         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40098         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40099         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40100         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40101         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40102         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40103         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40104         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40105         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40106         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40107         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40108         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40109         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40110         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40111         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40112         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40113         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40114         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40115         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40116         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40117         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40118         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40119         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40120         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40121         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40122         * iconvdata/johab.c (ONE_DIRECTION): Define.
40123         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40124         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40125         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40126         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40127         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40128         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40129         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40130         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40131         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40132         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40134 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40136         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40137         (_IO_JUMPS_OFFSET): Define to 0.
40139         * nptl/sysdeps/pthread/bits/libc-lock.h
40140         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40141         (__libc_lock_define_initialized_recursive): Always define using
40142         initializer.  Modern compilers treat uninitialized (implicit zero) and
40143         explicit zero initializers the same (i.e. put the datum in bss).
40145 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40147         * nscd/nscd-client.h: Include <string.h>.
40149 2014-05-01  David S. Miller  <davem@davemloft.net>
40151         [BZ #16885]
40152         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40153         multiple zero bytes exist at the end of a string.
40154         Reported by Aurelien Jarno <aurelien@aurel32.net>
40156         * string/test-strcmp.c (check): Add explicit test for situations where
40157         there are multiple zero bytes after the first.
40159 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40161         [BZ #16890]
40162         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40163         when compiling wprintf.
40164         * stdio-common/tstdiomisc.c (t3): New function.
40165         (main): Call it.
40167 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40169         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40170         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40171         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40172         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40174 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40176         * stdlib/longlong.h: Updated from GCC.
40178 2014-05-01  Will Newton  <will.newton@linaro.org>
40179             Bernard Ogden  <bernie.ogden@linaro.org>
40181         * NEWS: Update fixed bug list.
40183         [BZ #15119]
40184         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40186 2014-04-30  David S. Miller  <davem@davemloft.net>
40188         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40189         (libc_feholdexcept_setround_sparc_ctx): New function.
40190         (libc_fesetenv_sparc_ctx): Likewise.
40191         (libc_feupdateenv_sparc_ctx): Likewise.
40192         (libc_feholdsetround_sparc_ctx): Likewise.
40193         (libc_feholdexcept_setround_ctx): Define.
40194         (libc_feholdexcept_setroundf_ctx): Likewise.
40195         (libc_feholdexcept_setroundl_ctx): Likewise.
40196         (libc_fesetenv_ctx): Likewise.
40197         (libc_fesetenvf_ctx): Likewise.
40198         (libc_fesetenvl_ctx): Likewise.
40199         (libc_feupdateenv_ctx): Likewise.
40200         (libc_feupdateenvf_ctx): Likewise.
40201         (libc_feupdateenvl_ctx): Likewise.
40202         (libc_feresetround_ctx): Likewise.
40203         (libc_feresetroundf_ctx): Likewise.
40204         (libc_feresetroundl_ctx): Likewise.
40205         (libc_feholdsetround_ctx): Likewise.
40206         (libc_feholdsetroundf_ctx): Likewise.
40207         (libc_feholdsetroundl_ctx): Likewise.
40209         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40210         with __USE_GNU instead of XOPEN cpp guards.
40212         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40213         0.
40215         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40216         with XOPEN cpp guards.
40218 2014-04-30  Julian Brown  <julian@codesourcery.com>
40220         [BZ #16888]
40221         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40222         handling.
40224 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40226         [BZ #9894]
40227         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40228         Change to 2.6.32.
40229         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40230         * sysdeps/unix/sysv/linux/configure: Regenerated.
40231         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40232         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40233         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40234         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40235         * README: Update reference to required Linux kernel version.
40236         * manual/install.texi (Linux): Update reference to required Linux
40237         kernel headers version.
40238         * INSTALL: Regenerated.
40240         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40241         header inclusion.
40242         [POSIX] (limits.h): Likewise.
40243         [POSIX] (math.h): Likewise.
40244         [POSIX] (sys/wait.h): Likewise.
40245         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40246         function.
40247         [POSIX] (stddef.h): Do not allow header inclusion.
40249 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40251         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40253 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40255         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40256         Return immediately after lll_futex_wake.
40258 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40260         [BZ #16791]
40261         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40262         structure.
40263         (datahead_init_pos): Call datahead_init_common early.
40264         (datahead_init_neg): Likewise.
40266         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40267         datahead_init_neg): New functions.
40268         * nscd/aicache.c (addhstaiX): Use them.
40269         * nscd/grpcache.c (cache_addgr): Likewise.
40270         * nscd/hstcache.c (cache_addhst): Likewise.
40271         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40272         * nscd/netgroupcache.c (do_notfound): Likewise.
40273         (addgetnetgrentX): Likewise.
40274         (addinnetgrX): Likewise.
40275         * nscd/pwdcache.c (cache_addpw): Likewise.
40276         * nscd/servicescache.c (cache_addserv): Likewise.
40278 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40279             Atsushi Onoe  <atsushi@onoe.org>
40281         [BZ #14308]
40282         [BZ #12994]
40283         [BZ #13651]
40284         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40285         one response is valid.
40286         * resolv/res_send.c (send_dg): Check for validity of other
40287         response if the current response is a referral.
40289 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40291         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40293 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40295         [BZ #16823]
40296         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40297         Always divide by positive zero when computing -Inf result.
40298         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40299         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40301 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40303         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40304         FPSCR if value do not change.
40305         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40306         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40307         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40308         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40309         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40310         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40311         function.
40313 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40315         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40316         * sysdeps/unix/sysv/linux/hppa: Move directory from
40317         ports/systeps/unix/sysv/linux/hppa.
40318         * README: Update listing for hppa-*-linux-gnu.
40320 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40322         [BZ #16754]
40323         * manual/stdio.texi (Hook functions): Fix types of stream hook
40324         functions.
40325         [BZ #16854]
40326         * socket/sys/socket.h: Fix typo in comment.
40328 2014-04-28  Wilco  <wdijkstr@arm.com>
40330         * sysdeps/arm/fenv_private.h: New file.
40331         * sysdeps/arm/math_private.h: New file.
40332         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40334 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40336         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40337         with __int128_t.
40338         (La_x86_64_retval): Likewise.
40340 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40342         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40343         fpsr if value didn't change.
40344         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40345         to fpcr if value didn't change.
40346         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40347         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40348         fpsr or fpcr if value didn't change.
40349         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40350         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40351         fpcr if value didn't change.
40352         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40353         to fpsr if value didn't change.
40355 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40357         * nptl/tst-sem3.c: Use test-skeleton.c
40358         (main): Rename to do_test.  Use return instead of
40359         exit.
40360         * nptl/tst-sem4.c: Use test-skeleton.c
40361         (main): Rename to do_test.
40363 2014-04-22  David S. Miller  <davem@davemloft.net>
40365         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40366         (struct sigaction): New struct member __glibc_reserved0, change
40367         type of sa_flags to int.
40369 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40371         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40372         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40374 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40376         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40377         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40379 2014-04-22  Will Newton  <will.newton@linaro.org>
40380             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40382         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40383         (__longjmp): Add longjmp and longjmp_target SystemTap
40384         probes.
40385         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40386         (__sigsetjmp): Add setjmp SystemTap probe.
40388 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40390         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40391         match manual order.
40393 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40395         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40397         * sysdeps/powerpc/fpu/fenv_private.h
40398         (libc_feholdexcept_setroundl_ctx): Define to
40399         libc_feholdexcept_setround_ppc_ctx.
40400         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40401         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40402         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40403         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40405 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40407         * sysdeps/aarch64/math-tests.h: New file.
40409 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40411         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40412         New.
40413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40414         Check and set bit_AVX2_Usable.
40415         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40416         macro.
40417         (bit_AVX2): Likewise.
40418         (index_AVX2_Usable): Likewise.
40419         (CPUID_AVX2): Likewise.
40420         (HAS_AVX2): Likewise.
40422 2014-04-17  Will Newton  <will.newton@linaro.org>
40424         * manual/setjmp.texi (System V contexts): Add note that
40425         calling setcontext on a context created by a call to a
40426         signal handler is undefined.  Update text to note that
40427         setcontext from a signal handler is possible but not
40428         recommended.
40430         [BZ #16629]
40431         * stdlib/tst-setcontext.c: Include signal.h.
40432         (main): Check that the signal stack before and
40433         after swapcontext is the same.
40435         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40436         Re-implement to restore registers in user code and avoid
40437         rt_sigreturn system call.
40439 2014-04-17  Wilco  <wdijkstr@arm.com>
40441         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40442         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40443         * math/test-fenv.c: Skip exception trap tests on targets which only
40444         support non-stop mode.
40446 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40447             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40449         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40450         (libc_feholdsetround_aarch64_ctx)
40451         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40452         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40453         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40454         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40455         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40456         (libc_feresetround_noexl_ctx): Define.
40458 2014-04-16  Richard Henderson  <rth@redhat.com>
40460         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40462         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40463         unwind tables.
40465         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40466         const from the non-libc, non-ldso copy.
40468         * sysdeps/alpha/libm-test-ulps: Regenerate.
40470 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40471             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40473         * sysdeps/aarch64/fpu/math_private.h: New file.
40475 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40477         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40479 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40481         [BZ #16275]
40482         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40483         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40484         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40485         Intel MPX bound registers before _dl_profile_fixup.
40486         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40487         registers after _dl_profile_fixup.  Save and restore bound
40488         registers bnd0/bnd1 when calling _dl_call_pltexit.
40489         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40490         (LR_BND_OFFSET): Likewise.
40491         (LRV_BND0_OFFSET): Likewise.
40492         (LRV_BND1_OFFSET): Likewise.
40494 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40496         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40497         to...
40498         * sysdeps/mach/hurd/i386/tls.h: ... here.
40499         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40500         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40501         fields.
40503 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40505         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40507 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40509         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40511 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40513         [BZ #14770]
40514         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40515         * sysdeps/s390/configure: Regenerate.
40517         [BZ #16824]
40518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40519         Set round-to-nearest internally to reduce error accumulation.
40521 2014-04-16  Alan Modra  <amodra@gmail.com>
40523         [BZ #16740]
40524         [BZ #16619]
40525         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40526         * math/libm-test.inc (frexp_test_data): Add tests.
40527         * NEWS: Update fixed bug list.
40529 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40531         * benchtests/Makefile: Depend on libraries in build directory.
40532         (bench-math): Separate out math tests.
40533         (bench-pthread): Separate out pthread tests.
40534         (bench): Include math and pthread tests.
40536 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40538         [BZ #16831]
40539         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40540         _dl_debug_initialize.
40542         * configure.ac: Remove SELinux header check.
40543         * configure: Regenerate.
40544         * nscd/selinux.c (perms): Array of const char* to permission names.
40545         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40546         default policy. Call string_to_security_class and string_to_av_perm to
40547         translate strings. Enforce default policy and call avs_has_perm with
40548         results of translated strings.
40550 2014-04-13  David S. Miller  <davem@davemloft.net>
40552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40554 2014-04-12  Allan McRae  <allan@archlinux.org>
40556         [BZ #16838]
40557         * manual/string.texi (Collation Functions): Fix qsort argument
40558         order in example.
40559         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40561 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40563         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40564         Make the test a no-op if there are no exceptions defined.
40566 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40568         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40569         enable-hardcoded-path-in-tests
40571 2014-04-11  Will Newton  <will.newton@linaro.org>
40573         * benchtests/Makefile (extra-objs): Add json-lib.o.
40574         (bench-func): Tidy up JSON output.
40575         * benchtests/bench-skeleton.c: Include json-lib.h.
40576         (main): Use JSON library functions to do output of
40577         benchmark results.
40578         * benchtests/bench-timing-type.c (main): Output the
40579         timing type simply, leaving formatting to the user.
40580         * benchtests/json-lib.c: New file.
40581         * benchtests/json-lib.h: Likewise.
40583 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40585         [BZ #15215]
40586         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40587         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40588         memory barriers.  Add comments.
40589         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40590         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40591         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40592         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40593         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40594         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40596 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40598         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40599         * sysdeps/s390/s390-64/configure.ac: ... this ...
40600         * sysdeps/s390/configure.ac: ... to here.
40601         * sysdeps/s390/s390-32/configure: Delete file.
40602         * sysdeps/s390/s390-64/configure: Delete file.
40603         * sysdeps/s390/configure: Regenerate.
40605 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40607         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40609 2014-04-11  Will Newton  <will.newton@linaro.org>
40611         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40612         to zero if it is not defined elsewhere.  (mtrim): Test
40613         the value of MALLOC_DEBUG with #if rather than #ifdef.
40615 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40617         * benchtests/pthread_once-inputs: New file.
40618         * benchtests/pthread_once-source.c: New file.
40619         * benchtests/README: Update documentation.
40621 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40622             H.J. Lu  <hongjiu.lu@intel.com>
40624         [BZ #16275]
40625         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40626         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40627         * sysdeps/x86_64/configure: Regenerated.
40628         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40629         macro.
40630         (REGISTER_SAVE_RAX): Likewise.
40631         (REGISTER_SAVE_RCX): Likewise.
40632         (REGISTER_SAVE_RDX): Likewise.
40633         (REGISTER_SAVE_RSI): Likewise.
40634         (REGISTER_SAVE_RDI): Likewise.
40635         (REGISTER_SAVE_R8): Likewise.
40636         (REGISTER_SAVE_R9): Likewise.
40637         (REGISTER_SAVE_BND0): Likewise.
40638         (REGISTER_SAVE_BND1): Likewise.
40639         (REGISTER_SAVE_BND2): Likewise.
40640         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40641         bound registers when calling _dl_fixup.
40643 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40645         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40646         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40647         of its definition.
40648         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40649         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40650         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40651         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40652         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40653         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40654         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40656 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40658         [BZ #15514]
40659         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40660         pathconf(_PC_NAME_MAX).
40662 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40664         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40665         Remove macro usage.
40666         (__PTHREAD_SPINS): Move definition to ...
40667         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40668         (__PTHREAD_SPINS): ... here.
40669         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40670         (__PTHREAD_SPIN): Likewise.
40671         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40672         (__PTHREAD_SPIN): Likewise.
40673         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40674         (__PTHREAD_SPIN): Likewise.
40675         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40676         (__PTHREAD_SPIN): Likewise.
40677         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40678         (__PTHREAD_SPIN): Likewise.
40679         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40680         (__PTHREAD_SPIN): Likewise.
40681         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40682         (__PTHREAD_SPIN): Likewise.
40683         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40684         (__PTHREAD_SPIN): Likewise.
40685         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40686         (__PTHREAD_SPIN): Likewise.
40687         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40688         (__PTHREAD_SPIN): Likewise.
40689         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40690         (__PTHREAD_SPIN): Likewise.
40691         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40692         (__PTHREAD_SPIN): Likewise.
40694         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40695         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40696         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40697         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40698         imply folder.
40699         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40700         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40701         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40702         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40703         correct imply path.
40704         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40705         strlen symbol for non multi-arch builds.
40706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40707         missing hidden_def and weak_alias.
40709 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40711         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40713 2014-04-07  Will Newton  <will.newton@linaro.org>
40715         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40716         and contents.  [!_LIBC] Remove #ifndef and contents.
40717         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40718         * string/memccpy.c (__memccpy): Use ANSI prototype.
40719         * string/memfrob.c (memfrob): Likewise.
40720         * string/strcoll.c (STRCOLL): Likewise.
40721         * string/strlen.c (strlen): Likewise.
40722         * string/strtok.c (STRTOK): Likewise.
40723         * string/strcat.c: Remove unused #include of memcopy.h.
40724         (strcat): Use ANSI prototype.
40725         * string/strchr.c: Remove unused #include of memcopy.h.
40726         (strchr): Use ANSI prototype.
40727         * string/strcmp.c: Remove unused #include of memcopy.h.
40728         (strcmp): Use ANSI prototype.
40729         * string/strcpy.c: Remove unused #include of memcopy.h.
40730         (strcpy): Use ANSI prototype.
40732 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40734         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40735         * config.make.in (config-extra-cppflags): Set it from
40736         libc_extra_cppflags.
40737         * configure.ac (libc_extra_cflags): Make it accumulate over
40738         configure fragments.
40739         (libc_extra_cppflags): New flag.
40740         * configure. Regenerate.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40742         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40743         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40746         [BZ #16815]
40747         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40748         result for FE_DOWNWARD rounding mode.
40749         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40750         Likewise.
40751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40753 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40755         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40756         in function argument name.
40758 2014-04-03  David Svoboda  <svoboda@cert.org>
40760         [BZ #5666]
40761         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40762         explicitly.
40764 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40766         * elf/dl-unmap-segments.h: New file.
40767         * sysdeps/generic/ldsodefs.h
40768         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40769         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40770         * elf/dl-fptr.c: Likewise.
40771         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40772         * sysdeps/aarch64/tlsdesc.c: Likewise.
40773         * sysdeps/arm/tlsdesc.c: Likewise.
40774         * sysdeps/i386/tlsdesc.c: Likewise.
40775         * sysdeps/tile/dl-runtime.c: Likewise.
40776         * sysdeps/x86_64/tlsdesc.c: Likewise.
40777         * elf/dl-load.h: New file.
40778         * elf/dl-load.c: Include it.
40779         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40780         Macros moved to dl-load.h.
40781         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40782         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40783         Use _dl_unmap_segments in place of __munmap.
40784         Break out segment-mapping loop into ...
40785         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40787 2014-04-03  Will Newton  <will.newton@linaro.org>
40789         * elf/dl-lookup.c (do_lookup_x): Remove comment
40790         referring to nested function and move variable
40791         declarations down to before first use.
40793 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40795         [BZ #16799]
40796         [BZ #16800]
40797         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40798         with 0 numerator.
40799         * math/s_catanf.c (__catanf): Likewise.
40800         * math/s_catanh.c (__catanh): Likewise.
40801         * math/s_catanhf.c (__catanhf): Likewise.
40802         * math/s_catanhl.c (__catanhl): Likewise.
40803         * math/s_catanl.c (__catanl): Likewise.
40804         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40805         by positive zero when computing -Inf result.
40806         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40807         (catanh_test): Likewise.
40808         * sysdeps/i386/fpu/libm-test-ulps: Update.
40809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40811         [BZ #16789]
40812         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40813         instead of using underflowing value in computing result.
40814         * math/s_clog10.c (__clog10): Likewise.
40815         * math/s_clog10f.c (__clog10f): Likewise.
40816         * math/s_clog10l.c (__clog10l): Likewise.
40817         * math/s_clogf.c (__clogf): Likewise.
40818         * math/s_clogl.c (__clogl): Likewise.
40819         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40820         (clog10_test): Likewise.
40821         * sysdeps/i386/fpu/libm-test-ulps: Update.
40822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40824 2014-04-02  Alan Modra  <amodra@gmail.com>
40826         [BZ #16739]
40827         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40828         output when value is near a power of two.  Use int64_t for lx and
40829         remove casts.  Use decimal rather than hex exponent constants.
40830         Don't use long double multiplication when double will suffice.
40831         * math/libm-test.inc (nextafter_test_data): Add tests.
40832         * NEWS: Add 16739 and 16786 to bug list.
40834         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40836         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40838 2014-04-01  Will Newton  <will.newton@linaro.org>
40840         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40841         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40843 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40845         [BZ #13347]
40846         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40847         * nptl/tst-setuid2.c: New file.
40848         * nptl/Makefile (xtests): Add tst-setuid2.
40850 2014-04-01  Alan Modra  <amodra@gmail.com>
40852         [BZ #16786]
40853         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40855 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40857         [BZ #6803]
40858         [BZ #6804]
40859         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40860         set errno as appropriate.
40861         * math/w_scalbf.c (__scalbf): Likewise.
40862         * math/w_scalbl.c (__scalbl): Likewise.
40863         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40864         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40865         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40866         Add more NaN tests.
40868         [BZ #16349]
40869         * math/w_atan2.c: Include <errno.h>.
40870         (__atan2): Set errno for result underflowing to zero.
40871         * math/w_atan2f.c: Include <errno.h>.
40872         (__atan2f): Set errno for result underflowing to zero.
40873         * math/w_atan2l.c: Include <errno.h>.
40874         (__atan2l): Set errno for result underflowing to zero.
40875         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40876         tests.
40877         * math/auto-libm-test-out: Regenerated.
40879 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40881         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40882         Encode instruction correctly in little endian.
40883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40884         Likewise.
40885         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40886         Likewise.
40887         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40888         Likewise.
40889         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40890         Likewise.
40892 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40894         [BZ #9894]
40895         * sysdeps/unix/sysv/linux/kernel-features.h
40896         [__sparc__ && !__arch64__ && !__sparc_v9__]
40897         (__ASSUME_SET_ROBUST_LIST): Do not define.
40898         [__sparc__ && !__arch64__ && !__sparc_v9__]
40899         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40900         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40901         Likewise.
40902         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40903         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40904         (__ASSUME_REQUEUE_PI): Likewise.
40905         (__ASSUME_SET_ROBUST_LIST): Likewise.
40906         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40907         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40908         Undefine.
40909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40910         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40911         Likewise.
40912         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40913         Likewise.
40914         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40915         Likewise.
40916         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40917         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40918         Undefine.
40919         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40920         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40921         Likewise.
40923         [BZ #16648]
40924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40925         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40926         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40928 2014-03-31  Will Newton  <will.newton@linaro.org>
40930         * benchtests/Makefile (bench): Add ffs and ffsll to list
40931         of tests.
40932         * benchtests/ffs-inputs: New file.
40933         * benchtests/ffsll-inputs: Likewise.
40935 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40937         [BZ #16770]
40938         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40939         too large before casting to int.
40940         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40941         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40942         * math/libm-test.inc (scalb_test_data): Add more tests.
40944 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40946         * benchtests/Makefile (DETAILED_OPT): New make option.
40947         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40948         set.
40949         * benchtests/bench-skeleton.c: Include stdbool.h.
40950         (main): Store and print timings per input.
40951         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40952         member to each argument value.
40953         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40954         (_print_arg_data): Initialize per-input timing to 0.
40956         * benchtests/Makefile (timing-type): New binary.
40957         (bench-clean): Also remove bench-timing-type.
40958         (bench): New target for timing-type.
40959         (bench-func): Print output in JSON format.
40960         * benchtests/bench-skeleton.c (main): Print output in JSON
40961         format.
40962         * benchtests/bench-timing-type.c: New file.
40963         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40964         (TIMING_PRINT_STATS): Remove.
40965         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40966         name separately.
40968         * benchtests/bench-modf.c: Remove.
40969         * benchtests/modf-inputs: New inputs file.
40971 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40973         [BZ #16362]
40974         * math/s_clog10.c (M_PI_LOG10E): New macro.
40975         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40976         imaginary parts are 0.
40977         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40978         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40979         imaginary parts are 0.
40980         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40981         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40982         imaginary parts are 0.
40983         * math/libm-test.inc (clog10_test_data): Update expected results
40984         for when real and imaginary parts are 0.
40986 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40988         * elf/dl-load.c: Finish conversion of __builtin_expect into
40989         __glibc_{un}likely.
40991 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40993         [BZ #16348]
40994         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40995         1+x for argument with exponent below -67.
40996         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40997         Likewise.
40998         * math/auto-libm-test-in: Add more tests of exp.
40999         * math/auto-libm-test-out: Regenerated.
41001 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41003         [BZ #16759]
41004         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41005         (nscd_getnetgrent): Use it.
41007         [BZ #16760]
41008         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41009         of stpcpy.
41011 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41013         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41014         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41015         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41016         (lll_robust_unlock): Remove out of line section. Use cfi
41017         intrinsics.
41018         (LLL_STUB_UNWIND_INFO*): Remove.
41019         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41020         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41021         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41022         (lll_robust_unlock): Remove out of line section. Use cfi
41023         intrinsics.
41024         (LLL_STUB_UNWIND_INFO*): Remove.
41026 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41028         [BZ #16758]
41029         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41030         blank values.
41032 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41034         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41036 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41038         [BZ #16198]
41039         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41040         fnstenv.
41041         * math/test-fenv-preserve.c: New file.
41042         * math/Makefile (tests): Add test-fenv-preserve.
41044 2014-03-26  Will Newton <will.newton@linaro.org>
41046         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41048 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41050         * scripts/versionlist.awk: Partition the version sets and emit all
41051         GLIBC_* (sorted) before all others (sorted).
41053 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41055         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41056         GLIBC_2.2.5 version.
41058 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41060         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41061         calls.
41063         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41064         previous change.
41066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41068 2014-03-25  Andreas Schwab  <schwab@suse.de>
41070         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41071         label to be used after in6ailist is initialized.
41073 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41075         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41076         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41078 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41080         [BZ #16357]
41081         [BZ #16599]
41082         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41083         min_plus_half.
41084         (fp_formats): Update initializers.
41085         (init_fp_formats): Initialize new field.
41086         (output_for_one_input_case): Allow underflow for results up to
41087         min_plus_half.
41088         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41089         * math/auto-libm-test-in: Don't mark some underflows from asin and
41090         atanh as spurious.
41091         * math/auto-libm-test-out: Regenerated.
41092         * sysdeps/i386/fpu/libm-test-ulps: Update.
41093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41095 2014-03-25  Andreas Schwab  <schwab@suse.de>
41097         * libio/Makefile (tst-ftell-partial-wide-ENV)
41098         (tst-ftell-active-handler-ENV): Define.
41100 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41102         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41104 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41106         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41108 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41110         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41111         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41112         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41114 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41116         [BZ #16634]
41117         * elf/dl-load.c (open_verify): Add mode parameter.
41118         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41119         (open_path): Change from boolean 'secure' to complete flag 'mode'
41120         (_dl_map_object): Adjust.
41121         * elf/Makefile (tests): Add tst-dlopen-aout.
41122         * elf/tst-dlopen-aout.c: New test.
41124 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41126         [BZ #16714]
41127         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41128         (struct stat): Rename member pad0 to __glibc_reserved0.
41130         [BZ #16712]
41131         * sysdeps/s390/s390-32/bits/wordsize.h
41132         (__WORDSIZE32_SIZE_ULONG): New define.
41133         * sysdeps/s390/s390-64/bits/wordsize.h
41134         (__WORDSIZE32_SIZE_ULONG): Likewise.
41135         * sysdeps/generic/stdint.h (SIZE_MAX):
41136         Define as UL if __WORDSIZE32_SIZE_ULONG.
41138         [BZ #16713]
41139         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41140         (__glibc_reserved0): New variable.
41141         (sa_flags): Change type to int.
41143         * posix/Makefile (before-compile): Use += before-compile instead
41144         of a :=.
41146         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41147         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41149 2014-03-20  Andreas Schwab  <schwab@suse.de>
41151         [BZ #16743]
41152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41153         non-matching result from nscd.
41155 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41157         * scripts/bench.py: Moved to ...
41158         * benchtests/scripts/bench.py: ... here.
41159         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41161 2014-03-24  Andreas Schwab  <schwab@suse.de>
41163         [BZ #16002]
41164         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41165         alloca_account and account alloca use for struct in6ailist.
41167 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41169         [BZ #16284]
41170         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41171         rounding mode to recompute results that overflow to infinity or
41172         underflow to zero.
41173         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41174         bug 16284.
41175         * math/auto-libm-test-out: Regenerated.
41176         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41177         (ccosh_test): Likewise.
41178         (csin_test_data): Use plus_oflow.
41179         (csin_test): Use ALL_RM_TEST.
41180         (csinh_test_data): Use plus_oflow.
41181         (csinh_test): Use ALL_RM_TEST.
41182         * sysdeps/i386/fpu/libm-test-ulps: Update.
41183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41185 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41187         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41188         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41189         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41191         [BZ #16731]
41192         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41193         when x - 1 is zero.
41194         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41195         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41196         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41197         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41198         argument is 1.
41199         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41200         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41201         zero.
41202         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41203         * sysdeps/i386/fpu/libm-test-ulps: Update.
41204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41206 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41208         * scripts/bench.pl: Remove file.
41209         * scripts/bench.py: New benchmark script.
41210         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41211         * benchtests/README: Mention python dependency.
41212         * scripts/pylintrc: New file.
41213         * scripts/pylint: New file.
41215         * bits/mathdef.h: Use #ifdef instead of #if.
41216         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41217         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41218         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41219         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41220         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41221         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41223 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41224             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41226         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41228         and strpbrk-ppc64 objects.
41229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41230         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41231         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41232         multiarch strpbrk for POWER7.
41233         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41234         multiarch strpbrk for PPC64.
41235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41236         ifunc selector.
41237         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41238         strpbrk for POWER7.
41240 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41242         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41243         (atan_test): Likewise.
41244         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41245         (atanh_test): Use ALL_RM_TEST.
41246         (atan2_test_data): Likewise.
41247         (cabs_test): Likewise.
41248         (cacosh_test): Likewise.
41249         (carg_test): Likewise.
41250         (casin_test): Likewise.
41251         (casinh_test): Likewise.
41252         (cbrt_test): Likewise.
41253         (csqrt_test): Likewise.
41254         (erf_test): Likewise.
41255         (erfc_test): Likewise.
41256         (pow10_test): Likewise.
41257         (exp2_test): Likewise.
41258         (hypot_test): Likewise.
41259         (j0_test): Likewise.
41260         (j1_test): Likewise.
41261         (lgamma_test): Likewise.
41262         (gamma_test): Likewise.
41263         (sincos_test): Likewise.
41264         (tanh_test): Likewise.
41265         (y0_test): Likewise.
41266         (y1_test): Likewise.
41267         * sysdeps/i386/fpu/libm-test-ulps: Update.
41268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41270 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41272         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41274         and strcspn-ppc64 objects.
41275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41276         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41277         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41278         multiarch strcspn for POWER7.
41279         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41280         multiarch strcspn for PPC64.
41281         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41282         ifunc selector.
41283         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41284         strcspn for POWER7.
41286 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41288         * math/gen-libm-test.pl (generate_testfile): Expect only function
41289         name as argument to AUTO_TESTS_* and pass results for all rounding
41290         modes to parse_args.
41291         (parse_auto_input): Separate inputs of automatic tests from
41292         outputs before storing in %auto_tests.
41293         * math/libm-test.inc (acos_test_data): Update call to
41294         AUTO_TESTS_f_f.
41295         (acos_test): Use ALL_RM_TEST.
41296         (acos_tonearest_test_data): Remove.
41297         (acos_test_tonearest): Likewise.
41298         (acos_towardzero_test_data): Likewise.
41299         (acos_test_towardzero): Likewise.
41300         (acos_downward_test_data): Likewise.
41301         (acos_test_downward): Likewise.
41302         (acos_upward_test_data): Likewise.
41303         (acos_test_upward): Likewise.
41304         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41305         (asin_test_data): Likewise.
41306         (asin_test): Use ALL_RM_TEST.
41307         (asin_tonearest_test_data): Remove.
41308         (asin_test_tonearest): Likewise.
41309         (asin_towardzero_test_data): Likewise.
41310         (asin_test_towardzero): Likewise.
41311         (asin_downward_test_data): Likewise.
41312         (asin_test_downward): Likewise.
41313         (asin_upward_test_data): Likewise.
41314         (asin_test_upward): Likewise.
41315         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41316         (atan_test_data): Likewise.
41317         (atanh_test_data): Likewise.
41318         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41319         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41320         (carg_test_data): Likewise.
41321         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41322         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41323         (ccosh_test_data): Likewise.
41324         (cexp_test_data): Likewise.
41325         (clog_test_data): Likewise.
41326         (clog10_test_data): Likewise.
41327         (cos_test_data): Update call to AUTO_TESTS_f_f.
41328         (cos_test): Use ALL_RM_TEST.
41329         (cos_tonearest_test_data): Remove.
41330         (cos_test_tonearest): Likewise.
41331         (cos_towardzero_test_data): Likewise.
41332         (cos_test_towardzero): Likewise.
41333         (cos_downward_test_data): Likewise.
41334         (cos_test_downward): Likewise.
41335         (cos_upward_test_data): Likewise.
41336         (cos_test_upward): Likewise.
41337         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41338         (cosh_test): Use ALL_RM_TEST.
41339         (cosh_tonearest_test_data): Remove.
41340         (cosh_test_tonearest): Likewise.
41341         (cosh_towardzero_test_data): Likewise.
41342         (cosh_test_towardzero): Likewise.
41343         (cosh_downward_test_data): Likewise.
41344         (cosh_test_downward): Likewise.
41345         (cosh_upward_test_data): Likewise.
41346         (cosh_test_upward): Likewise.
41347         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41348         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41349         (ctan_test_data): Likewise.
41350         (ctan_test): Use ALL_RM_TEST.
41351         (ctan_tonearest_test_data): Remove.
41352         (ctan_test_tonearest): Likewise.
41353         (ctan_towardzero_test_data): Likewise.
41354         (ctan_test_towardzero): Likewise.
41355         (ctan_downward_test_data): Likewise.
41356         (ctan_test_downward): Likewise.
41357         (ctan_upward_test_data): Likewise.
41358         (ctan_test_upward): Likewise.
41359         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41360         (ctanh_test): Use ALL_RM_TEST.
41361         (ctanh_tonearest_test_data): Remove.
41362         (ctanh_test_tonearest): Likewise.
41363         (ctanh_towardzero_test_data): Likewise.
41364         (ctanh_test_towardzero): Likewise.
41365         (ctanh_downward_test_data): Likewise.
41366         (ctanh_test_downward): Likewise.
41367         (ctanh_upward_test_data): Likewise.
41368         (ctanh_test_upward): Likewise.
41369         (erf_test_data): Update call to AUTO_TESTS_f_f.
41370         (erfc_test_data): Likewise.
41371         (exp_test_data): Likewise.
41372         (exp_test): Use ALL_RM_TEST.
41373         (exp_tonearest_test_data): Remove.
41374         (exp_test_tonearest): Likewise.
41375         (exp_towardzero_test_data): Likewise.
41376         (exp_test_towardzero): Likewise.
41377         (exp_downward_test_data): Likewise.
41378         (exp_test_downward): Likewise.
41379         (exp_upward_test_data): Likewise.
41380         (exp_test_upward): Likewise.
41381         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41382         (exp10_test): Use ALL_RM_TEST.
41383         (exp10_tonearest_test_data): Remove.
41384         (exp10_test_tonearest): Likewise.
41385         (exp10_towardzero_test_data): Likewise.
41386         (exp10_test_towardzero): Likewise.
41387         (exp10_downward_test_data): Likewise.
41388         (exp10_test_downward): Likewise.
41389         (exp10_upward_test_data): Likewise.
41390         (exp10_test_upward): Likewise.
41391         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41392         (expm1_test_data): Likewise.
41393         (expm1_test): Use ALL_RM_TEST.
41394         (expm1_tonearest_test_data): Remove.
41395         (expm1_test_tonearest): Likewise.
41396         (expm1_towardzero_test_data): Likewise.
41397         (expm1_test_towardzero): Likewise.
41398         (expm1_downward_test_data): Likewise.
41399         (expm1_test_downward): Likewise.
41400         (expm1_upward_test_data): Likewise.
41401         (expm1_test_upward): Likewise.
41402         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41403         (fma_test): Use ALL_RM_TEST.
41404         (fma_towardzero_test_data): Remove.
41405         (fma_test_towardzero): Likewise.
41406         (fma_downward_test_data): Likewise.
41407         (fma_test_downward): Likewise.
41408         (fma_upward_test_data): Likewise.
41409         (fma_test_upward): Likewise.
41410         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41411         (j0_test_data): Update call to AUTO_TESTS_f_f.
41412         (j1_test_data): Likewise.
41413         (jn_test_data): Update call to AUTO_TESTS_if_f.
41414         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41415         (log_test_data): Update call to AUTO_TESTS_f_f.
41416         (log10_test_data): Likewise.
41417         (log1p_test_data): Likewise.
41418         (log2_test_data): Likewise.
41419         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41420         (pow_tonearest_test_data): Likewise.
41421         (sin_test_data): Update call to AUTO_TESTS_f_f.
41422         (sin_test): Use ALL_RM_TEST.
41423         (sin_tonearest_test_data): Remove.
41424         (sin_test_tonearest): Likewise.
41425         (sin_towardzero_test_data): Likewise.
41426         (sin_test_towardzero): Likewise.
41427         (sin_downward_test_data): Likewise.
41428         (sin_test_downward): Likewise.
41429         (sin_upward_test_data): Likewise.
41430         (sin_test_upward): Likewise.
41431         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41432         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41433         (sinh_test): Use ALL_RM_TEST.
41434         (sinh_tonearest_test_data): Remove.
41435         (sinh_test_tonearest): Likewise.
41436         (sinh_towardzero_test_data): Likewise.
41437         (sinh_test_towardzero): Likewise.
41438         (sinh_downward_test_data): Likewise.
41439         (sinh_test_downward): Likewise.
41440         (sinh_upward_test_data): Likewise.
41441         (sinh_test_upward): Likewise.
41442         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41443         (sqrt_test): Use ALL_RM_TEST.
41444         (sqrt_tonearest_test_data): Remove.
41445         (sqrt_test_tonearest): Likewise.
41446         (sqrt_towardzero_test_data): Likewise.
41447         (sqrt_test_towardzero): Likewise.
41448         (sqrt_downward_test_data): Likewise.
41449         (sqrt_test_downward): Likewise.
41450         (sqrt_upward_test_data): Likewise.
41451         (sqrt_test_upward): Likewise.
41452         (tan_test_data): Update call to AUTO_TESTS_f_f.
41453         (tan_test): Use ALL_RM_TEST.
41454         (tan_tonearest_test_data): Remove.
41455         (tan_test_tonearest): Likewise.
41456         (tan_towardzero_test_data): Likewise.
41457         (tan_test_towardzero): Likewise.
41458         (tan_downward_test_data): Likewise.
41459         (tan_test_downward): Likewise.
41460         (tan_upward_test_data): Likewise.
41461         (tan_test_upward): Likewise.
41462         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41463         (tgamma_test_data): Likewise.
41464         (y0_test_data): Likewise.
41465         (y1_test_data): Likewise.
41466         (yn_test_data): Update call to AUTO_TESTS_if_f.
41467         (main): Do not call removed functions.
41469 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41471         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41472         (ldexp_test_data): Remove.
41473         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41474         scalbn_test_data.
41475         (scalb_test): Use ALL_RM_TEST.
41477 2014-03-19  Andreas Schwab  <schwab@suse.de>
41479         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41481 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41483         [BZ #16649]
41484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41485         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41486         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41488         (__ASSUME_PREADV): Undefine.
41489         (__ASSUME_PWRITEV): Likewise.
41491 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41493         * bits/mman-linux.h: Add comment about non-Linux use.
41494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41495         bits/mman-linux.h resting place.
41497         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41498         * bits/mman-linux.h: ... here.
41500 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41502         * conform/conformtest.pl: Add standard definition when calling C
41503         preprocessor on data files.
41504         (checknamespace): Remove unused variable.
41506 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41508         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41509         minus_oflow, plus_uflow and minus_uflow in expected results.
41510         * math/libm-test.inc (scalbn_test_data): Add more tests of
41511         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41512         minus_uflow.
41513         (scalbn_test): Use ALL_RM_TEST.
41514         (scalbln_test_data): Add more tests of negative arguments.  Use
41515         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41516         (scalbln_test): Use ALL_RM_TEST.
41518 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41520         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41522 2014-03-18  Will Newton  <will.newton@linaro.org>
41524         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41525         inaccurate comment.
41527 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41529         * Makerules [!subdir] (check-abi): Exit with error status if a
41530         test failed.
41532 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41534         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41535         for rint.  Include results for all rounding modes.
41536         (nearbyint_test): Use ALL_RM_TEST.
41537         (rint_test_data): Include all tests used for nearbyint.
41539 2014-03-17  Will Newton  <will.newton@linaro.org>
41541         * nptl/sysdeps/pthread/pthread.h: Revert previous
41542         change.
41544         * sysdeps/generic/ldsodefs.h: Revert previous
41545         change.
41547         * libio/genops.c: Revert previous change.
41548         * libio/libioP.h: Likewise.
41549         * stdio-common/vfprintf.c: Likewise.
41551         * sysdeps/generic/math_private.h: Revert previous
41552         change.
41554         * sysdeps/generic/math_private.h: Check whether
41555         HAVE_RM_CTX is defined with #ifdef rather
41556         than #if.
41558         * argp/argp-fmtstream.h: Check whether
41559         __STRICT_ANSI__ is defined with #ifdef rather
41560         than #if.
41561         * argp/argp.h: Likewise.
41563         * libio/genops.c: Check whether
41564         _IO_JUMPS_OFFSET is defined with #ifdef rather
41565         than #if.
41566         * libio/libioP.h: Likewise.
41567         * stdio-common/vfprintf.c: Likewise.
41569         * sysdeps/generic/ldsodefs.h: Check whether
41570         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41571         than #if.
41573         * nptl/sysdeps/pthread/pthread.h: Check
41574         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41575         its value.
41577 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41579         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41580         setting O_APPEND.
41581         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41582         test case.
41584         [BZ #16680]
41585         * libio/fileops.c (_IO_file_open): Seek to end of file but
41586         don't cache the offset.
41587         (get_file_offset): Remove function.
41588         (do_ftell): Use cached offset when available.
41589         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41590         don't cache the offset.
41591         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41592         case.
41593         (do_one_test): Call it.
41594         (do_ftell_test): Fix up expected old offset for a+ mode.
41595         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41596         available.
41598         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41599         up test status with function return status.
41600         (do_write_test): Likewise.
41601         (do_append_test): Likewise.
41603         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41604         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41605         Remove.
41607 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41609         * math/gen-libm-test.pl (parse_args): Handle results specified for
41610         each rounding mode separately.
41611         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41612         tests and results from lrint_tonearest_test_data,
41613         lrint_towardzero_test_data, lrint_downward_test_data and
41614         lrint_upward_test_data.
41615         (lrint_test): Use ALL_RM_TEST.
41616         (lrint_tonearest_test_data): Remove.
41617         (lrint_test_tonearest): Likewise.
41618         (lrint_towardzero_test_data): Likewise.
41619         (lrint_test_towardzero): Likewise.
41620         (lrint_downward_test_data): Likewise.
41621         (lrint_test_downward): Likewise.
41622         (lrint_upward_test_data): Likewise.
41623         (lrint_test_upward): Likewise.
41624         (llrint_test_data): Merge in per-rounding-mode tests and results
41625         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41626         llrint_downward_test_data and llrint_upward_test_data.
41627         (llrint_test): Use ALL_RM_TEST.
41628         (llrint_tonearest_test_data): Remove.
41629         (llrint_test_tonearest): Likewise.
41630         (llrint_towardzero_test_data): Likewise.
41631         (llrint_test_towardzero): Likewise.
41632         (llrint_downward_test_data): Likewise.
41633         (llrint_test_downward): Likewise.
41634         (llrint_upward_test_data): Likewise.
41635         (llrint_test_upward): Likewise.
41636         (rint_test_data): Merge in per-rounding-mode tests and results
41637         from rint_tonearest_test_data, rint_towardzero_test_data,
41638         rint_downward_test_data and rint_upward_test_data.  Add
41639         per-rounding-mode results for tests not in those arrays.
41640         (rint_test): Use ALL_RM_TEST.
41641         (rint_tonearest_test_data): Remove.
41642         (rint_test_tonearest): Likewise.
41643         (rint_towardzero_test_data): Likewise.
41644         (rint_test_towardzero): Likewise.
41645         (rint_downward_test_data): Likewise.
41646         (rint_test_downward): Likewise.
41647         (rint_upward_test_data): Likewise.
41648         (rint_test_upward): Likewise.
41649         (main): Don't call removed functions.
41651 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41653         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41654         "Compiled on ..." crapola.  It is anti-useful.
41656 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41658         * scripts/evaluate-test.sh: Handle fourth argument to determine
41659         whether test run should stop on failure.
41660         * Makeconfig (stop-on-test-failure): New variable.
41661         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41662         $(stop-on-test-failure).
41663         * Makefile (tests): Give a summary of results from testing and
41664         exit with failure status if they include an ERROR or FAIL.
41665         (xtests): Likewise.
41666         * manual/install.texi (Configuring and compiling): Mention
41667         stop-on-test-failure=y.
41668         * INSTALL: Regenerated.
41670 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41672         * scripts/versionlist.awk: New file.
41673         * Makerules [$(build-shared) = yes]
41674         (postclean-generated): Add Versions.def, not Versions.def.v and
41675         Versions.def.v.i.
41676         ($(common-objpfx)Versions.def.v.i): Target removed.
41677         ($(common-objpfx)Versions.def): New target.
41678         ($(common-objpfx)Versions.all): Depend on that rather that
41679         $(common-objpfx)Versions.def.v.
41680         * Versions.def: File removed.
41682         * Makeconfig (+gccwarn): Add -Wundef.
41683         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41684         a dl-sysdep.h breaking its contract.
41685         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41686         * include/stackinfo.h: New file.
41687         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41688         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41689         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41690         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41691         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41692         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41693         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41694         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41695         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41696         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41697         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41698         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41699         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41700         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41701         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41703 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41705         [BZ #16707]
41706         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41707         implementation.
41708         * math/libm-test.inc (round_test_data): Add more tests.
41710         [BZ #16706]
41711         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41712         implementation.
41713         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41715         [BZ #16701]
41716         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41717         implementation.
41718         * math/libm-test.inc (ceil_test_data): Add more tests.
41720         * math/libm-test.inc (trunc_test_data): Add more tests related to
41721         BZ#16414.
41723 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41725         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41726         with #if rather than #ifdef.
41727         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41729 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41731         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41732         first.  Disable AVX-512 GCC support if assembler doesn't support
41733         it.
41734         * sysdeps/x86_64/configure: Regenerated.
41736 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41738         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41739         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41740         (__old_pthread_attr_setstack): Likewise.
41741         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41742         [!_STACK_GROWS_DOWN]: Likewise.
41744 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41746         * config.make.in (have-bash2): Delete.
41747         * configure.ac (libc_cv_have_bash2): Delete.
41748         * configure: Regenerate.
41749         * elf/Makefile (common-ldd-rewrite): Rename to ...
41750         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41751         (sh-ldd-rewrite): Delete.
41752         (bash-ldd-rewrite): Delete.
41753         (have-bash2): Delete checks.
41754         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41755         ldd-rewrite.
41757         * config.make.in (have-ksh): Delete.
41758         (KSH): Delete.
41759         * configure.ac (libc_cv_have_ksh): Delete.
41760         * configure: Regenerate.
41762         * elf/Makefile: Delete $(have-ksh) check.
41763         ($(objpfx)sotruss): Change KSH to BASH.
41764         * elf/sotruss.ksh: Rename to ...
41765         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41766         function style to match POSIX.  Drop ksh vim mode setting.
41768         * manual/time.texi (Specifying the Time Zone with TZ): Change
41769         Tuesday to Thursday.
41771         * debug/tst-longjmp_chk2.c: Update header comment.
41772         (stackoverflow_handler): Add comment.  Call assert on pass value.
41774 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41776         [BZ #16194]
41777         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41778         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41779         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41780         (La_x86_64_vector): Add zmm.
41781         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41782         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41783         ($(objpfx)tst-audit10): New target.
41784         ($(objpfx)tst-audit10.out): Likewise.
41785         (tst-audit10-ENV): New.
41786         (AVX512-CFLAGS): Likewise.
41787         (CFLAGS-tst-audit10.c): Likewise.
41788         (CFLAGS-tst-auditmod10a.c): Likewise.
41789         (CFLAGS-tst-auditmod10b.c): Likewise.
41790         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41791         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41792         * sysdeps/x86_64/configure: Regenerated.
41793         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41794         AVX-512 zmm register support.
41795         (_dl_x86_64_save_sse): Likewise.
41796         (_dl_x86_64_restore_sse): Likewise.
41797         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41798         size vector registers.
41799         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41800         (ZMM_SIZE): Likewise.
41801         * sysdeps/x86_64/tst-audit10.c: New file.
41802         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41803         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41805 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41807         * configure.ac (HAVE_EHDR_START): New check.
41808         * configure: Regenerated.
41809         * config.h.in (HAVE_EHDR_START): New #undef.
41810         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41811         assuming the lowest-addressed segment maps the start of the file.
41813 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41815         * INSTALL: Regenerated.
41817 2014-03-13  Will Newton  <will.newton@linaro.org>
41819         * manual/setjmp.texi (System V contexts): Improve
41820         clarity and grammar of documentation.
41822 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41824         [BZ #16381]
41825         * elf/Makefile (tests): Add tst-pie2.
41826         (tests-pie): Add tst-pie2.
41827         * elf/tst-pie2.c: New file.
41828         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41829         for ET_EXEC.
41830         * elf/rtld.c (map_doit): Load executable as lt_executable.
41831         (dl_main): Likewise.
41833 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41835         [BZ #16642]
41836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41837         (__ASSUME_PSELECT): Undefine.
41839 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41841         [BZ #16689]
41842         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41843         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41844         static build.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41846         selector for static builds.
41848 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41850         [BZ #16695]
41851         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41852         key in the buffer.
41854 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41856         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41857         IFUNC selector for static builds.
41859 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41861         * sysdeps/mips/math_private.h [__mips_hard_float]
41862         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41863         libc_feresetround_mips_ctx.
41864         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41865         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41866         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41868         [BZ #16677]
41869         * math/s_nextafter.c (__nextafter): Do not return value from
41870         overflowing computation.
41871         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41872         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41873         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41874         Likewise.
41875         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41876         Likewise.
41877         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41878         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41880 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41882         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41883         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41884         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41885         the new mov targetting sp.
41887 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41889         [BZ #16683]
41890         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41891         Define it for static builds as well.
41892         (NO_BZERO_IMPL): Likewise.
41894 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41896         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41897         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41898         multiarch strspn for PPC64.
41899         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41900         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41902         (__libc_ifunc_impl_list): Likewise.
41903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41904         multiarch optimizations
41905         * string/strspn.c (strspn): Using macro to redefine symbol name.
41907 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41908             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41910         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41911         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41912         multiarch strncat for PPC64.
41913         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41914         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41916         (__libc_ifunc_impl_list): Likewise.
41917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41918         multiarch optimizations
41920 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41922         [BZ #16639]
41923         * nscd/nscd.service: Make service type forking.
41925 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41927         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41928         sign in non default rounding modes.
41929         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41931 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41933         * math/libm-test.inc (ALL_RM_TEST): New macro.
41934         (ceil_test): Use ALL_RM_TEST.
41935         (cimag_test): Likewise.
41936         (conj_test): Likewise.
41937         (copysign_test): Likewise.
41938         (cproj_test): Likewise.
41939         (creal_test): Likewise.
41940         (fabs_test): Likewise.
41941         (floor_test): Likewise.
41942         (fmax_test): Likewise.
41943         (fmin_test): Likewise.
41944         (fmod_test): Likewise.
41945         (fpclassify_test): Likewise.
41946         (frexp_test): Likewise.
41947         (ilogb_test): Likewise.
41948         (isfinite_test): Likewise.
41949         (finite_test): Likewise.
41950         (isgreater_test): Likewise.
41951         (isgreaterequal_test): Likewise.
41952         (isinf_test): Likewise.
41953         (isless_test): Likewise.
41954         (islessequal_test): Likewise.
41955         (islessgreater_test): Likewise.
41956         (isnan_test): Likewise.
41957         (isnormal_test): Likewise.
41958         (issignaling_test): Likewise.
41959         (isunordered_test): Likewise.
41960         (logb_test): Likewise.
41961         (logb_downward_test_data): Remove.
41962         (logb_test_downward): Likewise.
41963         (lround_test): Use ALL_RM_TEST.
41964         (llround_test): Likewise.
41965         (modf_test): Likewise.
41966         (nexttoward_test): Likewise.
41967         (remainder_test): Likewise.
41968         (drem_test): Likewise.
41969         (remainder_tonearest_test_data): Likewise.
41970         (remainder_test_tonearest): Likewise.
41971         (drem_test_tonearest): Likewise.
41972         (remainder_towardzero_test_data): Likewise.
41973         (remainder_test_towardzero): Likewise.
41974         (drem_test_towardzero): Likewise.
41975         (remainder_downward_test_data): Likewise.
41976         (remainder_test_downward): Likewise.
41977         (drem_test_downward): Likewise.
41978         (remainder_upward_test_data): Likewise.
41979         (remainder_test_upward): Likewise.
41980         (drem_test_upward): Likewise.
41981         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41982         (round_test): Use ALL_RM_TEST.
41983         (signbit_test): Likewise.
41984         (trunc_test): Likewise.
41985         (significand_test): Likewise.
41986         (main): Don't call removed functions.
41988 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41990         [BZ #16674]
41991         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41992         || __USE_XOPEN2K8].
41993         (ILL_ILLOPN): Likewise.
41994         (ILL_ILLADR): Likewise.
41995         (ILL_ILLTRP): Likewise.
41996         (ILL_PRVOPC): Likewise.
41997         (ILL_PRVREG): Likewise.
41998         (ILL_COPROC): Likewise.
41999         (ILL_BADSTK): Likewise.
42000         (FPE_INTDIV): Likewise.
42001         (FPE_INTOVF): Likewise.
42002         (FPE_FLTDIV): Likewise.
42003         (FPE_FLTOVF): Likewise.
42004         (FPE_FLTUND): Likewise.
42005         (FPE_FLTRES): Likewise.
42006         (FPE_FLTINV): Likewise.
42007         (FPE_FLTSUB): Likewise.
42008         (SEGV_MAPERR): Likewise.
42009         (SEGV_ACCERR): Likewise.
42010         (BUS_ADRALN): Likewise.
42011         (BUS_ADRERR): Likewise.
42012         (BUS_OBJERR): Likewise.
42013         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42014         (TRAP_TRACE): Likewise.
42015         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42016         __USE_XOPEN2K8].
42017         (CLD_KILLED): Likewise.
42018         (CLD_DUMPED): Likewise.
42019         (CLD_TRAPPED): Likewise.
42020         (CLD_STOPPED): Likewise.
42021         (CLD_CONTINUED): Likewise.
42022         (POLL_IN): Likewise.
42023         (POLL_OUT): Likewise.
42024         (POLL_MSG): Likewise.
42025         (POLL_ERR): Likewise.
42026         (POLL_PRI): Likewise.
42027         (POLL_HUP): Likewise.
42028         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42029         Likewise.
42030         (ILL_ILLOPN): Likewise.
42031         (ILL_ILLADR): Likewise.
42032         (ILL_ILLTRP): Likewise.
42033         (ILL_PRVOPC): Likewise.
42034         (ILL_PRVREG): Likewise.
42035         (ILL_COPROC): Likewise.
42036         (ILL_BADSTK): Likewise.
42037         (FPE_INTDIV): Likewise.
42038         (FPE_INTOVF): Likewise.
42039         (FPE_FLTDIV): Likewise.
42040         (FPE_FLTOVF): Likewise.
42041         (FPE_FLTUND): Likewise.
42042         (FPE_FLTRES): Likewise.
42043         (FPE_FLTINV): Likewise.
42044         (FPE_FLTSUB): Likewise.
42045         (SEGV_MAPERR): Likewise.
42046         (SEGV_ACCERR): Likewise.
42047         (BUS_ADRALN): Likewise.
42048         (BUS_ADRERR): Likewise.
42049         (BUS_OBJERR): Likewise.
42050         (BUS_MCEERR_AR): Likewise.
42051         (BUS_MCEERR_AO): Likewise.
42052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42053         (TRAP_TRACE): Likewise.
42054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42055         __USE_XOPEN2K8].
42056         (CLD_KILLED): Likewise.
42057         (CLD_DUMPED): Likewise.
42058         (CLD_TRAPPED): Likewise.
42059         (CLD_STOPPED): Likewise.
42060         (CLD_CONTINUED): Likewise.
42061         (POLL_IN): Likewise.
42062         (POLL_OUT): Likewise.
42063         (POLL_MSG): Likewise.
42064         (POLL_ERR): Likewise.
42065         (POLL_PRI): Likewise.
42066         (POLL_HUP): Likewise.
42067         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42068         (ILL_ILLOPN): Likewise.
42069         (ILL_ILLADR): Likewise.
42070         (ILL_ILLTRP): Likewise.
42071         (ILL_PRVOPC): Likewise.
42072         (ILL_PRVREG): Likewise.
42073         (ILL_COPROC): Likewise.
42074         (ILL_BADSTK): Likewise.
42075         (FPE_INTDIV): Likewise.
42076         (FPE_INTOVF): Likewise.
42077         (FPE_FLTDIV): Likewise.
42078         (FPE_FLTOVF): Likewise.
42079         (FPE_FLTUND): Likewise.
42080         (FPE_FLTRES): Likewise.
42081         (FPE_FLTINV): Likewise.
42082         (FPE_FLTSUB): Likewise.
42083         (SEGV_MAPERR): Likewise.
42084         (SEGV_ACCERR): Likewise.
42085         (BUS_ADRALN): Likewise.
42086         (BUS_ADRERR): Likewise.
42087         (BUS_OBJERR): Likewise.
42088         (BUS_MCEERR_AR): Likewise.
42089         (BUS_MCEERR_AO): Likewise.
42090         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42091         (TRAP_TRACE): Likewise.
42092         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42093         __USE_XOPEN2K8].
42094         (CLD_KILLED): Likewise.
42095         (CLD_DUMPED): Likewise.
42096         (CLD_TRAPPED): Likewise.
42097         (CLD_STOPPED): Likewise.
42098         (CLD_CONTINUED): Likewise.
42099         (POLL_IN): Likewise.
42100         (POLL_OUT): Likewise.
42101         (POLL_MSG): Likewise.
42102         (POLL_ERR): Likewise.
42103         (POLL_PRI): Likewise.
42104         (POLL_HUP): Likewise.
42105         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42106         Likewise.
42107         (ILL_ILLOPN): Likewise.
42108         (ILL_ILLADR): Likewise.
42109         (ILL_ILLTRP): Likewise.
42110         (ILL_PRVOPC): Likewise.
42111         (ILL_PRVREG): Likewise.
42112         (ILL_COPROC): Likewise.
42113         (ILL_BADSTK): Likewise.
42114         (ILL_BADIADDR): Likewise.
42115         (ILL_BREAK): Likewise.
42116         (FPE_INTDIV): Likewise.
42117         (FPE_INTOVF): Likewise.
42118         (FPE_FLTDIV): Likewise.
42119         (FPE_FLTOVF): Likewise.
42120         (FPE_FLTUND): Likewise.
42121         (FPE_FLTRES): Likewise.
42122         (FPE_FLTINV): Likewise.
42123         (FPE_FLTSUB): Likewise.
42124         (FPE_DECOVF): Likewise.
42125         (FPE_DECDIV): Likewise.
42126         (FPE_DECERR): Likewise.
42127         (FPE_INVASC): Likewise.
42128         (FPE_INVDEC): Likewise.
42129         (SEGV_MAPERR): Likewise.
42130         (SEGV_ACCERR): Likewise.
42131         (SEGV_PSTKOVF): Likewise.
42132         (BUS_ADRALN): Likewise.
42133         (BUS_ADRERR): Likewise.
42134         (BUS_OBJERR): Likewise.
42135         (BUS_MCEERR_AR): Likewise.
42136         (BUS_MCEERR_AO): Likewise.
42137         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42138         (TRAP_TRACE): Likewise.
42139         (TRAP_BRANCH): Likewise.
42140         (TRAP_HWBKPT): Likewise.
42141         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42142         __USE_XOPEN2K8].
42143         (CLD_KILLED): Likewise.
42144         (CLD_DUMPED): Likewise.
42145         (CLD_TRAPPED): Likewise.
42146         (CLD_STOPPED): Likewise.
42147         (CLD_CONTINUED): Likewise.
42148         (POLL_IN): Likewise.
42149         (POLL_OUT): Likewise.
42150         (POLL_MSG): Likewise.
42151         (POLL_ERR): Likewise.
42152         (POLL_PRI): Likewise.
42153         (POLL_HUP): Likewise.
42154         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42155         (ILL_ILLOPN): Likewise.
42156         (ILL_ILLADR): Likewise.
42157         (ILL_ILLTRP): Likewise.
42158         (ILL_PRVOPC): Likewise.
42159         (ILL_PRVREG): Likewise.
42160         (ILL_COPROC): Likewise.
42161         (ILL_BADSTK): Likewise.
42162         (FPE_INTDIV): Likewise.
42163         (FPE_INTOVF): Likewise.
42164         (FPE_FLTDIV): Likewise.
42165         (FPE_FLTOVF): Likewise.
42166         (FPE_FLTUND): Likewise.
42167         (FPE_FLTRES): Likewise.
42168         (FPE_FLTINV): Likewise.
42169         (FPE_FLTSUB): Likewise.
42170         (SEGV_MAPERR): Likewise.
42171         (SEGV_ACCERR): Likewise.
42172         (BUS_ADRALN): Likewise.
42173         (BUS_ADRERR): Likewise.
42174         (BUS_OBJERR): Likewise.
42175         (BUS_MCEERR_AR): Likewise.
42176         (BUS_MCEERR_AO): Likewise.
42177         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42178         (TRAP_TRACE): Likewise.
42179         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42180         __USE_XOPEN2K8].
42181         (CLD_KILLED): Likewise.
42182         (CLD_DUMPED): Likewise.
42183         (CLD_TRAPPED): Likewise.
42184         (CLD_STOPPED): Likewise.
42185         (CLD_CONTINUED): Likewise.
42186         (POLL_IN): Likewise.
42187         (POLL_OUT): Likewise.
42188         (POLL_MSG): Likewise.
42189         (POLL_ERR): Likewise.
42190         (POLL_PRI): Likewise.
42191         (POLL_HUP): Likewise.
42192         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42193         (ILL_ILLOPN): Likewise.
42194         (ILL_ILLADR): Likewise.
42195         (ILL_ILLTRP): Likewise.
42196         (ILL_PRVOPC): Likewise.
42197         (ILL_PRVREG): Likewise.
42198         (ILL_COPROC): Likewise.
42199         (ILL_BADSTK): Likewise.
42200         (FPE_INTDIV): Likewise.
42201         (FPE_INTOVF): Likewise.
42202         (FPE_FLTDIV): Likewise.
42203         (FPE_FLTOVF): Likewise.
42204         (FPE_FLTUND): Likewise.
42205         (FPE_FLTRES): Likewise.
42206         (FPE_FLTINV): Likewise.
42207         (FPE_FLTSUB): Likewise.
42208         (SEGV_MAPERR): Likewise.
42209         (SEGV_ACCERR): Likewise.
42210         (BUS_ADRALN): Likewise.
42211         (BUS_ADRERR): Likewise.
42212         (BUS_OBJERR): Likewise.
42213         (BUS_MCEERR_AR): Likewise.
42214         (BUS_MCEERR_AO): Likewise.
42215         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42216         (TRAP_TRACE): Likewise.
42217         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42218         __USE_XOPEN2K8].
42219         (CLD_KILLED): Likewise.
42220         (CLD_DUMPED): Likewise.
42221         (CLD_TRAPPED): Likewise.
42222         (CLD_STOPPED): Likewise.
42223         (CLD_CONTINUED): Likewise.
42224         (POLL_IN): Likewise.
42225         (POLL_OUT): Likewise.
42226         (POLL_MSG): Likewise.
42227         (POLL_ERR): Likewise.
42228         (POLL_PRI): Likewise.
42229         (POLL_HUP): Likewise.
42230         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42231         (ILL_ILLOPN): Likewise.
42232         (ILL_ILLADR): Likewise.
42233         (ILL_ILLTRP): Likewise.
42234         (ILL_PRVOPC): Likewise.
42235         (ILL_PRVREG): Likewise.
42236         (ILL_COPROC): Likewise.
42237         (ILL_BADSTK): Likewise.
42238         (FPE_INTDIV): Likewise.
42239         (FPE_INTOVF): Likewise.
42240         (FPE_FLTDIV): Likewise.
42241         (FPE_FLTOVF): Likewise.
42242         (FPE_FLTUND): Likewise.
42243         (FPE_FLTRES): Likewise.
42244         (FPE_FLTINV): Likewise.
42245         (FPE_FLTSUB): Likewise.
42246         (SEGV_MAPERR): Likewise.
42247         (SEGV_ACCERR): Likewise.
42248         (BUS_ADRALN): Likewise.
42249         (BUS_ADRERR): Likewise.
42250         (BUS_OBJERR): Likewise.
42251         (BUS_MCEERR_AR): Likewise.
42252         (BUS_MCEERR_AO): Likewise.
42253         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42254         (TRAP_TRACE): Likewise.
42255         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42256         __USE_XOPEN2K8].
42257         (CLD_KILLED): Likewise.
42258         (CLD_DUMPED): Likewise.
42259         (CLD_TRAPPED): Likewise.
42260         (CLD_STOPPED): Likewise.
42261         (CLD_CONTINUED): Likewise.
42262         (POLL_IN): Likewise.
42263         (POLL_OUT): Likewise.
42264         (POLL_MSG): Likewise.
42265         (POLL_ERR): Likewise.
42266         (POLL_PRI): Likewise.
42267         (POLL_HUP): Likewise.
42268         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42269         (ILL_ILLOPN): Likewise.
42270         (ILL_ILLADR): Likewise.
42271         (ILL_ILLTRP): Likewise.
42272         (ILL_PRVOPC): Likewise.
42273         (ILL_PRVREG): Likewise.
42274         (ILL_COPROC): Likewise.
42275         (ILL_BADSTK): Likewise.
42276         (ILL_DBLFLT): Likewise.
42277         (ILL_HARDWALL): Likewise.
42278         (FPE_INTDIV): Likewise.
42279         (FPE_INTOVF): Likewise.
42280         (FPE_FLTDIV): Likewise.
42281         (FPE_FLTOVF): Likewise.
42282         (FPE_FLTUND): Likewise.
42283         (FPE_FLTRES): Likewise.
42284         (FPE_FLTINV): Likewise.
42285         (FPE_FLTSUB): Likewise.
42286         (SEGV_MAPERR): Likewise.
42287         (SEGV_ACCERR): Likewise.
42288         (BUS_ADRALN): Likewise.
42289         (BUS_ADRERR): Likewise.
42290         (BUS_OBJERR): Likewise.
42291         (BUS_MCEERR_AR): Likewise.
42292         (BUS_MCEERR_AO): Likewise.
42293         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42294         (TRAP_TRACE): Likewise.
42295         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42296         __USE_XOPEN2K8].
42297         (CLD_KILLED): Likewise.
42298         (CLD_DUMPED): Likewise.
42299         (CLD_TRAPPED): Likewise.
42300         (CLD_STOPPED): Likewise.
42301         (CLD_CONTINUED): Likewise.
42302         (POLL_IN): Likewise.
42303         (POLL_OUT): Likewise.
42304         (POLL_MSG): Likewise.
42305         (POLL_ERR): Likewise.
42306         (POLL_PRI): Likewise.
42307         (POLL_HUP): Likewise.
42308         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42309         (ILL_ILLOPN): Likewise.
42310         (ILL_ILLADR): Likewise.
42311         (ILL_ILLTRP): Likewise.
42312         (ILL_PRVOPC): Likewise.
42313         (ILL_PRVREG): Likewise.
42314         (ILL_COPROC): Likewise.
42315         (ILL_BADSTK): Likewise.
42316         (FPE_INTDIV): Likewise.
42317         (FPE_INTOVF): Likewise.
42318         (FPE_FLTDIV): Likewise.
42319         (FPE_FLTOVF): Likewise.
42320         (FPE_FLTUND): Likewise.
42321         (FPE_FLTRES): Likewise.
42322         (FPE_FLTINV): Likewise.
42323         (FPE_FLTSUB): Likewise.
42324         (SEGV_MAPERR): Likewise.
42325         (SEGV_ACCERR): Likewise.
42326         (BUS_ADRALN): Likewise.
42327         (BUS_ADRERR): Likewise.
42328         (BUS_OBJERR): Likewise.
42329         (BUS_MCEERR_AR): Likewise.
42330         (BUS_MCEERR_AO): Likewise.
42331         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42332         (TRAP_TRACE): Likewise.
42333         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42334         __USE_XOPEN2K8].
42335         (CLD_KILLED): Likewise.
42336         (CLD_DUMPED): Likewise.
42337         (CLD_TRAPPED): Likewise.
42338         (CLD_STOPPED): Likewise.
42339         (CLD_CONTINUED): Likewise.
42340         (POLL_IN): Likewise.
42341         (POLL_OUT): Likewise.
42342         (POLL_MSG): Likewise.
42343         (POLL_ERR): Likewise.
42344         (POLL_PRI): Likewise.
42345         (POLL_HUP): Likewise.
42346         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42347         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42349         [BZ #16670]
42350         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42351         before #include of <time.h>.
42352         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42353         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42354         (test-xfail-UNIX98/sched.h/conform): Likewise.
42356 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42358         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42359         error absence of trapping exception support.
42360         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42362 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42364         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42365         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42366         * timezone/Makefile (testdata): Move definition above include of
42367         Rules.
42368         (test-zones): New variable.
42369         (tests-special): Add zone files.
42370         (build-testdata): Use $(evaluate-test).
42372         * elf/Makefile (tests-special): Rename tests to end with .out.
42373         ($(objpfx)noload-mem): Likewise.
42374         ($(objpfx)tst-leaks1-mem): Likewise.
42375         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42376         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42377         $(objpfx)test-iconvconfig.out.
42378         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42379         set -e inside subshell and redirect output to file.
42380         * iconvdata/Makefile (generated): Rename tests to end with .out.
42381         Correct type.
42382         (tests-special): Rename tests to end with .out.
42383         ($(objpfx)mtrace-tst-loading): Likewise.
42384         * intl/Makefile (generated): Likewise.
42385         (tests-special): Likewise.
42386         ($(objpfx)mtrace-tst-gettext): Likewise.
42387         * misc/Makefile (generated): Likewise.
42388         (tests-special): Likewise.
42389         ($(objpfx)tst-error1-mem): Likewise.
42390         * nptl/Makefile (tests-special): Likewise.
42391         ($(objpfx)tst-stack3-mem): Likewise.
42392         (generated): Likewise.
42393         * posix/Makefile (generated): Likewise.
42394         (tests-special): Likewise.
42395         (xtests-special): Likewise.
42396         ($(objpfx)tst-fnmatch-mem): Likewise.
42397         ($(objpfx)bug-regex2-mem): Likewise.
42398         ($(objpfx)bug-regex14-mem): Likewise.
42399         ($(objpfx)bug-regex21-mem): Likewise.
42400         ($(objpfx)bug-regex31-mem): Likewise.
42401         ($(objpfx)tst-vfork3-mem): Likewise.
42402         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42403         ($(objpfx)tst-pcre-mem): Likewise.
42404         ($(objpfx)tst-boost-mem): Likewise.
42405         ($(objpfx)bug-ga2-mem): Likewise.
42406         ($(objpfx)bug-glob2-mem): Likewise.
42407         * resolv/Makefile (generate): Likewise.
42408         (tests-special): Likewise.
42409         (xtests-special): Likewise.
42410         (generated): Likewise.
42411         ($(objpfx)mtrace-tst-leaks): Likewise.
42412         ($(objpfx)mtrace-tst-leaks2): Likewise.
42414         * scripts/merge-test-results.sh: New file.
42415         * Makefile (tests-special-notdir): New variable.
42416         (tests): Run merge-test-results.sh.
42417         (xtests): Likewise.
42418         * Rules (tests-special-notdir): New variable.
42419         (xtests-special-notdir): Likewise.
42420         (tests): Run merge-test-results.sh
42421         (xtests): Likewise.
42423         * Makeconfig (test-xfail-name): New variable.
42424         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42425         compute variable name for expected failures.
42426         * conform/Makefile (conformtest-headers-data): New variable.
42427         (conformtest-standards): Likewise.
42428         (conformtest-headers-ISO): Likewise.
42429         (conformtest-headers-ISO99): Likewise.
42430         (conformtest-headers-ISO11): Likewise.
42431         (conformtest-headers-POSIX): Likewise.
42432         (conformtest-headers-XPG3): Likewise.
42433         (conformtest-headers-XPG4): Likewise.
42434         (conformtest-headers-UNIX98): Likewise.
42435         (conformtest-headers-XOPEN2K): Likewise.
42436         (conformtest-headers-POSIX2008): Likewise.
42437         (conformtest-headers-XOPEN2K8): Likewise.
42438         (conformtest-header-list-base): Likewise.
42439         (conformtest-header-list-tests): Likewise.
42440         (conformtest-header-base): Likewise.
42441         (conformtest-header-tests): Likewise.
42442         (tests-special): Add $(conformtest-header-list-tests).  If
42443         [$(fast-check) && !$(cross-compiling)], add
42444         $(conformtest-header-tests) instead of
42445         $(objpfx)run-conformtest.out.
42446         (generated): Add $(conformtest-header-list-base).  If
42447         [$(fast-check) && !$(cross-compiling)], add
42448         $(conformtest-header-base).  Remove previous setting.
42449         ($(conformtest-header-list-tests)): New target.
42450         (test-xfail-run-conformtest): Remove variable.
42451         ($(objpfx)run-conformtest.out): Remove target.
42452         (test-xfail-ISO11/complex.h/conform): New variable.
42453         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42454         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42455         (test-xfail-XPG3/varargs.h/conform): Likewise.
42456         (test-xfail-XPG4/varargs.h/conform): Likewise.
42457         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42458         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42459         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42460         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42461         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42462         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42463         (test-xfail-XPG3/ftw.h/conform): Likewise.
42464         (test-xfail-XPG3/grp.h/conform): Likewise.
42465         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42466         (test-xfail-XPG3/limits.h/conform): Likewise.
42467         (test-xfail-XPG3/pwd.h/conform): Likewise.
42468         (test-xfail-XPG3/search.h/conform): Likewise.
42469         (test-xfail-XPG3/signal.h/conform): Likewise.
42470         (test-xfail-XPG3/stdio.h/conform): Likewise.
42471         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42472         (test-xfail-XPG3/string.h/conform): Likewise.
42473         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42474         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42475         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42476         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42477         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42478         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42479         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42480         (test-xfail-XPG3/termios.h/conform): Likewise.
42481         (test-xfail-XPG3/time.h/conform): Likewise.
42482         (test-xfail-XPG3/unistd.h/conform): Likewise.
42483         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42484         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42485         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42486         (test-xfail-XPG4/netdb.h/conform): Likewise.
42487         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42488         (test-xfail-XPG4/signal.h/conform): Likewise.
42489         (test-xfail-XPG4/stdio.h/conform): Likewise.
42490         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42491         (test-xfail-XPG4/stropts.h/conform): Likewise.
42492         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42493         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42494         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42495         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42496         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42497         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42498         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42499         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42500         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42501         (test-xfail-XPG4/termios.h/conform): Likewise.
42502         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42503         (test-xfail-XPG4/unistd.h/conform): Likewise.
42504         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42505         (test-xfail-POSIX/sched.h/conform): Likewise.
42506         (test-xfail-POSIX/signal.h/conform): Likewise.
42507         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42508         (test-xfail-POSIX/tar.h/conform): Likewise.
42509         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42510         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42511         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42512         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42513         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42514         (test-xfail-UNIX98/sched.h/conform): Likewise.
42515         (test-xfail-UNIX98/signal.h/conform): Likewise.
42516         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42517         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42518         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42519         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42520         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42521         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42522         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42523         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42524         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42525         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42526         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42527         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42528         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42529         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42530         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42531         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42532         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42533         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42534         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42535         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42536         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42537         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42538         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42539         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42540         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42541         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42542         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42543         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42544         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42545         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42546         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42547         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42548         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42549         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42550         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42551         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42552         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42553         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42554         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42555         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42556         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42557         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42558         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42559         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42560         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42561         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42562         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42563         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42564         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42565         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42566         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42567         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42568         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42569         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42570         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42571         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42572         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42573         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42574         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42575         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42576         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42577         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42578         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42579         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42580         (conformtest-cc-flags): Likewise.
42581         ($(conformtest-header-tests): New target.
42582         * conform/check-header-lists.sh: New file.
42583         * conform/run-conformtest.sh: Remove.
42585         * conform/conformtest.pl: Allow ' and \ in values given for
42586         constants.
42587         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42588         inclusion.
42589         [POSIX] (sys/types.h): Likewise.
42590         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42591         inclusion.
42592         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42593         inclusion.
42594         * conform/data/signal.h-data (SIGIO): Remove expectation.
42595         [XPG3] (SIGBUS): Do not expect.
42596         [POSIX || XPG3] (SIGPOLL): Likewise.
42597         [POSIX || XPG3] (SIGPROF): Likewise.
42598         [POSIX || XPG3] (SIGSYS): Likewise.
42599         [XPG3] (SIGTRAP): Likewise.
42600         [POSIX || XPG3] (SIGURG): Likewise.
42601         [POSIX || XPG3] (SIGVTALRM): Likewise.
42602         [POSIX || XPG3] (SIGXCPU): Likewise.
42603         [POSIX || XPG3] (SIGXFSZ): Likewise.
42604         [POSIX] (SA_SIGINFO): Expect.
42605         [XPG3] (siginfo_t): Do not expect type or contents.
42606         [POSIX] (si_pid): Do not expect element.
42607         [POSIX] (si_uid): Likewise.
42608         [POSIX] (si_addr): Likewise.
42609         [POSIX] (si_status): Likewise.
42610         [POSIX] (si_band): Likewise.
42611         [XPG4] (si_value): Likewise.
42612         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42613         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42614         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42615         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42616         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42617         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42618         [POSIX || XPG3] (ILL_COPROC): Likewise.
42619         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42620         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42621         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42622         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42623         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42624         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42625         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42626         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42627         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42628         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42629         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42630         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42631         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42632         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42633         [POSIX || XPG3] (CLD_EXITED): Likewise.
42634         [POSIX || XPG3] (CLD_KILLED): Likewise.
42635         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42636         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42637         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42638         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42639         [POSIX || XPG3] (POLL_IN): Likewise.
42640         [POSIX || XPG3] (POLL_OUT): Likewise.
42641         [POSIX || XPG3] (POLL_MSG): Likewise.
42642         [POSIX || XPG3] (POLL_ERR): Likewise.
42643         [POSIX || XPG3] (POLL_PRI): Likewise.
42644         [POSIX || XPG3] (POLL_HUP): Likewise.
42645         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42646         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42647         (SIG*): Do not allow.
42648         [XPG3] (si_*): Likewise.
42649         [XPG3] (SI_*): Likewise.
42650         [XPG3 || XPG4] (sigev_*): Likewise.
42651         [XPG3 || XPG4] (SIGEV_*): Likewise.
42652         [XPG3 || XPG4] (sival_*): Likewise.
42653         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42654         [POSIX || XPG3] (BUS_*): Likewise.
42655         [POSIX || XPG3] (CLD_*): Likewise.
42656         [POSIX || XPG3] (FPE_*): Likewise.
42657         [POSIX || XPG3] (ILL_*): Likewise.
42658         [POSIX || XPG3] (POLL_*): Likewise.
42659         [POSIX || XPG3] (SEGV_*): Likewise.
42660         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42661         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42662         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42663         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42664         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42665         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42666         Specify type and value.
42667         (TVERSLEN): Likewise.
42668         (REGTYPE): Likewise.
42669         (AREGTYPE): Likewise.
42670         (LNKTYPE): Likewise.
42671         (SYMTYPE): Likewise.
42672         (CHRTYPE): Likewise.
42673         (BLKTYPE): Likewise.
42674         (DIRTYPE): Likewise.
42675         (FIFOTYPE): Likewise.
42676         (CONTTYPE): Likewise.
42677         (TSUID): Likewise.
42678         (TSGID): Likewise.
42679         (TSVTX): Likewise.
42680         (TUREAD): Likewise.
42681         (TUWRITE): Likewise.
42682         (TUEXEC): Likewise.
42683         (TGREAD): Likewise.
42684         (TGWRITE): Likewise.
42685         (TGEXEC): Likewise.
42686         (TOREAD): Likewise.
42687         (TOWRITE): Likewise.
42688         (TOEXEC): Likewise.
42689         [POSIX] (TSVTX): Expect constant.
42691 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42693         * Makefile (tests): Change dependencies to ....
42694         (tests-special): ... additions to this variable.
42695         (tests): Depend on $(tests-special).
42696         * Makerules (check-abi-list): New variable.
42697         (check-abi): Depend on $(check-abi-list).
42698         [$(subdir) = elf] (tests-special): Add
42699         $(objpfx)check-abi-libc.out.
42700         [$(build-shared) = yes && subdir] (tests-special): Add
42701         $(check-abi-list).
42702         [$(build-shared) = yes && subdir] (tests): Do not depend on
42703         check-abi.
42704         * Rules (tests): Depend on $(tests-special).
42705         (xtests): Depend on $(xtests-special).
42706         * catgets/Makefile (tests): Change dependencies to ....
42707         (tests-special): ... additions to this variable.
42708         * conform/Makefile (tests): Change dependencies to ....
42709         (tests-special): ... additions to this variable.
42710         * elf/Makefile (tests): Change dependencies to ....
42711         (tests-special): ... additions to this variable.
42712         * grp/Makefile (tests): Change dependencies to ....
42713         (tests-special): ... additions to this variable.
42714         * iconv/Makefile (xtests): Change dependencies to ....
42715         (xtests-special): ... additions to this variable.
42716         * iconvdata/Makefile (tests): Change dependencies to ....
42717         (tests-special): ... additions to this variable.
42718         * intl/Makefile (tests): Change dependencies to ....
42719         (tests-special): ... additions to this variable.  Also add
42720         $(objpfx)tst-gettext.out.
42721         * io/Makefile (tests): Change dependencies to ....
42722         (tests-special): ... additions to this variable.
42723         * libio/Makefile (tests): Change dependencies to ....
42724         (tests-special): ... additions to this variable.
42725         * malloc/Makefile (tests): Change dependencies to ....
42726         (tests-special): ... additions to this variable.
42727         * misc/Makefile (tests): Change dependencies to ....
42728         (tests-special): ... additions to this variable.
42729         * nptl/Makefile (tests): Change dependencies to ....
42730         (tests-special): ... additions to this variable.
42731         * nptl_db/Makefile (tests): Change dependencies to ....
42732         (tests-special): ... additions to this variable.
42733         * posix/Makefile (tests): Change dependencies to ....
42734         (tests-special): ... additions to this variable.
42735         (xtests): Change dependencies to ....
42736         (xtests-special): ... additions to this variable.
42737         * resolv/Makefile (tests): Change dependencies to ....
42738         (tests-special): ... additions to this variable.
42739         (xtests): Change dependencies to ....
42740         (xtests-special): ... additions to this variable.
42741         * stdio-common/Makefile (tests): Change dependencies to ....
42742         (tests-special): ... additions to this variable.
42743         (do-tst-unbputc): Remove target.
42744         (do-tst-printf): Likewise.
42745         * stdlib/Makefile (tests): Change dependencies to ....
42746         (tests-special): ... additions to this variable.
42747         * string/Makefile (tests): Change dependencies to ....
42748         (tests-special): ... additions to this variable.
42749         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42750         (tests-special): ... additions to this variable.
42752         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42753         whole file.
42754         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42755         whole file.
42756         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42757         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42759         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42760         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42761         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42762         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42763         * conform/data/libgen.h-data [XPG3]: Likewise.
42764         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42765         * conform/data/ndbm.h-data [XPG3]: Likewise.
42766         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42767         * conform/data/netdb.h-data [XPG3]: Likewise.
42768         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42769         * conform/data/poll.h-data [XPG3]: Likewise.
42770         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42771         * conform/data/strings.h-data [XPG3]: Likewise.
42772         * conform/data/stropts.h-data [XPG3]: Likewise.
42773         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42774         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42775         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42776         Likewise.
42777         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42778         * conform/data/sys/time.h-data [XPG3]: Likewise.
42779         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42780         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42781         * conform/data/sys/un.h-data [XPG3]: Likewise.
42782         * conform/data/syslog.h-data [XPG3]: Likewise.
42783         * conform/data/ucontext.h-data [XPG3]: Likewise.
42784         * conform/data/utmpx.h-data [XPG3]: Likewise.
42785         * conform/data/varargs.h-data [UNIX98]: Enable file.
42787         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42789         * math/libm-test.inc (struct test_f_f_data): Move expected results
42790         into structure for each rounding mode.
42791         (struct test_ff_f_data): Likewise.
42792         (struct test_ff_f_data_nexttoward): Likewise.
42793         (struct test_fi_f_data): Likewise.
42794         (struct test_fl_f_data): Likewise.
42795         (struct test_if_f_data): Likewise.
42796         (struct test_fff_f_data): Likewise.
42797         (struct test_c_f_data): Likewise.
42798         (struct test_f_f1_data): Likewise.
42799         (struct test_fF_f1_data): Likewise.
42800         (struct test_ffI_f1_data): Likewise.
42801         (struct test_c_c_data): Likewise.
42802         (struct test_cc_c_data): Likewise.
42803         (struct test_f_i_data): Likewise.
42804         (struct test_ff_i_data): Likewise.
42805         (struct test_f_l_data): Likewise.
42806         (struct test_f_L_data): Likewise.
42807         (struct test_fFF_11_data): Likewise.
42808         (RM_): New macro.
42809         (RM_FE_DOWNWARD): Likewise.
42810         (RM_FE_TONEAREST): Likewise.
42811         (RM_FE_TOWARDZERO): Likewise.
42812         (RM_FE_UPWARD): Likewise.
42813         (RUN_TEST_LOOP_f_f): Update references to expected results.
42814         (RUN_TEST_LOOP_2_f): Likewise.
42815         (RUN_TEST_LOOP_fff_f): Likewise.
42816         (RUN_TEST_LOOP_c_f): Likewise.
42817         (RUN_TEST_LOOP_f_f1): Likewise.
42818         (RUN_TEST_LOOP_fF_f1): Likewise.
42819         (RUN_TEST_LOOP_fI_f1): Likewise.
42820         (RUN_TEST_LOOP_ffI_f1): Likewise.
42821         (RUN_TEST_LOOP_c_c): Likewise.
42822         (RUN_TEST_LOOP_cc_c): Likewise.
42823         (RUN_TEST_LOOP_f_i): Likewise.
42824         (RUN_TEST_LOOP_f_i_tg): Likewise.
42825         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42826         (RUN_TEST_LOOP_f_b): Likewise.
42827         (RUN_TEST_LOOP_f_b_tg): Likewise.
42828         (RUN_TEST_LOOP_f_l): Likewise.
42829         (RUN_TEST_LOOP_f_L): Likewise.
42830         (RUN_TEST_LOOP_fFF_11): Likewise.
42831         * math/gen-libm-test.pl (parse_args): Output four copies of
42832         expected results for each test.
42834         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42835         (__ASSUME_UTIMES): Remove.
42836         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42837         (__ASSUME_UTIMES): Likewise.
42839         * math/gen-auto-libm-tests.c: Update comment on output format.
42840         (output_for_one_input_case): Generate before-rounding and
42841         after-rounding information as conditions on output flags not
42842         floating-point format.
42843         * math/auto-libm-test-out: Regenerated.
42844         * math/gen-libm-test.pl (cond_value): New function.
42845         (or_cond_value): Use cond_value.
42846         (generate_testfile): Handle conditional exceptions.
42848 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42850         * math/libm-test.inc (max_valid_error): New variable.
42851         (init_max_error): Take new argument specifying whether function
42852         results are exactly determined.  Set max_valid_error and bound
42853         other variables for errors based on this argument.
42854         (set_max_error): Do not record results above max_valid_error.
42855         (check_float_internal): Only accept errors of up to 0.5ulps if
42856         also at most max_valid_error.
42857         (START): Take new argument EXACT and pass it to init_max_error.
42858         (acos_test): Update call to START.
42859         (acos_test_tonearest): Likewise.
42860         (acos_test_towardzero): Likewise.
42861         (acos_test_downward): Likewise.
42862         (acos_test_upward): Likewise.
42863         (acosh_test): Likewise.
42864         (asin_test): Likewise.
42865         (asin_test_tonearest): Likewise.
42866         (asin_test_towardzero): Likewise.
42867         (asin_test_downward): Likewise.
42868         (asin_test_upward): Likewise.
42869         (asinh_test): Likewise.
42870         (atan_test): Likewise.
42871         (atanh_test): Likewise.
42872         (atan2_test): Likewise.
42873         (cabs_test): Likewise.
42874         (cacos_test): Likewise.
42875         (cacosh_test): Likewise.
42876         (carg_test): Likewise.
42877         (casin_test): Likewise.
42878         (casinh_test): Likewise.
42879         (catan_test): Likewise.
42880         (catanh_test): Likewise.
42881         (cbrt_test): Likewise.
42882         (ccos_test): Likewise.
42883         (ccosh_test): Likewise.
42884         (ceil_test): Likewise.
42885         (cexp_test): Likewise.
42886         (cimag_test): Likewise.
42887         (clog_test): Likewise.
42888         (clog10_test): Likewise.
42889         (conj_test): Likewise.
42890         (copysign_test): Likewise.
42891         (cos_test): Likewise.
42892         (cos_test_tonearest): Likewise.
42893         (cos_test_towardzero): Likewise.
42894         (cos_test_downward): Likewise.
42895         (cos_test_upward): Likewise.
42896         (cosh_test): Likewise.
42897         (cosh_test_tonearest): Likewise.
42898         (cosh_test_towardzero): Likewise.
42899         (cosh_test_downward): Likewise.
42900         (cosh_test_upward): Likewise.
42901         (cpow_test): Likewise.
42902         (cproj_test): Likewise.
42903         (creal_test): Likewise.
42904         (csin_test): Likewise.
42905         (csinh_test): Likewise.
42906         (csqrt_test): Likewise.
42907         (ctan_test): Likewise.
42908         (ctan_test_tonearest): Likewise.
42909         (ctan_test_towardzero): Likewise.
42910         (ctan_test_downward): Likewise.
42911         (ctan_test_upward): Likewise.
42912         (ctanh_test): Likewise.
42913         (ctanh_test_tonearest): Likewise.
42914         (ctanh_test_towardzero): Likewise.
42915         (ctanh_test_downward): Likewise.
42916         (ctanh_test_upward): Likewise.
42917         (erf_test): Likewise.
42918         (erfc_test): Likewise.
42919         (exp_test): Likewise.
42920         (exp_test_tonearest): Likewise.
42921         (exp_test_towardzero): Likewise.
42922         (exp_test_downward): Likewise.
42923         (exp_test_upward): Likewise.
42924         (exp10_test): Likewise.
42925         (exp10_test_tonearest): Likewise.
42926         (exp10_test_towardzero): Likewise.
42927         (exp10_test_downward): Likewise.
42928         (exp10_test_upward): Likewise.
42929         (pow10_test): Likewise.
42930         (exp2_test): Likewise.
42931         (expm1_test): Likewise.
42932         (expm1_test_tonearest): Likewise.
42933         (expm1_test_towardzero): Likewise.
42934         (expm1_test_downward): Likewise.
42935         (expm1_test_upward): Likewise.
42936         (fabs_test): Likewise.
42937         (fdim_test): Likewise.
42938         (floor_test): Likewise.
42939         (fma_test): Likewise.
42940         (fma_test_towardzero): Likewise.
42941         (fma_test_downward): Likewise.
42942         (fma_test_upward): Likewise.
42943         (fmax_test): Likewise.
42944         (fmin_test): Likewise.
42945         (fmod_test): Likewise.
42946         (fpclassify_test): Likewise.
42947         (frexp_test): Likewise.
42948         (hypot_test): Likewise.
42949         (ilogb_test): Likewise.
42950         (isfinite_test): Likewise.
42951         (finite_test): Likewise.
42952         (isgreater_test): Likewise.
42953         (isgreaterequal_test): Likewise.
42954         (isinf_test): Likewise.
42955         (isless_test): Likewise.
42956         (islessequal_test): Likewise.
42957         (islessgreater_test): Likewise.
42958         (isnan_test): Likewise.
42959         (isnormal_test): Likewise.
42960         (issignaling_test): Likewise.
42961         (isunordered_test): Likewise.
42962         (j0_test): Likewise.
42963         (j1_test): Likewise.
42964         (jn_test): Likewise.
42965         (ldexp_test): Likewise.
42966         (lgamma_test): Likewise.
42967         (gamma_test): Likewise.
42968         (lrint_test): Likewise.
42969         (lrint_test_tonearest): Likewise.
42970         (lrint_test_towardzero): Likewise.
42971         (lrint_test_downward): Likewise.
42972         (lrint_test_upward): Likewise.
42973         (llrint_test): Likewise.
42974         (llrint_test_tonearest): Likewise.
42975         (llrint_test_towardzero): Likewise.
42976         (llrint_test_downward): Likewise.
42977         (llrint_test_upward): Likewise.
42978         (log_test): Likewise.
42979         (log10_test): Likewise.
42980         (log1p_test): Likewise.
42981         (log2_test): Likewise.
42982         (logb_test): Likewise.
42983         (logb_test_downward): Likewise.
42984         (lround_test): Likewise.
42985         (llround_test): Likewise.
42986         (modf_test): Likewise.
42987         (nearbyint_test): Likewise.
42988         (nextafter_test): Likewise.
42989         (nexttoward_test): Likewise.
42990         (pow_test): Likewise.
42991         (pow_test_tonearest): Likewise.
42992         (pow_test_towardzero): Likewise.
42993         (pow_test_downward): Likewise.
42994         (pow_test_upward): Likewise.
42995         (remainder_test): Likewise.
42996         (drem_test): Likewise.
42997         (remainder_test_tonearest): Likewise.
42998         (drem_test_tonearest): Likewise.
42999         (remainder_test_towardzero): Likewise.
43000         (drem_test_towardzero): Likewise.
43001         (remainder_test_downward): Likewise.
43002         (drem_test_downward): Likewise.
43003         (remainder_test_upward): Likewise.
43004         (drem_test_upward): Likewise.
43005         (remquo_test): Likewise.
43006         (rint_test): Likewise.
43007         (rint_test_tonearest): Likewise.
43008         (rint_test_towardzero): Likewise.
43009         (rint_test_downward): Likewise.
43010         (rint_test_upward): Likewise.
43011         (round_test): Likewise.
43012         (scalb_test): Likewise.
43013         (scalbn_test): Likewise.
43014         (scalbln_test): Likewise.
43015         (signbit_test): Likewise.
43016         (sin_test): Likewise.
43017         (sin_test_tonearest): Likewise.
43018         (sin_test_towardzero): Likewise.
43019         (sin_test_downward): Likewise.
43020         (sin_test_upward): Likewise.
43021         (sincos_test): Likewise.
43022         (sinh_test): Likewise.
43023         (sinh_test_tonearest): Likewise.
43024         (sinh_test_towardzero): Likewise.
43025         (sinh_test_downward): Likewise.
43026         (sinh_test_upward): Likewise.
43027         (sqrt_test): Likewise.
43028         (sqrt_test_tonearest): Likewise.
43029         (sqrt_test_towardzero): Likewise.
43030         (sqrt_test_downward): Likewise.
43031         (sqrt_test_upward): Likewise.
43032         (tan_test): Likewise.
43033         (tan_test_tonearest): Likewise.
43034         (tan_test_towardzero): Likewise.
43035         (tan_test_downward): Likewise.
43036         (tan_test_upward): Likewise.
43037         (tanh_test): Likewise.
43038         (tgamma_test): Likewise.
43039         (trunc_test): Likewise.
43040         (y0_test): Likewise.
43041         (y1_test): Likewise.
43042         (yn_test): Likewise.
43043         (significand_test): Likewise.
43045         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43046         individual tests in comment.
43047         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43048         (prev_max_error): New variable.
43049         (prev_real_max_error): Likewise.
43050         (prev_imag_max_error): Likewise.
43051         (compare_ulp_data): Don't refer to test names in comment.
43052         (find_test_ulps): Remove function.
43053         (find_function_ulps): Likewise.
43054         (find_complex_function_ulps): Likewise.
43055         (init_max_error): Take function name as argument.  Look up ulps
43056         for that function.
43057         (print_ulps): Remove function.
43058         (print_max_error): Use prev_max_error instead of calling
43059         find_function_ulps.
43060         (print_complex_max_error): Use prev_real_max_error and
43061         prev_imag_max_error instead of calling find_complex_function_ulps.
43062         (check_float_internal): Take max_ulp parameter instead of calling
43063         find_test_ulps.  Don't call print_ulps.
43064         (check_float): Update call to check_float_internal.
43065         (check_complex): Update calls to check_float_internal.
43066         (START): Pass argument to init_max_error.
43067         * math/gen-libm-test.pl (%results): Don't include "kind"
43068         information.
43069         (parse_ulps): Don't handle ulps of individual tests.
43070         (print_ulps_file): Likewise.
43071         (output_ulps): Likewise.
43072         * math/README.libm-test: Update.
43073         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43074         individual tests.
43075         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43076         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43077         * sysdeps/arm/libm-test-ulps: Likewise.
43078         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43079         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43080         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43081         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43082         * sysdeps/microblaze/libm-test-ulps: Likewise.
43083         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43084         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43085         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43086         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43087         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43088         * sysdeps/sh/libm-test-ulps: Likewise.
43089         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43090         * sysdeps/tile/libm-test-ulps: Likewise.
43091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43093 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43095         * math/libm-test.inc (print_complex_max_error): Check separately
43096         whether real and imaginary errors are within allowed range and
43097         pass 0 to print_complex_function_ulps instead of value within
43098         allowed range.
43100 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43102         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43103         formatting.
43104         (get_handles_fopen): Likewise.
43105         (do_write_test): Likewise.
43107         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43109         * libio/fileops.c (do_ftell): Use cached offset when
43110         available.
43111         * libio/iofwide.c (do_ftell_wide): Likewise.
43112         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43113         _IO_file_attach.
43114         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43116         [BZ #16532]
43117         * libio/libioP.h (get_file_offset): New function.
43118         * libio/fileops.c (get_file_offset): Likewise.
43119         (do_ftell): Likewise.
43120         (_IO_new_file_seekoff): Split out ftell logic.
43121         * libio/wfileops.c (do_ftell_wide): Likewise.
43122         (_IO_wfile_seekoff): Split out ftell logic.
43123         * libio/tst-ftell-active-handler.c: New test case.
43124         * libio/Makefile (tests): Add it.
43126 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43128         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43129         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43131 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43133         [BZ #16639]
43134         * nscd/connections.c (nscd_init): Call do_exit.
43135         (start_threads): Call do_exit and notify_parent.
43136         (begin_drop_privileges): Call do_exit.
43137         (finish_drop_privileges): Likewise.
43138         * nscd/selinux.c (preserve_capabilities): Likewise.
43139         (install_real_capabilities): Likewise.
43140         (nscd_selinux_enabled): Likewise.
43141         (avc_create_thread): Likewise.
43142         (avc_alloc_lock): Likewise.
43143         (nscd_avc_init): Likewise.
43144         * nscd/nscd.c (parent_fd): New static variable.
43145         (main): Create a pipe between parent and child processes.
43146         Skip closing parent_fd.
43147         (monitor_child): New function.
43148         (do_exit): Likewise.
43149         (notify_parent): Likewise.
43150         * nscd/nscd.h (notify_parent): Likewise.
43151         (do_exit): Likewise.
43153 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43155         * malloc/malloc.c (__libc_calloc): Revert last change.
43157 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43161 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43163         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43165         implementation.
43166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43167         (__libc_ifunc_impl_list): Likewise.
43168         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43169         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43171         * string/strrchr.c: Define STRRCHR.
43173 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43175         * benchtest/bench-strtok.c (simple_strtok): Delete.
43176         (strtok_string): Use as benchmark.
43177         * string/strtok (STRTOK): New macro.
43179 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43181         * manual/threads.texi: Add header and standard comments to all
43182         functions.
43184         * elf/dl-lookup.c (check_match): New function.
43185         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43186         (do_lookup_x): Remove nested function check_match. Use non-nested
43187         function check_match.
43189 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43191         * csu/Makefile (generated, before-compile): Use += rather than =.
43192         * catgets/Makefile (generated, generated-dirs): Likewise.
43193         * debug/Makefile (generated): Likewise.
43194         * dlfcn/Makefile (generated): Likewise.
43195         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43196         * iconvdata/Makefile (before-compile, generated): Likewise.
43197         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43198         * libio/Makefile (generated): Likewise.
43199         * malloc/Makefile (generated): Likewise.
43200         * manual/Makefile (generated, generated-dirs): Likewise.
43201         * misc/Makefile (generated): Likewise.
43202         * posix/Makefile (generated): Likewise.
43203         * resolv/Makefile (generated): Likewise.
43204         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43205         * timezone/Makefile (generated, generated-dirs): Likewise.
43207         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43209 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43212         power8 implementation.
43213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43214         file: POWER8 llround ifunc implementation.
43215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43216         (__lllround): Add POWER8 implementation.
43217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43218         POWER8 llround implementation.
43220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43221         power8 implementation.
43222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43223         file: POWER8 llrint ifunc implementation.
43224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43225         Add POWER8 implementation.
43226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43227         POWER8 llrint implementation.
43229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43230         power8 implementation.
43231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43232         file: POWER8 finite ifunc implementation.
43233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43234         Add POWER8 implementation.
43235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43236         Likewise.
43237         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43238         POWER8 finite implementation.
43239         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43242         power8 implementation.
43243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43244         file: POWER8 isinf ifunc implementation.
43245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43246         POWER8 implementation.
43247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43248         Likewise.
43249         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43250         isinf implementation.
43251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43253         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43254         (INIT_ARCH): Add hwcap2 initialization.
43255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43256         power8 implementation.
43257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43258         file: POWER8 isnan ifunc implementation.
43259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43260         POWER8 implementation.
43261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43262         Likewise.
43263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43264         isnan implementation.
43265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43267 2014-02-27  Joey Ye  <joey.ye@arm.com>
43269         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43270         (_FP_NANFRAC_Q): Set to zero.
43272 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43274         [BZ #16623]
43275         * math/auto-libm-test-in: New test inputs.
43276         * math/auto-libm-test-out: Regenerate.
43277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43278         and DA.
43279         (__cos): Likewise.
43280         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43282 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43284         * scripts/evaluate-test.sh: Take new argument indicating whether
43285         failure is expected.
43286         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43287         indicating whether failure is expected.
43288         * conform/Makefile (test-xfail-run-conformtest): New variable.
43289         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43290         level.
43291         * posix/Makefile (test-xfail-annexc): New variable.
43292         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43294 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43296         * argp/Makefile: Include Makeconfig immediately after defining
43297         subdir.
43298         * assert/Makefile: Likewise.
43299         * benchtests/Makefile: Likewise.
43300         * catgets/Makefile: Likewise.
43301         * conform/Makefile: Likewise.
43302         * crypt/Makefile: Likewise.
43303         * csu/Makefile: Likewise.
43304         (all): Remove target.
43305         * ctype/Makefile: Include Makeconfig immediately after defining
43306         subdir.
43307         * debug/Makefile: Likewise.
43308         * dirent/Makefile: Likewise.
43309         * dlfcn/Makefile: Likewise.
43310         * gmon/Makefile: Likewise.
43311         * gnulib/Makefile: Likewise.
43312         * grp/Makefile: Likewise.
43313         * gshadow/Makefile: Likewise.
43314         * hesiod/Makefile: Likewise.
43315         * hurd/Makefile: Likewise.
43316         (all): Remove target.
43317         * iconvdata/Makefile: Include Makeconfig immediately after
43318         defining subdir.
43319         * inet/Makefile: Likewise.
43320         * intl/Makefile: Likewise.
43321         * io/Makefile: Likewise.
43322         * libio/Makefile: Likewise.
43323         (all): Remove target.
43324         * locale/Makefile: Include Makeconfig immediately after defining
43325         subdir.
43326         * login/Makefile: Likewise.
43327         * mach/Makefile: Likewise.
43328         (all): Remove target.
43329         * malloc/Makefile: Include Makeconfig immediately after defining
43330         subdir.
43331         (all): Remove target.
43332         * manual/Makefile: Include Makeconfig immediately after defining
43333         subdir.
43334         * math/Makefile: Likewise.
43335         * misc/Makefile: Likewise.
43336         * nis/Makefile: Likewise.
43337         * nss/Makefile: Likewise.
43338         * po/Makefile: Likewise.
43339         (all): Remove target.
43340         * posix/Makefile: Include Makeconfig immediately after defining
43341         subdir.
43342         * pwd/Makefile: Likewise.
43343         * resolv/Makefile: Likewise.
43344         * resource/Makefile: Likewise.
43345         * rt/Makefile: Likewise.
43346         * setjmp/Makefile: Likewise.
43347         * shadow/Makefile: Likewise.
43348         * signal/Makefile: Likewise.
43349         * socket/Makefile: Likewise.
43350         * soft-fp/Makefile: Likewise.
43351         * stdio-common/Makefile: Likewise.
43352         * stdlib/Makefile: Likewise.
43353         * streams/Makefile: Likewise.
43354         * string/Makefile: Likewise.
43355         * sunrpc/Makefile: Likewise.
43356         (all): Remove target.
43357         * sysvipc/Makefile: Include Makeconfig immediately after defining
43358         subdir.
43359         * termios/Makefile: Likewise.
43360         * time/Makefile: Likewise.
43361         * timezone/Makefile: Likewise.
43362         (all): Remove target.
43363         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43364         subdir.
43365         * wctype/Makefile: Likewise.
43367 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43369         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43370         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43371         (libc_feholdexcept_setround_mips): Ditto.
43372         (libc_feholdsetround): New.
43373         (libc_feholdsetroundf): New.
43374         (libc_feholdsetroundl): New.
43375         (libc_feupdateenv_test_mips): New.
43376         (libc_feupdateenv_test): New.
43377         (libc_feupdateenv_testf): New.
43378         (libc_feupdateenv_testl): New.
43379         (libc_feresetround): New.
43380         (libc_feresetroundf): New.
43381         (libc_feresetroundl): New.
43382         (libc_fetestexcept_mips): New.
43383         (libc_fetestexcept): New.
43384         (libc_fetestexceptf): New.
43385         (libc_fetestexceptl): New.
43386         (HAVE_RM_CTX): New.
43387         (libc_feholdexcept_setround_mips_ctx): New.
43388         (libc_feholdexcept_setround_ctx): New.
43389         (libc_feholdexcept_setroundf_ctx): New.
43390         (libc_feholdexcept_setroundl_ctx): New.
43391         (libc_fesetenv_mips_ctx): New.
43392         (libc_fesetenv_ctx): New.
43393         (libc_fesetenv_ctxf): New.
43394         (libc_fesetenv_ctxl): New.
43395         (libc_feupdateenv_mips_ctx): New.
43396         (libc_feupdateenv_ctx): New.
43397         (libc_feupdateenvf_ctx): New.
43398         (libc_feupdateenvl_ctx): New.
43399         (libc_feholdsetround_mips_ctx): New.
43400         (libc_feholdsetround_ctx): New.
43401         (libc_feholdsetroundf_ctx): New.
43402         (libc_feholdsetroundl_ctx): New.
43403         (libc_feresetround_mips_ctx): New.
43404         (libc_feresetround_ctx): New.
43405         (libc_feresetroundf_ctx): New.
43406         (libc_feresetroundl_ctx): New.
43408 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43410         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43412         * manual/ipc.texi: New file.
43413         * manual/Makefile (chapters): Add ipc.
43414         * manual/job.texi: Add "Inter-Process Communication" to next.
43415         * manual/process.texi: Add "Inter-Process Communication" to prev.
43417 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43421 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43423         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43425         * manual/arith.texi: Fix spaces after sentences.
43426         * manual/charset.texi: Likewise.
43427         * manual/errno.texi: Likewise.
43428         * manual/install.texi: Likewise.
43429         * manual/llio.texi: Likewise.
43430         * manual/locale.texi: Likewise.
43431         * manual/maint.texi: Likewise.
43432         * manual/math.texi: Likewise.
43433         * manual/memory.texi: Likewise.
43434         * manual/message.texi: Likewise.
43435         * manual/probes.texi: Likewise.
43436         * manual/resource.texi: Likewise.
43437         * manual/signal.texi: Likewise.
43438         * manual/socket.texi: Likewise.
43439         * manual/stdio.texi: Likewise.
43440         * manual/string.texi: Likewise.
43441         * manual/time.texi: Likewise.
43442         * manual/users.texi: Likewise.
43444 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43446         [BZ #16632]
43447         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43448         _DEFAULT_SOURCE is defined.
43450 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43451             Carlos O'Donell  <carlos@redhat.com>
43453         [BZ #16613]
43454         * elf/dl-tls.c (_dl_count_modids): New function.
43455         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43456         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43457         audit library and increment generation counter.
43458         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43459         * elf/tst-audit9.c: New file.
43460         * elf/tst-auditmod9a.c: New file.
43461         * elf/tst-auditmod9b.c: New file.
43462         * elf/Makefile: Add rules to build and run tst-audit9.
43464 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43466         [BZ #15347]
43467         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43469 2014-02-25  Will Newton  <will.newton@linaro.org>
43471         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43472         (__longjmp): Restore sp and lr before restoring callee
43473         saved registers.  Add longjmp and longjmp_target
43474         SystemTap probe point.
43475         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43476         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43477         Define to zero to match jmpbuf layout.
43478         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43479         (__sigsetjmp): Save sp and lr before saving callee
43480         saved registers.  Add setjmp SystemTap probe point.
43482 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43484         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43486 2014-02-24  Andreas Schwab  <schwab@suse.de>
43488         [BZ #15804]
43489         * elf/pldd.c (wait_for_ptrace_stop): New function.
43490         (main): Call it after attaching.
43492 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43494         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43495         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43496         Versions files is now verboten.
43497         * hurd/Versions (libc: GLIBC_2.0):
43498         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43499         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43500         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43501         * mach/Versions: Likewise.
43503         * csu/Versions: Remove unused %include.
43504         * resolv/Versions: Likewise.
43506 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43508         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43509         ($(objpfx)check-local-headers.out): Likewise.
43510         ($(objpfx)begin-end-check.out): Likewise.
43511         * Makerules (check-abi-%.out): Likewise.
43512         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43513         ($(objpfx)test2.cat): Likewise.
43514         ($(objpfx)de/libc.cat): Likewise.
43515         ($(objpfx)test-gencat.out): Likewise.
43516         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43517         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43518         ($(objpfx)noload-mem): Likewise.
43519         ($(objpfx)tst-pathopt.out): Likewise.
43520         ($(objpfx)tst-rtld-load-self.out): Likewise.
43521         ($(objpfx)tst-array1-cmp.out): Likewise.
43522         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43523         ($(objpfx)tst-array2-cmp.out): Likewise.
43524         ($(objpfx)tst-array3-cmp.out): Likewise.
43525         ($(objpfx)tst-array4-cmp.out): Likewise.
43526         ($(objpfx)tst-array5-cmp.out): Likewise.
43527         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43528         ($(objpfx)check-textrel.out): Likewise.
43529         ($(objpfx)check-execstack.out): Likewise.
43530         ($(objpfx)check-localplt.out): Likewise.
43531         ($(objpfx)order2-cmp.out): Likewise.
43532         ($(objpfx)tst-leaks1-mem): Likewise.
43533         ($(objpfx)tst-leaks1-static-mem): Likewise.
43534         ($(objpfx)tst-initorder-cmp.out): Likewise.
43535         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43536         ($(objpfx)tst-unused-dep.out): Likewise.
43537         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43538         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43539         * iconv/Makefile (test-iconvconfig): Likewise.
43540         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43541         ($(objpfx)iconv-test.out): Likewise.
43542         ($(objpfx)tst-tables.out): Likewise.
43543         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43544         ($(objpfx)tst-gettext.out): Likewise.
43545         ($(objpfx)tst-translit.out): Likewise.
43546         ($(objpfx)tst-gettext2.out): Likewise.
43547         ($(objpfx)tst-gettext4.out): Likewise.
43548         ($(objpfx)tst-gettext6.out): Likewise.
43549         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43550         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43551         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43552         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43553         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43554         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43555         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43556         ($(objpfx)wordexp-tst.out): Likewise.
43557         ($(objpfx)annexc.out): Likewise.
43558         ($(objpfx)tst-fnmatch-mem): Likewise.
43559         ($(objpfx)bug-regex2-mem): Likewise.
43560         ($(objpfx)bug-regex14-mem): Likewise.
43561         ($(objpfx)bug-regex21-mem): Likewise.
43562         ($(objpfx)bug-regex31-mem): Likewise.
43563         ($(objpfx)tst-vfork3-mem): Likewise.
43564         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43565         ($(objpfx)tst-pcre-mem): Likewise.
43566         ($(objpfx)tst-boost-mem): Likewise.
43567         ($(objpfx)tst-getconf.out): Likewise.
43568         ($(objpfx)bug-ga2-mem): Likewise.
43569         ($(objpfx)bug-glob2-mem): Likewise.
43570         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43571         ($(objpfx)mtrace-tst-leaks2): Likewise.
43572         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43573         ($(objpfx)tst-printf.out): Likewise.
43574         ($(objpfx)tst-setvbuf1.out): Likewise.
43575         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43576         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43577         ($(objpfx)tst-fmtmsg.out): Likewise.
43578         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43579         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43581         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43582         * bits/sigaction.h [__USE_MISC]: Likewise.
43583         * bits/waitstatus.h: Update #endif comments.
43584         * ctype/ctype.h: Likewise.
43585         * dirent/dirent.h: Likewise.
43586         [__USE_MISC]: Remove redundant conditionals.
43587         * grp/grp.h: Update #endif comments.
43588         [__USE_GNU]: Remove redundant conditionals.
43589         [__USE_MISC]: Likewise.
43590         * inet/netinet/in.h [__USE_GNU]: Likewise.
43591         * io/sys/stat.h [__USE_MISC]: Likewise.
43592         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43593         * libio/bits/stdio.h: Update #endif comments.
43594         [__USE_MISC]: Remove redundant conditionals.
43595         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43596         * libio/stdio.h: Update #endif comments.
43597         [__USE_MISC]: Remove redundant conditionals.
43598         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43599         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43600         * math/math.h: Update #else and #endif comments.
43601         [__USE_MISC]: Remove redundant conditionals.
43602         * misc/sys/uio.h: Update #endif comments.
43603         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43604         * posix/glob.h [__USE_MISC]: Likewise.
43605         * posix/sys/types.h: Update #endif comments.
43606         [__USE_MISC]: Remove redundant conditionals.
43607         * posix/sys/wait.h: Update #endif comments.
43608         [__USE_MISC]: Remove redundant conditionals.
43609         * posix/unistd.h: Update #endif comments.
43610         [__USE_MISC]: Remove redundant conditionals.
43611         * pwd/pwd.h [__USE_GNU]: Likewise.
43612         [__USE_MISC]: Likewise.
43613         * resolv/netdb.h [__USE_GNU]: Likewise.
43614         * signal/signal.h: Update #endif comments.
43615         [__USE_MISC]: Remove redundant conditionals.
43616         * stdlib/stdlib.h: Update #else and #endif comments.
43617         [__USE_MISC]: Remove redundant conditionals.
43618         [__USE_GNU]: Likewise.
43619         * string/bits/string2.h [__USE_MISC]: Likewise.
43620         * string/string.h: Update #endif comments.
43621         [__USE_MISC]: Remove redundant conditionals.
43622         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43623         Likewise.
43624         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43625         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43626         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43627         Likewise.
43628         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43629         Likewise.
43630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43631         comments.
43632         [__USE_MISC]: Remove redundant conditionals.
43633         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43634         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43635         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43636         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43637         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43638         Likewise.
43639         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43640         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43641         Likewise.
43642         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43643         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43644         Likewise.
43645         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43646         Likewise.
43647         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43648         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43649         Likewise.
43650         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43651         Likewise.
43652         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43653         * sysdeps/x86/bits/string.h: Update #endif comments.
43654         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43655         conditionals.
43656         * time/sys/time.h: Update #endif comments.
43657         * time/time.h: Likewise.
43658         [__USE_MISC]: Remove redundant conditionals.
43660 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43662         [BZ #16600]
43663         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43665 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43667         * Versions.def (librt): Add GLIBC_2.17.
43669 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43671         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43672         synonym for _SYS_AUXV_H to allow direct inclusion.
43673         * sysdeps/sparc/bits/hwcap.h: Likewise.
43674         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43675         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43676         * sysdeps/sparc/sysdep.h: Likewise.
43678 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43680         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43682 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43684         * benchtests/bench-strrchr.c: Print length instead of position.
43686 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43688         [BZ #16611]
43689         * sysdeps/unix/sysv/linux/kernel-features.h
43690         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43691         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43692         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43693         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43694         Likewise.
43695         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43696         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43697         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43698         (__ASSUME_SENDMMSG): Define instead of using previous
43699         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43700         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43701         (__ASSUME_SENDMMSG_SYSCALL): Define.
43702         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43703         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43704         Likewise.
43705         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43706         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43707         Likewise.
43708         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43710         Likewise.
43711         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43712         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43713         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43714         [__ASSUME_SENDMMSG]: Change conditionals to
43715         [__ASSUME_SENDMMSG_SOCKETCALL].
43716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43717         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43718         Define.
43719         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43720         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43721         Likewise.
43722         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43723         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43724         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43725         [!__ASSUME_SENDMMSG]: Change conditional to
43726         [!__ASSUME_SENDMMSG_SOCKETCALL].
43727         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43728         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43729         Define.
43731         [BZ #16610]
43732         * sysdeps/unix/sysv/linux/kernel-features.h
43733         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43734         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43735         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43736         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43737         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43738         [__i386__ || __sparc__]
43739         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43740         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43741         (__ASSUME_RECVMMSG): Define instead of using previous
43742         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43743         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43744         (__ASSUME_RECVMMSG_SYSCALL): Define.
43745         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43747         Likewise.
43748         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43749         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43750         Likewise.
43751         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43752         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43753         Likewise.
43754         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43755         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43756         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43757         [__ASSUME_RECVMMSG]: Change condition to
43758         [__ASSUME_RECVMMSG_SOCKETCALL].
43759         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43761         Define.
43762         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43765         Likewise.
43766         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43767         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43768         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43769         [!__ASSUME_RECVMMSG]: Change condition to
43770         [!__ASSUME_RECVMMSG_SOCKETCALL].
43771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43772         (__ASSUME_RECVMMSG_SYSCALL): Define.
43774         [BZ #16609]
43775         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43776         __powerpc__ || __s390__ || __sh__ || __sparc__]
43777         (__ASSUME_SOCKETCALL): Define.
43778         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43779         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43780         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43781         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43782         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43783         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43784         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43785         (__ASSUME_ACCEPT4): Define instead of using previous
43786         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43787         __powerpc__ || __sparc__ || __s390__)] condition.
43788         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43789         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43790         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43791         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43792         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43793         [!__ASSUME_ACCEPT4]: Change condition to
43794         [!__ASSUME_ACCEPT4_SOCKETCALL].
43795         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43797         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43798         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43799         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43800         __ASSUME_ACCEPT4_SYSCALL.
43801         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43802         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43803         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43804         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43805         __ASSUME_ACCEPT4_SYSCALL.
43806         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43807         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43808         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43809         [__ASSUME_ACCEPT4]: Change condition to
43810         [__ASSUME_ACCEPT4_SOCKETCALL].
43811         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43812         (__ASSUME_SOCKETCALL): Define.
43813         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43815         (__ASSUME_SOCKETCALL): Define.
43816         (__ASSUME_ACCEPT4): Remove.
43817         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43818         Define.
43819         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43820         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43821         Likewise.
43822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43823         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43825         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43826         macro.
43827         (HWCAP_ARM_LPAE): Likewise.
43828         (HWCAP_ARM_EVTSTRM): Likewise.
43829         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43830         Add vpfd32, lpae and evtstrm.
43831         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43832         Increase to 22.
43834 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43836         * math/auto-libm-test-in: Add tests of clog10.
43837         * math/auto-libm-test-out: Regenerated.
43838         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43839         * sysdeps/i386/fpu/libm-test-ulps: Update.
43840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43842 2014-02-18  Andreas Schwab  <schwab@suse.de>
43844         [BZ #16574]
43845         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43846         Store non-zero if the second buffer was newly allocated.
43847         (send_dg): Likewise.
43848         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43849         to send_vc and send_dg.
43850         (res_nsend): Pass NULL for ansp2_malloced.
43851         * resolv/res_query.c (__libc_res_nquery): Add parameter
43852         answerp2_malloced and pass it down to __libc_res_nsend.
43853         (res_nquery): Pass additional NULL to __libc_res_nquery.
43854         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43855         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43856         second answer buffer if answerp2_malloced was set.
43857         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43858         (__libc_res_nquerydomain): Add parameter
43859         answerp2_malloced and pass it down to __libc_res_nquery.
43860         (res_nquerydomain): Pass additional NULL to
43861         __libc_res_nquerydomain.
43862         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43863         additional NULL to __libc_res_nsend and __libc_res_nquery.
43864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43865         additional NULL to __libc_res_nsearch.
43866         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43867         parameter of __libc_res_nsearch to check for separately allocated
43868         second buffer.
43869         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43870         __libc_res_nquery.
43871         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43872         additional NULL to __libc_res_nquery.
43873         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43874         __libc_res_nsearch.
43875         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43876         * include/resolv.h: Update prototypes of __libc_res_nquery,
43877         __libc_res_nsearch, __libc_res_nsend.
43879 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43881         * math/auto-libm-test-in: Add tests of fma.
43882         * math/auto-libm-test-out: Regenerated.
43883         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43884         (fma_towardzero_test_data): Likewise.
43885         (fma_downward_test_data): Likewise.
43886         (fma_upward_test_data): Likewise.
43887         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43888         mpc_mode.
43889         (rounding_modes): Add values for new field.
43890         (func_calc_method): Add value mpfr_fff_f.
43891         (func_calc_desc): Add mpfr_fff_f union field.
43892         (test_function): Add field exact_args.
43893         (FUNC): Add macro argument EXACT_ARGS.
43894         (FUNC_mpfr_f_f): Update call to FUNC.
43895         (FUNC_mpfr_f_f): Likewise.
43896         (FUNC_mpfr_ff_f): Likewise.
43897         (FUNC_mpfr_if_f): Likewise.
43898         (FUNC_mpc_c_f): Likewise.
43899         (FUNC_mpc_c_c): Likewise.
43900         (test_functions): Add fma.  Update calls to FUNC.
43901         (handle_input_arg): Add argument exact_args.
43902         (add_test): Update call to handle_input_arg.
43903         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43904         (output_for_one_input_case): Update call to calc_generic_results.
43905         Recalculate exact zero results in each rounding mode.
43907         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43908         non-negative before setting low bit.
43909         * math/auto-libm-test-in: Mark one asin test possibly having
43910         spurious underflow.
43911         * math/auto-libm-test-out: Regenerated.
43912         * sysdeps/i386/fpu/libm-test-ulps: Update.
43913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43915 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43917         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43918         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43919         ports/sysdeps/unix/sysv/linux/microblaze.
43920         * README: Add missing listing for microblaze*-*-linux-gnu.
43922 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43924         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43925         duplicate code
43927 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43929         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43930         * sysdeps/unix/sysv/linux/ia64: Move directory from
43931         ports/sysdeps/unix/sysv/linux/ia64.
43932         * README: Update listing for ia64-*-linux-gnu.
43934 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43935             Joseph Myers  <joseph@codesourcery.com>
43937         * Makeconfig (test-name): New variable.
43938         (evaluate-test): Likewise.
43939         * Makerules (do-test-clean): Remove .test-result files.
43940         (common-mostlyclean): Likewise.
43941         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43942         * scripts/evaluate-test.sh: New file.
43944 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43946         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43947         separate $(objpfx)tst-fopenloc-cmp.out and
43948         $(objpfx)tst-fopenloc-mem.out targets.
43949         (tests): Update dependencies.
43950         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43951         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43952         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43953         (tst-rxspencer-no-utf8-ARGS): New variable.
43954         (tst-rxspencer-no-utf8-ENV): Likewise.
43955         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43956         instead of $(objpfx)tst-rxspencer-mem.
43957         ($(objpfx)tst-rxspencer-mem): Change target to
43958         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43959         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43960         * posix/tst-rxspencer-no-utf8.c: New file.
43962         * elf/Makefile ($(objpfx)order.out): Remove rule.
43963         [$(run-built-tests) = yes] (tests): Depend on
43964         $(objpfx)order-cmp.out.
43965         ($(objpfx)order-cmp.out): New rule.
43966         [$(run-built-tests) = yes] (tests): Depend on
43967         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43968         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43969         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43970         $(objpfx)tst-array5-static-cmp.out.
43971         ($(objpfx)tst-array1.out): Remove rule.
43972         ($(objpfx)tst-array1-cmp.out): New rule.
43973         ($(objpfx)tst-array1-static.out): Remove rule.
43974         ($(objpfx)tst-array1-static-cmp.out): New rule.
43975         ($(objpfx)tst-array2.out): Remove rule.
43976         ($(objpfx)tst-array2-cmp.out): New rule.
43977         ($(objpfx)tst-array3.out): Remove rule.
43978         ($(objpfx)tst-array3-cmp.out): New rule.
43979         ($(objpfx)tst-array4.out): Remove rule.
43980         ($(objpfx)tst-array4-cmp.out): New rule.
43981         ($(objpfx)tst-array5.out): Remove rule.
43982         ($(objpfx)tst-array5-cmp.out): New rule.
43983         ($(objpfx)tst-array5-static.out): Remove rule.
43984         ($(objpfx)tst-array5-static-cmp.out): New rule.
43985         [$(run-built-tests) = yes] (tests): Depend on
43986         $(objpfx)order2-cmp.out.
43987         ($(objpfx)order2.out): Remove rule.
43988         ($(objpfx)order2-cmp.out): New rule.
43989         ($(objpfx)tst-initorder.out): Remove rule.
43990         [$(run-built-tests) = yes] (tests): Depend on
43991         $(objpfx)tst-initorder-cmp.out.
43992         ($(objpfx)tst-initorder-cmp.out): New rule.
43993         ($(objpfx)tst-initorder2.out): Remove rule.
43994         [$(run-built-tests) = yes] (tests): Depend on
43995         $(objpfx)tst-initorder2-cmp.out.
43996         ($(objpfx)tst-initorder2-cmp.out): New rule.
43997         [$(run-built-tests) = yes] (tests): Depend on
43998         $(objpfx)tst-unused-dep-cmp.out.
43999         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44000         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44001         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44002         on $(objpfx)tst-setvbuf1-cmp.out.
44003         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44004         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44005         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44006         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44007         ($(objpfx)tst-svc.out): Remove rule.
44008         ($(objpfx)tst-svc-cmp.out): New rule.
44010 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44012         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44013         * ctype/ctype.h [__USE_MISC]: Likewise.
44014         * dirent/dirent.h [__USE_MISC]: Likewise.
44015         * grp/grp.h [__USE_MISC]: Likewise.
44016         * io/fcntl.h [__USE_MISC]: Likewise.
44017         * io/sys/stat.h [__USE_MISC]: Likewise.
44018         * libio/stdio.h [__USE_MISC]: Likewise.
44019         * posix/unistd.h [__USE_MISC]: Likewise.
44020         * pwd/pwd.h [__USE_MISC]: Likewise.
44021         * stdlib.h [__USE_MISC]: Likewise.
44022         * string/bits/string2.h [__USE_MISC]: Likewise.
44023         * string/string.h [__USE_MISC]: Likewise.
44024         * time/time.h [__USE_MISC]: Likewise.
44026 2014-02-13  Andreas Schwab  <schwab@suse.de>
44028         [BZ #16574]
44029         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44030         second answer buffer if it was separately allocated.
44032 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44034         * sysdeps/mips/math-tests.h: Include <features.h>.
44035         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44036         (ROUNDING_TESTS_long_double): Do not define.
44037         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44038         (EXCEPTION_TESTS_long_double): Likewise.
44039         * sysdeps/mips/mips64/libm-test-ulps: Update.
44041         * include/features.h (__USE_BSD): Remove macro definitions.
44042         (__USE_SVID): Likewise.
44043         (_BSD_SOURCE): Likewise.
44044         (_SVID_SOURCE): Likewise.
44045         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44046         from definition of _DEFAULT_SOURCE.
44047         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44048         [_DEFAULT_SOURCE].
44049         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44050         * bits/mman.h [__USE_BSD]: Likewise.
44051         * bits/termios.h [__USE_BSD]: Likewise.
44052         * bits/waitstatus.h [__USE_BSD]: Likewise.
44053         * ctype/ctype.h [__USE_SVID]: Likewise.
44054         * dirent/dirent.h [__USE_BSD]: Likewise.
44055         * grp/grp.h [__USE_SVID]: Likewise.
44056         [__USE_BSD]: Likewise.
44057         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44058         * io/fcntl.h [__USE_BSD]: Likewise.
44059         * io/ftw.h [__USE_BSD]: Likewise.
44060         * io/sys/stat.h [__USE_BSD]: Likewise.
44061         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44062         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44063         * libio/stdio.h [__USE_SVID]: Likewise.
44064         [__USE_BSD]: Likewise.
44065         * math/math.h [__USE_SVID]: Likewise.
44066         [__USE_BSD]: Likewise.
44067         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44068         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44069         * misc/search.h [__USE_SVID]: Likewise.
44070         * misc/sys/mman.h [__USE_BSD]: Likewise.
44071         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44072         * misc/sys/uio.h [__USE_BSD]: Likewise.
44073         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44074         * posix/glob.h [__USE_BSD]: Likewise.
44075         * posix/regex.h [__USE_BSD]: Likewise.
44076         * posix/sys/types.h [__USE_BSD]: Likewise.
44077         [__USE_SVID]: Likewise.
44078         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44079         * posix/sys/wait.h [__USE_BSD]: Likewise.
44080         [__USE_SVID]: Likewise.
44081         * posix/unistd.h [__USE_BSD]: Likewise.
44082         [__USE_SVID]: Likewise.
44083         * pwd/pwd.h [__USE_SVID]: Likewise.
44084         * resolv/netdb.h [__USE_BSD]: Likewise.
44085         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44086         * signal/signal.h [__USE_BSD]: Likewise.
44087         [__USE_SVID]: Likewise.
44088         * socket/sys/socket.h [__USE_BSD]: Likewise.
44089         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44090         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44091         [__USE_SVID]: Likewise.
44092         * string/bits/string2.h [__USE_BSD]: Likewise.
44093         [__USE_SVID]: Likewise.
44094         * string/bits/string3.h [__USE_BSD]: Likewise.
44095         * string/endian.h [__USE_BSD]: Likewise.
44096         * string/string.h [__USE_SVID]: Likewise.
44097         [__USE_BSD]: Likewise.
44098         * string/strings.h [__USE_BSD]: Likewise.
44099         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44100         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44101         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44102         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44103         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44104         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44105         Likewise.
44106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44107         Likewise.
44108         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44109         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44110         Likewise.
44111         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44112         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44113         Likewise.
44114         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44115         Likewise.
44116         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44117         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44118         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44119         Likewise.
44120         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44121         Likewise.
44122         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44123         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44124         * termios/termios.h [__USE_BSD]: Likewise.
44125         * time/sys/time.h [__USE_BSD]: Likewise.
44126         * time/time.h [__USE_BSD]: Likewise.
44127         [__USE_SVID]: Likewise.
44129         * Makefile (subdir_targets): Remove subdir_lint.out.
44131         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44132         (do-tst-printf): Likewise.
44133         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44134         $(objpfx)tst-printf.out.
44136         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44138         * Makerules (check-abi-%): Change target to
44139         $(objpfx)check-abi-%.out.
44140         (check-abi target): Update dependencies.
44141         (check-abi-pattern variable): Redirect output of diff to $@.
44142         (check-abi variable): Likewise.
44143         * elf/Makefile (check-abi): Update dependencies.
44145         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44146         unused.
44147         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44148         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44149         subnormal range.
44150         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44151         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44152         value has largest subnormal exponent.
44153         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44154         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44155         * sysdeps/aarch64/soft-fp/sfp-machine.h
44156         (_FP_TININESS_AFTER_ROUNDING): New macro.
44157         * sysdeps/alpha/soft-fp/sfp-machine.h
44158         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44159         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44160         Likewise.
44161         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44162         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44163         * sysdeps/mips/soft-fp/sfp-machine.h
44164         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44165         * sysdeps/powerpc/soft-fp/sfp-machine.h
44166         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44167         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44168         Likewise.
44169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44170         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44171         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44173         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44174         Likewise.
44176 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44178         [BZ #16545]
44179         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44180         model 1.
44182 2014-02-12  Richard Henderson  <rth@redhat.com>
44184         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44185         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44186         * sysdeps/unix/sysv/linux/alpha: Move directory from
44187         ports/sysdeps/unix/sysv/linux/alpha.
44188         * README: Update listing for alpha-*-linux-gnu.
44190 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44192         * include/features.h: Update comment documenting feature test
44193         macros.
44194         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44195         _DEFAULT_SOURCE.
44196         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44197         (_SVID_SOURCE): Likewise.
44198         (_DEFAULT_SOURCE): Update description of default features.
44199         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44200         with _GNU_SOURCE.
44201         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44202         (S_ISVTX): Likewise.
44203         * manual/math.texi (Mathematical Constants): Likewise.
44204         * manual/signal.texi (Interrupted Primitives): Likewise.
44205         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44206         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44207         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44208         Don't refer to _SVID_SOURCE in warning text.
44210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44212         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44213         already defined.
44214         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44215         * sysdeps/mips/dl-lookup.c: Remove.
44216         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44218 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44220         [BZ #16447]
44221         * math/auto-libm-test-in: Add testcase for expl.
44222         * math/auto-libm-test-out: Regenerate.
44223         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44224         calculation of unsafe.
44225         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44227 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44229         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44230         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44231         ports/sysdeps/unix/sysv/linux/aarch64.
44232         * README: Update listing for aarch64*-*-linux-gnu.
44234 2014-02-11  Will Newton  <will.newton@linaro.org>
44236         * manual/probes.texi (Mathematical Function Probes): Use
44237         "triggered" instead of "hit".
44239         * manual/probes.texi (Internal Probes): Add documentation
44240         of setjmp, longjmp and longjmp_target probes.
44242         * include/stap-probe.h: Add comment about probe argument
44243         format.
44245         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44246         definition.  (tr_where, tr_freehook, tr_mallochook,
44247         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44249 2014-02-11  David S. Miller  <davem@davemloft.net>
44251         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44252         processing int_tests.
44254 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44256         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44257         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44258         * sysdeps/unix/sysv/linux/mips: Move directory from
44259         ports/sysdeps/unix/sysv/linux/mips.
44260         * README: Update listing for mips-*-linux-gnu and
44261         mips64-*-linux-gnu.
44263 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44265         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44266         * sysdeps/unix/sysv/linux/m68k: Move directory from
44267         ports/sysdeps/unix/sysv/linux/m68k.
44268         * README: Update listing for m68k-*-linux-gnu.
44270 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44272         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44273         * sysdeps/unix/sysv/linux/generic: Move directory from
44274         ports/sysdeps/unix/sysv/linux/generic.
44275         * sysdeps/unix/sysv/linux/tile: Move directory from
44276         ports/sysdeps/unix/sysv/linux/tile.
44277         * README: Update listing for tile*-*-linux-gnu.
44279 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44281         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44282         __builtin_expect.
44283         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44284         * catgets/open_catalog.c (__open_catalog): Likewise.
44285         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44286         * debug/confstr_chk.c: Likewise.
44287         * debug/fread_chk.c (__fread_chk): Likewise.
44288         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44289         * debug/getgroups_chk.c: Likewise.
44290         * debug/mbsnrtowcs_chk.c: Likewise.
44291         * debug/mbsrtowcs_chk.c: Likewise.
44292         * debug/mbstowcs_chk.c: Likewise.
44293         * debug/memcpy_chk.c: Likewise.
44294         * debug/memmove_chk.c: Likewise.
44295         * debug/mempcpy_chk.c: Likewise.
44296         * debug/memset_chk.c: Likewise.
44297         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44298         * debug/strcat_chk.c (__strcat_chk): Likewise.
44299         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44300         * debug/strncat_chk.c (__strncat_chk): Likewise.
44301         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44302         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44303         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44304         * debug/wcpncpy_chk.c: Likewise.
44305         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44306         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44307         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44308         * debug/wcsncpy_chk.c: Likewise.
44309         * debug/wcsnrtombs_chk.c: Likewise.
44310         * debug/wcsrtombs_chk.c: Likewise.
44311         * debug/wcstombs_chk.c: Likewise.
44312         * debug/wmemcpy_chk.c: Likewise.
44313         * debug/wmemmove_chk.c: Likewise.
44314         * debug/wmempcpy_chk.c: Likewise.
44315         * debug/wmemset_chk.c: Likewise.
44316         * dirent/scandirat.c (SCANDIRAT): Likewise.
44317         * dlfcn/dladdr1.c (dladdr1): Likewise.
44318         * dlfcn/dladdr.c (dladdr): Likewise.
44319         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44320         * dlfcn/dlerror.c (__dlerror): Likewise.
44321         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44322         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44323         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44324         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44325         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44326         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44327         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44328         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44329         Likewise.
44330         * elf/dl-conflict.c: Likewise.
44331         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44332         * elf/dl-dst.h: Likewise.
44333         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44334         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44335         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44336         * elf/dl-init.c (call_init, _dl_init): Likewise.
44337         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44338         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44339         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44340         Likewise.
44341         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44342         Likewise.
44343         * elf/dl-minimal.c (__libc_memalign): Likewise.
44344         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44345         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44346         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44347         * elf/dl-sym.c (do_sym): Likewise.
44348         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44349         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44350         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44351         * elf/dl-writev.h (_dl_writev): Likewise.
44352         * elf/ldconfig.c (search_dir): Likewise.
44353         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44354         (dl_main): Likewise.
44355         * elf/setup-vdso.h (setup_vdso): Likewise.
44356         * grp/compat-initgroups.c (compat_call): Likewise.
44357         * grp/fgetgrent.c (fgetgrent): Likewise.
44358         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44359         * grp/putgrent.c (putgrent): Likewise.
44360         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44361         Likewise.
44362         * hurd/hurdinit.c: Likewise.
44363         * iconvdata/8bit-gap.c (struct): Likewise.
44364         * iconvdata/ansi_x3.110.c : Likewise.
44365         * iconvdata/big5.c : Likewise.
44366         * iconvdata/big5hkscs.c : Likewise.
44367         * iconvdata/cp1255.c: Likewise.
44368         * iconvdata/cp1258.c : Likewise.
44369         * iconvdata/cp932.c : Likewise.
44370         * iconvdata/euc-cn.c: Likewise.
44371         * iconvdata/euc-jisx0213.c : Likewise.
44372         * iconvdata/euc-jp.c: Likewise.
44373         * iconvdata/euc-jp-ms.c : Likewise.
44374         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44375         * iconvdata/gb18030.c : Likewise.
44376         * iconvdata/gbbig5.c (const): Likewise.
44377         * iconvdata/gbgbk.c: Likewise.
44378         * iconvdata/gbk.c : Likewise.
44379         * iconvdata/ibm1364.c : Likewise.
44380         * iconvdata/ibm930.c : Likewise.
44381         * iconvdata/ibm932.c: Likewise.
44382         * iconvdata/ibm933.c : Likewise.
44383         * iconvdata/ibm935.c : Likewise.
44384         * iconvdata/ibm937.c : Likewise.
44385         * iconvdata/ibm939.c : Likewise.
44386         * iconvdata/ibm943.c: Likewise.
44387         * iconvdata/iso_11548-1.c: Likewise.
44388         * iconvdata/iso-2022-cn.c : Likewise.
44389         * iconvdata/iso-2022-cn-ext.c : Likewise.
44390         * iconvdata/iso-2022-jp-3.c: Likewise.
44391         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44392         * iconvdata/iso-2022-kr.c : Likewise.
44393         * iconvdata/iso646.c (gconv_end): Likewise.
44394         * iconvdata/iso_6937-2.c : Likewise.
44395         * iconvdata/iso_6937.c : Likewise.
44396         * iconvdata/iso8859-1.c: Likewise.
44397         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44398         * iconvdata/shift_jisx0213.c : Likewise.
44399         * iconvdata/sjis.c : Likewise.
44400         * iconvdata/t.61.c : Likewise.
44401         * iconvdata/tcvn5712-1.c : Likewise.
44402         * iconvdata/tscii.c: Likewise.
44403         * iconvdata/uhc.c : Likewise.
44404         * iconvdata/unicode.c (gconv_end): Likewise.
44405         * iconvdata/utf-16.c (gconv_end): Likewise.
44406         * iconvdata/utf-32.c (gconv_end): Likewise.
44407         * iconvdata/utf-7.c (base64): Likewise.
44408         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44409         * iconv/gconv_close.c (__gconv_close): Likewise.
44410         * iconv/gconv_open.c (__gconv_open): Likewise.
44411         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44412         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44413         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44414         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44415         (ucs4le_internal_loop_single): Likewise.
44416         * iconv/iconv.c (iconv): Likewise.
44417         * iconv/iconv_close.c: Likewise.
44418         * iconv/loop.c (SINGLE): Likewise.
44419         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44420         * include/atomic.h: Likewise.
44421         * inet/inet6_option.c (option_alloc): Likewise.
44422         * intl/bindtextdom.c (set_binding_values): Likewise.
44423         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44424         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44425         * intl/localealias.c (read_alias_file): Likewise.
44426         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44427         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44428         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44429         * libio/fmemopen.c (fmemopen): Likewise.
44430         * libio/iofgets.c (_IO_fgets): Likewise.
44431         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44432         * libio/iofgetws.c (fgetws): Likewise.
44433         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44434         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44435         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44436         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44437         * locale/findlocale.c (_nl_find_locale): Likewise.
44438         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44439         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44440         Likewise.
44441         * locale/setlocale.c (setlocale): Likewise.
44442         * login/programs/pt_chown.c (main): Likewise.
44443         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44444         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44445         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44446         (mmap, mmap64, mremap, munmap): Likewise.
44447         * math/e_exp2l.c: Likewise.
44448         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44449         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44450         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44451         * math/s_catan.c (__catan): Likewise.
44452         * math/s_catanf.c (__catanf): Likewise.
44453         * math/s_catanh.c (__catanh): Likewise.
44454         * math/s_catanhf.c (__catanhf): Likewise.
44455         * math/s_catanhl.c (__catanhl): Likewise.
44456         * math/s_catanl.c (__catanl): Likewise.
44457         * math/s_ccosh.c (__ccosh): Likewise.
44458         * math/s_ccoshf.c (__ccoshf): Likewise.
44459         * math/s_ccoshl.c (__ccoshl): Likewise.
44460         * math/s_cexp.c (__cexp): Likewise.
44461         * math/s_cexpf.c (__cexpf): Likewise.
44462         * math/s_cexpl.c (__cexpl): Likewise.
44463         * math/s_clog10.c (__clog10): Likewise.
44464         * math/s_clog10f.c (__clog10f): Likewise.
44465         * math/s_clog10l.c (__clog10l): Likewise.
44466         * math/s_clog.c (__clog): Likewise.
44467         * math/s_clogf.c (__clogf): Likewise.
44468         * math/s_clogl.c (__clogl): Likewise.
44469         * math/s_csin.c (__csin): Likewise.
44470         * math/s_csinf.c (__csinf): Likewise.
44471         * math/s_csinh.c (__csinh): Likewise.
44472         * math/s_csinhf.c (__csinhf): Likewise.
44473         * math/s_csinhl.c (__csinhl): Likewise.
44474         * math/s_csinl.c (__csinl): Likewise.
44475         * math/s_csqrt.c (__csqrt): Likewise.
44476         * math/s_csqrtf.c (__csqrtf): Likewise.
44477         * math/s_csqrtl.c (__csqrtl): Likewise.
44478         * math/s_ctan.c (__ctan): Likewise.
44479         * math/s_ctanf.c (__ctanf): Likewise.
44480         * math/s_ctanh.c (__ctanh): Likewise.
44481         * math/s_ctanhf.c (__ctanhf): Likewise.
44482         * math/s_ctanhl.c (__ctanhl): Likewise.
44483         * math/s_ctanl.c (__ctanl): Likewise.
44484         * math/w_pow.c: Likewise.
44485         * math/w_powf.c: Likewise.
44486         * math/w_powl.c: Likewise.
44487         * math/w_scalb.c (sysv_scalb): Likewise.
44488         * math/w_scalbf.c (sysv_scalbf): Likewise.
44489         * math/w_scalbl.c (sysv_scalbl): Likewise.
44490         * misc/error.c (error_tail): Likewise.
44491         * misc/pselect.c (__pselect): Likewise.
44492         * nis/nis_callback.c (__nis_create_callback): Likewise.
44493         * nis/nis_call.c (__nisfind_server): Likewise.
44494         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44495         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44496         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44497         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44498         * nis/nis_lookup.c (nis_lookup): Likewise.
44499         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44500         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44501         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44502         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44503         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44504         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44505         * nis/nss_compat/compat-initgroups.c (add_group)
44506         (internal_getgrent_r): Likewise.
44507         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44508         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44509         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44510         (internal_getspnam_r): Likewise.
44511         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44512         (_nss_nis_getaliasbyname_r): Likewise.
44513         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44514         (_nss_nis_getntohost_r): Likewise.
44515         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44516         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44517         (_nss_nis_getgrgid_r): Likewise.
44518         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44519         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44520         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44521         (_nss_nis_gethostbyname4_r): Likewise.
44522         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44523         (initgroups_netid): Likewise.
44524         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44525         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44526         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44527         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44528         (_nss_nis_getprotobynumber_r): Likewise.
44529         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44530         (_nss_nis_getsecretkey): Likewise.
44531         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44532         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44533         (_nss_nis_getpwuid_r): Likewise.
44534         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44535         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44536         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44537         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44538         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44539         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44540         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44541         Likewise.
44542         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44543         (_nss_nisplus_getntohost_r): Likewise.
44544         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44545         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44546         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44547         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44548         Likewise.
44549         * nis/nss_nisplus/nisplus-initgroups.c
44550         (_nss_nisplus_initgroups_dyn): Likewise.
44551         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44552         (_nss_nisplus_getnetbyaddr_r): Likewise.
44553         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44554         (_nss_nisplus_getprotobynumber_r): Likewise.
44555         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44556         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44557         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44558         Likewise.
44559         * nis/nss_nisplus/nisplus-service.c
44560         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44561         (_nss_nisplus_getservbyport_r): Likewise.
44562         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44563         (_nss_nisplus_getspnam_r): Likewise.
44564         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44565         Likewise.
44566         * nscd/aicache.c (addhstaiX): Likewise.
44567         * nscd/cache.c (cache_search, prune_cache): Likewise.
44568         * nscd/connections.c (register_traced_file, send_ro_fd)
44569         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44570         (main_loop_epoll): Likewise.
44571         * nscd/grpcache.c (addgrbyX): Likewise.
44572         * nscd/hstcache.c (addhstbyX): Likewise.
44573         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44574         * nscd/mem.c (gc, mempool_alloc): Likewise.
44575         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44576         (addinnetgrX): Likewise.
44577         * nscd/nscd-client.h (__nscd_acquire_maplock)
44578         (__nscd_drop_map_ref): Likewise.
44579         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44580         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44581         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44582         Likewise.
44583         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44584         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44585         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44586         (__nscd_get_map_ref): Likewise.
44587         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44588         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44589         Likewise.
44590         * nscd/pwdcache.c (addpwbyX): Likewise.
44591         * nscd/selinux.c (preserve_capabilities): Likewise.
44592         * nscd/servicescache.c (addservbyX): Likewise.
44593         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44594         * posix/fnmatch.c (fnmatch): Likewise.
44595         * posix/getopt.c (_getopt_internal_r): Likewise.
44596         * posix/glob.c (glob, glob_in_dir): Likewise.
44597         * posix/wordexp.c (exec_comm_child): Likewise.
44598         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44599         (getanswer_r, gaih_getanswer_slice): Likewise.
44600         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44601         * resolv/res_init.c: Likewise.
44602         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44603         * resolv/res_query.c (__libc_res_nquery): Likewise.
44604         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44605         Likewise.
44606         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44607         * stdio-common/perror.c (perror): Likewise.
44608         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44609         * stdio-common/tmpnam.c (tmpnam): Likewise.
44610         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44611         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44612         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44613         Likewise.
44614         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44615         * stdlib/putenv.c (putenv): Likewise.
44616         * stdlib/setenv.c (__add_to_environ): Likewise.
44617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44618         * stdlib/strtol_l.c (INTERNAL): Likewise.
44619         * string/memmem.c (memmem): Likewise.
44620         * string/strerror.c (strerror): Likewise.
44621         * string/strnlen.c (__strnlen): Likewise.
44622         * string/test-memmem.c (simple_memmem): Likewise.
44623         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44624         * sunrpc/pm_getport.c (__get_socket): Likewise.
44625         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44626         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44627         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44628         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44629         Likewise.
44630         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44631         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44632         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44633         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44634         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44635         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44636         Likewise.
44637         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44638         Likewise.
44639         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44640         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44641         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44642         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44643         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44645         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44646         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44647         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44648         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44649         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44650         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44651         Likewise.
44652         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44653         Likewise.
44654         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44655         Likewise.
44656         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44657         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44658         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44660         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44661         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44662         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44663         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44665         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44666         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44668         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44669         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44671         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44672         Likewise.
44673         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44674         Likewise.
44675         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44676         Likewise.
44677         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44678         Likewise.
44679         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44681         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44682         Likewise.
44683         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44684         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44685         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44686         * sysdeps/posix/sleep.c: Likewise.
44687         * sysdeps/posix/tempname.c: Likewise.
44688         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44689         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44690         Likewise.
44691         * sysdeps/powerpc/powerpc32/dl-machine.h
44692         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44693         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44695         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44696         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44697         Likewise.
44698         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44699         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44700         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44701         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44702         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44703         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44704         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44705         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44706         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44707         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44709         (elf_machine_lazy_rel): Likewise.
44710         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44712         (elf_machine_lazy_rel): Likewise.
44713         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44714         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44715         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44716         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44717         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44718         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44719         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44720         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44721         Likewise.
44722         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44723         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44724         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44725         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44726         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44727         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44728         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44729         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44730         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44731         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44732         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44733         Likewise.
44734         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44735         (__posix_fallocate64_l64): Likewise.
44736         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44737         (posix_fallocate): Likewise.
44738         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44739         Likewise.
44740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44741         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44742         (getifaddrs_internal): Likewise.
44743         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44744         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44745         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44746         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44747         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44748         (__posix_fallocate64_l64): Likewise.
44749         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44750         Likewise.
44751         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44752         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44753         (__get_clockfreq): Likewise.
44754         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44755         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44756         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44759         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44760         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44761         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44762         Likewise.
44763         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44764         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44765         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44766         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44767         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44768         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44769         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44770         Likewise.
44771         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44772         (posix_fallocate): Likewise.
44773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44774         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44775         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44776         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44777         (elf_machine_rela, elf_machine_rela_relative)
44778         (elf_machine_lazy_rel): Likewise.
44779         * time/asctime.c (asctime_internal): Likewise.
44780         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44781         * time/tzset.c (__tzset_parse_tz): Likewise.
44782         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44783         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44784         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44785         * wcsmbs/wcsmbsload.h: Likewise.
44787         [BZ #15894]
44788         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44790         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44791         (arena_get2): Remove THREAD_STATS conditionals.
44792         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44793         (__malloc_stats, int): Likewise.
44795 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44797         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44798         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44800         * manual/setjmp.texi: Fix typos/grammar errors.
44802         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44803         Only return early when n is <= 0.  Delete unused return statement.
44805         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44806         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44807         * debug/tst-longjmp_chk3.c: New file.
44809         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44810         (test_main): Replace code with set_fortify_handler call.
44811         * debug/test-strcpy_chk.c: Likewise.
44812         * debug/tst-chk1.c: Likewise.
44813         * debug/tst-longjmp_chk.c: Likewise.
44814         * test-skeleton.c: Include fcntl.h & paths.h
44815         (set_fortify_handler): Define.
44817         * debug/tst-longjmp_chk.c: Add header comment and include
44818         ../test-skeleton.c.
44819         (do_test): Mark static.
44820         (TEST_FUNCTION): Define.
44822         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44823         (IP_PMTUDISC_INTERFACE): Likewise.
44824         (IP_MULTICAST_IF): Likewise.
44825         (IP_MULTICAST_TTL): Likewise.
44826         (IP_MULTICAST_LOOP): Likewise.
44827         (IP_ADD_MEMBERSHIP): Likewise.
44828         (IP_DROP_MEMBERSHIP): Likewise.
44829         (IP_UNBLOCK_SOURCE): Likewise.
44830         (IP_BLOCK_SOURCE): Likewise.
44831         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44832         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44833         (IP_MSFILTER): Likewise.
44834         (MCAST_JOIN_GROUP): Likewise.
44835         (MCAST_BLOCK_SOURCE): Likewise.
44836         (MCAST_UNBLOCK_SOURCE): Likewise.
44837         (MCAST_LEAVE_GROUP): Likewise.
44838         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44839         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44840         (MCAST_MSFILTER): Likewise.
44841         (IP_MULTICAST_ALL): Likewise.
44842         (IP_UNICAST_IF): Likewise.
44844         * timezone/Makefile: Delete $(have-ksh) check.
44845         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44846         * timezone/tzselect.ksh: Add +x mode bits.
44848         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44849         (ANON_INODE_FS_MAGIC): Likewise.
44850         (BDEVFS_MAGIC): Likewise.
44851         (BINFMTFS_MAGIC): Likewise.
44852         (BTRFS_TEST_MAGIC): Likewise.
44853         (CRAMFS_MAGIC_WEND): Likewise.
44854         (DEBUGFS_MAGIC): Likewise.
44855         (ECRYPTFS_SUPER_MAGIC): Likewise.
44856         (EXT3_SUPER_MAGIC): Likewise.
44857         (EXT4_SUPER_MAGIC): Likewise.
44858         (FUTEXFS_SUPER_MAGIC): Likewise.
44859         (HOSTFS_SUPER_MAGIC): Likewise.
44860         (HUGETLBFS_MAGIC): Likewise.
44861         (MINIX3_SUPER_MAGIC): Likewise.
44862         (MTD_INODE_FS_MAGIC): Likewise.
44863         (NILFS_SUPER_MAGIC): Likewise.
44864         (OPENPROM_SUPER_MAGIC): Likewise.
44865         (PIPEFS_MAGIC): Likewise.
44866         (PSTOREFS_MAGIC): Likewise.
44867         (QNX6_SUPER_MAGIC): Likewise.
44868         (RAMFS_MAGIC): Likewise.
44869         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44870         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44871         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44872         (SECURITYFS_MAGIC): Likewise.
44873         (SELINUX_MAGIC): Likewise.
44874         (SMACK_MAGIC): Likewise.
44875         (SOCKFS_MAGIC): Likewise.
44876         (SQUASHFS_MAGIC): Likewise.
44877         (STACK_END_MAGIC): Likewise.
44878         (TMPFS_MAGIC): Likewise.
44879         (USBDEVICE_SUPER_MAGIC): Likewise.
44880         (V9FS_MAGIC): Likewise.
44881         (XENFS_SUPER_MAGIC): Likewise.
44882         (CRAMFS_MAGIC): Fix typo in comment.
44883         (EXT2_SUPER_MAGIC): Update comment.
44884         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44886 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44888         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44889         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44890         * sysdeps/unix/sysv/linux/arm: Move directory from
44891         ports/sysdeps/unix/sysv/linux/arm.
44892         * README: Update listing for arm-*-linux-gnueabi.
44894         * README: Remove mention of am33.
44896 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44898         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44899         than the comma operator, to avoid "rhs of comma has no effect"
44900         compiler warnings.
44901         (__sigfillset, __sigandset, __sigorset): Likewise.
44902         * include/signal.h (__sigemptyset): Likewise.
44903         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44905 2014-02-07  Allan McRae  <allan@archlinux.org>
44907         * version.h (RELEASE): Set to "development".
44908         (VERSION): Set to "2.19.90"
44909         * NEWS: Add 2.20 section.
44911 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44913         [BZ #16529]
44914         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44916 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44918         * manual/contrib.texi: Update entry for Carlos O'Donell,
44919         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44921 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44923         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44925         * sysdeps/unix/sysv/linux/kernel-features.h
44926         [__LINUX_KERNEL_VERSION >= 0x020621]
44927         (__ASSUME_PROC_PID_TASK_COMM): Define.
44929 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44931         [BZ #16398]
44932         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44933         conversion when destination buffer does not have enough space.
44934         * libio/tst-ftell-partial-wide.c: New test case.
44935         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44937         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44938         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44939         Leonard and Allan McRae.
44941 2014-02-04  David S. Miller  <davem@davemloft.net>
44943         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44944         32-bit.
44946 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44949         New file
44950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44951         New file
44952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44953         New file.
44954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44955         New file.
44956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44957         New file.
44958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44959         New file.
44960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44961         New file.
44962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44963         New file.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44965         New file.
44966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44967         New file.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44969         New file.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44971         New file.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44973         New file.
44975 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44977         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44978         * shlib-versions: Likewise.
44980 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44981             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44983         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44984         (abilist-pattern): New variable, set to %-le.abilist.
44986         * Makerules (abilist-pattern): New variable.
44987         (vpath): Use $(abilist-pattern) in place of %.abilist.
44988         (check-abi-% pattern rule): Likewise.
44989         (check-abi, update-abi): Likewise.
44991 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44995 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44997         * manual/startup.texi: Add next, previous, and top entries for
44998         the `Program Arguments' and `Environment Variables' nodes.
45000 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45002         * manual/macros.texi: Add comments before MTASC-safety macros.
45004         * manual/users.texi: Document MTASC-safety properties.
45006         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45007         (pthread_getspecific, pthread_setspecific): Format with
45008         @deftypefun, and add @safety note.
45009         * manual/signal.texi: Move comments that analyze the above
45010         functions to their home place.
45012 2014-02-03  Allan McRae  <allan@archlinux.org>
45014         * po/sl.po: Update Slovenian translation from translation project.
45016 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45018         * manual/time.texi (timegm): Add missing blank after @c.
45019         Reported by Joseph Myers <joseph@codesourcery.com>.
45021 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45023         * manual/check-safety.sh: New.
45024         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45026         * manual/terminal.texi: Document MTASC-safety properties.
45028         * manual/filesys.texi: Document MTASC-safety properties.
45030         * manual/errno.texi: Document MTASC-safety properties.
45032         * manual/intro.texi: Document safety identifiers and
45033         conditionals.
45035         * manual/string.texi (wcstok): Fix prototype.
45036         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45038         * manual/time.texi: Document MTASC-safety properties.
45040         * manual/string.texi: Document MTASC-safety properties.
45042         * manual/threads.texi: Document MTASC-safety properties.
45044         * manual/stdio.texi: Document MTASC-safety properties.
45046         * manual/syslog.texi: Document MTASC-safety properties.
45048         * manual/sysinfo.texi: Document MTASC-safety properties.
45050         * manual/startup.texi: Document MTASC-safety properties.
45052         * manual/socket.texi: Document MTASC-safety properties.
45054         * manual/signal.texi: Document MTASC-safety properties.
45056 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45058         * manual/setjmp.texi: Document MTASC-safety properties.
45060         * manual/search.texi: Document MTASC-safety properties.
45062         * manual/resource.texi: Document MTASC-safety properties.
45064         * manual/process.texi: Document MTASC-safety properties.
45066         * manual/platform.texi: Document MTASC-safety properties.
45068         * manual/pipe.texi: Document MTASC-safety properties.
45070         * manual/pattern.texi: Document MTASC-safety properties.
45072         * manual/message.texi: Document MTASC-safety properties.
45074         [BZ #12751]
45075         * manual/memory.texi: Document MTASC-safety properties.
45077         * manual/math.texi: Document MTASC-safety properties.
45079         * manual/locale.texi: Document MTASC-safety properties.
45081         * manual/llio.texi: Document MTASC-safety properties.
45083         * manual/libdl.texi: New.
45085         * manual/lang.texi: Document MTASC-safety properties.
45087         * manual/job.texi: Document MTASC-safety properties.
45089         * manual/getopt.texi: Document MTASC-safety properties.
45091         * manual/ctype.texi: Document MTASC-safety properties.
45093 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45095         [BZ #16046]
45096         * csu/libc-tls.c (static_map): Remove variable.
45097         (__libc_setup_tls): Use main executable's link map for TLS data.
45098         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45099         casing for LM_ID_BASE and GL(dl_nns).
45100         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45101         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45102         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45103         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45104         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45105         member.
45106         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45107         l_phnum members.
45109 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45111         * manual/debug.texi: Document MTASC-safety properties.
45113 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45115         [BZ #16510]
45116         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45117         of __x86_64__ when disabling x87 inline functions.
45119 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45121         * manual/charset.texi: Document MTASC-safety properties.
45123         * manual/crypt.texi: Document MTASC-safety properties.
45125         * manual/conf.texi: Document MTASC-safety properties.
45127         * manual/arith.texi: Document MTASC-safety properties.
45129         * manual/argp.texi: Document MTASC-safety properties.
45131         * manual/macros.texi: Introduce macros to document multi
45132         thread, asynchronous signal and asynchronous cancellation
45133         safety properties.
45134         * manual/intro.texi: Introduce the properties themselves.
45136 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45138         * sysdeps/sh/sh4/Makefile: New file.
45140 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45142         * math/gen-libm-test.pl ($srcdir): New variable.
45143         ($auto_input): Use it.
45145 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45147         [BZ #16506]
45148         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45149         access beyond array bounds when parsing netgroups file.
45151         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45152         the old buffer before realloc.
45154 2014-01-27  Allan McRae  <allan@archlinux.org>
45156         * po/fr.po: Update French translation from translation project.
45158 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45160         * sysdeps/sh/libm-test-ulps: Regenerate.
45162 2014-01-24  David S. Miller  <davem@davemloft.net>
45164         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45166 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45168         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45169         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45171 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45173         [BZ #16474]
45174         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45175         string pointers after reallocation.
45177 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45179         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45180         __SH4A__ instead of __SH_FPU_ANY__.
45182 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45184         * sysdeps/sh/fpu_control.h: New file.
45185         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45186         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45187         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45188         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45189         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45190         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45191         * sysdeps/sh/sys/ucontext.h: Remove.
45192         * sysdeps/sh/sys: Remove directory.
45194 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45196         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45197         s390/sys/ucontext.h.
45198         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45199         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45201 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45203         [BZ #15605]
45204         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45206 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45208         [BZ#16431]
45209         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45210         Adjust the vDSO correctly for internal calls.
45211         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45213 2014-01-20  Allan McRae  <allan@archlinux.org>
45215         * po/ca.po: Update Catalan translation from translation project.
45217 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45219         * sysdeps/s390/sotruss-lib.c: New file.
45221 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45223         [BZ#16430]
45224         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45225         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45226         local calls issues by not having a PLT stub required for IFUNC calls.
45227         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45229 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45231         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45232         * math/test-fpucw-static.c: Likewise.
45234 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45236         [BZ #16453]
45237         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45239 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45241         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45242         implementation for powerpc.
45244 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45246         [BZ #14782]
45247         * sysdeps/posix/system.c (__libc_system): Do not enable
45248         asynchronous cancellation.
45250 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45252         [BZ #16427]
45253         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45254         handling only for numbers special also in the IEEE case.
45256 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45258         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45260 2014-01-11  Allan McRae  <allan@archlinux.org>
45262         * po/bg.po: Update Bulgarian translation from translation project.
45264         * po/de.po: Update German translation from translation project.
45266 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45268         * sysdeps/generic/gcc-compat.h: New file.
45270 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45272         * benchtests/asin-inputs: Correct slow inputs.
45273         * benchtests/acos-inputs: Likewise.
45275 2014-01-10  Allan McRae  <allan@archlinux.org>
45277         * po:sv.po: Update Swedish translation from translation project.
45279         * po/vi.po: Update Vietnamese translation from translation project.
45281         * po/eo.po: Update Esperanto translation from translation project.
45283         * po/cs.po: Update Czech translation from translation project.
45285         * po/nl.po: Update Dutch translation from translation project.
45287         * po/pl.po: Update Polish translation from translation project.
45289         * po/ru.po: Update Russian translation from translation project.
45291         * po/uk.po: Update Ukrainian translation from translation project.
45293 2014-01-08  Brooks Moses  <bmoses@google.com>
45295         * elf/dl-load.c: Fix comment typo.
45297 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45299         * po/header.pot: Rename to...
45300         * po/pot.header: ... this.
45301         * po/Makefile: Use pot.header.
45303 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45304             Maxim Kuvyrkov  <maxim@kugelworks.com>
45306         [BZ #16394]
45307         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45308         SRC and DEST against LEN.
45310 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45312         [BZ #16414]
45313         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45314         implementation.
45315         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45317 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45321 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45323         [BZ #16408]
45324         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45325         for large positive arguments.
45327 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45329         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45331         * math/auto-libm-test-in: Mark various tests with
45332         xfail-rounding:ldbl-128ibm.
45333         * math/auto-libm-test-out: Regenerated.
45335         [BZ #16407]
45336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45337         Increase overflow threshold.
45339 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45341         [BZ #14286]
45342         * stdio-common/vfprintf.c: Check for integer overflow.
45344 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45346         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45347         the first argument and return value of __tls_get_addr_internal.
45349 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45351         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45352         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45354 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45356         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45357         * sysdeps/s390/rtld-global-offsets.sym: New file.
45358         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45359         GLIBC_2.19 symbol.
45360         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45361         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45362         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45363         ... this.
45364         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45365         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45366         ... this.
45367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45368         Regenerate.
45369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45370         Regenerate.
45371         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45372         halfs of GPRs for high_gprs contexts.
45373         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45374         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45375         field.
45376         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45377         uc_flags field.
45378         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45379         64 bit versions:
45380         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45381         for high GPRs (uc_high_gprs) and for future extensions
45382         (__reserved).
45383         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45384         for future extensions (__reserved).
45385         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45386         64 bit versions:
45387         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45388         SC_HIGHGPRS offset definition.
45389         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45390         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45392         * Versions.def: Add GLIBC_2.19 for libpthread.
45393         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45394         siglongjmp for libpthread with GLIBC_2.19 symver.
45395         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45396         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45397         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45398         * sysdeps/s390/__longjmp.c: New file.
45399         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45400         * sysdeps/s390/longjmp.c: New file.
45401         * sysdeps/s390/setjmp.S: New file.
45402         * sysdeps/s390/sigjmp.S: New file.
45403         * sysdeps/s390/v1-longjmp.c: New file.
45404         * sysdeps/s390/v1-setjmp.h: New file.
45405         * sysdeps/s390/v1-sigjmp.c: New file.
45406         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45407         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45408         GLIBC_2.19 version.
45409         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45410         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45411         versioned symbols for ____longjmp_chk.
45412         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45413         Likewise.
45414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45415         Regenerate.
45416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45417         Regenerate.
45418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45419         Regenerate.
45420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45421         Regenerate.
45422         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45423         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45424         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45425         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45426         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45427         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45428         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45429         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45430         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45431         * sysdeps/s390/rtld-__longjmp.c: New file.
45432         * sysdeps/s390/rtld-setjmp.S: New file.
45434 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45436         [BZ #16400]
45437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45438         Return -__logl (x) for small positive arguments without evaluating
45439         a polynomial.
45441 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45443         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45444         Rename to ...
45445         (__ptrace_peeksiginfo_args): ... this.
45446         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45447         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45448         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45450 2014-01-06  Allan McRae  <allan@archlinux.org>
45452         * inet/netinet/in.h: Fix typo in comment.
45454 2014-01-05  Andreas Jaeger  <aj@suse.de>
45456         * sysdeps/i386/fpu/libm-test-ulps: Update.
45458 2014-01-05  Allan McRae  <allan@archlinux.org>
45460         * po/libc.pot: Regenerated.
45462         * malloc/memusagestat.c: Fix gettext call formatting.
45464 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45466         * nscd/nscd.c: Improve usage() output.
45468 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45470         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45471         * sysdeps/unix/sysv/linux/configure: Regenerated.
45472         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45473         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45475 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45477         [BZ #16390]
45478         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45479         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45481 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45484         extra tokens at end of #undef directive.
45485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45486         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45489 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45491         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45493         * math/auto-libm-test-in: Mark various tests with
45494         xfail-rounding:ldbl-128ibm.
45495         * math/auto-libm-test-out: Regenerated.
45497 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45499         [BZ #16386]
45500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45501         numbers with subnormal high part when calculating exponent.
45503         [BZ #16385]
45504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45505         fabs.
45507         [BZ #16384]
45508         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45509         M_LN2l.
45510         (__ieee754_acoshl): Use __log1pl not __log1p.
45512 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45514         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45515         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45516         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45517         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45518         (reused_arena, arena_get2): Convert to GNU style.
45519         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45520         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45521         (memalign_check, __malloc_set_state): Likewise.
45522         * malloc/mallocbug.c (main): Likewise.
45523         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45524         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45525         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45526         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45527         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45528         (__posix_memalign, malloc_info): Likewise.
45529         * malloc/malloc.h: Likewise.
45530         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45531         (mallochook, memalignhook, reallochook, mabort): Likewise.
45532         * malloc/mcheck.h: Likewise.
45533         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45534         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45535         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45536         * malloc/morecore.c (__default_morecore): Likewise.
45537         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45538         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45539         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45540         (print_and_abort): Likewise.
45541         * malloc/obstack.h: Likewise.
45542         * malloc/set-freeres.c (__libc_freeres): Likewise.
45543         * malloc/tst-mallocstate.c (main): Likewise.
45544         * malloc/tst-mtrace.c (main): Likewise.
45545         * malloc/tst-realloc.c (do_test): Likewise.
45547 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         [BZ #16366]
45550         * nscd/netgroupcache.c (do_notfound): New function.
45551         (addgetnetgrentX): Use it.
45553         [BZ # 16365]
45554         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45555         NSS_STATUS_NOTFOUND.
45557 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45559         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45562 2014-01-01  Allan McRae  <allan@archlinux.org>
45564         * scripts/update-copyrights: Update configure input file suffix.
45566         * NEWS: Update copyright year.
45567         * catgets/gencat.c: Likewise.
45568         * csu/version.c: Likewise.
45569         * debug/catchsegv.sh: Likewise.
45570         * debug/pcprofiledump.c: Likewise.
45571         * debug/xtrace.sh: Likewise.
45572         * elf/ldconfig.c: Likewise.
45573         * elf/ldd.bash.in: Likewise.
45574         * elf/pldd.c: Likewise.
45575         * elf/sotruss.ksh: Likewise.
45576         * elf/sprof.c: Likewise.
45577         * iconv/iconv_prog.c: Likewise.
45578         * iconv/iconvconfig.c: Likewise.
45579         * locale/programs/locale.c: Likewise.
45580         * locale/programs/localedef.c: Likewise.
45581         * login/programs/pt_chown.c: Likewise.
45582         * malloc/memusage.sh: Likewise.
45583         * malloc/memusagestat.c: Likewise.
45584         * malloc/mtrace.pl: Likewise.
45585         * manual/libc.texinfo: Likewise.
45586         * nscd/nscd.c: Likewise.
45587         * nss/getent.c: Likewise.
45588         * nss/makedb.c: Likewise.
45589         * posix/getconf.c: Likewise.
45590         * scripts/test-installation.pl: Likewise.
45592         * All files with FSF copyright notices: Update copyright dates
45593         using scripts/update-copyrights.
45594         * intl/plural.c: Regenerated.
45595         * locale/programs/charmap-kw.h: Likewise.
45596         * locale/programs/locfile-kw.h: Likewise.
45598 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45600         * sysdeps/unix/sysv/linux/configure: Regenerated.
45601         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45602         the linux/fanotify.h header.
45603         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45604         HAVE_LINUX_FANOTIFY_H is defined.
45606 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45608         * benchtests/cos-inputs: New inputs.
45609         * benchtests/sin-inputs: Likewise.
45611         * benchtests/atan-inputs: New inputs. Fix name of multiple
45612         precision fallback inputs.
45614         * benchtests/atanh-inputs: New inputs.
45615         * benchtests/tanh-inputs: Likewise.
45617         * benchtests/acosh-inputs: New inputs.
45618         * benchtests/asinh-inputs: Likewise.
45620         * benchtests/cosh-inputs: New inputs.
45621         * benchtests/sinh-inputs: Likewise.
45623         * benchtests/acos-inputs: Add more inputs.
45624         * benchtests/asin-inputs: Likewise.
45626 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45628         [BZ #16375]
45629         * manual/arith.texi: Fix spelling.
45630         * manual/charset.texi: Likewise.
45631         * manual/errno.texi: Likewise.
45632         * manual/filesys.texi: Likewise.
45633         * manual/lang.texi: Likewise.
45634         * manual/llio.texi: Likewise.
45635         * manual/locale.texi: Likewise.
45636         * manual/message.texi: Likewise.
45637         * manual/resource.texi: Likewise.
45638         * manual/search.texi: Likewise.
45639         * manual/setjmp.texi: Likewise.
45640         * manual/stdio.texi: Likewise.
45641         * manual/string.texi: Likewise.
45642         * manual/sysinfo.texi: Likewise.
45643         * manual/time.texi: Likewise.
45645 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45647         * po/sl.po: New file.
45649 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45651         * .gitignore: Add core/.gdbinit/.gdb_history.
45653 2013-12-27  Allan McRae  <allan@archlinux.org>
45655         [BZ #16369]
45656         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45657         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45659 2013-12-24  Brooks Moses  <bmoses@google.com>
45661         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45662         all compilers that claim C++98 compliance, not just GCC.
45663         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45664         Likewise.
45666 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45668         * NEWS: Restore accidentally deleted bug-fix entries.
45670 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45671             Ondřej Bílka  <neleai@seznam.cz>
45673         [BZ #15073]
45674         * malloc/malloc.c (_int_free): Perform sanity check only if we
45675         have_lock.
45677 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45679         [BZ #12986]
45680         * manual/stdio.texi (String Input Conversions): Clarify that character
45681         classes are not supported.
45683 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45687 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45689         [BZ #16337]
45690         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45691         Calculate results for small negative arguments directly rather
45692         than using reflection formula with special underflow handling.
45694         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45695         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45696         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45697         (fchflags): Likewise.
45698         (revoke): Likewise.
45699         (setlogin): Likewise.
45700         (sigaltstack): Likewise.
45701         (wait4): Likewise.
45702         (sigblock): Remove.
45703         (sigsetmask): Likewise.
45704         (wait3): Likewise.
45705         (waitpid): Likewise.
45706         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45707         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45708         file.
45709         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45710         * sysdeps/unix/bsd/Makefile: ... here.
45711         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45712         * sysdeps/unix/bsd/Versions: ... here.
45713         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45714         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45715         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45716         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45717         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45718         * sysdeps/unix/bsd/sigblock.c: ... here.
45719         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45720         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45721         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45722         * sysdeps/unix/bsd/sigvec.c: ... here.
45723         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45724         * sysdeps/unix/bsd/tcdrain.c: ... here.
45725         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45726         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45727         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45728         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45729         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45730         * sysdeps/unix/bsd/wait.c: ... here.
45731         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45732         * sysdeps/unix/bsd/wait3.c: ... here.
45733         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45734         * sysdeps/unix/bsd/waitpid.c: ... here.
45736 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45738         [BZ #16356]
45739         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45740         round-to-nearest for [!USE_AS_EXPM1L].
45741         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45742         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45743         more tests of exp and exp10.  Expect some exp10 tests to miss
45744         exceptions or fail in directed rounding modes.
45745         * math/auto-libm-test-out: Regenerated.
45746         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45747         (exp10_test_tonearest): New function.
45748         (exp10_towardzero_test_data): New array.
45749         (exp10_test_towardzero): New function.
45750         (exp10_downward_test_data): New array.
45751         (exp10_test_downward): New function.
45752         (exp10_upward_test_data): New array.
45753         (exp10_test_upward): New function.
45754         (main): Call the new functions.
45755         * sysdeps/i386/fpu/libm-test-ulps: Update.
45756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45758 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45760         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45761         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45762         * math/auto-libm-test-out: Regenerated.
45763         * math/libm-test.inc (acosh_test_data): Add more tests.
45764         (atanh_test_data): Likewise.
45765         (ceil_test_data): Likewise.
45766         (copysign_test_data): Likewise.
45767         * sysdeps/i386/fpu/libm-test-ulps: Update.
45768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45770         * timezone/checktab.awk: Update from tzcode 2013i.
45771         * timezone/private.h: Likewise.
45772         * timezone/scheck.c: Likewise.
45773         * timezone/tzfile.h: Likewise.
45774         * timezone/tzselect.ksh: Likewise.
45775         * timezone/zdump.c: Likewise.
45776         * timezone/zic.c: Likewise.
45778         * math/auto-libm-test-in: Add tests of cpow.
45779         * math/auto-libm-test-out: Regenerated.
45780         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45781         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45782         mpc_cc_c.
45783         (func_calc_desc): Add mpc_cc_c union field.
45784         (test_functions): Add cpow.
45785         (special_fill_2pi): New function.
45786         (special_real_inputs): Add 2pi.
45787         (calc_generic_results): Handle mpc_cc_c.
45788         * sysdeps/i386/fpu/libm-test-ulps: Update.
45789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45791         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45792         csqrt, ctan and ctanh.
45793         * math/auto-libm-test-out: Regenerated.
45794         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45795         (TEST_COND_x86): Likewise.
45796         (ccos_test_data): Use AUTO_TESTS_c_c.
45797         (ccosh_test_data): Likewise.
45798         (cexp_test_data): Likewise.
45799         (clog_test_data): Likewise.
45800         (csqrt_test_data): Likewise.
45801         (ctan_test_data): Likewise.
45802         (ctan_tonearest_test_data): Likewise.
45803         (ctan_towardzero_test_data): Likewise.
45804         (ctan_downward_test_data): Likewise.
45805         (ctan_upward_test_data): Likewise.
45806         (ctanh_test_data): Likewise.
45807         (ctanh_tonearest_test_data): Likewise.
45808         (ctanh_towardzero_test_data): Likewise.
45809         (ctanh_downward_test_data): Likewise.
45810         (ctanh_upward_test_data): Likewise.
45811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45812         mpc_c_c.
45813         (func_calc_desc): Add mpc_c_c union field.
45814         (FUNC_mpc_c_c): New macro.
45815         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45816         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45817         ctanh.
45818         (special_fill_min_subnorm_p120): New function.
45819         (special_real_inputs): Add min_subnorm_p120.
45820         (calc_generic_results): Handle mpc_c_c.
45821         * sysdeps/i386/fpu/libm-test-ulps: Update.
45822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45824 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45826         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45827         (do_sin_slow): New functions.
45828         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45829         (cslow2, csloww1, csloww2): Use the new functions.
45831         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45832         Use M to change sign of result instead of X.  Assume X is
45833         positive.
45834         (csloww1): Likewise.
45835         (__sin): Adjust.
45836         (__cos): Adjust.
45838         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45839         arguments A and DA.
45840         (__sin): Adjust.
45841         (__cos): Likewise.
45843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45844         (__cos): Likewise.
45845         (sloww1): Don't adjust sign of DX.
45846         (csloww1): Likewise.
45847         (sloww2): Use X directly and don't adjust sign of DX.
45848         (csloww2): Likewise.
45850 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45852         * math/auto-libm-test-in: Add tests of cabs and carg.
45853         * math/auto-libm-test-out: Regenerated.
45854         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45855         (carg_test_data): Likewise.
45856         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45857         mpc_c_f.
45858         (func_calc_desc): Add mpc_c_f union field.
45859         (test_functions): Add cabs and carg.
45860         (calc_generic_results): Handle mpc_c_f.
45862         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45863         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45864         as a macro and a compat symbol.
45865         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45866         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45867         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45868         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45869         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45870         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45871         not use .hidden.
45872         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45873         Likewise.
45874         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45875         Likewise.
45876         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45877         Likewise.
45878         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45879         Likewise.
45880         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45881         Likewise.
45882         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45883         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45884         from GLIBC_2.3.2.
45886 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45890 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45892         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45893         trailing whitespace removed.
45894         * scripts/config.guess: Update to version 2013-11-29.
45895         * scripts/config.sub: Update to version 2013-10-01.
45897         * math/auto-libm-test-in: Add tests of sincos.
45898         * math/auto-libm-test-out: Regenerated.
45899         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45901         mpfr_f_11.
45902         (func_calc_desc): Add mpfr_f_11 union field.
45903         (test_functions): Add sincos.
45904         (calc_generic_results): Handle mpfr_f_11.
45905         * sysdeps/i386/fpu/libm-test-ulps: Update.
45906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45908 2013-12-19  Andreas Schwab  <schwab@suse.de>
45910         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45911         CALL_MCOUNT.
45912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45914         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45916 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45918         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45919         * sysdeps/i386/fpu/libm-test-ulps: Update.
45920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45922         [BZ #16293]
45923         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45924         round-to-nearest mode when using frndint.
45925         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45926         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45927         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45928         Likewise.
45929         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45930         sinh test to fail.
45931         * math/auto-libm-test-out: Regenerated.
45932         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45933         (TEST_COND_x86): Likewise.
45934         (expm1_tonearest_test_data): New array.
45935         (expm1_test_tonearest): New function.
45936         (expm1_towardzero_test_data): New array.
45937         (expm1_test_towardzero): New function.
45938         (expm1_downward_test_data): New array.
45939         (expm1_test_downward): New function.
45940         (expm1_upward_test_data): New array.
45941         (expm1_test_upward): New function.
45942         (main): Run the new test functions.
45943         * sysdeps/i386/fpu/libm-test-ulps: Update.
45944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45946         * include/features.h: Update comment documenting feature test
45947         macros.  Mention _DEFAULT_SOURCE in comment.
45948         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45949         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45950         _BSD_SOURCE and _SVID_SOURCE.
45951         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45952         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45953         !_SVID_SOURCE]: Likewise.
45954         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45955         (__USE_POSIX_IMPLICITLY): Define.
45956         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45957         (_POSIX_SOURCE): Undefine and redefine.
45958         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45959         (_POSIX_C_SOURCE): Likewise.
45960         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45961         (Feature Test Macros): Update documentation of default features.
45963 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45965         * benchtests/Makefile: Add bench-strtok.
45966         * benchtests/bench-strtok.c: New file: strtok benchtest.
45968 2013-12-19  Allan McRae  <allan@archlinux.org>
45970         * manual/install.texi: Suppress menu for plain text output.
45971         * INSTALL: Regenerated.
45973 2013-12-18  Brooks Moses  <bmoses@google.com>
45975         [BZ #15846]
45976         * misc/getauxval.c: Include errno.h.
45977         (__getauxval): Set errno to ENOENT if the requested type is not
45978         found.
45979         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45980         don't declare with __attribute_const__.
45981         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45982         * manual/startup.texi: Document that getauxval sets errno.
45984 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45986         * math/auto-libm-test-in: Add tests of jn and yn.
45987         * math/auto-libm-test-out: Regenerated.
45988         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45989         (yn_test_data): Likewise.
45990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45991         mpfr_if_f.
45992         (func_calc_desc): Add mpfr_if_f union field.
45993         (FUNC_mpfr_if_f): New macro.
45994         (test_functions): Add jn and yn.
45995         (calc_generic_results): Assert type of second input for
45996         mpfr_ff_f.  Handle mpfr_if_f.
45997         (output_for_one_input_case): Disable all checking for arguments
45998         fitting floating-point types in case of an integer argument.
45999         * sysdeps/i386/fpu/libm-test-ulps: Update.
46000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46003         Don't expect fegetround reference in libm.so.
46005 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46007         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46008         $(config-cflags-nofma).
46010 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46012         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46013         * math/auto-libm-test-out: Regenerated.
46015         [BZ #16338]
46016         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46017         to determine exponent and adjust argument to have exponent of -1.
46018         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46019         log2.
46020         * math/auto-libm-test-out: Regenerated.
46021         * sysdeps/i386/fpu/libm-test-ulps: Update.
46022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46024 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46026         * manual/probes.texi: Remove cases when per-thread arenas are
46027         disabled.
46029 2013-12-18  Andreas Schwab  <schwab@suse.de>
46031         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46032         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46033         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46034         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46035         * sysdeps/i386/i686/multiarch/Makefile: Update.
46036         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46038 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46040         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46041         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46043 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46045         [BZ #15968]
46046         Support TZ transition times < 00:00:00.
46047         This is needed for version-3 tz-format files; it supports time
46048         stamps past 2037 for America/Godthab (the only entry in the tz
46049         database for which this change is relevant).
46050         * manual/time.texi (TZ Variable): Document transition times
46051         from -167:59:59 through -00:00:01.
46052         * time/tzset.c (tz_rule): Time of day is now signed.
46053         (__tzset_parse_tz): Parse negative time of day.
46055         Document TZ transition times >= 25:00:00.
46056         * manual/time.texi (TZ Variable): Document transition times from
46057         25:00:00 through 167:59:59.  These are already supported, and this
46058         support will help with version-3 tz-format files.
46060         * manual/time.texi (TZ Variable): Modernize North America example
46061         to reflect current (i.e., 2007-and-later) daylight saving rules.
46063         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46065 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46067         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46068         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46070         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46071         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46072         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46073         * sysdeps/unix/bsd/clock.c: Likewise.
46074         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46075         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46076         * sysdeps/unix/bsd/init-posix.c: Likewise.
46077         * sysdeps/unix/bsd/poll.c: Likewise.
46078         * sysdeps/unix/bsd/ptsname.c: Likewise.
46079         * sysdeps/unix/bsd/seekdir.c: Likewise.
46080         * sysdeps/unix/bsd/setegid.c: Likewise.
46081         * sysdeps/unix/bsd/seteuid.c: Likewise.
46082         * sysdeps/unix/bsd/setgid.c: Likewise.
46083         * sysdeps/unix/bsd/setrgid.c: Likewise.
46084         * sysdeps/unix/bsd/setruid.c: Likewise.
46085         * sysdeps/unix/bsd/setsid.c: Likewise.
46086         * sysdeps/unix/bsd/setuid.c: Likewise.
46087         * sysdeps/unix/bsd/sigaction.c: Likewise.
46088         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46089         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46090         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46091         * sysdeps/unix/bsd/telldir.c: Likewise.
46092         * sysdeps/unix/bsd/times.c: Likewise.
46093         * sysdeps/unix/bsd/usleep.c: Likewise.
46095         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46096         ($(objpfx)libbsd-compat.a): Remove rule.
46098         * include/features.h (__FAVOR_BSD): Do not define.
46099         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46100         features conflicting with POSIX.
46101         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46102         (_BSD_SOURCE): Remove description of not being a subset of other
46103         feature test macros.
46104         * manual/job.texi (getpgrp): Do not document BSD version.
46105         (getpgid): Do not document by reference to BSD getpgrp.
46106         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46107         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46108         * signal/signal.h [__FAVOR_BSD]: Likewise.
46109         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46110         instead of making contents conditional on [__FAVOR_BSD].
46111         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46113 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46117 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46119         [BZ #16314]
46120         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46121         values below 2**-450, not 2**-500.
46122         * math/auto-libm-test-in: Don't allow spurious underflow from
46123         hypot.
46124         * math/auto-libm-test-out: Regenerated.
46126         [BZ #16316]
46127         [BZ #16330]
46128         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46129         values of ha and hb and sort them after adjusting subnormal
46130         arguments.
46131         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46132         Likewise.
46133         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46134         values of ea and eb and sort them after adjusting subnormal
46135         arguments.
46136         * math/auto-libm-test-in: Do not expect some hypot tests of
46137         subnormals to fail.  Add more hypot tests.
46138         * math/auto-libm-test-out: Regenerated.
46140 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46142         [BZ #13304]
46143         * sysdeps/sh/s_fma.c: New file.
46144         * sysdeps/sh/s_fmaf.c: New file.
46145         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46146         version.
46147         * sysdeps/sh/Implies: Add sh/soft-fp.
46149 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46151         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46152         level of indirection to members `objname', `errstring', `malloced'.
46153         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46154         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46155         it as the __longjmp argument (just pass 1 instead).
46156         (_dl_catch_error): Initialize C with argument pointers and address of
46157         volatile local ERRCODE rather than copying values out of C at return.
46159 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46161         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46162         * math/auto-libm-test-out: Regenerated.
46163         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46164         (hypot_test_data): Likewise.
46165         (pow_test_data): Likewise.
46166         (pow_tonearest_test_data): Likewise.
46167         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46168         mpfr_ff_f.
46169         (func_calc_desc): Add mpfr_ff_f union field.
46170         (FUNC_mpfr_ff_f): New macro.
46171         (test_functions): Add atan2, hypot and pow.
46172         (special_fill_min): New function.
46173         (special_fill_minus_min): Likewise.
46174         (special_fill_min_subnorm): Likewise.
46175         (special_fill_minus_min_subnorm): Likewise.
46176         (special_real_inputs): Add min, -min, min_subnorm and
46177         -min_subnorm.
46178         (calc_generic_results): Handle mpfr_ff_f.
46179         * sysdeps/i386/fpu/libm-test-ulps: Update.
46180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46182 2013-12-16  Will Newton  <will.newton@linaro.org>
46184         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46185         (Aligned Memory Blocks): Add documentation for aligned_alloc
46186         and suggest it as an alternative to posix_memalign.
46187         (Hooks for Malloc): Document __memalign_hook is also called
46188         for aligned_alloc.  (Summary of Malloc): Add summary for
46189         aligned alloc.  Document __memalign_hook is also called
46190         for aligned_alloc.
46192 2013-12-16  Will Newton  <will.newton@linaro.org>
46194         * manual/memory.texi (Malloc Examples): Clarify default
46195         alignment documentation.  Suggest posix_memalign rather
46196         than memalign or valloc.
46197         (Aligned Memory Blocks): Remove suggestion to use memalign
46198         or valloc.  Remove obsolete comment about BSD.
46199         Document memalign errno values and mark the function obsolete.
46200         Document posix_memalign returned error codes.  Mark valloc
46201         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46202         called for posix_memalign and valloc.
46203         (Summary of Malloc): Add posix_memalign to function summary.
46204         __memalign_hook is also called for posix_memalign and valloc.
46206 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46208         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46209         TAYLOR_SIN.
46210         (__sin): Adjust.
46211         (__cos): Likewise.
46212         (sloww): Use mynumber union.  Expand ternary operator into
46213         if-else statements.
46214         (cslow): use mynumber union.
46216 2013-12-16  Allan McRae  <allan@archlinux.org>
46218         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46219         * configure: Regenerated.
46221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46223         [BZ #14120]
46224         * configure.ac: Added --enable-maintainer-mode. Check for
46225         autoconf when enabled.
46226         * configure: Regenerated.
46228         * nscd/nscd.service: New file.
46229         * nscd/nscd.tmpfiles: New file.
46231 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46233         [BZ #12100]
46234         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46235         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46236         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46237         (strstr): Add __strstr_sse2_unaligned ifunc.
46238         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46239         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46240         (strcasestr): Remove __strcasestr_sse42 ifunc.
46241         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46245 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46247         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46248         * sysdeps/sh/bits/fenv.h: ... here.
46249         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46251 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46253         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46256         hypotf multiarch implementations.
46257         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46260         multiarch hypot for PPC64.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46263         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46264         multiarch hypotf for PPC64.
46266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46267         modff multiarch implementations.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46271         multiarch modf for PPC64.
46272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46275         multiarch modff for PPC64.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46278         and logl multiarch implementations.
46279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46282         multiarch logb for PPC64.
46283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46286         multiarch logb for PPC64.
46287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46290         multiarch logb for PPC64.
46292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46293         isinff multiarch implementation.
46294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46295         file.
46296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46298         multiarch isinf for PPC64.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46300         file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46302         multiarch isinff for PPC64.
46304         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46305         finitef multiarch implementation.
46306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46307         file.
46308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46310         multiarch finite for PPC64.
46311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46312         file.
46313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46314         multiarch finitef for PPC64.
46316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46317         lrint multiarch implementation.
46318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46319         file.
46320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46322         multiarch llrint for PPC64.
46323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46324         multiarch lrint for PPC64.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46327         copysignf multiarch implementation.
46328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46329         file.
46330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46331         file.
46332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46333         multiarch copysign for PPC64.
46334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46335         multiarch copysignf for PPC64.
46337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46338         multiarch implementation.
46339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46340         file.
46341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46342         file.
46343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46344         file.
46345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46346         file.
46347         multiarch llround for PPC64.
46348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46349         multiarch trunc for PPC64.
46350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46351         multiarch truncf for PPC64.
46353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46354         multiarch implementation.
46355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46356         file.
46357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46358         file.
46359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46360         file.
46361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46362         file.
46363         multiarch llround for PPC64.
46364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46365         multiarch round for PPC64.
46366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46367         multiarch roundf for PPC64.
46369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46370         multiarch implementation.
46371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46372         file.
46373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46374         file.
46375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46376         file.
46377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46378         file.
46379         multiarch llround for PPC64.
46380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46381         multiarch floor for PPC64.
46382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46383         multiarch floorf for PPC64.
46385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46386         multiarch implementation.
46387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46388         file.
46389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46390         file.
46391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46392         file.
46393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46394         file.
46395         multiarch llround for PPC64.
46396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46397         multiarch ceil for PPC64.
46398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46399         multiarch ceilf for PPC64.
46401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46402         multiarch implementation.
46403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46404         file.
46405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46406         file.
46407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46408         file.
46409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46410         multiarch llround for PPC64.
46411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46412         multiarch lround for PPC64.
46414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46415         multiarch implementation.
46416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46419         file.
46420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46423         multiarch isnan for PPC64.
46424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46425         multiarch isnanf for PPC64.
46427         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46428         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46429         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46430         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46431         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46434         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46440         multiarch implementations.
46441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46442         (__libc_ifunc_impl_list): Likewise.
46443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46446         multiarch stpcpy for PPC64.
46448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46449         multiarch implementations.
46450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46451         (__libc_ifunc_impl_list): Likewise.
46452         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46453         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46454         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46455         multiarch strcpy for PPC64.
46457         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46458         redefine function name.
46459         (_wordcopy_fwd_dest_aligned): Likewise.
46460         (_wordcopy_bwd_aligned): Likewise.
46461         (_wordcopy_bwd_dest_aligned): Likewise.
46462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46463         multiarch implementations.
46464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46465         (__libc_ifunc_impl_list): Likewise.
46466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46467         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46469         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46470         multiarch wcscpy for PPC64.
46472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46473         multiarch implementations.
46474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46475         (__libc_ifunc_impl_list): Likewise.
46476         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46477         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46478         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46479         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46480         multiarch wcscpy for PPC64.
46482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46483         multiarch implementations.
46484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46485         (__libc_ifunc_impl_list): Likewise.
46486         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46487         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46488         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46489         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46490         multiarch wcsrchr for PPC64.
46492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46493         multiarch implementations.
46494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46495         (__libc_ifunc_impl_list): Likewise.
46496         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46497         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46498         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46499         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46500         multiarch wcschr for PPC64.
46502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46503         multiarch implementations.
46504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46505         (__libc_ifunc_impl_list): Likewise.
46506         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46507         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46508         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46509         multiarch strchrnul for PPC64.
46511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46512         implementations.
46513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46514         (__libc_ifunc_impl_list): Likewise.
46515         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46516         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46517         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46518         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46519         strchr for PPC64.
46521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46522         implementations.
46523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46524         (__libc_ifunc_impl_list): Likewise.
46525         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46526         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46527         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46528         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46529         strncmp for PPC64.
46531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46532         multiarch implementations.
46533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46534         (__libc_ifunc_impl_list): Likewise.
46535         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46536         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46537         strncasecmp for PPC64.
46538         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46539         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46540         multiarch strncasecmp_l for PPC64.
46542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46543         multiarch implementations.
46544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46545         (__libc_ifunc_impl_list): Likewise.
46546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46547         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46548         multiarch strcasecmp for PPC64.
46549         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46550         file.
46551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46552         multiarch strcasecmp_l for PPC64.
46554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46555         implementations.
46556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46557         (__libc_ifunc_impl_list): Likewise.
46558         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46559         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46560         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46561         strnlen for PPC64.
46563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46564         implementations.
46565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46566         (__libc_ifunc_impl_list): Likewise.
46567         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46568         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46569         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46570         strlen for PPC64.
46572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46573         implementations.
46574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46575         (__libc_ifunc_impl_list): Likewise.
46576         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46577         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46578         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46579         rawmemrchr for PPC64.
46581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46582         implementation.
46583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46584         (__libc_ifunc_impl_list): Likewise.
46585         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46586         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46587         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46588         memrchr for PPC64.
46590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46591         implementation.
46592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46593         (__libc_ifunc_impl_list): Likewise.
46594         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46595         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46596         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46597         memchr for PPC64.
46599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46600         implementation.
46601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46602         (__libc_ifunc_impl_list): Likewise.
46603         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46604         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46605         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46606         mempcpy for PPC64.
46608         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46609         avoid cretion of __bzero symbol.
46610         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46611         Likewise.
46612         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46613         Likewise.
46614         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46615         Likewise.
46616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46617         multiarch implementations.
46618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46619         (__libc_ifunc_impl_list): Likewise.
46620         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46621         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46622         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46623         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46624         bzero for PPC32.
46625         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46626         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46627         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46628         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46629         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46630         memset for PPC64.
46631         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46633         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46635         implementations.
46636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46637         (__libc_ifunc_impl_list): Likewise.
46638         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46639         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46640         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46641         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46642         memcmp for PPC64.
46644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46645         multiarch for POWER/PPC64.
46646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46647         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46648         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46649         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46650         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46651         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46653         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46654         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46655         memcpy for PPC64.
46657         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46658         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46659         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46660         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46661         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46662         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46663         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46664         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46665         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46666         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46667         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46668         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46669         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46670         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46671         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46680 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46682         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46684 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46686         * benchtests/Makefile (bench): Add exp2 and log2.
46687         (LDLIBS-bench-exp2): Add -lm.
46688         (LDLIBS-bench-log2): Likewise.
46689         * benchtests/exp2-inputs: New inputs file.
46690         * benchtests/log2-inputs: New inputs file.
46691         * benchtests/log-inputs: Add new inputs.
46692         * benchtests/tan-inputs: Likewise.
46694 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46696         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46697         definition...
46698         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46699         (csloww2): ... from here.
46701         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46702         instead of structures.
46703         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46704         (POLYNOMIAL): Likewise.
46705         (TAYLOR_SLOW): Likewise.
46706         (__sin): Likewise.
46707         (__cos): Likewise.
46708         (slow1): Likewise.
46709         (slow2): Likewise.
46710         (sloww): Likewise.
46711         (sloww1); Likewise.
46712         (sloww2): Likewise.
46713         (bsloww1): Likewise.
46714         (bsloww2): Likewise.
46715         (cslow2): Likewise.
46716         (csloww): Likewise.
46717         (csloww1): Likewise.
46718         (csloww2): Likewise.
46720 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46722         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46723         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46724         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46725         * malloc/hooks.c (realloc_check): Likewise.
46727         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46728         * malloc/arena.c: Remove PER_THREAD conditional.
46729         [!PER_THREAD]: Remove code.
46730         (ptmalloc_unlock_all2): Likewise.
46731         (ptmalloc_init): Likewise.
46732         (_int_new_arena): Likewise.
46733         (arena_get2): Likewise.
46734         * malloc/hooks.c (__malloc_get_state): Likewise.
46735         (__malloc_set_state): Likewise.
46736         * malloc/malloc.c: Likewise.
46737         (struct malloc_state): Likewise.
46738         (struct malloc_par): Likewise.
46739         (__libc_realloc): Likewise.
46740         (__libc_mallopt): Likewise.
46742 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46744         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46746 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46748         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46749         macro to a function.  Check for zero perturb_byte.
46750         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46752         * malloc/malloc.c: (force_reg): Remove.
46753         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46754         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46755         force_reg by atomic_forced_read.
46756         * malloc/arena.c (ptmalloc_init): Likewise.
46757         * malloc/hooks.c (top_check): Likewise.
46759 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46763 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46767 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46769         * math/auto-libm-test-in: Add tests of lgamma.
46770         * math/auto-libm-test-out: Regenerated.
46771         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46772         (M_LOG_2_SQRT_PIl): Likewise.
46773         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46774         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46775         mpfr_f_f1.
46776         (func_calc_desc): Add mpfr_f_f1 union field.
46777         (ARGS1): New macro.
46778         (ARGS2): Likewise.
46779         (ARGS3): Likewise.
46780         (ARGS4): Likewise.
46781         (RET1): Likewise.
46782         (RET2): Likewise.
46783         (CALC): Likewise.
46784         (FUNC): Likewise.
46785         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46786         (test_functions): Add lgamma.
46787         (calc_generic_results): Handle mpfr_f_f1.
46788         * sysdeps/i386/fpu/libm-test-ulps: Update.
46789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46791 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46793         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46794         __mpn_add_n for PowerPC64/POWER7.
46795         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46796         __mpn_sub_n for PowerPC64/POWER7.
46798         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46799         __mpn_addmul_1 for PowerPC64.
46800         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46801         __mpn_submul_1 for PowerPC64.
46802         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46803         for PowerPC64.
46804         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46805         for PowerPC64.
46807 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46809         [BZ #15089]
46810         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46812 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46814         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46816         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46817         add multiarch folders.
46818         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46819         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46820         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46821         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46822         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46823         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46824         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46825         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46826         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46827         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46828         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46837         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46839         New file.
46840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46841         New file.
46842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46843         multiarch __ieee754_hypot for PowerPC32.
46844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46845         New file.
46846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46847         New file.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46849         multiarch __ieee754_hypotf for PowerPC32.
46851         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46852         long_double_symbol only if __logbl is defined.
46853         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46854         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46856         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46858         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46859         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46860         path for implementation.
46861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46862         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46864         logb, and logbl multiarch implementations for PowerPC32.
46865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46866         file.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46868         file.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46870         multiarch logb for PowerPC32.
46871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46872         file.
46873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46874         file.
46875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46876         multiarch logbf for PowerPC32.
46877         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46879         file.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46881         multiarch logbl implementation for PowerPC32.
46883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46884         and modff multiarch implementations.
46885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46886         New file.
46887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46888         New file.
46889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46890         multiarch modf for PowerPC32.
46891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46892         New file.
46893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46894         New file.
46895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46896         multiarch modff for PowerPC32.
46898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46899         and lrintf multiarch implementations.
46900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46901         New file.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46903         New file.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46905         multiarch lrint for PowerPC32.
46906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46907         file: multiarch lrintf for PowerPC32.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46910         and lroundf multiarch implementations.
46911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46912         New file.
46913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46914         New file.
46915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46916         New file.
46917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46918         multiarch lround for PowerPC32.
46919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46920         file: multiarch lroundf for PowerPC32.
46922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46923         copysign and copysignf multiarch implementations.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46925         New file.
46926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46927         New file.
46928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46929         file: multiarch copysign for PowerPC32.
46930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46931         file: multiarch copysignf for PowerPC32.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46934         and truncf multiarch implementations.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46936         New file.
46937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46938         file.
46939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46940         multiarch trunc for PowerPC32.
46941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46942         New file.
46943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46944         New file.
46945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46946         multiarch truncf for PowerPC32.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46949         and roundf multiarch implementations.
46950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46951         New file.
46952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46953         file.
46954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46955         multiarch round for PowerPC32.
46956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46957         New file.
46958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46959         New file.
46960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46961         multiarch roundf for PowerPC32.
46963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46964         and floorf multiarch implementations.
46965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46966         New file.
46967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46968         file.
46969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46970         multiarch floor for PowerPC32.
46971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46972         New file.
46973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46974         New file.
46975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46976         multiarch floorf for PowerPC32.
46978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46979         and ceilf multiarch implementations.
46980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46981         New file.
46982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46983         file.
46984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46985         multiarch ceil for PowerPC32.
46986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46987         New file.
46988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46989         file.
46990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46991         multiarch ceilf for PowerPC32.
46993         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46994         is defined.
46995         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46996         FINITEF is defined.
46997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46998         and finitef multiarch implementations.
46999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47000         New file.
47001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47002         file.
47003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47004         multiarch finite for PowerPC32.
47005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47006         New file.
47007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47008         file: multiarch finitef for PowerPC32.
47010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47011         and isinff multiarch implementations.
47012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47013         file.
47014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47015         file.
47016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47017         multiarch isinf for PowerPC32.
47018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47019         New file.
47020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47021         multiarch isinff for PowerPC32.
47023         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47024         alias when __isnan is defined.
47025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47026         and isnanf multiarch implementations.
47027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47028         file.
47029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47030         file.
47031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47032         file.
47033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47034         file.
47035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47036         multiarch isnan for PowerPC32.
47037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47038         New file.
47039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47040         New file.
47041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47042         multiarch isnanf for PowerPC32.
47044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47045         and sqrtf multiarch implementations.
47046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47047         file.
47048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47049         file.
47050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47051         multiarch sqrt for PowerPC32.
47052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47053         file.
47054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47055         file.
47056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47057         multiarch sqrtf for PowerPC32.
47059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47060         and llroundf multiarch implementations.
47061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47062         New file.
47063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47064         New file.
47065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47066         New file.
47067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47068         file: multiarch llround for PowerPC32.
47069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47070         file: multiarch llroundf for PowerPC32.
47072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47073         multiarch PowerPC32 fpu implementations.
47074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47075         New file.
47076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47077         New file.
47078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47079         multiarch llrint for PowerPC32.
47080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47081         New file.
47082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47083         New file.
47084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47085         file.
47087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47089         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47090         file.
47091         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47092         file.
47093         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47094         file.
47095         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47096         multiarch wordcopy for PPC32.
47097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47098         wordcopy objects.
47099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47100         (__libc_ifunc_impl_list): Likewise.
47101         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47102         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47104         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47105         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47106         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47108         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47110         file.
47111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47112         file.
47113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47114         file.
47115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47116         multiarch wcscpy for PPC32.
47117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47118         multiarch objects.
47119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47120         (__libc_ifunc_impl_list): Likewise.
47121         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47122         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47123         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47124         sysdeps/powerpc/power6/wcscpy.c.
47126         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47128         file.
47129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47130         file.
47131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47132         file.
47133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47134         multiarch wcsrchr for PPC32.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47136         multiarch objects.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47138         (__libc_ifunc_impl_list): Likewise.
47139         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47140         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47141         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47142         sysdeps/powerpc/power6/wcsrchr.c.
47144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47145         file.
47146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47147         file.
47148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47150         multiarch wcschr for PPc32.
47151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47152         multiarch objects.
47153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47154         (__libc_ifunc_impl_list): Likewise.
47155         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47156         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47157         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47158         sysdeps/powerpc/power6/wcschr.c.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47161         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47162         file.
47163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47164         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47165         file: multiarch strchr for PPC32.
47166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47167         multiarch objects.
47168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47169         (__libc_ifunc_impl_list): Likewise.
47171         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47172         name.
47173         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47174         file.
47175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47176         file.
47177         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47178         multiarch strchrnul for PPC32.
47179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47180         multiarch objects.
47181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47182         (__libc_ifunc_impl_list): Likewise.
47184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47185         file.
47186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47187         multiarch strncasecmp for PPC32.
47188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47189         file.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47191         multiarch strncasecmp_l for PPC32.
47192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47193         strncasecmp multiarch objects.
47194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47195         (__libc_ifunc_impl_list): Likewise.
47197         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47198         file.
47199         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47200         multiarch strncasecmp for PPC32.
47201         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47202         New file.
47203         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47204         multiarch strcasecmp_l for PPC32.
47205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47206         multiarch objects.
47207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47208         (__libc_ifunc_impl_list): Likewise.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47211         file.
47212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47213         file.
47214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47215         multiarch strncmp for PPC32.
47216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47217         multiarch objects.
47218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47219         (__libc_ifunc_impl_list): Likewise.
47221         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47222         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47223         file.
47224         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47225         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47227         multiarch objects.
47228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47229         (__libc_ifunc_impl_list): Likewise.
47231         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47232         file.
47233         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47234         file.
47235         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47237         multiarch objects.
47238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47239         (__libc_ifunc_impl_list): Likewise.
47241         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47242         file.
47243         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47244         file.
47245         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47246         multiarch rawmemchr for PPC32.
47247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47248         multiarch objects.
47249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47250         (__libc_ifunc_impl_list): Likewise.
47252         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47253         file.
47254         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47255         file.
47256         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47257         file: memrchr multiarch for PPC32.
47258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47259         multiarch objects.
47260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47261         (__libc_ifunc_impl_list): Likewise.
47263         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47264         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47265         file.
47266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47268         multiarch memchr for PPC32.
47269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47270         multiarch objects.
47271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47272         (__libc_ifunc_impl_list): Likewise.
47274         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47275         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47276         file.
47277         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47278         file.
47279         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47280         file: multiarch mempcpy for PPC32.
47281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47282         multiarch objects.
47283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47284         (__libc_ifunc_impl_list): Likewise.
47286         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47287         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47288         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47290         multiarch bzero for PPC32.
47291         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47292         file.
47293         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47294         file.
47295         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47296         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47297         file: multiarch memset for PPC32.
47298         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47300         memset multiarch objects.
47301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47302         (__libc_ifunc_impl_list): Likewise.
47304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47305         file.
47306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47308         memcmp for PPC32.
47309         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47311         multiarch objects.
47312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47313         (__libc_ifunc_impl_list): Likewise.
47315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47317         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47318         file.
47319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47320         file.
47321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47322         file.
47323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47324         multiarch memcpy for PPC32.
47325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47326         multiarch objects.
47327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47328         (__libc_ifunc_impl_list): Likewise.
47330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47331         support multiarch for POWER/PPC32.
47332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47333         Likewise.
47334         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47336         Implies file to make multiarch folder appers before the fpu and
47337         default folder for power4 configuration.
47339 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47341         * scripts/bench.pl: Append volatile keyword to type.
47343 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47345         * sysdeps/sh/sotruss-lib.c: New file.
47346         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47348 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47352 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47354         [BZ #6810]
47355         * math/w_tgamma.c: Include <errno.h>.
47356         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47357         * math/w_tgammaf.c: Include <errno.h>.
47358         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47359         * math/w_tgammal.c: Include <errno.h>.
47360         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47361         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47362         underflow.  Add more tgamma tests.
47363         * math/auto-libm-test-out: Regenerated.
47364         * sysdeps/i386/fpu/libm-test-ulps: Update.
47365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47367         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47368         sin, sinh, tan, tanh, tgamma, y0 and y1.
47369         * math/auto-libm-test-out: Regenerated.
47370         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47371         (TEST_COND_x86): Likewise.
47372         (M_E2l): Remove macro.
47373         (M_E3l): Likewise.
47374         (M_2_SQRT_PIl): Likewise.
47375         (M_SQRT_PIl): Likewise.
47376         (M_1_DIV_El): Likewise.
47377         (log_test_data): Use AUTO_TESTS_f_f.
47378         (log10_test_data): Likewise.
47379         (log1p_test_data): Likewise.
47380         (log2_test_data): Likewise.
47381         (sin_test_data): Likewise.
47382         (sin_tonearest_test_data): Likewise.
47383         (sin_towardzero_test_data): Likewise.
47384         (sin_downward_test_data): Likewise.
47385         (sin_upward_test_data): Likewise.
47386         (sinh_test_data): Likewise.
47387         (sinh_tonearest_test_data): Likewise.
47388         (sinh_towardzero_test_data): Likewise.
47389         (sinh_downward_test_data): Likewise.
47390         (sinh_upward_test_data): Likewise.
47391         (tan_test_data): Likewise.
47392         (tan_tonearest_test_data): Likewise.
47393         (tan_towardzero_test_data): Likewise.
47394         (tan_downward_test_data): Likewise.
47395         (tan_upward_test_data): Likewise.
47396         (tanh_test_data): Likewise.
47397         (tgamma_test_data): Likewise.
47398         (y0_test_data): Likewise.
47399         (y1_test_data): Likewise.
47400         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47401         (special_real_inputs): Add pi/4.
47402         * sysdeps/i386/fpu/libm-test-ulps: Update.
47403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47405 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47407         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47408         "longjmp_target" static probes.
47409         (__longjmp): Rename to __longjmp_symbol.
47410         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47411         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47412         on which longjmp to generate.
47413         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47414         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47415         probe.
47416         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47417         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47418         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47419         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47420         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47421         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47423         __longjmp_symbol based on which __longjmp to generate.
47424         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47425         probe.
47426         (setjmp): Rename to setjmp_symbol.
47427         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47428         (_setjmp): Rename to _setjmp_symbol.
47429         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47430         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47431         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47432         which setjmp to generate.
47433         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47434         "longjmp_target" static probes.
47436 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47438         * benchtests/README: Add note about output arguments.
47439         * benchtests/bench-sincos.c: Remove file.
47440         * benchtests/sincos-inputs: New file.
47441         * scripts/bench.pl: Identify output arguments and define
47442         static variables for them.
47444         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47446         [BZ #15941]
47447         * Makefile (INSTALL): Add install-plain.texi as the primary
47448         dependency.
47449         * manual/install-plain.texi: New file.
47450         * manual/install.texi: Include node directive only for
47451         non-plaintext output.
47453 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47455         * stdlib/longlong.h: Update from GCC.
47457         [BZ #6807]
47458         [BZ #15901]
47459         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47460         * math/w_j0f.c (y0f): Likewise.
47461         * math/w_j0l.c (__y0l): Likewise.
47462         * math/w_j1.c (y1): Likewise.
47463         * math/w_j1f.c (y1f): Likewise.
47464         * math/w_j1l.c (__y1l): Likewise.
47465         * math/w_jn.c (yn): Likewise.
47466         * math/w_jnf.c (ynf): Likewise.
47467         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47468         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47469         value for Bessel function domain errors outside _SVID_ mode.
47470         Adjust sign of return value for yn (negative integer, 0).
47471         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47472         by zero in return for negative x and set sign appropriately for
47473         negative n.
47474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47475         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47476         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47477         expectations in error cases.
47478         (y1_test_data): Likewise.
47479         (yn_test_data): Likewise.
47480         * sysdeps/i386/fpu/libm-test-ulps: Update.
47481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47483 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47485         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47486         "64" to "64-v1".  Add "64-v2".
47487         (abi-64-options): Rename to ...
47488         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47489         (abi-64-condition): Rename to ...
47490         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47491         (abi-64-ld-soname): Rename to ...
47492         (abi-64-v1-ld-soname): ... this.
47493         (abi-64-v2-options): Define.
47494         (abi-64-v2-condition): Likewise.
47495         (abi-64-v2-ld-soname): Likewise.
47496         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47497         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47502 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47503             Alan Modra  <amodra@gmail.com>
47505         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47506         New versions for use with the ELFv2 ABI.
47507         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47508         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47509         declaration.
47510         (struct La_ppc64v2_retval): Likewise.
47511         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47512         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47513         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47514         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47515         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47517         Do not save or restore CR.
47518         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47519         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47520         return values for ELFv2 ABI.  Fix location of FPR return registers.
47521         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47522         updated values for _CALL_ELF == 2.
47523         (La_regs, La_retval, int_retval): Likewise.
47525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47527         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47528         (FRAME_MIN_SIZE_PARM): Likewise.
47529         (FRAME_BACKCHAIN): Likewise.
47530         (FRAME_CR_SAVE): Likewise.
47531         (FRAME_LR_SAVE): Likewise.
47532         (FRAME_TOC_SAVE): Likewise.
47533         (FRAME_PARM_SAVE): Likewise.
47534         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47535         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47536         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47537         (call_mcount_parm_offset): New macro.
47538         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47539         (PROF): Use symbolic stack frame offsets.
47540         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47541         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47542         Redefine in terms of FRAME_MIN_SIZE.
47543         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47544         (_dl_profile_resolve): Likewise.  Update comment.
47545         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47546         symbols stack frame offsets.
47547         (__sigsetjmp): Likewise.
47548         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47549         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47550         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47551         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47554         (FRAME_BACKCHAIN): Remove.
47555         (FRAME_CR_SAVE): Likewise.
47556         (FRAME_LR_SAVE): Likewise.
47557         (FRAME_COMPILER_DW): Likewise.
47558         (FRAME_LINKER_DW): Likewise.
47559         (FRAME_TOC_SAVE): Likewise.
47560         (FRAME_PARM_SAVE): Likewise.
47561         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47562         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47563         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47565         (CHECK_SP): Use symbolic stack frame offsets.
47566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47567         zone" instead of caller's parameter save area for temp storage.
47568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47569         Likewise.  Also, use symbolic stack frame offsets.
47570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47571         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47572         our own stack frame instead of the caller's.
47573         (__socket): Use symbolic stack frame offsets.
47575 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47576             Alan Modra  <amodra@gmail.com>
47578         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47579         Define.
47580         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47581         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47582         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47583         New function.
47584         (elf_machine_fixup_plt): Call it.
47585         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47586         reloc arguments.
47587         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47588         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47589         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47590         r2 before calling target.
47592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47593             Alan Modra  <amodra@gmail.com>
47595         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47596         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47597         versions of macros to support ELFv2 ABI.
47598         (LOCALENTRY): New macro.
47599         (ENTRY, EALIGN): Use it.
47600         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47601         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47602         fall through into ENTRY entry point.
47603         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47604         Only define if _CALL_ELF != 2.
47606         (elf_machine_matches_host): Verify ABI version matches.
47607         (RTLD_START): Use LOCALENTRY.
47608         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47609         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47610         (PLT_ENTRY_WORDS): New macro.
47611         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47612         (elf_machine_runtime_setup): Support ELFv2 ABI.
47613         (elf_machine_fixup_plt): Likewise.
47614         (elf_machine_plt_conflict): Likewise.
47615         (resolve_ifunc): Likewise.
47616         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47617         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47618         Likewise.
47619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47620         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47622         (makecontext): Support ELFv2 ABI.
47623         * elf/elf.h (EF_PPC64_ABI): Define.
47625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47627         * sysdeps/powerpc/powerpc64/sysdep.h
47628         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47629         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47630         (ENTRY) [ASSEMBLER]: ... but instead here ...
47631         (EALIGN) [ASSEMBLER]: ... and here.
47632         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47633         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47634         (ENTRY_2) [!ASSEMBLER]: Use it.
47635         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47636         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47637         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47638         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47639         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47641         Use PPC64_LOAD_FUNCPTR.
47643         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47645 2013-12-04  Alan Modra  <amodra@gmail.com>
47647         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47648         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47649         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47650         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47653         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47654         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47655         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47656         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47657         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47659 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47662         (__makecontext): Fix incorrect CFI when backtracing out of
47663         context created via makecontext.
47664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47665         (__setcontext): Fix incorrect CFI during switch to new context.
47666         (__novec_setcontext): Likewise.
47668 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47670         [BZ #4772]
47671         * time/strptime_l.c (__strptime_internal): Allow modifiers
47672         in strptime.
47673         * time/tst-strptime.c (day_tests): Add testcase.
47675 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47677         * scripts/bench.pl: Skip over blank lines.
47679 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47681         [BZ #926]
47682         * manual/time.texi (Calendar Time): Clarify what timezone functions
47683         use.
47685 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47689 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47691         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47692         implementation.
47693         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47694         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47695         * debug/memset_chk.c (__memset_chk): Likewise.
47696         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47697         * debug/strncpy_chk.c: Likewise.
47699 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47701         [BZ #15268]
47702         [BZ #15425]
47703         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47704         (__ieee754_exp): For possibly underflowing results, check size of
47705         result and force underflow exception if required.
47706         * math/auto-libm-test-in: Add more tests of exp.
47707         * math/auto-libm-test-out: Regenerated.
47708         * sysdeps/i386/fpu/libm-test-ulps: Update.
47709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47711         [BZ #16283]
47712         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47713         * math/w_exp2f.c (__exp2f): Likewise.
47714         * math/w_exp2l.c (__exp2l): Likewise.
47715         * math/auto-libm-test-in: Do not allow missing errno on exp2
47716         underflow.
47717         * math/auto-libm-test-out: Regenerated.
47719 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47721         [BZ #16274]
47722         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47723         handle filename validation.
47724         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47725         (do_open): Delete.
47727 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47729         [BZ #6786]
47730         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47731         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47732         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47733         <float.h>.
47734         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47736         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47737         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47738         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47739         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47740         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47741         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47742         Add more erfc tests.
47743         * math/auto-libm-test-out: Regenerated.
47744         * sysdeps/i386/fpu/libm-test-ulps: Update.
47745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47747         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47748         exp2, expm1, j0 and j1.
47749         * math/auto-libm-test-out: Regenerated.
47750         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47751         (erfc_test_data): Likewise.
47752         (exp_test_data): Likewise.
47753         (exp_tonearest_test_data): Likewise.
47754         (exp_towardzero_test_data): Likewise.
47755         (exp_downward_test_data): Likewise.
47756         (exp_upward_test_data): Likewise.
47757         (exp10_test_data): Likewise.
47758         (exp2_test_data): Likewise.
47759         (expm1_test_data): Likewise.
47760         (j0_test_data): Likewise.
47761         (j1_test_data): Likewise.
47762         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47763         (input_flag_type): Add flag_xfail_rounding.
47764         (input_flags): Add xfail-rounding.
47765         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47766         (output_for_one_input_case): Handle flag_xfail_rounding.
47767         * sysdeps/i386/fpu/libm-test-ulps: Update.
47768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47770 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47772         [BZ #16289]
47773         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47774         division by 0.
47776 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47778         [BZ #16195]
47779         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47780         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47781         (STAP_PROBE0): New macro.
47782         (STAP_PROBE1): Likewise.
47783         (STAP_PROBE2): Likewise.
47784         (STAP_PROBE3): Likewise.
47785         (STAP_PROBE4): Likewise.
47787 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47789         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47791 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47793         * benchtests/Makefile (bench): Add sqrt.
47794         (LDLIBS-bench-sqrt): New.
47795         * benchtests/sqrt-input: New.
47797 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47799         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47800         (GAIH_EAI): Likewise.
47801         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47802         (gaih_inet): Likewise.
47803         (getaddrinfo): Don't use GAIH_EAI.
47805         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47806         (struct gaih): Remove definition.
47808 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47810         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47811         Use HERRNOP directly.
47813 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47817 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47819         * math/gen-auto-libm-tests.c (test_functions): Add more
47820         single-argument functions.
47821         (special_fill_pi_2): New function.
47822         (special_fill_minus_pi_2): Likewise.
47823         (special_fill_pi_6): Likewise.
47824         (special_fill_minus_pi_6): Likewise.
47825         (special_fill_pi_3): Likewise.
47826         (special_fill_2pi_3): Likewise.
47827         (special_fill_e): Likewise.
47828         (special_fill_1_e): Likewise.
47829         (special_fill_e_minus_1): Likewise.
47830         (special_real_inputs): Add more special inputs.
47831         (output_for_one_input_case): Do not require ERANGE on underflow to
47832         zero if round-to-nearest result does not underflow to zero, unless
47833         exact results required.
47834         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47835         atan, atanh, cbrt, cos and cosh.
47836         * math/auto-libm-test-out: Regenerated.
47837         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47838         (acos_tonearest_test_data): Likewise.
47839         (acos_towardzero_test_data): Likewise.
47840         (acos_downward_test_data): Likewise.
47841         (acos_upward_test_data): Likewise.
47842         (acosh_test_data): Likewise.
47843         (asin_test_data): Likewise.
47844         (asin_tonearest_test_data): Likewise.
47845         (asin_towardzero_test_data): Likewise.
47846         (asin_upward_test_data): Likewise.
47847         (asinh_test_data): Likewise.
47848         (atan_test_data): Likewise.
47849         (atanh_test_data): Likewise.
47850         (cbrt_test_data): Likewise.
47851         (cos_test_data): Likewise.
47852         (cos_tonearest_test_data): Likewise.
47853         (cos_towardzero_test_data): Likewise.
47854         (cos_downward_test_data): Likewise.
47855         (cos_upward_test_data): Likewise.
47856         (cosh_test_data): Likewise.
47857         (cosh_tonearest_test_data): Likewise.
47858         (cosh_towardzero_test_data): Likewise.
47859         (cosh_downward_test_data): Likewise.
47860         (cosh_upward_test_data): Likewise.
47861         * sysdeps/i386/fpu/libm-test-ulps: Update.
47862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47864 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47866         [BZ #6787]
47867         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47868         * math/w_exp10f.c (__exp10f): Likewise.
47869         * math/w_exp10l.c (__exp10l): Likewise.
47870         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47871         errno settings in existing tests.
47873         [BZ #14032]
47874         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47875         precision control set to double precision.
47876         * sysdeps/i386/fpu/w_sqrt.c: New file.
47877         * math/auto-libm-test-in: Add more tests.
47878         * math/auto-libm-test-out: Update.
47880         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47881         (sqrt_test_tonearest): New function.
47882         (sqrt_towardzero_test_data): New variable.
47883         (sqrt_test_towardzero): New function.
47884         (sqrt_downward_test_data): New variable.
47885         (sqrt_test_downward): New function.
47886         (sqrt_upward_test_data): New variable.
47887         (sqrt_test_upward): New function.
47888         (main): Call the new functions.
47890         * math/gen-auto-libm-tests.c: New file.
47891         * math/auto-libm-test-in: Likewise.
47892         * math/auto-libm-test-out: New generated file.
47893         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47894         variables.
47895         (%beautify): Add generated representations of zero.
47896         (top level): Set $auto_input and call parse_auto_input.
47897         (beautify): Remove trailing "f" from hex float constants.
47898         (parse_args): Handle XFAIL_TEST.
47899         (convert_condition): New function.
47900         (or_value): Likewise.
47901         (or_cond_value): Likewise.
47902         (generate_testfile): Handle AUTO_TESTS_* lines.
47903         (parse_auto_input): New function.
47904         * math/libm-test.inc (XFAIL_TEST): New macro.
47905         (ERRNO_UNCHANGED): Update value.
47906         (ERRNO_EDOM): Likewise.
47907         (ERRNO_ERANGE): Likewise.
47908         (IGNORE_RESULT): Likewise.
47909         (TEST_COND_flt_32): New macro.
47910         (TEST_COND_dbl_64): Likewise.
47911         (TEST_COND_ldbl_96_intel): Likewise.
47912         (TEST_COND_ldbl_96_m68k): Likewise.
47913         (TEST_COND_ldbl_128): Likewise.
47914         (TEST_COND_ldbl_128ibm): Likewise.
47915         (TEST_COND_long32): Likewise.
47916         (TEST_COND_long64): Likewise.
47917         (TEST_COND_before_rounding): Likewise.
47918         (TEST_COND_after_rounding): Likewise.
47919         (enable_test): Handle XFAIL_TEST flag.
47920         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47921         with finite results.
47922         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47923         auto-libm-test-out.
47925 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47926             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47928         [BZ #16214]
47929         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47930         __tls_get_addr_internal instead of __tls_get_offset in order to
47931         avoid GOT pointer dependency.  Make rtld export
47932         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47933         __tls_get_addr since we are a __tls_get_offset platform.
47934         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47935         GOT pointer being set up before.
47936         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47938 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47940         * manual/math.texi (Errors in Math Functions): Document accuracy
47941         goals.
47943         [BZ #15004]
47944         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47945         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47946         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47947         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47948         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47949         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47950         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47951         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47952         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47953         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47954         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47955         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47956         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47957         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47958         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47959         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47961         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47962         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47963         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47964         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47965         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47966         Likewise.
47967         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47968         Likewise.
47969         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47970         Likewise.
47971         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47972         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47973         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47974         atomic-feupdateenv and flt-rounds.
47975         * sysdeps/powerpc/nofpu/Versions (libc): Add
47976         __atomic_feholdexcept, __atomic_feclearexcept,
47977         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47978         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47979         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47980         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47981         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47982         here.
47983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47984         Update.
47986         * manual/arith.texi (FP Exceptions): Document that exceptions may
47987         not be raised when matherr is used.
47988         (Math Error Reporting): Document overflow in directed rounding
47989         modes.  Document that errno may not be set when finite values are
47990         returned on overflow.  Document intent to set errno on underflow
47991         only for underflow to zero.
47993         [BZ #16271]
47994         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47995         round-to-nearest then adjust result for other rounding modes.
47996         * include/fenv.h (fegetround): Use libm_hidden_proto.
47997         * math/fegetround.c (fegetround): Use libm_hidden_def.
47998         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47999         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48000         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48001         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48002         Likewise.
48003         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48004         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48005         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48006         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48008 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48010         [BZ #16077]
48011         * nss/Versions (libnss_files): Add
48012         _nss_files_gethostbyname3_r.
48013         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48014         New function.
48015         (HOST_DB_LOOKUP): Remove macro.
48016         (_nss_files_gethostbyname_r): Implement function without the
48017         HOST_DB_LOOKUP macro.
48018         (_nss_files_gethostbyname2_r): Likewise.
48020 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48022         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48024 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48026         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48027         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48028         warning.
48030 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48032         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48033         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48034         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48035         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48036         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48037         __fe_nomask_env_priv and attribute_hidden.
48038         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48039         (libc_feupdateenv_test_ppc): Likewise.
48040         (libc_feresetround_ppc): Likewise.
48041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48042         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48043         compat_symbol macro.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48045         (__fe_nomask_env): Likewise.
48046         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48048 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48050         * string/Makefile: Remove ifunc tests.
48051         * string/test-string.h: Define TEST_IFUNC.
48052         * string/test-bcopy-ifunc.c: Remove.
48053         * string/test-bzero-ifunc.c: Likewise.
48054         * string/test-memccpy-ifunc.c: Likewise.
48055         * string/test-memchr-ifunc.c: Likewise.
48056         * string/test-memcmp-ifunc.c: Likewise.
48057         * string/test-memcpy-ifunc.c: Likewise.
48058         * string/test-memmem-ifunc.c: Likewise.
48059         * string/test-memmove-ifunc.c: Likewise.
48060         * string/test-mempcpy-ifunc.c: Likewise.
48061         * string/test-memrchr-ifunc.c: Likewise.
48062         * string/test-memset-ifunc.c: Likewise.
48063         * string/test-rawmemchr-ifunc.c: Likewise.
48064         * string/test-stpcpy-ifunc.c: Likewise.
48065         * string/test-stpncpy-ifunc.c: Likewise.
48066         * string/test-strcasecmp-ifunc.c: Likewise.
48067         * string/test-strcasestr-ifunc.c: Likewise.
48068         * string/test-strcat-ifunc.c: Likewise.
48069         * string/test-strchr-ifunc.c: Likewise.
48070         * string/test-strchrnul-ifunc.c: Likewise.
48071         * string/test-strcmp-ifunc.c: Likewise.
48072         * string/test-strcpy-ifunc.c: Likewise.
48073         * string/test-strcspn-ifunc.c: Likewise.
48074         * string/test-strlen-ifunc.c: Likewise.
48075         * string/test-strncasecmp-ifunc.c: Likewise.
48076         * string/test-strncat-ifunc.c: Likewise.
48077         * string/test-strncmp-ifunc.c: Likewise.
48078         * string/test-strncpy-ifunc.c: Likewise.
48079         * string/test-strnlen-ifunc.c: Likewise.
48080         * string/test-strpbrk-ifunc.c: Likewise.
48081         * string/test-strrchr-ifunc.c: Likewise.
48082         * string/test-strspn-ifunc.c: Likewise.
48083         * string/test-strstr-ifunc.c: Likewise.
48085 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48087         * benchtests/Makefile: Remove ifunc tests.
48088         * benchtests/bench-string.h: Define TEST_IFUNC.
48089         * benchtests/bench-bcopy-ifunc.c: Remove.
48090         * benchtests/bench-bzero-ifunc.c: Likewise.
48091         * benchtests/bench-memccpy-ifunc.c: Likewise.
48092         * benchtests/bench-memchr-ifunc.c: Likewise.
48093         * benchtests/bench-memcmp-ifunc.c: Likewise.
48094         * benchtests/bench-memcpy-ifunc.c: Likewise.
48095         * benchtests/bench-memmem-ifunc.c: Likewise.
48096         * benchtests/bench-memmove-ifunc.c: Likewise.
48097         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48098         * benchtests/bench-memrchr-ifunc.c: Likewise.
48099         * benchtests/bench-memset-ifunc.c: Likewise.
48100         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48101         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48102         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48103         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48104         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48105         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48106         * benchtests/bench-strcat-ifunc.c: Likewise.
48107         * benchtests/bench-strchr-ifunc.c: Likewise.
48108         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48109         * benchtests/bench-strcmp-ifunc.c: Likewise.
48110         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48111         * benchtests/bench-strcpy-ifunc.c: Likewise.
48112         * benchtests/bench-strcspn-ifunc.c: Likewise.
48113         * benchtests/bench-strlen-ifunc.c: Likewise.
48114         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48115         * benchtests/bench-strncat-ifunc.c: Likewise.
48116         * benchtests/bench-strncmp-ifunc.c: Likewise.
48117         * benchtests/bench-strncpy-ifunc.c: Likewise.
48118         * benchtests/bench-strnlen-ifunc.c: Likewise.
48119         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48120         * benchtests/bench-strrchr-ifunc.c: Likewise.
48121         * benchtests/bench-strsep-ifunc.c: Likewise.
48122         * benchtests/bench-strspn-ifunc.c: Likewise.
48123         * benchtests/bench-strstr-ifunc.c: Likewise.
48125 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48127         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48129 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48131         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48132         * rt/aio.h: Likewise.
48133         * sysdeps/gnu/bits/utmp.h: Likewise.
48134         * sysdeps/gnu/bits/utmpx.h: Likewise.
48135         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48136         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48137         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48138         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48139         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48140         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48141         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48142         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48143         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48144         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48145         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48146         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48147         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48149         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48150         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48151         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48152         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48153         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48154         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48155         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48156         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48157         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48158         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48159         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48161         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48162         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48163         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48164         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48165         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48166         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48167         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48168         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48169         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48170         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48171         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48172         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48173         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48174         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48175         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48176         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48178 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48180         [BZ #16245]
48181         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48182         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48184 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48186         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48187         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48188         Likewise.
48190 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48192         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48193         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48194         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48195         (__fesetround): Remove define.
48196         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48197         rounding and exceptions handling.
48198         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48199         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48200         (__fe_nomask_env): Likewise.
48201         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48202         __fegetround instead of fegetround.
48203         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48204         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48206 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48208         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48209         it's there.
48211         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48213 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48215         [BZ #11157]
48216         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48217         (encrypt_r): Likewise.
48218         * malloc/obstack.h (obstack_free): Likewise.
48219         * posix/unistd.h (encrypt): Likewise.
48221 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48223         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48224         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48225         DL_CALL_DT_FINI() that call the functions directly.
48226         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48227         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48228         * elf/dl-fini.c: Likewise.
48230 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48232         * malloc/hooks.c (memalign_check): Add alignment rounding.
48233         * malloc/malloc.c (_mid_memalign): New function.
48234         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48235         Implement by calling _mid_memalign.
48236         * manual/probes.texi (Memory Allocation Probes): Remove
48237         memory_valloc_retry and memory_pvalloc_retry.
48239 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48241         * locale/programs/locarchive.c (open_archive): Add const
48242         qualifier to ARCHIVEFNAME and copy default fname to
48243         DEFAULT_FNAME.
48245         [BZ #15601]
48246         * libio/tst-widetext.input: Rename Oriya to Odia.
48247         * locale/iso-639.def: Likewise.
48249         * manual/probes.texi (Mathematical Function Probes): Add
48250         documentation for sin, cos, asin and acos probes.
48251         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48252         (__sin32): Add slowasin probe.
48253         (__cos32): Add slowacos probe.
48254         (__mpsin): Add slowsin probe.
48255         (__mpcos): Add slowcos probe.
48257 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48259         [BZ #15483]
48260         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48261         thread-local __sim_exceptions_thread and global
48262         __sim_exceptions_global.
48263         (__sim_disabled_exceptions): Change to thread-local
48264         __sim_disabled_exceptions_thread and global
48265         __sim_disabled_exceptions_global.
48266         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48267         and global __sim_round_mode_global.
48268         (__simulate_exceptions): Use thread-local floating-point state and
48269         set global state from it as needed.
48270         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48271         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48272         __sim_round_mode_thread.
48273         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48274         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48275         and global __sim_exceptions_global.
48276         (__sim_disabled_exceptions): Change to thread-local
48277         __sim_disabled_exceptions_thread and global
48278         __sim_disabled_exceptions_global.
48279         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48280         and global __sim_round_mode_global.
48281         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48282         (SIM_SET_GLOBAL): Likewise.
48283         * sysdeps/powerpc/soft-fp/sfp-machine.h
48284         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48285         __sim_round_mode_thread.
48286         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48287         __sim_disabled_exceptions_thread.
48288         (__sim_exceptions): Change to __sim_exceptions_thread.
48289         (__sim_disabled_exceptions): Change to
48290         __sim_disabled_exceptions_thread.
48291         (__sim_round_mode): Change to __sim_round_mode_thread.
48292         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48293         thread-local floating-point state and set global state from it as
48294         needed.
48295         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48296         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48297         (__sim_disabled_exceptions): Remove extern declaration.
48298         (feenableexcept): Use thread-local floating-point state and set
48299         global state from it as needed.
48300         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48301         extern declaration.
48302         (__sim_disabled_exceptions): Likewise.
48303         (__sim_round_mode): Likewise.
48304         (__fegetenv): Use thread-local floating-point state.
48305         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48306         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48307         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48308         floating-point state and set global state from it as needed.
48309         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48310         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48311         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48312         Likewise.
48313         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48314         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48315         Likewise.
48316         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48317         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48318         Use __sim_round_mode_thread.
48319         * math/test-fenv-tls.c: New file.
48320         * math/Makefile (tests): Add test-fenv-tls.
48321         ($(objpfx)test-fenv-tls): Depend on
48322         $(common-objpfx)nptl/libpthread.so.
48324 2013-11-19  Andreas Schwab  <schwab@suse.de>
48326         * locale/programs/locale.c (show_info): Decode wordarray elements.
48327         * locale/categories.def (LC_MONETARY): Add element for
48328         _NL_MONETARY_CRNCYSTR.
48329         * locale/C-monetary.c (conversion_rate): New variable.
48330         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48331         element.
48333 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48335         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48336         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48338 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48340         * elf/Makefile (tst-auxv): New test.
48341         * elf/tst-auxv.c: New
48342         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48344 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48346         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48347         (hidden_proto): Caller changed.
48348         (hidden_tls_proto): New macro.
48349         (libc_hidden_tls_proto): Likewise.
48350         (rtld_hidden_tls_proto): Likewise.
48351         (libm_hidden_tls_proto): Likewise.
48352         (libresolv_hidden_tls_proto): Likewise.
48353         (librt_hidden_tls_proto): Likewise.
48354         (libdl_hidden_tls_proto): Likewise.
48355         (libnss_files_hidden_tls_proto): Likewise.
48356         (libnsl_hidden_tls_proto): Likewise.
48357         (libnss_nisplus_hidden_tls_proto): Likewise.
48358         (libutil_hidden_tls_proto): Likewise.
48360 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48362         [BZ #10253]
48363         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48364         (decompose_rpath): Defer expansion to fillin_rpath.
48365         (_dl_init_paths): Pass linkmap to fillin_rpath.
48367 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48369         * benchtests/Makefile: Add strsep.
48370         * benchtests/bench-strsep.c: New file: strsep benchtest.
48371         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48373 2013-11-18  Andreas Schwab  <schwab@suse.de>
48375         * locale/programs/locale.c (show_info) [case byte]: Check for
48376         '\377' instead of '\177'.
48377         * locale/C-monetary.c (not_available): Always use "\377".
48378         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48379         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48380         detect unavailable sign_posn locale elements.
48381         * locale/localeconv.c (__localeconv): For grouping and
48382         mon_grouping handle "\177" and "\377" like no grouping.
48383         (INT_ELEM): New macro.  Use it to set all numeric members.
48384         * locale/programs/ld-monetary.c (monetary_read)
48385         <tok_mon_grouping>: Normalize single -1 to the empty string.
48386         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48387         Likewise.
48389 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48391         [BZ #16055]
48392         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48393         when we match (nil).
48394         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48396 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48398         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48399         (NO_TEST_INLINE): Update value.
48400         (ERRNO_UNCHANGED): Likewise.
48401         (ERRNO_EDOM): Likewise.
48402         (ERRNO_ERANGE): Likewise.
48403         (IGNORE_RESULT): Likewise.
48404         (check_float_internal): Check signs of NaN results if
48405         TEST_NAN_SIGN used.
48406         (check_complex): Pass TEST_NAN_SIGN flag through to second
48407         check_float_internal call.
48408         (copysign_test_data): Add tests with quiet NaNs as second
48409         argument.  Use TEST_NAN_SIGN.
48410         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48411         TEST_NAN_SIGN.
48412         (signbit_test_data): Add tests of quiet NaN argument.
48413         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48415         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48416         $ignore_result.
48417         (parse_args): Handle function results specified as IGNORE.
48418         * math/libm-test.inc (IGNORE_RESULT): New macro.
48419         (check_float_internal): Do not check numerical result if flag
48420         IGNORE_RESULT set.
48421         (check_complex): Pass through IGNORE_RESULT to second
48422         check_float_internal call.
48423         (check_int): Do not check numerical result if flag IGNORE_RESULT
48424         set.
48425         (check_long): Likewise.
48426         (check_bool): Likewise.
48427         (check_longlong): Likewise.
48428         (lrint_test_data): Add tests of infinite and NaN arguments.
48429         (lrint_tonearest_test_data): Likewise.
48430         (lrint_towardzero_test_data): Likewise.
48431         (lrint_downward_test_data): Likewise.
48432         (lrint_upward_test_data): Likewise.
48433         (llrint_test_data): Likewise.
48434         (llrint_tonearest_test_data): Likewise.
48435         (llrint_towardzero_test_data): Likewise.
48436         (llrint_downward_test_data): Likewise.
48437         (llrint_upward_test_data): Likewise.
48438         (lround_test_data): Likewise.
48439         (llround_test_data): Likewise.
48441         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48442         (ERRNO_UNCHANGED): Update value.
48443         (ERRNO_EDOM): Likewise.
48444         (ERRNO_ERANGE): Likewise.
48445         (NO_TEST_INLINE_FLOAT): New macro.
48446         (NO_TEST_INLINE_DOUBLE): Likewise.
48447         (enable_test): New function.
48448         (RUN_TEST_f_f): Check enable_test before running test.
48449         (RUN_TEST_2_f): Likewise.
48450         (RUN_TEST_fff_f): Likewise.
48451         (RUN_TEST_c_f): Likewise.
48452         (RUN_TEST_f_f1): Likewise.
48453         (RUN_TEST_fF_f1): Likewise.
48454         (RUN_TEST_fI_f1): Likewise.
48455         (RUN_TEST_ffI_f1): Likewise.
48456         (RUN_TEST_c_c): Likewise.
48457         (RUN_TEST_cc_c): Likewise.
48458         (RUN_TEST_f_i): Likewise.
48459         (RUN_TEST_f_i_tg): Likewise.
48460         (RUN_TEST_ff_i_tg): Likewise.
48461         (RUN_TEST_f_b): Likewise.
48462         (RUN_TEST_f_b_tg): Likewise.
48463         (RUN_TEST_f_l): Likewise.
48464         (RUN_TEST_f_L): Likewise.
48465         (RUN_TEST_fFF_11): Likewise.
48466         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48467         conditionals.
48468         (cosh_test_data): Likewise.
48469         (exp_test_data): Likewise.
48470         (expm1_test_data): Likewise.
48471         (hypot_test_data): Likewise.
48472         (pow_test_data): Likewise.
48473         (sinh_test_data): Likewise.
48474         (tanh_test_data): Likewise.
48475         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48476         flags argument.
48478         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48479         tests with quiet NaN input and output.
48480         (acosh_test_data): Likewise.
48481         (asin_test_data): Likewise.
48482         (asinh_test_data): Likewise.
48483         (atan_test_data): Likewise.
48484         (atanh_test_data): Likewise.
48485         (atan2_test_data): Likewise.
48486         (cbrt_test_data): Likewise.
48487         (cos_test_data): Likewise.
48488         (cosh_test_data): Likewise.
48489         (erf_test_data): Likewise.
48490         (erfc_test_data): Likewise.
48491         (exp_test_data): Likewise.
48492         (exp10_test_data): Likewise.
48493         (exp2_test_data): Likewise.
48494         (expm1_test_data): Likewise.
48495         (hypot_test_data): Likewise.
48496         (j0_test_data): Likewise.
48497         (j1_test_data): Likewise.
48498         (jn_test_data): Likewise.
48499         (lgamma_test_data): Likewise.
48500         (log_test_data): Likewise.
48501         (log10_test_data): Likewise.
48502         (log1p_test_data): Likewise.
48503         (log2_test_data): Likewise.
48504         (pow_test_data): Likewise.
48505         (scalb_test_data): Likewise.
48506         (sin_test_data): Likewise.
48507         (sincos_test_data): Likewise.
48508         (sinh_test_data): Likewise.
48509         (tan_test_data): Likewise.
48510         (tanh_test_data): Likewise.
48511         (tgamma_test_data): Likewise.
48512         (y0_test_data): Likewise.
48513         (y1_test_data): Likewise.
48514         (yn_test_data): Likewise.
48516         [BZ #16167]
48517         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48518         argument being NaN and avoid computations with second argument in
48519         that case.
48520         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48521         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48522         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48524 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48526         * locale/iso-639.def: Add Chitwani Tharu (the).
48528 2013-11-14  Andreas Schwab  <schwab@suse.de>
48530         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48531         word instead of empty string.
48533 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48536         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48538         (__fe_nomask_env): Likewise.
48540 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48542         * benchtests/bench-timing.h: Include time.h.
48544 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48546         [BZ #15997]
48547         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48548         to 3.4.0 for x32.
48549         * sysdeps/unix/sysv/linux/configure: Regenerated.
48551 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48553         [BZ #16151]
48554         * stdlib/strtod_l.c (round_and_return): Do not consider
48555         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48556         exponent one less than half the least subnormal exponent.
48557         * stdlib/test-strtod-round-data: Add more tests.
48558         * stdlib/tst-strtod-round.c (tests): Regenerated.
48560 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48562         [BZ #14143]
48563         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48564         (__fe_mask_env): Likewise.
48565         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48566         libm_hidden_proto and add function prototype.
48567         (__fe_mask_env): Add function prototype.
48568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48569         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48571         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48573         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48575 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48577         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48578         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48580 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48582         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48583         of htab_find_slot().
48585 2013-11-11  David S. Miller  <davem@davemloft.net>
48587         [BZ #16150]
48588         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48589         symbol in the non-vis3 case in static builds.
48590         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48591         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48592         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48593         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48595 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48597         [BZ #387]
48598         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48599         it is empty.
48601 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48603         * benchtests/Makefile: Add bench-strtod.
48604         * benchtests/bench-strtod.c: New file: strtod benchtest
48606 2013-11-11  Andreas Schwab  <schwab@suse.de>
48608         [BZ #16153]
48609         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48610         terminating NUL in key length.
48612 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48614         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48615         Add artificial ODP entry for vDSO symbol for PPC64.
48616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48617         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48619 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48621         [BZ #15374]
48622         * nss/getent.c (services_keys): Recognize services starting with digit.
48624 2013-11-06  David S. Miller  <davem@davemloft.net>
48626         [BZ #15985]
48627         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48628         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48630 2013-11-06  Will Newton  <will.newton@linaro.org>
48632         * manual/memory.texi (Malloc Examples): Remove register
48633         keyword from examples.
48635 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48637         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48639 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48641         [BZ #6981]
48642         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48643         depending on [__GCC_IEC_559 > 0].
48644         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48645         depending on [__GCC_IEC_559_COMPLEX > 0].
48647 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48649         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48650         to iso-639.def.
48652 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48654         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48656 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48658         [BZ #16112]
48659         * malloc/malloc (malloc_info): Do not handle first bin as
48660         special case.
48662 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48664         * locale/iso-639.def: Add Central Nahuatl (nhn).
48666 2013-11-01  Bruno Haible  <bruno@clisp.org>
48668         [BZ #7003]
48669         * manual/math.texi (BSD Random): Specify range upper bound as
48670         in POSIX.
48672 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48674         * locale/iso-639.def: Add Meadow Mari (mhr).
48676 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48678         [BZ #14752], [BZ #15763]
48679         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48680         Validate name.
48681         * rt/tst_shm.c: Add test for escaping directory.
48683 2013-10-31  Andreas Schwab  <schwab@suse.de>
48685         [BZ #15917]
48686         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48687         followed by 'x' as part of digit sequence.
48688         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48690 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48692         [BZ #16037]
48693         * configure.ac: allow GNU Make 4.0 and greater.
48694         * configure: Regenerated.
48696 2013-10-30  Will Newton  <will.newton@linaro.org>
48698         [BZ #16038]
48699         * malloc/hooks.c (memalign_check): Limit alignment to the
48700         maximum representable power of two.
48701         * malloc/malloc.c (__libc_memalign): Likewise.
48702         * malloc/tst-memalign.c (do_test): Add test for very
48703         large alignment values.
48704         * malloc/tst-posix_memalign.c (do_test): Likewise.
48706 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48708         [BZ #11087]
48709         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48710         (munmap_chunk): Likewise.
48711         (mremap_chunk): Likewise.
48713 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48715         [BZ #15799]
48716         * stdlib/div.c (div): Remove obsolete code.
48717         * stdlib/ldiv.c (ldiv): Likewise.
48718         * stdlib/lldiv.c (lldiv): Likewise.
48720 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48722         [BZ #16071]
48723         * nss/nss_files/files-XXX.c (get_contents_ret): New
48724         enumerator.
48725         (get_contents): New function.
48726         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48728 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48730         * configure.in: Moved to ...
48731         * configure.ac: ... here. Change reference to configure.in
48732         to configure.ac.
48733         * sysdeps/arm/preconfigure.ac: ... here.
48734         configure.in to configure.ac.
48735         * sysdeps/gnu/configure.in: Moved to ...
48736         * sysdeps/gnu/configure.ac: ... here.
48737         * sysdeps/i386/configure.in: Moved to ...
48738         * sysdeps/i386/configure.ac: ... here.
48739         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48740         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48741         * sysdeps/mach/configure.in: Moved to ...
48742         * sysdeps/mach/configure.ac: ... here.
48743         * sysdeps/mach/hurd/configure.in: Moved to ...
48744         * sysdeps/mach/hurd/configure.ac: ... here.
48745         * sysdeps/powerpc/configure.in: Moved to ...
48746         * sysdeps/powerpc/configure.ac: ... here.
48747         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48748         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48749         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48750         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48751         * sysdeps/s390/s390-32/configure.in: Moved to ...
48752         * sysdeps/s390/s390-32/configure.ac: ... here.
48753         * sysdeps/s390/s390-64/configure.in: Moved to ...
48754         * sysdeps/s390/s390-64/configure.ac: ... here.
48755         * sysdeps/sh/configure.in: Moved to ...
48756         * sysdeps/sh/configure.ac: ... here.
48757         * sysdeps/sparc/configure.in: Moved to ...
48758         * sysdeps/sparc/configure.ac: ... here.
48759         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48760         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48761         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48762         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48763         * sysdeps/x86_64/configure.in: Moved to ...
48764         * sysdeps/x86_64/configure.ac: ... here.
48765         * sysdeps/x86_64/preconfigure.in: Moved to ...
48766         * sysdeps/x86_64/preconfigure.ac: ... here.
48767         * aclocal.m4: Change reference to configure.in to configure.ac.
48768         * config.h.in: Likewise.
48769         * manual/install.texi: Likewise.
48770         * manual/maint.texi: Likewise.
48771         * Makefile: Likewise.
48772         * malloc/Makefile: Likewise.
48773         * nscd/Makefile: Likewise.
48774         * Makeconfig: Change reference to configure.in and
48775         preconfigure.in to configure.ac and preconfigure.ac
48776         respectively.
48777         * INSTALL: Regenerated.
48778         * configure: Likewise.
48779         * sysdeps/gnu/configure: Likewise.
48780         * sysdeps/i386/configure: Likewise.
48781         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48782         * sysdeps/mach/configure: Likewise.
48783         * sysdeps/mach/hurd/configure: Likewise.
48784         * sysdeps/powerpc/configure: Likewise.
48785         * sysdeps/powerpc/powerpc32/configure: Likewise.
48786         * sysdeps/powerpc/powerpc64/configure: Likewise.
48787         * sysdeps/s390/s390-32/configure: Likewise.
48788         * sysdeps/s390/s390-64/configure: Likewise.
48789         * sysdeps/sh/configure: Likewise.
48790         * sysdeps/sparc/configure: Likewise.
48791         * sysdeps/unix/sysv/linux/configure: Likewise.
48792         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48793         * sysdeps/x86_64/configure: Likewise.
48794         * sysdeps/x86_64/preconfigure: Likewise.
48796 2013-10-29  Andreas Schwab  <schwab@suse.de>
48798         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48800 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48802         * benchtests/pow-inputs: Add new inputs.
48804         * benchtests/exp-inputs: Add new inputs.
48806         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48807         conditional check for return value.
48808         (__cos32): Likewise.
48810 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48812         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48813         to provide a boost for large inputs with word alignment.
48814         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48815         implementation based on optimized PPC64 strcpy.
48816         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48817         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48818         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48819         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48821 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48823         [BZ #2801]
48824         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48826 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48828         [BZ #14876]
48829         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48830         * time/tst-strptime.c (day_tests): Add testcase.
48832 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48834         [BZ #14029]
48835         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48837 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48839         [BZ #16074]
48840         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48841         MAP_FAILED on error.
48843 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48845         [BZ #16072]
48846         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48847         heap for large requests.
48849 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48851         [BZ #9954]
48852         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48853         result if the result has no associated interface.
48854         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48855         interface for all 127.X.Y.Z addresses.
48857 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48859         * locale/iso-639.def: Add Ligurian (lij)
48861 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48863         [BZ #15825]
48864         * sunrpc/rpc_main.c: Document rpcgen -5.
48866 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48868         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48870 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48872         [BZ #10278]
48873         * posix/glob.c: Match only directories when trailing slash is present.
48874         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48875         (main): Add testcase.
48877 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48879         [BZ #15670]
48880         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48882 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48884         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48885         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48886         AUTH_DES and cindex for FIPS 140-2.
48887         (DES Encryption): Add cindex FIPS 46-3.
48889         * locale/locarchive.h (struct locarhandle): Add fname.
48890         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48891         if an optional argument was specified to --list-archive,
48892         otherwise NULL.
48893         * locale/programs/locarchive.c (show_archive_content): Take new
48894         argument fname and pass it via ah.fname to open_archive.
48895         * locale/programs/localedef.h: Update decl.
48896         (open_archive): If AH->fname is non-null, open that file
48897         rather than the default file name, and don't ignore ENOENT.
48898         (create_archive): Set AH.fname to NULL.
48899         (delete_locales_from_archive): Likewise.
48900         (add_locales_to_archive): Likewise.
48901         * locale/programs/locfile.c (write_all_categories): Likewise.
48903 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48904             Aldy Hernandez  <aldyh@redhat.com>
48906         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48907         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48908         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48909         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48910         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48911         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48913         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48914         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48915         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48916         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48917         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48918         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48919         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48920         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48921         Likewise.
48922         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48923         Likewise.
48924         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48925         Likewise.
48926         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48927         Likewise.
48928         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48929         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48930         Likewise.
48931         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48932         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48933         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48934         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48935         Likewise.
48936         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48938         * sysdeps/powerpc/preconfigure: Likewise.
48939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48940         Likewise.
48941         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48942         Replace contents of file by #include of <fenv_libc.h>.
48943         * sysdeps/powerpc/soft-fp/sfp-machine.h
48944         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48945         and <sys/prctl.h>.
48946         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48951         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48953         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48954         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48955         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48956         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48959         Allow copysignl PLT reference to be missing.
48961 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48962             Joseph Myers  <joseph@codesourcery.com
48964         [BZ #15948]
48965         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48966         single character.
48967         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48969 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48971         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48972         * elf/tst-tls1.c: Likewise.
48973         * elf/tst-tls10.h: Likewise.
48974         * elf/tst-tls14.c: Likewise.
48975         * elf/tst-tls2.c: Likewise.
48976         * elf/tst-tls3.c: Likewise.
48977         * elf/tst-tls4.c: Likewise.
48978         * elf/tst-tls5.c: Likewise.
48979         * elf/tst-tls6.c: Likewise.
48980         * elf/tst-tls7.c: Likewise.
48981         * elf/tst-tls8.c: Likewise.
48982         * elf/tst-tls9.c: Likewise.
48983         * elf/tst-tlsmod1.c: Likewise.
48984         * elf/tst-tlsmod13.c: Likewise.
48985         * elf/tst-tlsmod13a.c: Likewise.
48986         * elf/tst-tlsmod14a.c: Likewise.
48987         * elf/tst-tlsmod16a.c: Likewise.
48988         * elf/tst-tlsmod16b.c: Likewise.
48989         * elf/tst-tlsmod2.c: Likewise.
48990         * elf/tst-tlsmod3.c: Likewise.
48991         * elf/tst-tlsmod4.c: Likewise.
48992         * elf/tst-tlsmod5.c: Likewise.
48993         * elf/tst-tlsmod6.c: Likewise.
48995 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48997         [BZ #12486]
48998         * malloc/malloc.c: remove checks for statistics.
49000 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49002         [BZ #15277]
49003         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49004         * inet/tst-network.c: Add testcase.
49006 2013-10-17  Andreas Schwab  <schwab@suse.de>
49008         [BZ #15218]
49009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49010         to determine canonical name.
49012 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49014         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49015         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49016         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49017         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49019         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49020         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49025         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49038         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49039         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49044         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49046         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49047         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49048         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49049         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49050         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49051         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49052         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49053         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49054         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49055         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49056         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49057         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49058         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49059         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49060         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49061         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49063         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49064         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49065         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49066         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49067         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49068         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49069         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49070         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49071         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49073 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49075         [BZ #16041]
49076         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49077         make result into a quiet NaN.
49079 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49081         * soft-fp/adddf3.c: Fix horizontal whitespace.
49082         * soft-fp/addsf3.c: Likewise.
49083         * soft-fp/addtf3.c: Likewise.
49084         * soft-fp/divdf3.c: Likewise.
49085         * soft-fp/divsf3.c: Likewise.
49086         * soft-fp/divtf3.c: Likewise.
49087         * soft-fp/double.h: Likewise.
49088         * soft-fp/eqdf2.c: Likewise.
49089         * soft-fp/eqsf2.c: Likewise.
49090         * soft-fp/eqtf2.c: Likewise.
49091         * soft-fp/extenddftf2.c: Likewise.
49092         * soft-fp/extended.h: Likewise.
49093         * soft-fp/extendsfdf2.c: Likewise.
49094         * soft-fp/extendsftf2.c: Likewise.
49095         * soft-fp/extendxftf2.c: Likewise.
49096         * soft-fp/fixdfdi.c: Likewise.
49097         * soft-fp/fixdfsi.c: Likewise.
49098         * soft-fp/fixdfti.c: Likewise.
49099         * soft-fp/fixsfdi.c: Likewise.
49100         * soft-fp/fixsfsi.c: Likewise.
49101         * soft-fp/fixsfti.c: Likewise.
49102         * soft-fp/fixtfdi.c: Likewise.
49103         * soft-fp/fixtfsi.c: Likewise.
49104         * soft-fp/fixtfti.c: Likewise.
49105         * soft-fp/fixunsdfdi.c: Likewise.
49106         * soft-fp/fixunsdfsi.c: Likewise.
49107         * soft-fp/fixunsdfti.c: Likewise.
49108         * soft-fp/fixunssfdi.c: Likewise.
49109         * soft-fp/fixunssfsi.c: Likewise.
49110         * soft-fp/fixunssfti.c: Likewise.
49111         * soft-fp/fixunstfdi.c: Likewise.
49112         * soft-fp/fixunstfsi.c: Likewise.
49113         * soft-fp/fixunstfti.c: Likewise.
49114         * soft-fp/floatdidf.c: Likewise.
49115         * soft-fp/floatdisf.c: Likewise.
49116         * soft-fp/floatditf.c: Likewise.
49117         * soft-fp/floatsidf.c: Likewise.
49118         * soft-fp/floatsisf.c: Likewise.
49119         * soft-fp/floatsitf.c: Likewise.
49120         * soft-fp/floattidf.c: Likewise.
49121         * soft-fp/floattisf.c: Likewise.
49122         * soft-fp/floattitf.c: Likewise.
49123         * soft-fp/floatundidf.c: Likewise.
49124         * soft-fp/floatundisf.c: Likewise.
49125         * soft-fp/floatunditf.c: Likewise.
49126         * soft-fp/floatunsidf.c: Likewise.
49127         * soft-fp/floatunsisf.c: Likewise.
49128         * soft-fp/floatunsitf.c: Likewise.
49129         * soft-fp/floatuntidf.c: Likewise.
49130         * soft-fp/floatuntisf.c: Likewise.
49131         * soft-fp/floatuntitf.c: Likewise.
49132         * soft-fp/fmadf4.c: Likewise.
49133         * soft-fp/fmasf4.c: Likewise.
49134         * soft-fp/fmatf4.c: Likewise.
49135         * soft-fp/gedf2.c: Likewise.
49136         * soft-fp/gesf2.c: Likewise.
49137         * soft-fp/getf2.c: Likewise.
49138         * soft-fp/ledf2.c: Likewise.
49139         * soft-fp/lesf2.c: Likewise.
49140         * soft-fp/letf2.c: Likewise.
49141         * soft-fp/muldf3.c: Likewise.
49142         * soft-fp/mulsf3.c: Likewise.
49143         * soft-fp/multf3.c: Likewise.
49144         * soft-fp/negdf2.c: Likewise.
49145         * soft-fp/negsf2.c: Likewise.
49146         * soft-fp/negtf2.c: Likewise.
49147         * soft-fp/op-1.h: Likewise.
49148         * soft-fp/op-2.h: Likewise.
49149         * soft-fp/op-4.h: Likewise.
49150         * soft-fp/op-8.h: Likewise.
49151         * soft-fp/op-common.h: Likewise.
49152         * soft-fp/quad.h: Likewise.
49153         * soft-fp/single.h: Likewise.
49154         * soft-fp/soft-fp.h: Likewise.
49155         * soft-fp/sqrtdf2.c: Likewise.
49156         * soft-fp/sqrtsf2.c: Likewise.
49157         * soft-fp/sqrttf2.c: Likewise.
49158         * soft-fp/subdf3.c: Likewise.
49159         * soft-fp/subsf3.c: Likewise.
49160         * soft-fp/subtf3.c: Likewise.
49161         * soft-fp/truncdfsf2.c: Likewise.
49162         * soft-fp/trunctfdf2.c: Likewise.
49163         * soft-fp/trunctfsf2.c: Likewise.
49164         * soft-fp/trunctfxf2.c: Likewise.
49165         * soft-fp/unorddf2.c: Likewise.
49166         * soft-fp/unordsf2.c: Likewise.
49167         * soft-fp/unordtf2.c: Likewise.
49169 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49171         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49172         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49174 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49176         * elf/dl-libc.c: Clear initfini list after freeing.
49178 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49180         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49181         * soft-fp/addsf3.c: Likewise.
49182         * soft-fp/addtf3.c: Likewise.
49183         * soft-fp/divdf3.c: Likewise.
49184         * soft-fp/divsf3.c: Likewise.
49185         * soft-fp/divtf3.c: Likewise.
49186         * soft-fp/double.h: Likewise.
49187         * soft-fp/eqdf2.c: Likewise.
49188         * soft-fp/eqsf2.c: Likewise.
49189         * soft-fp/eqtf2.c: Likewise.
49190         * soft-fp/extenddftf2.c: Likewise.
49191         * soft-fp/extended.h: Likewise.
49192         * soft-fp/extendsfdf2.c: Likewise.
49193         * soft-fp/extendsftf2.c: Likewise.
49194         * soft-fp/extendxftf2.c: Likewise.
49195         * soft-fp/fixdfdi.c: Likewise.
49196         * soft-fp/fixdfsi.c: Likewise.
49197         * soft-fp/fixdfti.c: Likewise.
49198         * soft-fp/fixsfdi.c: Likewise.
49199         * soft-fp/fixsfsi.c: Likewise.
49200         * soft-fp/fixsfti.c: Likewise.
49201         * soft-fp/fixtfdi.c: Likewise.
49202         * soft-fp/fixtfsi.c: Likewise.
49203         * soft-fp/fixtfti.c: Likewise.
49204         * soft-fp/fixunsdfdi.c: Likewise.
49205         * soft-fp/fixunsdfsi.c: Likewise.
49206         * soft-fp/fixunsdfti.c: Likewise.
49207         * soft-fp/fixunssfdi.c: Likewise.
49208         * soft-fp/fixunssfsi.c: Likewise.
49209         * soft-fp/fixunssfti.c: Likewise.
49210         * soft-fp/fixunstfdi.c: Likewise.
49211         * soft-fp/fixunstfsi.c: Likewise.
49212         * soft-fp/fixunstfti.c: Likewise.
49213         * soft-fp/floatdidf.c: Likewise.
49214         * soft-fp/floatdisf.c: Likewise.
49215         * soft-fp/floatditf.c: Likewise.
49216         * soft-fp/floatsidf.c: Likewise.
49217         * soft-fp/floatsisf.c: Likewise.
49218         * soft-fp/floatsitf.c: Likewise.
49219         * soft-fp/floattidf.c: Likewise.
49220         * soft-fp/floattisf.c: Likewise.
49221         * soft-fp/floattitf.c: Likewise.
49222         * soft-fp/floatundidf.c: Likewise.
49223         * soft-fp/floatundisf.c: Likewise.
49224         * soft-fp/floatunsidf.c: Likewise.
49225         * soft-fp/floatunsisf.c: Likewise.
49226         * soft-fp/floatuntidf.c: Likewise.
49227         * soft-fp/floatuntisf.c: Likewise.
49228         * soft-fp/floatuntitf.c: Likewise.
49229         * soft-fp/fmadf4.c: Likewise.
49230         * soft-fp/fmasf4.c: Likewise.
49231         * soft-fp/fmatf4.c: Likewise.
49232         * soft-fp/gedf2.c: Likewise.
49233         * soft-fp/gesf2.c: Likewise.
49234         * soft-fp/getf2.c: Likewise.
49235         * soft-fp/ledf2.c: Likewise.
49236         * soft-fp/lesf2.c: Likewise.
49237         * soft-fp/letf2.c: Likewise.
49238         * soft-fp/muldf3.c: Likewise.
49239         * soft-fp/mulsf3.c: Likewise.
49240         * soft-fp/multf3.c: Likewise.
49241         * soft-fp/negdf2.c: Likewise.
49242         * soft-fp/negsf2.c: Likewise.
49243         * soft-fp/negtf2.c: Likewise.
49244         * soft-fp/op-1.h: Likewise.
49245         * soft-fp/op-2.h: Likewise.
49246         * soft-fp/op-4.h: Likewise.
49247         * soft-fp/op-8.h: Likewise.
49248         * soft-fp/op-common.h: Likewise.
49249         * soft-fp/quad.h: Likewise.
49250         * soft-fp/single.h: Likewise.
49251         * soft-fp/soft-fp.h: Likewise.
49252         * soft-fp/sqrtdf2.c: Likewise.
49253         * soft-fp/sqrtsf2.c: Likewise.
49254         * soft-fp/sqrttf2.c: Likewise.
49255         * soft-fp/subdf3.c: Likewise.
49256         * soft-fp/subsf3.c: Likewise.
49257         * soft-fp/subtf3.c: Likewise.
49258         * soft-fp/truncdfsf2.c: Likewise.
49259         * soft-fp/trunctfdf2.c: Likewise.
49260         * soft-fp/trunctfsf2.c: Likewise.
49261         * soft-fp/trunctfxf2.c: Likewise.
49262         * soft-fp/unorddf2.c: Likewise.
49263         * soft-fp/unordsf2.c: Likewise.
49264         * soft-fp/unordtf2.c: Likewise.
49266 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49268         [BZ #15672]
49269         * misc/error.c (error_tail): Fix possible buffer overflow.
49271 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49273         [BZ #13028]
49274         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49275         address.
49277 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49279         [BZ #832]
49280         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49281         testing pipefail option.
49283 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49285         * soft-fp/double.h: Indent preprocessor directives inside #if.
49286         * soft-fp/extended.h: Likewise.
49287         * soft-fp/op-2.h: Likewise.
49288         * soft-fp/op-4.h: Likewise.
49289         * soft-fp/op-common.h: Likewise.
49290         * soft-fp/quad.h: Likewise.
49291         * soft-fp/single.h: Likewise.
49292         * soft-fp/soft-fp.h: Likewise.
49294 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49296         * iconv/iconv_prog.c: Fix typos.
49297         * stdio-common/psiginfo-data.h: Likewise.
49299 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49301         [BZ #15764]
49302         * locale/setlocale.c: Fix typo.
49304 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49306         [BZ #16036]
49307         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49308         signaling NaN arguments.
49309         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49310         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49312         [BZ #14910]
49313         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49314         unordered operands.
49315         * soft-fp/gesf2.c (__gesf2): Likewise.
49316         * soft-fp/getf2.c (__getf2): Likewise.
49317         * soft-fp/ledf2.c (__ledf2): Likewise.
49318         * soft-fp/lesf2.c (__lesf2): Likewise.
49319         * soft-fp/letf2.c (__letf2): Likewise.
49321         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49322         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49323         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49324         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49325         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49326         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49327         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49328         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49329         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49330         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49331         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49332         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49333         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49334         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49335         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49336         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49337         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49338         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49339         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49340         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49341         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49342         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49343         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49344         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49345         * soft-fp/floattidf.c (__floattidf): Likewise.
49346         * soft-fp/floattisf.c (__floattisf): Likewise.
49347         * soft-fp/floattitf.c (__floattitf): Likewise.
49348         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49349         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49350         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49351         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49352         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49353         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49354         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49355         * soft-fp/gesf2.c (__gesf2): Likewise.
49356         * soft-fp/getf2.c (__getf2): Likewise.
49357         * soft-fp/ledf2.c (__ledf2): Likewise.
49358         * soft-fp/lesf2.c (__lesf2): Likewise.
49359         * soft-fp/letf2.c (__letf2): Likewise.
49361         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49362         Undefine and redefine.
49363         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49364         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49365         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49366         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49367         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49368         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49369         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49370         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49371         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49372         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49373         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49374         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49375         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49376         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49377         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49379         [BZ #16032]
49380         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49381         without decrementing exponent if mantissa >= that for the
49382         denominator, not >.
49383         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49384         denominator, not >.  Decrement exponent in < case instead of
49385         incrementing in >= case.
49386         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49387         without decrementing exponent if mantissa >= that for the
49388         denominator, not >.
49390         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49391         computing saturated result for unsigned overflow.
49393 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49394             Jeff Law  <law@redhat.com>
49396         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49397         (atan2Mp): Add systemtap probe marker.
49398         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49399         (__ieee754_log): Add systemtap probe marker.
49400         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49401         (atanMp): Add systemtap probe marker.
49402         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49403         (tanMp): Add systemtap probe marker.
49404         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49405         (__slowexp): Add systemtap probe marker.
49406         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49407         (__slowpow): Add systemtap probe marker.
49408         * manual/probes.texi: Document probes.
49410 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49412         [BZ #15362]
49413         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49414         written.
49415         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49416         written.
49417         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49418         written to buffer but not flushed.
49419         * libio/iofwrite_u.c:  Likewise.
49420         * libio/iopadn.c:  Return bytes returned even if EOF was
49421         encountered.
49422         * libio/iowpadn.c:  Likewise.
49423         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49424         if _IO_padn does not write the whole buffer.
49425         [!COMPILE_WPRINTF] (PAD): Likewise.
49427 2013-10-10  David S. Miller  <davem@davemloft.net>
49429         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49430         directory block.
49432 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49434         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49435         instead of FSF address.
49436         * soft-fp/fixdfti.c: Likewise.
49437         * soft-fp/fixsfti.c: Likewise.
49438         * soft-fp/fixtfti.c: Likewise.
49439         * soft-fp/fixunsdfti.c: Likewise.
49440         * soft-fp/fixunssfti.c: Likewise.
49441         * soft-fp/fixunstfti.c: Likewise.
49442         * soft-fp/floattidf.c: Likewise.
49443         * soft-fp/floattisf.c: Likewise.
49444         * soft-fp/floattitf.c: Likewise.
49445         * soft-fp/floatuntidf.c: Likewise.
49446         * soft-fp/floatuntisf.c: Likewise.
49447         * soft-fp/floatuntitf.c: Likewise.
49448         * soft-fp/trunctfxf2.c: Likewise.
49450         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49451         * soft-fp/fixdfti.c: Likewise.
49452         * soft-fp/fixsfti.c: Likewise.
49453         * soft-fp/fixtfti.c: Likewise.
49454         * soft-fp/fixunsdfti.c: Likewise.
49455         * soft-fp/fixunssfti.c: Likewise.
49456         * soft-fp/fixunstfti.c: Likewise.
49457         * soft-fp/floattidf.c: Likewise.
49458         * soft-fp/floattisf.c: Likewise.
49459         * soft-fp/floattitf.c: Likewise.
49460         * soft-fp/floatuntidf.c: Likewise.
49461         * soft-fp/floatuntisf.c: Likewise.
49462         * soft-fp/floatuntitf.c: Likewise.
49463         * soft-fp/trunctfxf2.c: Likewise.
49465 2013-10-10  David S. Miller  <davem@davemloft.net>
49467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49469 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49471         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49472         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49473         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49474         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49475         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49476         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49477         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49479         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49480         for NaNs before doing comparisons on argument.
49481         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49482         Likewise.
49484 2013-10-10  Will Newton  <will.newton@linaro.org>
49486         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49487         passed to _int_memalign does not overflow.
49489 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49491         * scripts/bench.pl: Add include-sources directive.
49492         * benchtests/README: Update documentation.
49494 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49496         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49497         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49498         instead of FP_INIT_ROUNDMODE.
49499         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49500         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49502         [BZ #16034]
49503         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49504         copy class of input value.
49505         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49506         not handle exceptions.
49507         * soft-fp/negsf2.c (__negsf2): Likewise.
49508         * soft-fp/negtf2.c (__negtf2): Likewise.
49509         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49511 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49513         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49514         semicolon.  From Linux kernel.
49516 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49518         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49520 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49522         [BZ #156]
49523         * manual/socket.texi: Added statement about buffer
49524         for gethostbyname2_r.
49526 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49528         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49529         Use .p2align directive instead, throughout.
49530         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49531         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49532         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49533         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49534         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49535         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49536         * sysdeps/x86_64/strchr.S: Likewise.
49537         * sysdeps/x86_64/strrchr.S: Likewise.
49539 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49541         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49543         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49545         * sysdeps/generic/math_private.h (__mpsin1): Remove
49546         declaration.
49547         (__mpcos1): Likewise.
49548         (__mpsin): New argument __range_reduce.
49549         (__mpcos): Likewise.
49550         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49551         (slow): Use __mpsin and __mpcos.
49552         (slow1): Likewise.
49553         (slow2): Likewise.
49554         (sloww): Likewise.
49555         (sloww1): Likewise.
49556         (sloww2): Likewise.
49557         (bsloww): Likewise.
49558         (bsloww1): Likewise.
49559         (bsloww2): Likewise.
49560         (cslow2): Likewise.
49561         (csloww): Likewise.
49562         (csloww1): Likewise.
49563         (csloww2): Likewise.
49564         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49565         range_reduce.  Merge in __mpsin1.
49566         (__mpcos): Likewise.
49567         (__mpsin1): Remove.
49568         (__mpcos1): Likewise.
49570 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49572         * locale/loadlocale.c (_nl_intern_locale_data): Use
49573         LOCFILE_ALIGNED_P.
49574         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49575         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49576         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49577         obstack data is appropriately aligned.
49578         (obstack_int32_grow_fast): Likewise.
49579         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49580         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49581         (add_locale_uint32_array): Likewise.
49583 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49585         * benchtests/Makefile: Remove ARGLIST and RET variables.
49586         ($(objpfx)bench-%.c): Pass only function name to the script.
49587         * benchtests/README: Update documentation.
49588         * benchtests/acos-inputs: Add new directives.
49589         * benchtests/acosh-inputs: Likewise.
49590         * benchtests/asin-inputs: Likewise.
49591         * benchtests/asinh-inputs: Likewise.
49592         * benchtests/atan-inputs: Likewise.
49593         * benchtests/atanh-inputs: Likewise.
49594         * benchtests/cos-inputs: Likewise.
49595         * benchtests/cosh-inputs: Likewise.
49596         * benchtests/exp-inputs: Likewise.
49597         * benchtests/log-inputs: Likewise.
49598         * benchtests/pow-inputs: Likewise.
49599         * benchtests/rint-inputs: Likewise.
49600         * benchtests/sin-inputs: Likewise.
49601         * benchtests/sinh-inputs: Likewise.
49602         * benchtests/tan-inputs: Likewise.
49603         * benchtests/tanh-inputs: Likewise.
49604         * scripts/bench.pl: Add support for new directives.
49606 2013-10-07  Alan Modra  <amodra@gmail.com>
49608         * README: Fix careless merge.
49610 2013-10-05  Alan Modra  <amodra@gmail.com>
49612         * NEWS: Mention powerpc64le support and bugs fixed.
49613         * README: Both big-endian and little-endian powerpc64 supported.
49615 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49617         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49618         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49619         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49620         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49622 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49624         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49625         match prototype.
49627 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49629         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49630         Move -mhard-float appending from
49631         ports/sysdeps/powerpc/powerpc32/Makefile.
49632         [$(with-fp) = yes] (ASFLAGS): Likewise.
49633         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49634         * sysdeps/powerpc/nofpu: Move directory from
49635         ports/sysdeps/powerpc/nofpu.
49636         * sysdeps/powerpc/soft-fp: Move directory from
49637         ports/sysdeps/powerpc/soft-fp.
49638         * sysdeps/powerpc/powerpc32/405: Move directory from
49639         ports/sysdeps/powerpc/powerpc32/405.
49640         * sysdeps/powerpc/powerpc32/440: Move directory from
49641         ports/sysdeps/powerpc/powerpc32/440.
49642         * sysdeps/powerpc/powerpc32/464: Move directory from
49643         ports/sysdeps/powerpc/powerpc32/464.
49644         * sysdeps/powerpc/powerpc32/476: Move directory from
49645         ports/sysdeps/powerpc/powerpc32/476.
49646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49647         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49649         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49651         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49653         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49655         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49656         * README: Update for powerpc-*-linux-gnu software floating point
49657         support in libc.
49659         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49660         case to powerpc/powerpc32*.
49661         * sysdeps/unix/sysv/linux/configure: Regenerated.
49663         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49664         (_FPU_MASK_OM): Define as 0x04.
49665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49667         0x00c10080.
49668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49669         0x0000003c.
49670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49673         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49674         getcontext_e500.
49675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49676         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49677         setcontext_e500.
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49679         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49680         and setcontext_e500.
49682 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49684         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49686 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49688         * manual/threads.texi (Default Thread Attributes): Fix typo.
49690 2013-10-04  Will Newton  <will.newton@linaro.org>
49692         * malloc/Makefile: Add tst-memalign.
49693         * malloc/tst-memalign.c: New file.
49695         * malloc/tst-posix_memalign.c: Add comments.
49696         (do_test): Add comments and call free on all potentially
49697         allocated pointers. Add space after cast.
49699         * malloc/tst-pvalloc.c: Add comments.
49700         (do_test): Add comments and call free on all potentially
49701         allocated pointers. Remove duplicate check for NULL pointer.
49702         Add space after cast.
49704         * malloc/tst-valloc.c: Add comments.
49705         (do_test): Add comments and call free on all potentially
49706         allocated pointers. Remove duplicate check for NULL pointer.
49707         Add space after cast.
49709 2013-10-04  Alan Modra  <amodra@gmail.com>
49711         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49712         Use stdint types in rather than __attribute__((mode())).
49713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49715 2013-10-04  Alan Modra  <amodra@gmail.com>
49717         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49718         Correct handling of unaligned relocs for little-endian.
49719         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49721 2013-10-04  Alan Modra  <amodra@gmail.com>
49723         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49724         * configure: Regenerate.
49725         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49726         * shlib-versions: Likewise.
49728 2013-10-04  Alan Modra  <amodra@gmail.com>
49730         * string/tester.c (test_memrchr): Increment reported test cycle.
49732 2013-10-04  Alan Modra  <amodra@gmail.com>
49734         * string/test-memcpy.c (do_one_test): When reporting errors, print
49735         string address and don't overrun end of string.
49737 2013-10-04  Alan Modra  <amodra@gmail.com>
49739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49740         insrdi.  Make better use of reg selection to speed exit slightly.
49741         Schedule entry path a little better.  Remove useless "are we done"
49742         checks on entry to main loop.  Handle wrapping around zero address.
49743         Correct main loop count.  Handle single left-over word from main
49744         loop inline rather than by using loop_small.  Remove extra word
49745         case in loop_small caused by wrong loop count.  Add little-endian
49746         support.
49747         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49748         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49749         cache hint.
49750         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49751         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49752         support.  Avoid rlwimi.
49753         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49755 2013-10-04  Alan Modra  <amodra@gmail.com>
49757         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49758         insrdi.  Formatting.
49759         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49760         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49761         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49762         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49763         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49764         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49766 2013-10-04  Alan Modra  <amodra@gmail.com>
49768         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49769         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49771         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49772         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49773         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49775         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49776         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49777         use of regs.  Use power7 mtocrf.  Tidy function tails.
49779 2013-10-04  Alan Modra  <amodra@gmail.com>
49781         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49782         Formatting.  Consistently use rXXX register defines or rN defines.
49783         Use early exit labels that avoid restoring unused non-volatile regs.
49784         Make cr field use more consistent with rWORDn compares.  Rename
49785         regs used as shift registers for unaligned loop, using rN defines
49786         for short lifetime/multiple use regs.
49787         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49788         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49789         addi 1,1,64 to pop stack frame.  Simplify return value code.
49790         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49792 2013-10-04  Alan Modra  <amodra@gmail.com>
49794         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49795         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49796         rather than rlwimi.
49797         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49798         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49799         little-endian support.  Correct typos.
49800         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49801         rather than rlwimi.
49802         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49803         in loop and entry code to keep "and." results.
49804         (strchr): Add little-endian support.  Comment.  Move cntlzd
49805         earlier in tail.
49806         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49808 2013-10-04  Alan Modra  <amodra@gmail.com>
49810         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49811         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49812         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49813         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49815 2013-10-04  Alan Modra  <amodra@gmail.com>
49817         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49818         (rTMP): Define as r11.
49819         (strcmp): Add little-endian support.  Optimise tail.
49820         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49821         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49822         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49824         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49826         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49828 2013-10-04  Alan Modra  <amodra@gmail.com>
49830         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49831         little-endian support.  Remove unnecessary "are we done" tests.
49832         Handle "s" wrapping around zero and extremely large "size".
49833         Correct main loop count.  Handle single left-over word from main
49834         loop inline rather than by using small_loop.  Correct comments.
49835         Delete "zero" tail, use "end_max" instead.
49836         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49838 2013-10-04  Alan Modra  <amodra@gmail.com>
49840         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49841         support.  Don't branch over align.
49842         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49843         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49844         support.  Rearrange tmp reg use to suit.  Comment.
49845         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49847 2013-10-04  Alan Modra  <amodra@gmail.com>
49849         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49851 2013-10-04  Alan Modra  <amodra@gmail.com>
49853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49854         conditional form of branch and link when obtaining pc.
49855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49857 2013-10-04  Alan Modra  <amodra@gmail.com>
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49860         HIWORD/LOWORD.
49861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49864 2013-10-04  Alan Modra  <amodra@gmail.com>
49866         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49867         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49868         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49869         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49870         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49871         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49872         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49873         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49874         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49875         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49877 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49878             Alistair Popple <alistair@ozlabs.au.ibm.com>
49879             Alan Modra <amodra@gmail.com>
49881         [BZ #15723]
49882         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49883         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49884         _dl_hwcap access for little-endian.
49885         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49886         destroy vmx regs when saving unaligned.
49887         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49888         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49889         destroy vmx regs when saving unaligned.
49891 2013-10-04  Alan Modra  <amodra@gmail.com>
49893         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49894         Don't use a union to pack hi/low value.
49896 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49898         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49899         for little-endian.
49900         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49901         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49902         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49903         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49904         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49906 2013-10-04  Alan Modra  <amodra@gmail.com>
49908         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49909         constants to usual value for .cst8 section, and remove redundant
49910         high address load.
49911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49912         constant for 0x1p52.  Load little-endian words of double from
49913         correct stack offsets.
49915 2013-10-04  Alan Modra  <amodra@gmail.com>
49917         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49918         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49919         words of double from correct stack offsets.
49920         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49921         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49922         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49924         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49925         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49926         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49927         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49928         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49929         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49930         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49931         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49932         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49933         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49934         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49935         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49936         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49938 2013-10-04  Alan Modra  <amodra@gmail.com>
49940         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49941         64-bit int/double union.
49942         (_FPU_SETCW): Likewise.
49943         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49944         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49946 2013-10-04  Alan Modra  <amodra@gmail.com>
49948         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49949         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49951 2013-10-04  Alan Modra  <amodra@gmail.com>
49953         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49954         use vector int constants.
49955         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49957 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49959         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49960         array with long long.
49961         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49962         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49963         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49964         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49965         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49966         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49967         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49968         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49969         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49970         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49971         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49972         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49973         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49975 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49977         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49978         (__signbit): Likewise.  Correct for little-endian.
49979         (__signbitl): Call __signbit.
49980         (lrint): Correct for little-endian.
49981         (lrintf): Call lrint.
49983 2013-10-04  Alan Modra  <amodra@gmail.com>
49985         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49986         union 32-bit int array member with 64-bit int array.
49987         (t515, tm256): Double rather than long double.
49988         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49990 2013-10-04  Alan Modra  <amodra@gmail.com>
49992         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49993         Delete.
49994         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49996         version of math_ldbl.h.
49998 2013-10-04  Alan Modra  <amodra@gmail.com>
50000         [BZ #15734], [BZ #15735]
50001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50002         all uses of ieee875 long double macros and unions.  Simplify test
50003         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50004         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50005         normalize after ldbl_extract_mantissa, and don't add hidden bit
50006         already handled.  Don't treat low word of ieee854 mantissa like
50007         low word of IBM long double and mask off bit when testing for
50008         zero.
50009         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50010         all uses of ieee875 long double macros and unions.  Simplify tests
50011         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50012         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50013         two1022, instead use their values.  Recognise that tests for large
50014         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50015         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50016         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50017         test for 0.0L and nan.  Correct negation.
50018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50019         ieee875 long double macros and unions.  Correct output for large
50020         magnitude x.  Correct absolute value calculation.
50021         (__erfcl): Likewise.
50022         * math/libm-test.inc: Add tests for errors discovered in IBM long
50023         double versions of fmodl, remainderl, erfl and erfcl.
50025 2013-10-04  Alan Modra  <amodra@gmail.com>
50027         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50028         all uses of ieee854 long double macros and unions.  Simplify tests
50029         for long doubles that are fully specified by the high double.
50030         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50031         Likewise.
50032         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50033         Remove dead code too.
50034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50035         (__ieee754_ynl): Likewise.
50036         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50038         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50039         Remove dead code too.
50040         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50041         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50043         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50044         Simplify.
50045         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50046         Simplify.
50047         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50048         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50050         Comment on variable precision.
50051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50052         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50053         Likewise.
50054         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50055         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50056         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50057         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50058         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50060 2013-10-04  Alan Modra  <amodra@gmail.com>
50062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50063         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50064         all uses of ieee854 long double macros and unions.
50065         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50066         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50067         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50069         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50071         Likewise.
50072         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50077         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50078         Simplify sign and nan test too.
50079         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50080         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50081         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50082         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50083         Likewise.
50084         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50085         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50086         Likewise.
50087         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50088         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50089         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50090         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50091         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50092         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50094 2013-10-04  Alan Modra  <amodra@gmail.com>
50096         * stdio-common/printf_size.c (__printf_size): Don't use
50097         union ieee854_long_double in fpnum union.
50098         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50099         signbit macro to retrieve sign from long double.
50100         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50101         retrieve sign from long double.
50102         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50103         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50104         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50105         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50106         * math/test-misc.c (main): Don't use union ieee854_long_double.
50108 2013-10-04  Alan Modra  <amodra@gmail.com>
50110         [BZ #15680]
50111         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50112         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50113         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50114         calculation.  Remove unnecessary test for denormal exponent.
50115         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50116         Correct handling of denormals.  Avoid undefined shift behaviour.
50117         Correct normalisation of low mantissa when low double is denormal.
50118         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50119         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50120         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50121         Correct normalisation of low mantissa.  Test for overflow of high
50122         mantissa and normalise.
50123         (ldbl_nearbyint): Use more readable constant for two52.
50124         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50125         (__mpn_construct_long_double): Fix test for overflow of high
50126         mantissa and correct normalisation.  Avoid undefined shift.
50128 2013-10-04  Alan Modra  <amodra@gmail.com>
50130         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50131         (union ibm_extended_long_double): Define as an array of ieee754_double.
50132         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50133         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50134         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50135         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50136         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50138         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50139         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50144 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50146         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50147         page size instead of calling getpagesize.
50149         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50150         (LOCFILE_ALIGN_MASK): Likewise.
50151         (LOCFILE_ALIGN_UP): Likewise.
50152         (LOCFILE_ALIGNED_P): Likewise.
50153         * locale/programs/ld-collate.c (collate_output): Use the new
50154         macros instead of __alignof__ (int32_t).
50155         * locale/weight.h (findidx): Likewise.
50157 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50159         [BZ #431]
50160         * manual/string.texi: Fix strncat and wcsncat.
50162 2013-10-03  Brooks Moses  <bmoses@google.com>
50164         [BZ #15915]
50165         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50166         * Makerules: ...here, and adjust associated comments.
50168 2013-10-02  Will Newton  <will.newton@linaro.org>
50170         * malloc/Makefile: Add tst-pvalloc.
50171         * malloc/tst-pvalloc.c: New file.
50173 2013-10-02  Will Newton  <will.newton@linaro.org>
50175         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50176         improve test coverage.
50178 2013-10-02  Will Newton  <will.newton@linaro.org>
50180         * malloc/Makefile: Add tst-posix_memalign.
50181         * malloc/tst-posix_memalign.c: New file.
50183 2013-10-01  Eric Blake  <eblake@redhat.com>
50185         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50186         Use __THROWNL rather than __THROW on static functions.
50188 2013-09-30  Petr Machata  <pmachata@redhat.com>
50190         * elf/elf.h (R_AARCH64_ABS16): New macro.
50191         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50192         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50193         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50194         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50195         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50196         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50197         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50198         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50199         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50200         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50201         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50202         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50203         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50204         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50205         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50206         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50207         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50208         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50209         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50210         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50211         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50212         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50213         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50214         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50215         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50216         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50217         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50218         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50219         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50220         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50221         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50222         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50223         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50224         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50225         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50226         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50227         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50228         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50229         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50230         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50231         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50232         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50233         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50234         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50235         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50236         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50237         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50238         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50239         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50240         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50241         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50242         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50243         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50244         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50245         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50246         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50247         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50248         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50249         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50250         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50251         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50252         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50253         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50254         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50255         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50256         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50257         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50258         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50259         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50260         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50261         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50262         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50263         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50264         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50265         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50266         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50267         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50268         (R_AARCH64_TLSDESC_LDR): Likewise.
50269         (R_AARCH64_TLSDESC_ADD): Likewise.
50270         (R_AARCH64_TLSDESC_CALL): Likewise.
50272 2013-09-30  Andreas Schwab  <schwab@suse.de>
50274         [BZ #15048]
50275         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50276         the nss database lookup.
50277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50280 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50282         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50284 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50286         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50287         ${Bash-specific parameter/pattern/string} parameter expansion.
50288         * sysdeps/unix/make-syscalls.sh: Likewise.
50290 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50292         * sysdeps/sh/stackguard-macros.h: New file.
50294 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50298         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50299         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50300         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50301         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50303 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50305         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50306         Fix thread ID register.
50308 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50310         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50311         [POSIX || UNIX98]: Require rather than permitting all symbols from
50312         <time.h>.
50313         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50314         element of struct sched_param.
50315         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50316         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50317         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50318         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50319         constant.
50321 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50323         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50324         argument calculation.
50326 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50328         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50329         Expect macro.
50330         [POSIX] (pthread_attr_t): Do not require type.
50331         [POSIX] (pthread_cond_t): Likewise.
50332         [POSIX] (pthread_condattr_t): Likewise.
50333         [POSIX] (pthread_key_t): Likewise.
50334         [POSIX] (pthread_mutex_t): Likewise.
50335         [POSIX] (pthread_mutexattr_t): Likewise.
50336         [POSIX] (pthread_once_t): Likewise.
50337         [POSIX] (pthread_t): Likewise.
50338         [POSIX-based standards] (pthread_atfork): Expect function.
50340 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50341             Richard Sandiford  <richard@codesourcery.com>
50343         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50344         (swap_endianness_p): New extern variable.
50345         (set_big_endian): New inline function.
50346         (maybe_swap_uint32): Likewise.
50347         (maybe_swap_uint32_array): Likewise.
50348         (maybe_swap_uint32_obstack): Likewise.
50349         * locale/programs/locfile.c: Include <stdbool.h>.
50350         (swap_endianness_p): New variable.
50351         (add_locale_uint32): Call maybe_swap_uint32.
50352         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50353         (write_locale_data): Call maybe_swap_uint32_array.
50354         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50355         maybe_swap_uint32.
50356         (obstack_int32_grow_fast): Likewise.
50357         (output_weightwc): Call maybe_swap_uint32_obstack.
50358         (collate_output): Likewise.
50359         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50360         (OPT_LITTLE_ENDIAN): Likewise.
50361         (options): Add --little-endian and --big-endian options.
50362         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50363         * locale/programs/locarchive.c: Include "locfile.h".
50364         (GET): New macro.
50365         (SET): Likewise.
50366         (INC): Likewise.
50367         (create_archive): Use the new macros to access fields of
50368         structures directly mapped from or written to locale archives.
50369         (oldlocrecentcmp): Likewise.
50370         (enlarge_archive): Likewise.
50371         (insert_name): Likewise.
50372         (add_alias): Likewise.
50373         (add_locale): Likewise.
50374         (delete_locales_from_archive): Likewise.
50375         (show_archive_content): Likewise.
50376         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50377         locale data.
50379 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50381         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50382         http://www.gnu.org/doc/freemanuals.texi.
50383         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50385 2013-09-24  Will Newton  <will.newton@linaro.org>
50387         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50388         macro.
50390 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50392         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50393         unsigned char.
50395 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50397         * manual/threads.texi (POSIX Threads): Fix a typo.
50399 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50401         [BZ #14547]
50402         * string/tst-strcoll-overflow.c: New test case.
50403         * string/Makefile (xtests): Add tst-strcoll-overflow.
50404         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50405         cache if string sizes may cause integer overflow.
50407         [BZ #14547]
50408         * string/strcoll_l.c (coll_seq): New members rule, idx,
50409         save_idx and back_us.
50410         (get_next_seq_nocache): New function.
50411         (do_compare_nocache): New function.
50412         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50413         when malloc fails.
50415 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50417         [BZ #15754]
50418         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50419         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50420         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50422         [BZ #15754]
50423         * elf/Makefile (tests): Add tst-ptrguard1.
50424         (tests-static): Add tst-ptrguard1-static.
50425         (tst-ptrguard1-ARGS): Define.
50426         (tst-ptrguard1-static-ARGS): Define.
50427         * elf/tst-ptrguard1.c: New file.
50428         * elf/tst-ptrguard1-static.c: New file.
50429         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50430         * sysdeps/i386/stackguard-macros.h: Likewise.
50431         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50432         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50433         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50434         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50435         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50436         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50438 2013-09-23  Hector Marco  <hecmargi@upv.es>
50439             Ismael Ripoll  <iripoll@disca.upv.es>
50440             Carlos O'Donell  <carlos@redhat.com>
50442         [BZ #15754]
50443         * sysdeps/generic/stackguard-macros.h: Define
50444         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50445         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50446         Define __pointer_chk_guard_local.
50447         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50448         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50450 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50452         [BZ #15859]
50453         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50455 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50457         * include/string.h (__ffs): Declare as hidden.
50458         * string/ffs.c (__ffs): Define as hidden.
50459         * sysdeps/i386/ffs.c (__ffs): Likewise.
50460         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50461         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50462         * sysdeps/s390/ffs.c (__ffs): Likewise.
50463         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50465 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50467         * NEWS: Mention malloc probes.
50469         * malloc/arena.c (new_heap): New memory_heap_new probe.
50470         (grow_heap): New memory_heap_more probe.
50471         (shrink_heap): New memory_heap_less probe.
50472         (heap_trim): New memory_heap_free probe.
50473         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50474         (systrim): New memory_sbrk_less probe.
50475         * manual/probes.texi: Document them.
50477         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50478         * manual/probes.texi: Document it.
50480         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50481         (__libc_realloc): Add memory_realloc_retry probe.
50482         (__libc_memalign): Add memory_memalign_retry probe.
50483         (__libc_valloc): Add memory_valloc_retry probe.
50484         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50485         (__libc_calloc): Add memory_calloc_retry probe.
50486         * manual/probes.texi: Document them.
50488         * malloc/arena.c (get_free_list): Add probe
50489         memory_arena_reuse_free_list.
50490         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50491         and memory_arena_reuse.
50492         (arena_get2) [!PER_THREAD]: Likewise.
50493         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50494         memory_arena_reuse_realloc.
50495         * manual/probes.texi: Document them.
50497         * malloc/malloc.c (__libc_free): Add
50498         memory_mallopt_free_dyn_thresholds probe.
50499         (__libc_mallopt): Add multiple memory_mallopt probes.
50500         * manual/probes.texi: Document them.
50502         * malloc/malloc.c: Include stap-probe.h.
50503         (__libc_mallopt): Add memory_mallopt probe.
50504         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50505         * manual/probes.texi: New.
50506         * manual/Makefile (chapters): Add probes.
50507         * manual/threads.texi: Set next node.
50509 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50511         [BZ #15963, #13985]
50512         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50513         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50514         Add `Chinese' to `nan' entry name.
50516 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50518         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50519         (POLYNOMIAL): Likewise.
50520         (TAYLOR_SINCOS): Likewise.
50521         (TAYLOR_SLOW): Likewise.
50522         (__sin): Use TAYLOR_SINCOS.
50523         (__cos): Likewise.
50524         (slow): Use TAYLOR_SLOW.
50525         (sloww): Likewise.
50526         (bsloww): Likewise.
50527         (csloww): Likewise.
50529 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50531         * stdlib/strtod_l.c: Fix buffer overrun.
50533 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50535         * benchtests/Makefile (bench): Add sincos.
50536         * benchtests/bench-sincos.c: New file.
50538         * math/libm-test.inc (cos_test_data): New test inputs.
50539         (sin_test_data): Likewise.
50541         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50542         macro.
50543         (__sin): Use it.
50544         (__cos): Likewise.
50545         (slow1): Likewise.
50546         (slow2): Likewise.
50547         (sloww1): Likewise.
50548         (sloww2): Likewise.
50549         (bsloww1): Likewise.
50550         (bsloww2): Likewise.
50551         (cslow2): Likewise.
50552         (csloww1): Likewise.
50553         (csloww2): Likewise.
50555         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50556         function.
50557         (__sin): Use it.
50558         (__cos): Likewise.
50560         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50561         gotos.
50562         (__cos): Likewise.
50564 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50566         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50567         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50568         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50569         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50570         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50571         * elf/cache.c (print_entry): Handle the new cache flags.
50573 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50574             Aldy Hernandez  <aldyh@redhat.com>
50576         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50577         Change condition to [_SOFT_FLOAT].
50578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50590         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50593         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50594         declaration.
50596 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50598         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50599         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50600         (__longjmp): Use LOAD_GP to load saved GPRs.
50601         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50602         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50603         (__sigsetjmp): Use SAVE_GP to save GPRs.
50605         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50606         Do not append -msoft-float.
50607         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50609 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50611         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50613 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50615         [BZ #15966]
50616         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50617         (_FPU_GETCW): Use initial "__" on variable and field names but not
50618         on macro parameter name.
50619         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50620         parentheses around reference to macro parameter.
50622 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50624         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50625         prototype.
50626         (ctype_startup): Use uint32_t in cast and sizeof for
50627         ctype->charnames.
50629 2013-09-11  Jia Liu  <proljc@gmail.com>
50631         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50632         __daddr_t_defined.
50633         [__FreeBSD__]: Likewise.
50635 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50638         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50639         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50640         (strchr): Remove __strchr_sse42 ifunc selection.
50641         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50642         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50644 2013-09-11  Will Newton  <will.newton@linaro.org>
50646         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50647         parameter to RES. Remove hardcoded 1000 value.
50648         * benchtests/bench-skeleton.c (main): Pass RES parameter
50649         to TIMING_INIT and multiply result by 1000.
50651 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50655 2013-09-11  Andreas Schwab  <schwab@suse.de>
50657         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50658         if not defined.
50659         (O_TMPFILE) [__USE_GNU]: Define.
50660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50661         Define.
50663 2013-09-11  Will Newton  <will.newton@linaro.org>
50665         [BZ #15857]
50666         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50667         does not overflow.
50669 2013-09-11  Will Newton  <will.newton@linaro.org>
50671         [BZ #15856]
50672         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50673         does not overflow.
50675 2013-09-11  Will Newton  <will.newton@linaro.org>
50677         [BZ #15855]
50678         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50679         does not overflow.
50681 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50683         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50684         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50685         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50686         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50689 2013-09-10  Allan McRae  <allan@archlinux.org>
50691         [BZ #15748]
50692         * manual/arith.texi (Parsing of Floats): Clarify
50693         cross-reference.
50695         [BZ #15849]
50696         * manual/install.texi (Running make install): Mention
50697         --enable-pt-chown.
50698         * INSTALL: Regenerated.
50700 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50702         * csu/init-first.c (_init): Remove the !SHARED condition around
50703         FPU control word initialization.
50704         * elf/dl-support.c (_dl_fpu_control): New variable.
50705         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50706         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50707         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50708         * math/test-fpucw-static.c: New file.
50709         * math/test-fpucw-ieee.c: New file.
50710         * math/test-fpucw-ieee-static.c: New file.
50711         * math/Makefile (tests): Add `test-fpucw-ieee' and
50712         `$(tests-static)'.
50713         (tests-static): New variable.
50714         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50715         dependency to...
50716         [($(build-shared),yes)]
50717         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50718         ... this.
50719         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50720         New dependency.
50722 2013-09-09  Allan McRae  <allan@archlinux.org>
50724         [BZ #15939]
50725         * manual/string.texi (Collation Functions): Fix typo in
50726         strcoll example.
50727         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50729         [BZ #15893]
50730         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50732         [BZ #15892]
50733         * libio/memstream.c (open_memstream): Fix memory leak.
50734         * libio/wmemstream.c (open_wmemstream): Likewise.
50736         [BZ #15895]
50737         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50739 2013-09-09  Will Newton  <will.newton@linaro.org>
50741         * malloc/Makefile: Add tst-realloc to tests.
50742         * malloc/tst-realloc.c: New file.
50744 2013-09-09  Allan McRae  <allan@archlinux.org>
50746         [BZ #15844]
50747         * COPYING: Update from GNU website to fix FSF address.
50748         * COPYING.LIB: Likewise.
50750 2013-09-06  David S. Miller  <davem@davemloft.net>
50752         * po/zh_TW.po: Update Chinese (traditional) translation from
50753         translation project.
50755 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50756             Joseph Myers  <joseph@codesourcery.com>
50758         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50759         "localeinfo.h".
50760         (obstack_chunk_alloc): New macro.
50761         (obstack_chunk_free): Likewise.
50762         (record_offset): New function.
50763         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
50778         iovec.
50779         * locale/programs/locfile.h: Include "obstack.h".
50780         (struct locale_file): Change to store locale file contents instead
50781         of header.
50782         (init_locale_data): New prototype.
50783         (align_locale_data): Likewise.
50784         (add_locale_empty): Likewise.
50785         (add_locale_raw_data): Likewise.
50786         (add_locale_raw_obstack): Likewise.
50787         (add_locale_string): Likewise.
50788         (add_locale_wstring): Likewise.
50789         (add_locale_uint32): Likewise.
50790         (add_locale_uint32_array): Likewise.
50791         (add_locale_char): Likewise.
50792         (start_locale_structure): Likewise.
50793         (end_locale_structure): Likewise.
50794         (start_locale_prelude): Likewise.
50795         (end_locale_prelude): Likewise.
50796         (write_locale_data): Update prototype.
50797         * locale/programs/3level.h (struct TABLE): Remove result field.
50798         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50799         Use new locale_file interface.
50800         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50801         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50802         * locale/programs/ld-address.c (address_output): Use new
50803         locale_file interface.
50804         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50805         NO_ADD_LOCALE.
50806         (collate_finish): Don't call collseq_table_finalize.
50807         (collate_output): Use new locale_file interface.
50808         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50809         in file.
50810         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50811         (TABLE): Move defines earlier in file.
50812         (ELEMENT): Likewise.
50813         (DEFAULT): Likewise.
50814         (wctrans_table_add): Move macro and inline function earlier in
50815         file.
50816         (struct wctype_table): Move type earlier in file.
50817         (add_locale_wctype_table): New static prototype.
50818         (struct locale_ctype_t): Use logical types instead of struct iovec
50819         pointers for members.
50820         (ctype_output): Use new locale_file interface.
50821         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50822         new locale_file interface.
50823         (allocate_arrays): Update for use of new locale_file interface.
50824         * locale/programs/ld-identification.c (identification_output): Use
50825         new locale_file interface.
50826         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50827         * locale/programs/ld-messages.c (messages_output): Likewise.
50828         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50829         * locale/programs/ld-name.c (name_output): Likewise.
50830         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50831         * locale/programs/ld-paper.c (paper_output): Likewise.
50832         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50833         * locale/programs/ld-time.c (time_output): Likewise.
50835 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50837         * benchtests/Makefile: Add memrchr benchmark.
50838         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50839         benchmark as memrchr.
50840         * benchtests/bench-memrchr-ifunc.c: New file.
50841         * benchtests/bench-memrchr.c: New file.
50843 2013-09-06   Will Newton  <will.newton@linaro.org>
50845         * benchtests/Makefile (string-bench): Add memcpy.
50847 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50848             Cong Wang  <amwang@redhat.com>
50850         [BZ #15850]
50851         * sysdeps/unix/sysv/linux/bits/in.h
50852         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50853         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50854         before __USE_KERNEL_IPV6_DEFS uses.
50855         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50856         IPPROTO_BEETPH.
50857         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50858         sockaddr_in6, or ipv6_mreq.
50860 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50862         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50863         memory access for final bytes in some large inputs.
50864         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50866 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50868         * string/test-memrchr.c: New file.
50869         * string/test-memrchr-ifunc.c: New file.
50870         * string/Makefile: Add new memrchr testcase.
50872 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50874         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50875         fanotify_init returns EPERM.
50877 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50879         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50880         errors.
50881         (top level): Treat second token from macro or constant entries for
50882         allowed headers as allowed.
50883         * include/complex.h: Condition internal declarations on
50884         [!_ISOMAC].
50885         * include/fenv.h: Condition include of <stdbool.h> and internal
50886         declarations on [!_ISOMAC].
50888 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50890         [BZ #15923]
50891         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50893 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50895         * configure.in (--enable-versioning): Remove configure option.
50896         (libc_cv_asm_symver_directive): Remove configure test.
50897         (libc_cv_ld_version_script_option): Likewise.
50898         (VERSIONING): Remove variable and AC_SUBST.
50899         (DO_VERSIONING): Remove AC_DEFINE.
50900         * configure: Regenerated.
50901         * config.h.in (DO_VERSIONING): Remove macro.
50902         * Makerules [$(versioning) = yes]: Change conditionals to
50903         [$(build-shared) = yes].
50904         * config.make.in (versioning): Remove variable.
50905         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50906         [$(build-shared) = yes].
50907         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50908         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50909         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50910         [$(build-shared) = yes].
50911         * extra-lib.mk [$(versioning) = yes]: Likewise.
50912         * hurd/Makefile [$(versioning) = yes]: Likewise.
50913         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50914         [SHARED].
50915         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50916         [SHARED].
50917         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50918         [SHARED && !NO_HIDDEN].
50919         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50920         [SHARED].
50921         [SHARED && DO_VERSIONING]: Likewise..
50922         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50923         [$(build-shared) = yes].
50924         * manual/install.texi (--disable-versioning): Remove
50925         documentation.
50926         * INSTALL: Regenerated.
50927         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50928         to [SHARED].
50929         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50930         [$(build-shared) = yes].
50931         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50932         * sysdeps/i386/i686/multiarch/strstr-c.c
50933         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50934         [SHARED && !NO_HIDDEN].
50935         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50936         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50937         * sysdeps/powerpc/powerpc32/dl-machine.c
50938         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50939         * sysdeps/powerpc/powerpc32/sysdep.h
50940         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50941         to [SHARED && PIC && !NO_HIDDEN].
50942         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50943         conditional to [SHARED].
50945 2013-09-04   Will Newton  <will.newton@linaro.org>
50947         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50948         * benchtests/bench-string.h: Include bench-timing.h instead
50949         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50950         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50951         call to HP_TIMING_DIFF_INIT.
50952         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50953         instead of hp-timing.h macros.
50954         * benchtests/bench-memchr.c: Likewise.
50955         * benchtests/bench-memcmp.c: Likewise.
50956         * benchtests/bench-memcpy.c: Likewise.
50957         * benchtests/bench-memmem.c: Likewise.
50958         * benchtests/bench-memmove.c: Likewise.
50959         * benchtests/bench-memset.c: Likewise.
50960         * benchtests/bench-rawmemchr.c: Likewise.
50961         * benchtests/bench-strcasecmp.c: Likewise.
50962         * benchtests/bench-strcasestr.c: Likewise.
50963         * benchtests/bench-strcat.c: Likewise.
50964         * benchtests/bench-strchr.c: Likewise.
50965         * benchtests/bench-strcmp.c: Likewise.
50966         * benchtests/bench-strcpy.c: Likewise.
50967         * benchtests/bench-strcpy_chk.c: Likewise.
50968         * benchtests/bench-strlen.c: Likewise.
50969         * benchtests/bench-strncasecmp.c: Likewise.
50970         * benchtests/bench-strncat.c: Likewise.
50971         * benchtests/bench-strncmp.c: Likewise.
50972         * benchtests/bench-strncpy.c: Likewise.
50973         * benchtests/bench-strnlen.c: Likewise.
50974         * benchtests/bench-strpbrk.c: Likewise.
50975         * benchtests/bench-strrchr.c: Likewise.
50976         * benchtests/bench-strspn.c: Likewise.
50977         * benchtests/bench-strstr.c: Likewise.
50979 2013-09-04  Will Newton  <will.newton@linaro.org>
50981         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50983 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50985         [BZ #15427]
50986         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50987         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50988         * math/libm-test.inc (lgamma_test_data): Add more tests.
50989         * sysdeps/i386/fpu/libm-test-ulps: Update.
50990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50992 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50994         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50996         Add ifunc.
50997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50998         Add strcmp-sse2-unaligned
50999         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51001 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51003         * Versions.def (libc): Add GLIBC_2.19.
51005 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51007         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51008         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51010 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51012         [BZ #14155]
51013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51014         intermediate calculations in recurrence.
51015         (__ieee754_ynf): Likewise.
51016         * math/libm-test.inc (jn_test_data): Do not allow spurious
51017         underflow exception.  Add more tests.
51018         (yn_test_data): Add more tests.
51019         * sysdeps/i386/fpu/libm-test-ulps: Update.
51020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51022 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51026 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51028         * csu/init-first.c: Fix then/than typos.
51029         * locale/programs/ld-collate.c: Likewise.
51030         * locale/programs/linereader.h: Likewise.
51031         * manual/charset.texi: Likewise.
51032         * manual/filesys.texi: Likewise.
51033         * manual/stdio.texi: Likewise.
51034         * manual/string.texi: Likewise.
51035         * stdlib/fmtmsg.c: Likewise.
51036         * sysdeps/i386/stpncpy.S: Likewise.
51037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51038         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51039         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51040         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51042 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51044         * elf/dl-open.c: Fix typos.
51045         * iconvdata/gbbig5.c: Likewise.
51046         * iconvdata/iso-2022-jp.c: Likewise.
51047         * iconv/gconv_int.h: Likewise.
51048         * iconv/loop.c: Likewise.
51049         * nis/rpcsvc/nis.h: Likewise.
51050         * resolv/ns_name.c: Likewise.
51051         * stdio-common/vfscanf.c: Likewise.
51052         * streams/stropts.h: Likewise.
51053         * sunrpc/rpc_thread.c: Likewise.
51054         * sysdeps/i386/strpbrk.S: Likewise.
51055         * sysdeps/ieee754/k_standard.c: Likewise.
51056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51058         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51059         * sysdeps/mach/hurd/profil.c: Likewise.
51060         * sysdeps/s390/dl-procinfo.h: Likewise.
51061         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51062         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51063         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51064         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51065         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51067 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51069         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51072 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51074         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51075         aix specific files.
51076         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51077         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51078         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51079         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51080         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51081         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51082         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51083         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51085 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51086             Roland McGrath  <roland@hack.frob.com>
51088         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51089         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51091 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51093         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51094         __executable_start symbol instead of _start.
51096 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51098         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51099         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51100         Move macros to...
51101         * sysdeps/gnu/ldsodefs.h: ... this new file.
51103         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51104         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51105         instead of ELFOSABI_LINUX.
51107         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51108         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51109         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51110         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51111         Likewise.
51112         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51113         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51114         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51115         Likewise.
51116         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51117         (ibm_extended_long_double): Add ieee_nan member.
51118         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51119         (do_test): New function.
51121         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51122         TEST_TRUNC.
51123         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51124         functions, renamed from truncdfsf_test, trunctfsf_test,
51125         trunctfdf_test.
51126         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51127         functions.
51128         (do_test): Run all these.
51130 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51132         * argp/argp-help.c: Fix typos.
51133         * argp/argp-parse.c: Likewise.
51134         * debug/backtracesyms.c: Likewise.
51135         * elf/elf.h: Likewise.
51136         * malloc/malloc.c: Likewise.
51137         * nis/nis_print.c: Likewise.
51138         * resolv/res_comp.c: Likewise.
51139         * stdlib/stdlib.h: Likewise.
51140         * sunrpc/clnt_tcp.c: Likewise.
51141         * sunrpc/clnt_udp.c: Likewise.
51142         * sunrpc/clnt_unix.c: Likewise.
51143         * sysdeps/unix/bsd/ptsname.c: Likewise.
51144         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51145         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51147         Likewise.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51149         Likewise.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51151         Likewise.
51152         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51154 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51156         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51159 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51161         [BZ #15897]
51162         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51163         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51164         ($(objpfx)bug-dl-leaf): New rule.
51165         ($(objpfx)bug-dl-leaf.so): Likewise.
51166         ($(objpfx)bug-dl-leaf.out): Likewise.
51167         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51168         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51169         * dlfcn/bug-dl-leaf.c: New test.
51170         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51171         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51172         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51173         (dlclose): Likewise.
51174         (dlmopen): Likewise.
51176 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51178         * include/netdb.h [!_ISOMAC]:
51179         Don't include <tls.h>.
51180         (h_errno, __libc_h_errno): Move declaration and macros out of
51181         [_LIBC_REENTRANT].
51183         * include/resolv.h [_RESOLV_H_]:
51184         Don't include <tls.h>.
51185         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51186         * resolv/res_libc.c: Don't include <tls.h>.
51187         (_res): Use __attribute__ ((nocommon)) in place of
51188         __attribute__ ((section (".bss"))).
51190         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51191         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51193         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51195         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51196         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51198         * resolv/res_mkquery.c: Include <sys/time.h>.
51200         * inet/ifreq.c: Moved to ...
51201         * sysdeps/unix/ifreq.c: ... here.
51202         * inet/ifreq.c: New file, true stub version.
51204         * socket/sa_len.c: New file.
51205         * socket/Makefile (aux): Add it.
51206         * sysdeps/unix/sysv/linux/Makefile
51207         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51208         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51209         and #include <socket/sa_len.c>.
51210         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51211         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51213         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51214         * bits/socket.h: ... here.
51216         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51217         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51218         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51220 2013-08-27  Andreas Schwab  <schwab@suse.de>
51222         [BZ #15736]
51223         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51224         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51225         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51226         * string/test-strcasecmp.c (test_main): Run tests in several
51227         locales.
51228         * string/test-strncasecmp.c (test_main): Likewise.
51230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51231         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51232         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51234         (__strncasecmp_ssse3) [PIC]: Likewise.
51236 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51238         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51240         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51241         instead of explicitly declaring xdecrypt.
51242         * nis/nss_nis/nis-publickey.c: Likewise.
51244 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51246         [BZ #15890]
51247         * nscd/aicache.c: Include res_hconf.h.
51248         (addhstaiX): Initialize res_hconf.
51250 2013-08-26  Andreas Schwab  <schwab@suse.de>
51252         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51253         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51255 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51257         * nscd/aicache.c (addhstaiX): Fix indentation.
51259 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51261         * configure.ac: Quote $build_pt_chown test.
51262         * configure: Regenerated.
51264 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51266         [BZ #15532]
51267         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51268         * math/s_cexpf.c (__cexpf): Likewise.
51269         * math/s_cexpl.c (__cexpl): Likewise.
51270         * math/libm-test.inc (cexp_test_data): Correct expected return
51271         value for NaN + i0.  Add another test.
51273 2013-08-22  David S. Miller  <davem@davemloft.net>
51275         * po/ca.po: Update Catalan translation from translation project.
51276         * po/uk.po: Add Ukrainian translations from translation project.
51278 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51280         [BZ #15797]
51281         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51282         is infinite, not alongside NaN test.
51283         * math/s_fdimf.c (__fdimf): Likewise.
51284         * math/s_fdiml.c (__fdiml): Likewise.
51285         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51286         errno is unchanged.
51288 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51290         * argp/argp-help.c: Fix typos.
51291         * crypt/speeds.c: Likewise.
51292         * csu/check_fds.c: Likewise.
51293         * elf/dl-load.c: Likewise.
51294         * elf/dl-open.c: Likewise.
51295         * elf/reldep3.c: Likewise.
51296         * elf/reldep.c: Likewise.
51297         * elf/sprof.c: Likewise.
51298         * iconv/iconv_charmap.c: Likewise.
51299         * iconv/skeleton.c: Likewise.
51300         * iconv/strtab.c: Likewise.
51301         * io/lockf64.c: Likewise.
51302         * libio/libioP.h: Likewise.
51303         * resolv/gai_notify.c: Likewise.
51304         * resolv/ns_name.c: Likewise.
51305         * resolv/ns_samedomain.c: Likewise.
51306         * resolv/res_send.c: Likewise.
51307         * stdlib/random.c: Likewise.
51308         * sunrpc/rpc/xdr.h: Likewise.
51309         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51310         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51311         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51312         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51313         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51314         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51316         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51317         * sysdeps/mach/hurd/check_fds.c: Likewise.
51318         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51319         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51320         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51321         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51322         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51323         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51324         * sysdeps/pthread/aio_notify.c: Likewise.
51325         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51326         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51327         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51328         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51329         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51331 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51333         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51334         version if bit_Slow_SSE4_2 is set.
51335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51336         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51338 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51340         [BZ #15867]
51341         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51342         trampoline stack frame information.
51343         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51344         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51345         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51346         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51347         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51348         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51349         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51350         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51351         sa_flags value.
51352         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51353         interrupting a syscall and set with option SA_SIGINFO.
51355 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51357         [BZ #15531]
51358         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51359         argument is infinite.
51360         * math/s_cprojf.c (__cprojf): Likewise.
51361         * math/s_cprojl.c (__cprojl): Likewise.
51362         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51363         * math/libm-test.inc (cproj_test_data): Add more tests.
51365         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51367         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51368         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51369         size.  Use __ffs to determine corresponding shift.
51371 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51372             Roland McGrath  <roland@hack.frob.com>
51374         * Makefile (INSTALL): Remove trailing blank lines from output of
51375         makeinfo.
51377 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51379         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51380         Align 32 bit compat elf_greg to 8 bytes.
51382 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51384         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51386 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51388         * string/strcoll_l.c (coll_seq): New structure.
51389         (get_next_seq_cached): New function.
51390         (get_next_seq): New function.
51391         (do_compare): New function.
51392         (STRCOLL): Use GNU style definition.  Simplify implementation
51393         by using get_next_seq, get_next_seq_cached and do_compare.
51395 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51397         [BZ #14699]
51398         CVE-2013-4237
51399         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51400         member.
51401         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51402         member.
51403         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51404         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51405         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51406         conditional.
51407         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51408         GETDENTS_64BIT_ALIGNED.
51409         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51410         * manual/filesys.texi (Reading/Closing Directory): Document
51411         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51412         strongly.
51413         * manual/conf.texi (Limits for Files): Add portability note to
51414         NAME_MAX, PATH_MAX.
51415         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51417 2013-08-13  Andreas Schwab  <schwab@suse.de>
51419         [BZ #15749]
51420         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51421         of fabs.
51422         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51423         LDBL_MAX_EXP >= 16384]: Add tests for it.
51425 2013-08-12  David S. Miller  <davem@davemloft.net>
51427         * version.h (RELEASE): Set to "development".
51428         (VERSION): Set to "2.18.90".
51429         * NEWS: Add 2.19 section.
51431 2013-08-03  David S. Miller  <davem@davemloft.net>
51433         * po/ko.po: Update Korean translation from translation project.
51435 2013-08-01  David S. Miller  <davem@davemloft.net>
51437         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51438         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51439         Bilka.
51441 2013-07-30  David S. Miller  <davem@davemloft.net>
51443         * po/fr.po: Update French translation from translation project.
51445 2013-07-28  David S. Miller  <davem@davemloft.net>
51447         * po/cs.po: Update Czech translation from translation project.
51449         * po/sv.po: Update Swedish translation from translation project.
51451 2013-07-27  David S. Miller  <davem@davemloft.net>
51453         * po/eo.po: Update Esperanto translation from translation project.
51455         * po/vi.po: Update Vietnamese translation from translation project.
51457         * po/de.po: Update German translation from translation project.
51459 2013-07-26  David S. Miller  <davem@davemloft.net>
51461         * po/bg.po: Update Bulgarian translation from translation project.
51463         * po/nl.po: Update Dutch translation from translation project.
51464         * po/pl.po: Update Polish translation from translation project.
51465         * po/ru.po: Update Russian translation from translation project.
51467 2013-07-24  David S. Miller  <davem@davemloft.net>
51469         * po/libc.pot: Update.
51471 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51473         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51474         variable page size.
51475         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51476         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51477         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51479 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51481         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51483 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51484             Andreas Schwab  <schwab@suse.de>
51485             Roland McGrath  <roland@hack.frob.com>
51486             Joseph Myers  <joseph@codesourcery.com>
51487             Carlos O'Donell  <carlos@redhat.com>
51489         [BZ #15755]
51490         * config.h.in: Define HAVE_PT_CHOWN.
51491         * config.make.in (build-pt-chown): New variable.
51492         * configure.in (--enable-pt_chown): New configure option.
51493         * configure: Regenerate.
51494         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51495         build-pt-chown is enabled.
51496         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51497         pt_chown to fix pty ownership.
51498         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51499         CLOSE_ALL_FDS.
51500         * manual/install.texi (Configuring and compiling): Mention
51501         --enable-pt_chown. Add @findex for grantpt.
51502         * INSTALL: Regenerate.
51504 2013-07-20  David S. Miller  <davem@davemloft.net>
51506         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51507         difference between 32-bit and 64-bit.
51509 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51511         [BZ #15711]
51512         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51513         Avoid system header dependency with -ffreestanding.
51514         ($(objpfx)bits/syscall%d): Likewise.
51516 2013-07-13  David S. Miller  <davem@davemloft.net>
51518         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51519         underflows from atanl/atan2l due to bug 15319.
51520         (casinh_test_data): Likewise.
51522 2013-07-07  David S. Miller  <davem@davemloft.net>
51524         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51526 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51528         * sysdeps/i386/fpu/libm-test-ulps: Update.
51529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51531 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51533         * configure.in (--enable-lock-elision): Fix message text.
51534         * INSTALL: Regenerate.
51535         * configure: Regenerate.
51537 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51541 2013-07-03  Andreas Jaeger  <aj@suse.de>
51543         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51544         define.
51545         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51546         (ptrace_peeksiginfo_args): Add.
51547         (__ptrace_peeksiginfo_flags): Add.
51548         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51550         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51552 2013-07-03  Allan McRae  <allan@archlinux.org>
51554         * sysdeps/i386/fpu/libm-test-ulps: Update.
51556 2013-07-02  David S. Miller  <davem@davemloft.net>
51558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51560 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51564 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51566         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51569 2013-07-02  Andi Kleen <ak@linux.intel.com>
51571         * config.h.in (ENABLE_LOCK_ELISION): Add.
51572         * configure.in (--enable-lock-elision): Add option.
51573         * manual/install.texi: Document --enable lock elision.
51574         * configure: Regenerate
51575         * INSTALL: Regenerate.
51577 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51579         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51580         SSE4.2 strcasecmp for libc.a.
51581         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51583 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51585         [BZ #13304]
51586         * soft-fp/op-common.h (_FP_FMA): New macro.
51587         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51588         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51589         (_FP_MUL_MEAT_1_imm): ... here.
51590         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51591         (_FP_MUL_MEAT_1_wide): ... here.
51592         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51593         (_FP_MUL_MEAT_1_hard): ... here.
51594         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51595         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51596         (_FP_MUL_MEAT_2_wide): ... here.
51597         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51598         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51599         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51600         (_FP_MUL_MEAT_2_gmp): ... here.
51601         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51602         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51603         (_FP_MUL_MEAT_4_wide): ... here.
51604         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51605         (_FP_MUL_MEAT_4_gmp): ... here.
51606         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51607         (_FP_WFRACBITS_DW_S): Likewise.
51608         (_FP_WFRACXBITS_DW_S): Likewise.
51609         (_FP_HIGHBIT_DW_S): Likewise.
51610         (FP_FMA_S): Likewise.
51611         (_FP_FRAC_HIGH_DW_S): Likewise.
51612         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51613         (_FP_WFRACBITS_DW_D): Likewise.
51614         (_FP_WFRACXBITS_DW_D): Likewise.
51615         (_FP_HIGHBIT_DW_D): Likewise.
51616         (FP_FMA_D): Likewise.
51617         (_FP_FRAC_HIGH_DW_D): Likewise.
51618         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51619         (_FP_WFRACBITS_DW_E): Likewise.
51620         (_FP_WFRACXBITS_DW_E): Likewise.
51621         (_FP_HIGHBIT_DW_E): Likewise.
51622         (FP_FMA_E): Likewise.
51623         (_FP_FRAC_HIGH_DW_E): Likewise.
51624         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51625         (_FP_WFRACBITS_DW_Q): Likewise.
51626         (_FP_WFRACXBITS_DW_Q): Likewise.
51627         (_FP_HIGHBIT_DW_Q): Likewise.
51628         (FP_FMA_Q): Likewise.
51629         (_FP_FRAC_HIGH_DW_Q): Likewise.
51630         * soft-fp/fmasf4.c: New file.
51631         * soft-fp/fmadf4.c: Likewise.
51632         * soft-fp/fmatf4.c: Likewise.
51634 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51637         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51638         Silvermont.
51639         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51640         macro.
51641         (index_Slow_SSE4_2): Likewise.
51642         (index_Prefer_PMINUB_for_stringop): Likewise.
51643         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51644         bit_Slow_SSE4_2 is set.
51645         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51646         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51648 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51650         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51651         rtld_global._dl_hwcap2.
51652         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51653         POWER8.
51654         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51655         POWER8 feature descriptions defined in _dl_hwcap2.
51656         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51657         string handling for POWER8 feature bits.
51658         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51659         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51660         _dl_powerpc_cap_flags.
51661         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51662         * sysdeps/powerpc/rtld-global-offsets.sym
51663         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51664         _dl_hwcap2 in the rtld_global_ro structure.
51666 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51668         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51669         hardware capabilities in support of AT_HWCAP2.
51670         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51671         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51672         GLRO(dl_hwcap2).
51673         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51674         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51675         explicitly the unknown a_type display mechanism is used.
51676         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51677         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51678         struct member.
51679         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51680         to macro prototype for AT_HWCAP2 support.
51681         * sysdeps/i386/dl-procinfo.h: Likewise.
51682         * sysdeps/s390/dl-procinfo.h: Likewise.
51683         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51684         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51685         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51686         return -1 for unknown a_type display fallback.
51687         * sysdeps/sparc/dl-procinfo.h: Likewise.
51688         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51689         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51691 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51693         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51694         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51696 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51698         [BZ #12492]
51699         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51700         mprotect making __stack_prot writable.
51702 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51703             Joseph Myers  <joseph@codesourcery.com>
51705         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51706         as being properly aligned.
51708 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51710         * dlfcn/modstatic5.c: New file.
51711         * dlfcn/tststatic5.c: New file.
51712         * dlfcn/Makefile (tests): Add tststatic5.
51713         (tests-static): Likewise.
51714         (modules-names): Add modstatic5.
51715         (tststatic5-ENV): New variable.
51716         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51718         [BZ #15022]
51719         * elf/dl-support.c (_dl_main_map): New variable.
51720         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51721         (_dl_nns, _dl_load_adds): Set to 1.
51722         (_dl_initial_searchlist): Refer to _dl_main_map.
51723         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51724         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51725         call to _dl_get_origin.
51726         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51727         around call_map.
51728         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51729         * dlfcn/modstatic3.c: New file.
51730         * dlfcn/tststatic3.c: New file.
51731         * dlfcn/tststatic4.c: New file.
51732         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51733         (tests-static): Likewise.
51734         (modules-names): Add modstatic3.
51735         (tststatic3-ENV, tststatic4-ENV): New variables.
51736         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51737         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51739 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51741         * configure.in (CC): Require GCC version 4.4 or later.
51742         * configure: Regenerated.
51743         * manual/install.texi (Tools for Compilation): Update GCC version
51744         requirement.
51745         * INSTALL: Regenerated.
51747 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51749         [BZ #15674]
51750         * string/test-memcmp.c (check2): New.
51751         (main): Call check2.
51753         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51755 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51757         [BZ #15022]
51758         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51759         over to...
51760         (dl_open_worker) [!SHARED]: ... here.
51762 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51764         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51766 2013-06-25  Richard Henderson  <rth@redhat.com>
51768         * locale/programs/locarchive.c: Include <libc-internal.h>
51770 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51772         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51773         trailing whitespace removed.
51775 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51777         [BZ #10283]
51778         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51779         * locale/programs/locarchive.c: Include libc-mmap.h.
51780         (prepare_address_space): Take two new outputs (the mmap base and len).
51781         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51782         values.
51783         (create_archive): Declare new mmap base and len values for
51784         prepare_address_space, and store the result in ah.
51785         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51786         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51787         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51788         Declare new mmap base and len values for
51789         prepare_address_space, and store the result in new_ah.
51790         (open_archive): Declare new mmap base and len values for
51791         prepare_address_space, and store the result in ah.
51792         (close_archive): If ah->mmap_base is not NULL, use that and
51793         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51794         * sysdeps/generic/libc-mmap.h: New file.
51796 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51798         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51799         (ALIGN_UP): Likewise.
51800         (PTR_ALIGN_DOWN): Likewise.
51801         (PTR_ALIGN_UP): Likewise.
51803 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51805         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51806         entry mapped to PPC_PLATFORM_POWER8.
51807         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51808         POWER8.
51809         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51810         (_dl_string_platform): Add case for exporting platform position for
51811         POWER8.
51812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51813         search path to sysdeps/powerpc/powerpc32/power8 directory.
51814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51815         search path to sysdeps/powerpc/powerpc64/power8 directory.
51816         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51817         power7 directories.
51818         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51819         power7 directories.
51821 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51823         * INSTALL: Regenerate.
51825         * nscd/connections.c (nscd_init): Fix comment.
51827 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51829         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51831         [BZ #15667]
51832         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51833         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51835 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51837         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51838         DL_DST_REQ_STATIC.
51839         (DL_DST_REQ_STATIC): Remove macro.
51841 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51843         [BZ #7006]
51844         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51845         with a shift of 0 bits.
51847 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51849         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51850         $(tststatic-ENV).
51852 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51854         [BZ #15655]
51855         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51857 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51859         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51860         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51861         accepts -fno-tree-loop-distribute-patterns.
51862         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51863         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51864         recursive call.
51865         * string/memset.c (memset): Likewise.
51866         * string/test-memmove.c (simple_memmove): Disable loop transformation
51867         to library calls.
51868         * string/test-memset.c (simple_memset): Likewise.
51869         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51870         * benchtests/bench-memset.c (simple_memset): Likewise.
51871         * configure: Regenerated.
51873 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51875         * math/test-misc.c (main): Ignore fesetround failure when failures
51876         of subsequent rounding tests would be ignored.
51878         [BZ #15654]
51879         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51880         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51881         * math/fegetenv.c (__fegetenv): Return 0.
51882         * math/fegetexcept.c (fegetexcept): Return 0.
51883         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51884         FE_TONEAREST.
51885         * math/feholdexcpt.c (feholdexcept): Return 0.
51886         * math/fesetenv.c (__fesetenv): Return 0.
51887         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51888         argument FE_TONEAREST.
51889         * math/feupdateenv.c (__feupdateenv): Return 0.
51890         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51892 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51894         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51895         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51896         ($(objpfx)rtld-%.os rules): Use them.
51898 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51900         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51901         fields.
51903 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51905         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51906         length of target pattern, then descending length of dependency pattern.
51907         * configure.in (AWK): Require gawk 3.1.2 or newer.
51908         * manual/install.texi (Tools for Compilation): Say that we do.
51909         * configure: Regenerated.
51911         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51912         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51913         * scripts/sysd-rules.awk: ... this new script.
51914         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51915         than a glob-style pattern.
51917 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51919         * math/test-misc.c (main): Do not treat incorrectly rounded
51920         conversions as failure unless ROUNDING_TESTS passes.
51922 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51924         [BZ #15631]
51925         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51926         restore exception state around main square root computation, then
51927         check for inexactness explicitly.
51929         * math/libm-test.inc (fma_test_data): Add another test.
51931 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933         * manual/threads.texi (Non-POSIX Extensions): New document
51934         node.  Document pthread_getattr_default_np and
51935         pthread_setattr_default_np.
51937         * Versions.def (libpthread): Add GLIBC_2.18.
51938         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51940         Likewise.
51941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51942         Likewise.
51943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51944         Likewise.
51945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51946         Likewise.
51947         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51948         Likewise.
51949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51950         Likewise.
51951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51952         Likewise.
51953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51954         Likewise.
51955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51956         Likewise.
51958 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51961         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51963 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51964             H.J. Lu  <hjl.tools@gmail.com>
51966         [BZ #15627]
51967         * sysdeps/x86_64/rtld-memset.c: Remove file.
51968         * sysdeps/x86_64/rtld-memset.S: New file.
51970 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51972         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51973         (test_in_one_mode): Take arguments for whether the rounding mode
51974         is supported for each floating-point type.
51975         (do_test): Pass new arguments to test_in_one_mode using
51976         ROUNDING_TESTS.
51978 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51980         * posix/tst-waitid.c (do_test): Distinguish different instances of
51981         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51982         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51983         before entering the kernel for waitpid.
51985 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51987         * NEWS: Fix note on clock function precision.  Text by Roland
51988         McGrath.
51990 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51992         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51993         it into place only when and if the sanity check passes.
51995 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51997         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51998         output for whether conversion result is exact.  Take argument
51999         indicating whether type is IBM long double.
52000         (round_for_all): Change need_exact field to ibm_ld.
52001         * stdlib/tst-strtod-round.c (struct exactness): New type.
52002         (struct test): Change bool ld_ok field to struct exactness exact.
52003         (TEST): Update all definitions for change to field.
52004         (tests): Regenerate array contents.
52005         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52006         field value.  Check for IBM long double here.
52007         (do_test): Update calls to test_in_one_mode.
52009 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         [BZ #12515]
52012         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52013         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52015 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52017         [BZ #15605]
52018         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52019         generated by the compiler on loop optimizations.
52020         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52021         general definitions.
52023 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52025         * math/bug-nextafter.c: Include <math-tests.h>.
52026         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52027         the relevant type.
52028         * math/bug-nexttoward.c: Include <math-tests.h>.
52029         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52030         the relevant type.
52031         * math/test-misc.c: Include <math-tests.h>.
52032         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52033         the relevant type.
52035 2013-06-12  Andreas Jaeger  <aj@suse.de>
52037         * po/ia.po: Update Interlingua translation from translation
52038         project.
52040 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52042         * include/fenv.h: Include stdbool.h.
52043         (struct rm_ctx): New structure.
52044         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52045         Define macro.
52046         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52047         (SET_RESTORE_ROUNDF): Likewise.
52048         (SET_RESTORE_ROUNDL): Likewise.
52049         (SET_RESTORE_ROUND_NOEX): Likewise.
52050         (SET_RESTORE_ROUND_NOEXF): Likewise.
52051         (SET_RESTORE_ROUND_NOEXL): Likewise.
52052         (SET_RESTORE_ROUND_53BIT): Likewise.
52053         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52054         (libc_feresetround_noexf_ctx): Likewise.
52055         (libc_feresetround_noexl_ctx): Likewise.
52056         (libc_feholdsetround_53bit_ctx): Likewise.
52057         (libc_feresetround_53bit_ctx): Likewise.
52058         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52059         (libc_feholdexcept_setround_sse_ctx): New function.
52060         (libc_fesetenv_sse_ctx): Likewise.
52061         (libc_feupdateenv_sse_ctx): Likewise.
52062         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52063         (libc_feholdexcept_setround_387_ctx): Likewise.
52064         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52065         (libc_feholdsetround_387_prec_ctx): Likewise.
52066         (libc_feholdsetround_387_ctx): Likewise.
52067         (libc_feholdsetround_387_53bit_ctx): Likewise.
52068         (libc_feholdsetround_sse_ctx): Likewise.
52069         (libc_feresetround_sse_ctx): Likewise.
52070         (libc_feresetround_387_ctx): Likewise.
52071         (libc_feupdateenv_387_ctx): Likewise.
52072         (libc_feholdexcept_setroundf_ctx): Define macro.
52073         (libc_fesetenvf_ctx): Likewise.
52074         (libc_feupdateenvf_ctx): Likewise.
52075         (libc_feholdsetroundf_ctx): Likewise.
52076         (libc_feresetroundf_ctx): Likewise.
52077         (libc_feholdexcept_setround_ctx): Likewise.
52078         (libc_fesetenv_ctx): Likewise.
52079         (libc_feupdateenv_ctx): Likewise.
52080         (libc_feholdsetround_ctx): Likewise.
52081         (libc_feresetround_ctx): Likewise.
52082         (libc_feholdexcept_setroundl_ctx): Likewise.
52083         (libc_feupdateenvl_ctx): Likewise.
52084         (libc_feholdsetroundl_ctx): Likewise.
52085         (libc_feresetroundl_ctx): Likewise.
52086         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52087         (libc_feresetround_53bit_ctx): Likewise.
52089 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52091         * locale/iso-639.def: Convert to UTF-8.
52093 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52095         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52096         (EXCEPTION_TESTS_double): Likewise.
52097         (EXCEPTION_TESTS_long_double): Likewise.
52098         (EXCEPTION_TESTS): Likewise.
52099         * math/libm-test.inc (test_exceptions): Only test exceptions if
52100         EXCEPTION_TESTS (FLOAT).
52102 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52104         * benchtests/Makefile (string-bench): Add strcpy_chk and
52105         stpcpy_chk.
52106         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52107         * benchtests/bench-stpcpy_chk.c: New file.
52108         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52109         * benchtests/bench-strcpy_chk.c: New file.
52110         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52111         code.
52112         (do_test): Likewise.
52114 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52116         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52117         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52118         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52119         with tabs where appropriate.
52120         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52121         dl-procinfo.h.
52122         [PPC_PLATFORM_PPC440]: Likewise.
52123         [PPC_PLATFORM_PPC464]: Likewise.
52124         [PPC_PLATFORM_PPC476]: Likewise.
52125         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52126         ppc464, and ppc476 platform strings merging from ports/
52127         dl-procinfo.h.
52129 2013-06-11  Andreas Schwab  <schwab@suse.de>
52131         [BZ #14991]
52132         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52133         (from_ucs4_idx): Regenerate.
52134         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52135         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52136         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52137         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52138         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52139         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52140         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52141         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52142         from FROM_LOOP and TO_LOOP specific macros.
52143         (BODY): Handle combining characters.
52144         * iconvdata/BIG5HKSCS.irreversible: Update.
52145         * iconvdata/BIG5HKSCS.precomposed: New file.
52146         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52147         characters.
52148         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52150 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52152         * include/sys/time.h: Fix indentation and add copyright header.
52154         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52155         (do_test): Likewise.
52156         * string/test-memchr.c (do_one_test): Likewise.
52157         (do_test): Likewise.
52158         * string/test-memcmp.c (do_one_test): Likewise.
52159         (do_test): Likewise.
52160         * string/test-memcpy.c (do_one_test): Likewise.
52161         (do_test): Likewise.
52162         * string/test-memmem.c (do_one_test): Likewise.
52163         (do_test): Likewise.
52164         (do_random_tests): Likewise.
52165         * string/test-memmove.c (do_one_test): Likewise.
52166         (do_test): Likewise.
52167         * string/test-memset.c (do_one_test): Likewise.
52168         (do_test): Likewise.
52169         * string/test-rawmemchr.c (do_one_test): Likewise.
52170         (do_test): Likewise.
52171         * string/test-strcasecmp.c (do_one_test): Likewise.
52172         (do_test): Likewise.
52173         * string/test-strcasestr.c (do_one_test): Likewise.
52174         (do_test): Likewise.
52175         * string/test-strcat.c (do_one_test): Likewise.
52176         (do_test): Likewise.
52177         * string/test-strchr.c (do_one_test): Likewise.
52178         (do_test): Likewise.
52179         * string/test-strcmp.c (do_one_test): Likewise.
52180         (do_test): Likewise.
52181         * string/test-strcpy.c (do_one_test): Likewise.
52182         (do_test): Likewise.
52183         * string/test-string.h: Likewise.
52184         (test_init): Likewise.
52185         * string/test-strlen.c (do_one_test): Likewise.
52186         (do_test): Likewise.
52187         * string/test-strncasecmp.c (do_one_test): Likewise.
52188         (do_test): Likewise.
52189         * string/test-strncat.c (do_one_test): Likewise.
52190         (do_test): Likewise.
52191         * string/test-strncmp.c (do_one_test): Likewise.
52192         (do_test_limit): Likewise.
52193         (do_test): Likewise.
52194         * string/test-strncpy.c (do_one_test): Likewise.
52195         (do_test): Likewise.
52196         * string/test-strnlen.c (do_one_test): Likewise.
52197         (do_test): Likewise.
52198         * string/test-strpbrk.c (do_one_test): Likewise.
52199         (do_test): Likewise.
52200         * string/test-strrchr.c (do_one_test): Likewise.
52201         (do_test): Likewise.
52202         * string/test-strspn.c (do_one_test): Likewise.
52203         (do_test): Likewise.
52204         * string/test-strstr.c (do_one_test): Likewise.
52205         (do_test): Likewise.
52207         * benchtests/Makefile (string-bench): Add string benchmarks.
52208         * benchtests/bench-bcopy-ifunc.c: New file.
52209         * benchtests/bench-bcopy.c: New file.
52210         * benchtests/bench-bzero-ifunc.c: New file.
52211         * benchtests/bench-bzero.c: New file.
52212         * benchtests/bench-memccpy-ifunc.c: New file.
52213         * benchtests/bench-memccpy.c: New file.
52214         * benchtests/bench-memchr-ifunc.c: New file.
52215         * benchtests/bench-memchr.c: New file.
52216         * benchtests/bench-memcmp-ifunc.c: New file.
52217         * benchtests/bench-memcmp.c: New file.
52218         * benchtests/bench-memmem-ifunc.c: New file.
52219         * benchtests/bench-memmem.c: New file.
52220         * benchtests/bench-memmove-ifunc.c: New file.
52221         * benchtests/bench-memmove.c: New file.
52222         * benchtests/bench-mempcpy-ifunc.c: New file.
52223         * benchtests/bench-mempcpy.c: New file.
52224         * benchtests/bench-memset-ifunc.c: New file.
52225         * benchtests/bench-memset.c: New file.
52226         * benchtests/bench-rawmemchr-ifunc.c: New file.
52227         * benchtests/bench-rawmemchr.c: New file.
52228         * benchtests/bench-stpcpy-ifunc.c: New file.
52229         * benchtests/bench-stpcpy.c: New file.
52230         * benchtests/bench-stpncpy-ifunc.c: New file.
52231         * benchtests/bench-stpncpy.c: New file.
52232         * benchtests/bench-strcasecmp-ifunc.c: New file.
52233         * benchtests/bench-strcasecmp.c: New file.
52234         * benchtests/bench-strcasestr-ifunc.c: New file.
52235         * benchtests/bench-strcasestr.c: New file.
52236         * benchtests/bench-strcat-ifunc.c: New file.
52237         * benchtests/bench-strcat.c: New file.
52238         * benchtests/bench-strchr-ifunc.c: New file.
52239         * benchtests/bench-strchr.c: New file.
52240         * benchtests/bench-strchrnul-ifunc.c: New file.
52241         * benchtests/bench-strchrnul.c: New file.
52242         * benchtests/bench-strcmp-ifunc.c: New file.
52243         * benchtests/bench-strcmp.c: New file.
52244         * benchtests/bench-strcpy-ifunc.c: New file.
52245         * benchtests/bench-strcpy.c: New file.
52246         * benchtests/bench-strcspn-ifunc.c: New file.
52247         * benchtests/bench-strcspn.c: New file.
52248         * benchtests/bench-strlen-ifunc.c: New file.
52249         * benchtests/bench-strlen.c: New file.
52250         * benchtests/bench-strncasecmp-ifunc.c: New file.
52251         * benchtests/bench-strncasecmp.c: New file.
52252         * benchtests/bench-strncat-ifunc.c: New file.
52253         * benchtests/bench-strncat.c: New file.
52254         * benchtests/bench-strncmp-ifunc.c: New file.
52255         * benchtests/bench-strncmp.c: New file.
52256         * benchtests/bench-strncpy-ifunc.c: New file.
52257         * benchtests/bench-strncpy.c: New file.
52258         * benchtests/bench-strnlen-ifunc.c: New file.
52259         * benchtests/bench-strnlen.c: New file.
52260         * benchtests/bench-strpbrk-ifunc.c: New file.
52261         * benchtests/bench-strpbrk.c: New file.
52262         * benchtests/bench-strrchr-ifunc.c: New file.
52263         * benchtests/bench-strrchr.c: New file.
52264         * benchtests/bench-strspn-ifunc.c: New file.
52265         * benchtests/bench-strspn.c: New file.
52266         * benchtests/bench-strstr-ifunc.c: New file.
52267         * benchtests/bench-strstr.c: New file.
52269         * benchtests/Makefile: Disable parallel execution of targets.
52270         (string-bench): Add memcpy.
52271         (benchset): New variable to store a list of benchmark sets.
52272         (bench-func): Renamed from bench.
52273         (bench-set): New target.
52274         (bench): Depend on bench-func and bench-set.
52275         * benchtests/README: Add section on benchmark sets.
52276         * benchtests/bench-memcpy-ifunc.c: New file.
52277         * benchtests/bench-memcpy.c: New file.
52278         * benchtests/bench-string.h: New file.
52280 2013-06-11  Andreas Schwab  <schwab@suse.de>
52282         [BZ #15577]
52283         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52284         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52285         values in the triple.
52286         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52287         terminator in the group key.
52289 2013-06-11  Andreas Jaeger  <aj@suse.de>
52291         * po/zh_TW.po: Update Chinese (traditional) translation from
52292         translation project.
52294 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52297         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52298         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52300         (clock_getcpuclockid): Likewise.
52301         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52302         Add weak_alias and libc_hidden_def.
52303         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52304         * rt/clock_gettime.c (clock_gettime): Rename to
52305         __clock_gettime.  Add weak_alias and libc_hidden_def.
52306         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52307         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52308         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52309         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52310         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52311         Likewise.
52312         * rt/clock_settime.c (clock_settime): Rename to
52313         __clock_settime.  Add weak_alias and libc_hidden_def.
52314         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52316 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52318         * mach/err_boot.sub: Remove trailing whitespace.
52319         * mach/err_ipc.sub: Likewise.
52320         * mach/err_mach.sub: Likewise.
52322         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52323         (ROUNDING_TESTS_double): Likewise.
52324         (ROUNDING_TESTS_long_double): Likewise.
52325         (ROUNDING_TESTS): Likewise.
52326         * math/libm-test.inc: Include <math-tests.h>.
52327         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52328         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52329         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52330         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52332 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52334         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52335         of assigning.
52337 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52339         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52340         otherwise empty TRANS lines.
52341         * sysdeps/gnu/errlist.c: Regenerated.
52343         * catgets/gencat.c (error_print): Use (void) in function
52344         definition.
52345         * crypt/crypt_util.c (__init_des): Likewise.
52346         * crypt/speeds.c (Stop): Likewise.
52347         (main): Likewise.
52348         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52349         * inet/ruserpass.c (token): Likewise.
52350         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52351         * intl/localealias.c (extend_alias_table): Likewise.
52352         * intl/plural-exp.c (init_germanic_plural): Likewise.
52353         * libio/fcloseall.c (__fcloseall): Likewise.
52354         * libio/genops.c (_IO_flush_all): Likewise.
52355         (_IO_flush_all_linebuffered): Likewise.
52356         (_IO_cleanup): Likewise.
52357         (_IO_iter_begin): Likewise.
52358         (_IO_iter_end): Likewise.
52359         (_IO_list_lock): Likewise.
52360         (_IO_list_unlock): Likewise.
52361         (_IO_list_resetlock): Likewise.
52362         * libio/getchar.c (getchar): Likewise.
52363         * libio/getchar_u.c (getchar_unlocked): Likewise.
52364         * libio/getwchar.c (getwchar): Likewise.
52365         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52366         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52367         * login/getpt.c (__getpt): Likewise.
52368         * login/tst-utmp.c (main): Likewise.
52369         * malloc/hooks.c (__malloc_check_init): Likewise.
52370         * malloc/malloc.c (__malloc_stats): Likewise.
52371         * malloc/mtrace.c (tr_break): Likewise.
52372         (mtrace): Likewise.
52373         (muntrace): Likewise.
52374         * misc/fstab.c (endfsent): Likewise.
52375         * misc/getclktck.c (__getclktck): Likewise.
52376         * misc/getdtsz.c (__getdtablesize): Likewise.
52377         * misc/gethostid.c (gethostid): Likewise.
52378         * misc/getpagesize.c (__getpagesize): Likewise.
52379         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52380         (__get_nprocs): Likewise.
52381         (__get_phys_pages): Likewise.
52382         (__get_avphys_pages): Likewise.
52383         * misc/getttyent.c (getttyent): Likewise.
52384         (setttyent): Likewise.
52385         (endttyent): Likewise.
52386         * misc/getusershell.c (getusershell): Likewise.
52387         (endusershell): Likewise.
52388         (setusershell): Likewise.
52389         (initshells): Likewise.
52390         * misc/hsearch.c (__hdestroy): Likewise.
52391         * misc/sync.c (sync): Likewise.
52392         * misc/syslog.c (closelog_internal): Likewise.
52393         (closelog): Likewise.
52394         * misc/ttyslot.c (ttyslot): Likewise.
52395         * misc/vhangup.c (vhangup): Likewise.
52396         * posix/fork.c (__fork): Likewise.
52397         * posix/getegid.c (__getegid): Likewise.
52398         * posix/geteuid.c (__geteuid): Likewise.
52399         * posix/getgid.c (__getgid): Likewise.
52400         * posix/getpid.c (__getpid): Likewise.
52401         * posix/getppid.c (__getppid): Likewise.
52402         * posix/getuid.c (__getuid): Likewise.
52403         * posix/pause.c (pause): Likewise.
52404         * posix/setpgrp.c (setpgrp): Likewise.
52405         * posix/setsid.c (__setsid): Likewise.
52406         * posix/test-vfork.c (noop): Likewise.
52407         * resolv/gethnamaddr.c (_endhtent): Likewise.
52408         (_gethtent): Likewise.
52409         (ht_endhostent): Likewise.
52410         (gethostent): Likewise.
52411         (dns_service): Likewise.
52412         * stdlib/drand48.c (drand48): Likewise.
52413         * stdlib/lrand48.c (lrand48): Likewise.
52414         * stdlib/mrand48.c (mrand48): Likewise.
52415         * stdlib/rand.c (rand): Likewise.
52416         * stdlib/random.c (__random): Likewise.
52417         * stdlib/setenv.c (clearenv): Likewise.
52418         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52419         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52420         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52421         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52422         (__get_nprocs): Likewise.
52423         (__get_phys_pages): Likewise.
52424         (__get_avphys_pages): Likewise.
52425         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52426         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52427         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52428         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52429         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52430         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52431         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52432         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52433         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52434         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52435         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52436         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52437         * sysdeps/posix/clock.c (clock): Likewise.
52438         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52439         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52440         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52441         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52442         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52444         (__get_nprocs_conf): Likewise.
52445         (__get_phys_pages): Likewise.
52446         (__get_avphys_pages): Likewise.
52447         * time/clock.c (clock): Likewise.
52448         * time/tzset.c (__tzname_max): Likewise.
52450 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52452         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52453         (__bswap_32): Do not use "register".
52454         * crypt/crypt.c (_ufc_doit_r): Likewise.
52455         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52456         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52457         * gmon/gmon.c (__monstartup): Likewise.
52458         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52459         * hurd/hurdmalloc.c (more_memory): Likewise.
52460         (malloc): Likewise.
52461         (free): Likewise.
52462         (realloc): Likewise.
52463         (malloc_fork_prepare): Likewise.
52464         (malloc_fork_parent): Likewise.
52465         (malloc_fork_child): Likewise.
52466         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52467         (_svcauth_des): Likewise.
52468         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52469         * inet/inet_net.c (inet_network): Likewise.
52470         * inet/inet_netof.c (inet_netof): Likewise.
52471         * inet/rcmd.c (__validuser2_sa): Likewise.
52472         * io/fts.c (fts_open): Likewise.
52473         (fts_load): Likewise.
52474         (fts_close): Likewise.
52475         (fts_read): Likewise.
52476         (fts_children): Likewise.
52477         (fts_build): Likewise.
52478         (fts_stat): Likewise.
52479         (fts_sort): Likewise.
52480         (fts_alloc): Likewise.
52481         (fts_lfree): Likewise.
52482         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52483         (_IO_file_xsgetn): Likewise.
52484         (_IO_file_xsgetn_mmap): Likewise.
52485         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52486         (_IO_cookie_write): Likewise.
52487         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52488         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52489         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52490         * malloc/obstack.c (_obstack_begin): Likewise.
52491         (_obstack_begin_1): Likewise.
52492         (_obstack_newchunk): Likewise.
52493         (_obstack_allocated_p): Likewise.
52494         (obstack_free): Likewise.
52495         (_obstack_memory_used): Likewise.
52496         * misc/getttyent.c (getttynam): Likewise.
52497         (getttyent): Likewise.
52498         (skip): Likewise.
52499         (value): Likewise.
52500         * misc/getusershell.c (initshells): Likewise.
52501         * misc/syslog.c (__vsyslog_chk): Likewise.
52502         * misc/ttyslot.c (ttyslot): Likewise.
52503         * nis/nis_hash.c (__nis_hash): Likewise.
52504         * posix/fnmatch_loop.c (FCT): Likewise.
52505         * posix/getconf.c (print_all): Likewise.
52506         (main): Likewise.
52507         * posix/getopt.c (exchange): Likewise.
52508         * posix/glob.c (globfree): Likewise.
52509         (prefix_array): Likewise.
52510         (__glob_pattern_type): Likewise.
52511         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52512         (NS_GET32): Likewise.
52513         (NS_PUT16): Likewise.
52514         (NS_PUT32): Likewise.
52515         * resolv/gethnamaddr.c (getanswer): Likewise.
52516         (gethostbyname2): Likewise.
52517         (gethostbyaddr): Likewise.
52518         (_gethtent): Likewise.
52519         (_gethtbyname2): Likewise.
52520         (_gethtbyaddr): Likewise.
52521         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52522         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52523         * resolv/res_init.c (__res_vinit): Likewise.
52524         (net_mask): Likewise.
52525         * resolv/res_mkquery.c (outchar): Likewise.
52526         (PRINT): Likewise.
52527         * stdio-common/printf_fp.c (outchar): Likewise.
52528         (PRINT): Likewise.
52529         * stdio-common/printf_fphex.c (outchar): Likewise.
52530         (PRINT): Likewise.
52531         * stdio-common/printf_size.c (outchar): Likewise.
52532         (PRINT): Likewise.
52533         * stdio-common/test_rdwr.c (main): Likewise.
52534         * stdio-common/tfformat.c (matches): Likewise.
52535         * stdio-common/vfprintf.c (outchar): Likewise.
52536         (printf_unknown): Likewise.
52537         (buffered_vfprintf): Likewise.
52538         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52539         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52540         (ReadFile): Likewise.
52541         * stdlib/qsort.c (SWAP): Likewise.
52542         (_quicksort): Likewise.
52543         * stdlib/setenv.c (__add_to_environ): Likewise.
52544         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52545         * stdlib/strtol_l.c (__strtol_l): Likewise.
52546         * stdlib/tst-strtod.c (main): Likewise.
52547         * stdlib/tst-strtol.c (main): Likewise.
52548         * stdlib/tst-strtoll.c (main): Likewise.
52549         * string/bits/string2.h (__strcmp_cc): Likewise.
52550         (__strcmp_cg): Likewise.
52551         (__strcspn_c1): Likewise.
52552         (__strcspn_c2): Likewise.
52553         (__strcspn_c3): Likewise.
52554         (__strspn_c1): Likewise.
52555         (__strspn_c2): Likewise.
52556         (__strspn_c3): Likewise.
52557         (__strsep_1c): Likewise.
52558         (__strsep_2c): Likewise.
52559         (__strsep_3c): Likewise.
52560         * string/memccpy.c (__memccpy): Likewise.
52561         * string/stpcpy.c (__stpcpy): Likewise.
52562         * string/strcmp.c (strcmp): Likewise.
52563         * string/strrchr.c (strrchr): Likewise.
52564         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52565         Likewise.
52566         * sysdeps/mach/hurd/getcwd.c
52567         (_hurd_canonicalize_directory_name_internal): Likewise.
52568         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52569         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52570         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52571         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52572         Likewise, in both definitions.
52573         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52574         definitions.
52575         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52576         64] (__bswap_64): Likewise.
52577         * time/test_time.c (main): Likewise.
52578         * time/tzfile.c (__tzfile_read): Likewise.
52579         (__tzfile_compute): Likewise.
52580         * time/tzset.c (__tzset_parse_tz): Likewise.
52581         (tzset_internal): Likewise.
52582         (compute_change): Likewise.
52583         * wcsmbs/wcscat.c (__wcscat): Likewise.
52584         * wcsmbs/wcschr.c (wcschr): Likewise.
52585         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52586         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52587         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52588         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52589         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52590         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52591         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52592         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52593         * wcsmbs/wmemset.c (wmemset): Likewise.
52595 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52597         * scripts/config.guess: Update to version 2013-05-16.
52598         * scripts/config.sub: Update to version 2013-04-24.
52599         * scripts/install-sh: Update to version 2011-11-20.07.
52600         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52601         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52603 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52605         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52606         * elf/sln.c: Likewise.
52607         * hurd/hurd/ioctl.h: Likewise.
52608         * hurd/hurdmalloc.c: Likewise.
52609         * hurd/xattr.c: Likewise.
52610         * include/shlib-compat.h: Likewise.
52611         * inet/ruserpass.c: Likewise.
52612         * libio/iofgets_u.c: Likewise.
52613         * libio/iofgetws_u.c: Likewise.
52614         * locale/programs/ld-identification.c: Likewise.
52615         * locale/programs/ld-time.c: Likewise.
52616         * mach/msg-destroy.c: Likewise.
52617         * nss/nss_files/files-netgrp.c: Likewise.
52618         * resolv/res_data.c: Likewise.
52619         * soft-fp/op-1.h: Likewise.
52620         * soft-fp/op-2.h: Likewise.
52621         * soft-fp/op-4.h: Likewise.
52622         * soft-fp/op-common.h: Likewise.
52623         * stdio-common/printf_fphex.c: Likewise.
52624         * stdlib/strtod_l.c: Likewise.
52625         * sunrpc/rpc/clnt.h: Likewise.
52626         * sysdeps/generic/framestate.c: Likewise.
52627         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52628         * sysdeps/i386/bsd-setjmp.S: Likewise.
52629         * sysdeps/i386/__longjmp.S: Likewise.
52630         * sysdeps/i386/setjmp.S: Likewise.
52631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52633         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52638         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52641         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52643         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52644         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52645         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52646         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52647         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52648         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52649         * sysdeps/ieee754/support.c: Likewise.
52650         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52651         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52652         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52653         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52654         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52655         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52656         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52657         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52658         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52659         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52660         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52661         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52662         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52663         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52664         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52665         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52666         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52669 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52671         * posix/transbug.c: Remove executable mode.
52673 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52675         * crypt/speeds.c: Remove trailing whitespace.
52676         * dlfcn/default.c: Likewise.
52677         * elf/ifuncdep2.c: Likewise.
52678         * elf/ifuncmain1.c: Likewise.
52679         * elf/ifuncmain1vis.c: Likewise.
52680         * elf/testobj.h: Likewise.
52681         * elf/tst-stackguard1.c: Likewise.
52682         * gmon/sys/gmon.h: Likewise.
52683         * hurd/hurdmsg.c: Likewise.
52684         * hurd/new-fd.c: Likewise.
52685         * hurd/ports-get.c: Likewise.
52686         * iconvdata/ibm1008_420.c: Likewise.
52687         * inet/tst-getni1.c: Likewise.
52688         * inet/tst-getni2.c: Likewise.
52689         * libio/ioungetc.c: Likewise.
52690         * libio/wfiledoalloc.c: Likewise.
52691         * manual/libm-err-tab.pl: Likewise.
52692         * math/w_dremf.c: Likewise.
52693         * misc/ftruncate.c: Likewise.
52694         * posix/bug-glob2.c: Likewise.
52695         * posix/tst-pcre.c: Likewise.
52696         * posix/wait4.c: Likewise.
52697         * resolv/README: Likewise.
52698         * resolv/res_debug.h: Likewise.
52699         * resolv/tst-inet_ntop.c: Likewise.
52700         * setjmp/bug269-setjmp.c: Likewise.
52701         * soft-fp/extended.h: Likewise.
52702         * soft-fp/op-1.h: Likewise.
52703         * soft-fp/op-2.h: Likewise.
52704         * soft-fp/op-4.h: Likewise.
52705         * soft-fp/op-8.h: Likewise.
52706         * soft-fp/testit.c: Likewise.
52707         * stdio-common/bug16.c: Likewise.
52708         * stdlib/random.c: Likewise.
52709         * sunrpc/rpcsvc/rquota.x: Likewise.
52710         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52711         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52712         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52713         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52714         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52715         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52716         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52717         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52718         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52719         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52720         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52721         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52722         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52723         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52724         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52725         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52726         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52727         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52728         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52729         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52730         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52731         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52732         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52733         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52734         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52737         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52738         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52739         * sysdeps/ieee754/s_lib_version.c: Likewise.
52740         * sysdeps/mach/hurd/check_fds.c: Likewise.
52741         * sysdeps/mach/hurd/getsockname.c: Likewise.
52742         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52743         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52744         * sysdeps/powerpc/bits/link.h: Likewise.
52745         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52746         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52747         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52748         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52749         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52750         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52751         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52752         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52753         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52754         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52755         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52756         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52757         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52758         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52759         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52760         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52761         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52765         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52766         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52768         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52769         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52770         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52771         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52772         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52773         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52774         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52775         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52777         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52778         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52779         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52780         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52781         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52782         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52783         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52784         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52785         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52786         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52787         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52788         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52789         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52790         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52791         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52792         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52793         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52794         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52797         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52798         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52799         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52800         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52801         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52802         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52803         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52804         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52805         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52806         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52807         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52808         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52809         * sysdeps/powerpc/sysdep.h: Likewise.
52810         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52811         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52812         * sysdeps/sh/dl-trampoline.S: Likewise.
52813         * sysdeps/sh/memset.S: Likewise.
52814         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52815         * sysdeps/sh/strlen.S: Likewise.
52816         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52817         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52818         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52819         * sysdeps/sparc/sparc32/rem.S: Likewise.
52820         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52821         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52822         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52823         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52824         * sysdeps/sparc/sparc32/urem.S: Likewise.
52825         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52826         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52827         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52828         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52829         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52830         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52831         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52832         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52833         * sysdeps/unix/bsd/times.c: Likewise.
52834         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52835         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52839         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52840         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52841         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52842         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52843         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52844         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52845         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52846         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52847         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52848         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52849         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52850         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52851         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52852         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52853         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52854         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52855         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52856         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52857         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52858         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52859         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52860         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52861         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52862         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52863         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52864         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52865         * sysdeps/x86_64/strcspn.S: Likewise.
52867 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52869         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52870         generated file.  Regenerate properly from gen-translit.pl.
52871         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52872         locale/C-translit.h.
52874 2013-06-05  Andreas Schwab  <schwab@suse.de>
52876         [BZ #15100]
52877         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52878         week as 6 instead of -1.
52879         * time/tst-strptime.c (day_tests): Add test case.
52881 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52883         * sysdeps/generic/math_private.h
52884         (libc_feholdexcept_setround_53bit): Replace with
52885         libc_feholdsetround_53bit.
52886         (libc_feupdateenv_53bit): Replace with
52887         libc_feresetround_53bit.
52888         (SET_RESTORE_ROUND_53BIT): Adjust.
52890 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52892         * string/test-strchrnul.c: Add copyright header.
52894         * posix/tst-getaddrinfo4.c: Increase test timeout.
52896 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52898         [BZ #15536]
52899         * math/libm-test.inc (MAX_EXP): Remove
52900         (MIN_EXP): Define.
52901         (ulp): Use MIN_EXP - MANT_DIG.
52902         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52904 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52906         * po/be.po: Revert last change.
52907         * po/zh_CN.po: Likewise.
52908         * po/header.pot: Likewise.
52910 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52912         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52913         link-libc-deps to empty as target-specific variable.
52914         * Makerules (link-libc-args): New variable.
52915         (libc-for-link): Likewise.
52916         (link-libc-deps): Likewise.
52917         (lib%.so): Depend on $(link-libc-deps).  Link with
52918         $(link-libc-args).
52919         (build-module): Link with $(link-libc-args).
52920         (build-module-asneeded): Likewise.
52921         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52922         list of objects.
52923         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52924         target-specific variable.
52925         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52926         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52927         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52928         libc.
52929         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52930         libc and ld.so.
52931         ($(objpfx)libpcprofile.so): Likewise.
52932         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52933         libc_nonshared.a.
52934         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52935         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52936         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52937         $(link-libc-deps).
52938         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52939         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52940         * login/Makefile ($(objpfx)libutil.so): Likewise.
52941         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52942         * math/Makefile ($(objpfx)libm.so): Likewise.
52943         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52944         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52945         variable instead of depending directly on libc.
52946         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52947         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52948         $(link-libc-deps).
52949         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52950         libc.
52951         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52952         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52953         ($(objpfx)libanl.so): Likewise.
52954         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52955         ld.so.
52956         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52957         $(link-libc-deps).
52958         * sysdeps/i386/fpu/Makefile: Remove file.
52959         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52960         ($(objpfx)libm.so): Remove dependency on ld.so.
52962 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52964         [BZ # 15553]
52965         * nis/yp_xdr.c (XDRMAXNAME): Define.
52966         (XDRMAXRECORD): Define.
52967         (xdr_domainname): Use XDRMAXNAME.
52968         (xdr_mapname): Likewise.
52969         (xdr_peername): Likewise.
52970         (xdr_keydat): Use XDRMAXRECORD.
52971         (xdr_valdat): Likewise.
52973 2013-05-30  Jeff Law  <law@redhat.com>
52975         [BZ #14256]
52976         * manual/errno.texi (ESTALE): Update to account for more than
52977         just NFS file systems.
52978         * sysdeps/gnu/errlist.c: Regenerated.
52980 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52982         [BZ #15465]
52983         * elf/Makefile (tests): Add tst-null-argv.
52984         (modules-names):  Add tst-null-argv-lib.
52985         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52986         (tst-null-argv-ENV): Set environment for tst-null-argv.
52987         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52988         (RTLD_PROGNAME): New macro.
52989         * elf/tst-null-argv.c: New test case.
52990         * elf/tst-null-argv-lib.c: Library for test case.
52991         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52992         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52993         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52994         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52995         * elf/dl-init.c (call_init): Likewise.
52996         (_dl_init): Likewise.
52997         * elf/dl-load.c (print_search_path): Likewise.
52998         (_dl_map_object): Likewise.
52999         * elf/dl-lookup.c (do_lookup_x): Likewise.
53000         (add_dependency): Likewise.
53001         (_dl_lookup_symbol_x): Likewise.
53002         (_dl_debug_bindings): Likewise.
53003         * elf/dl-open.c (_dl_show_scope): Likewise.
53004         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53005         * elf/dl-version.c (match_symbol): Likewise.
53006         (_dl_check_map_versions): Likewise.
53007         * elf/rtld.c (dl_main): Likewise.
53008         (print_unresolved): Use RTLD_PROGNAME.
53009         (print_missing_version): Likewise.
53010         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53011         (elf_machine_rela): Likewise.
53012         * sysdeps/powerpc/powerpc32/dl-machine.c
53013         (__process_machine_rela): Likewise.
53014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53015         Likewise.
53016         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53017         Likewise.
53018         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53019         Likewise.
53020         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53021         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53022         Likewise.
53023         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53024         Likewise.
53025         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53027 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53029         * po/be.po: Add descriptive title.
53030         * po/zh_CN.po: Likewise.
53031         * po/header.pot: Likewise.
53033 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53035         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53036         error message.
53037         (enlarge_archive): Likewise.
53039 2013-05-28  Ben North  <ben@redfrontdoor.org>
53041         * manual/arith.texi (frexp): It is the magnitude of the return
53042         value which lies in [0.5, 1), not the return value itself.
53044 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53048 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53050         * stdio-common/bug26.c (main): Correct fscanf template.
53052         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53053         declare _dl_skip_args.
53055         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53056         Don't declare.
53058         * manual/platform.texi: Add missing @end deftypefun.
53060 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53062         [BZ #15529]
53063         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53064         bit of mantissa of 2^16382.
53065         * math/libm-test.inc (hypot_test_data): Add more tests.
53067         * math/libm-test.inc: Add drem and pow10 to list of tested
53068         functions.
53069         (pow10_test): New function.
53070         (drem_test): Likewise.
53071         (drem_test_tonearest): Likewise.
53072         (drem_test_towardzero): Likewise.
53073         (drem_test_downward): Likewise.
53074         (drem_test_upward): Likewise.
53075         (main): Call the new functions.
53077         * math/libm-test.inc (finite_test_data): Remove.
53078         (finite_test): Run tests from isfinite_test_data.
53079         (gamma_test_data): Remove.
53080         (gamma_test): Run tests from lgamma_test_data.
53081         * sysdeps/i386/fpu/libm-test-ulps: Update.
53082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53084 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53086         * manual/platform.texi: Add PowerPC PPR function set documentation.
53087         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53088         implementation.
53090 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53092         * math/libm-test.inc (MAX_EXP): Define.
53093         (ULPDIFF): Define.
53094         (ulp): New function.
53095         (check_float_internal): Use ULPDIFF.
53096         (cpow_test): Disable failing test.
53097         (check_ulp): Test ulp() implemetnation.
53098         (main): Call check_ulp before starting tests.
53100 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53102         * math/gen-libm-test.pl (generate_testfile): Do not handle
53103         START_DATA and END_DATA.
53104         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53105         END_DATA.
53106         (acos_tonearest_test_data): Likewise.
53107         (acos_towardzero_test_data): Likewise.
53108         (acos_downward_test_data): Likewise.
53109         (acos_upward_test_data): Likewise.
53110         (acosh_test_data): Likewise.
53111         (asin_test_data): Likewise.
53112         (asin_tonearest_test_data): Likewise.
53113         (asin_towardzero_test_data): Likewise.
53114         (asin_downward_test_data): Likewise.
53115         (asin_upward_test_data): Likewise.
53116         (asinh_test_data): Likewise.
53117         (atan_test_data): Likewise.
53118         (atanh_test_data): Likewise.
53119         (atan2_test_data): Likewise.
53120         (cabs_test_data): Likewise.
53121         (cacos_test_data): Likewise.
53122         (cacosh_test_data): Likewise.
53123         (carg_test_data): Likewise.
53124         (casin_test_data): Likewise.
53125         (casinh_test_data): Likewise.
53126         (catan_test_data): Likewise.
53127         (catanh_test_data): Likewise.
53128         (cbrt_test_data): Likewise.
53129         (ccos_test_data): Likewise.
53130         (ccosh_test_data): Likewise.
53131         (ceil_test_data): Likewise.
53132         (cexp_test_data): Likewise.
53133         (cimag_test_data): Likewise.
53134         (clog_test_data): Likewise.
53135         (clog10_test_data): Likewise.
53136         (conj_test_data): Likewise.
53137         (copysign_test_data): Likewise.
53138         (cos_test_data): Likewise.
53139         (cos_tonearest_test_data): Likewise.
53140         (cos_towardzero_test_data): Likewise.
53141         (cos_downward_test_data): Likewise.
53142         (cos_upward_test_data): Likewise.
53143         (cosh_test_data): Likewise.
53144         (cosh_tonearest_test_data): Likewise.
53145         (cosh_towardzero_test_data): Likewise.
53146         (cosh_downward_test_data): Likewise.
53147         (cosh_upward_test_data): Likewise.
53148         (cpow_test_data): Likewise.
53149         (cproj_test_data): Likewise.
53150         (creal_test_data): Likewise.
53151         (csin_test_data): Likewise.
53152         (csinh_test_data): Likewise.
53153         (csqrt_test_data): Likewise.
53154         (ctan_test_data): Likewise.
53155         (ctan_tonearest_test_data): Likewise.
53156         (ctan_towardzero_test_data): Likewise.
53157         (ctan_downward_test_data): Likewise.
53158         (ctan_upward_test_data): Likewise.
53159         (ctanh_test_data): Likewise.
53160         (ctanh_tonearest_test_data): Likewise.
53161         (ctanh_towardzero_test_data): Likewise.
53162         (ctanh_downward_test_data): Likewise.
53163         (ctanh_upward_test_data): Likewise.
53164         (erf_test_data): Likewise.
53165         (erfc_test_data): Likewise.
53166         (exp_test_data): Likewise.
53167         (exp_tonearest_test_data): Likewise.
53168         (exp_towardzero_test_data): Likewise.
53169         (exp_downward_test_data): Likewise.
53170         (exp_upward_test_data): Likewise.
53171         (exp10_test_data): Likewise.
53172         (exp2_test_data): Likewise.
53173         (expm1_test_data): Likewise.
53174         (fabs_test_data): Likewise.
53175         (fdim_test_data): Likewise.
53176         (finite_test_data): Likewise.
53177         (floor_test_data): Likewise.
53178         (fma_test_data): Likewise.
53179         (fma_towardzero_test_data): Likewise.
53180         (fma_downward_test_data): Likewise.
53181         (fma_upward_test_data): Likewise.
53182         (fmax_test_data): Likewise.
53183         (fmin_test_data): Likewise.
53184         (fmod_test_data): Likewise.
53185         (fpclassify_test_data): Likewise.
53186         (frexp_test_data): Likewise.
53187         (gamma_test_data): Likewise.
53188         (hypot_test_data): Likewise.
53189         (ilogb_test_data): Likewise.
53190         (isfinite_test_data): Likewise.
53191         (isgreater_test_data): Likewise.
53192         (isgreaterequal_test_data): Likewise.
53193         (isinf_test_data): Likewise.
53194         (isless_test_data): Likewise.
53195         (islessequal_test_data): Likewise.
53196         (islessgreater_test_data): Likewise.
53197         (isnan_test_data): Likewise.
53198         (isnormal_test_data): Likewise.
53199         (issignaling_test_data): Likewise.
53200         (isunordered_test_data): Likewise.
53201         (j0_test_data): Likewise.
53202         (j1_test_data): Likewise.
53203         (jn_test_data): Likewise.
53204         (ldexp_test_data): Likewise.
53205         (lgamma_test_data): Likewise.
53206         (lrint_test_data): Likewise.
53207         (lrint_tonearest_test_data): Likewise.
53208         (lrint_towardzero_test_data): Likewise.
53209         (lrint_downward_test_data): Likewise.
53210         (lrint_upward_test_data): Likewise.
53211         (llrint_test_data): Likewise.
53212         (llrint_tonearest_test_data): Likewise.
53213         (llrint_towardzero_test_data): Likewise.
53214         (llrint_downward_test_data): Likewise.
53215         (llrint_upward_test_data): Likewise.
53216         (log_test_data): Likewise.
53217         (log10_test_data): Likewise.
53218         (log1p_test_data): Likewise.
53219         (log2_test_data): Likewise.
53220         (logb_test_data): Likewise.
53221         (logb_downward_test_data): Likewise.
53222         (lround_test_data): Likewise.
53223         (llround_test_data): Likewise.
53224         (modf_test_data): Likewise.
53225         (nearbyint_test_data): Likewise.
53226         (nextafter_test_data): Likewise.
53227         (nexttoward_test_data): Likewise.
53228         (pow_test_data): Likewise.
53229         (pow_tonearest_test_data): Likewise.
53230         (pow_towardzero_test_data): Likewise.
53231         (pow_downward_test_data): Likewise.
53232         (pow_upward_test_data): Likewise.
53233         (remainder_test_data): Likewise.
53234         (remainder_tonearest_test_data): Likewise.
53235         (remainder_towardzero_test_data): Likewise.
53236         (remainder_downward_test_data): Likewise.
53237         (remainder_upward_test_data): Likewise.
53238         (remquo_test_data): Likewise.
53239         (rint_test_data): Likewise.
53240         (rint_tonearest_test_data): Likewise.
53241         (rint_towardzero_test_data): Likewise.
53242         (rint_downward_test_data): Likewise.
53243         (rint_upward_test_data): Likewise.
53244         (round_test_data): Likewise.
53245         (scalb_test_data): Likewise.
53246         (scalbn_test_data): Likewise.
53247         (scalbln_test_data): Likewise.
53248         (signbit_test_data): Likewise.
53249         (sin_test_data): Likewise.
53250         (sin_tonearest_test_data): Likewise.
53251         (sin_towardzero_test_data): Likewise.
53252         (sin_downward_test_data): Likewise.
53253         (sin_upward_test_data): Likewise.
53254         (sincos_test_data): Likewise.
53255         (sinh_test_data): Likewise.
53256         (sinh_tonearest_test_data): Likewise.
53257         (sinh_towardzero_test_data): Likewise.
53258         (sinh_downward_test_data): Likewise.
53259         (sinh_upward_test_data): Likewise.
53260         (sqrt_test_data): Likewise.
53261         (tan_test_data): Likewise.
53262         (tan_tonearest_test_data): Likewise.
53263         (tan_towardzero_test_data): Likewise.
53264         (tan_downward_test_data): Likewise.
53265         (tan_upward_test_data): Likewise.
53266         (tanh_test_data): Likewise.
53267         (tgamma_test_data): Likewise.
53268         (trunc_test_data): Likewise.
53269         (y0_test_data): Likewise.
53270         (y1_test_data): Likewise.
53271         (yn_test_data): Likewise.
53272         (significand_test_data): Likewise.
53274         * math/gen-libm-test.pl (@functions): Remove variable.
53275         (generate_testfile): Don't handle START and END lines.
53276         * math/libm-test.inc (START): New macro.
53277         (END): Likewise.
53278         (END_COMPLEX): Likewise.
53279         (acos_test): Use END macro without arguments.
53280         (acos_test_tonearest): Likewise.
53281         (acos_test_towardzero): Likewise.
53282         (acos_test_downward): Likewise.
53283         (acos_test_upward): Likewise.
53284         (acosh_test): Likewise.
53285         (asin_test): Likewise.
53286         (asin_test_tonearest): Likewise.
53287         (asin_test_towardzero): Likewise.
53288         (asin_test_downward): Likewise.
53289         (asin_test_upward): Likewise.
53290         (asinh_test): Likewise.
53291         (atan_test): Likewise.
53292         (atanh_test): Likewise.
53293         (atan2_test): Likewise.
53294         (cabs_test): Likewise.
53295         (cacos_test): Use END_COMPLEX macro without arguments.
53296         (cacosh_test): Likewise.
53297         (carg_test): Use END macro without arguments.
53298         (casin_test): Use END_COMPLEX macro without arguments.
53299         (casinh_test): Likewise.
53300         (catan_test): Likewise.
53301         (catanh_test): Likewise.
53302         (cbrt_test): Use END macro without arguments.
53303         (ccos_test): Use END_COMPLEX macro without arguments.
53304         (ccosh_test): Likewise.
53305         (ceil_test): Use END macro without arguments.
53306         (cexp_test): Use END_COMPLEX macro without arguments.
53307         (cimag_test): Use END macro without arguments.
53308         (clog_test): Use END_COMPLEX macro without arguments.
53309         (clog10_test): Likewise.
53310         (conj_test): Likewise.
53311         (copysign_test): Use END macro without arguments.
53312         (cos_test): Likewise.
53313         (cos_test_tonearest): Likewise.
53314         (cos_test_towardzero): Likewise.
53315         (cos_test_downward): Likewise.
53316         (cos_test_upward): Likewise.
53317         (cosh_test): Likewise.
53318         (cosh_test_tonearest): Likewise.
53319         (cosh_test_towardzero): Likewise.
53320         (cosh_test_downward): Likewise.
53321         (cosh_test_upward): Likewise.
53322         (cpow_test): Use END_COMPLEX macro without arguments.
53323         (cproj_test): Likewise.
53324         (creal_test): Use END macro without arguments.
53325         (csin_test): Use END_COMPLEX macro without arguments.
53326         (csinh_test): Likewise.
53327         (csqrt_test): Likewise.
53328         (ctan_test): Likewise.
53329         (ctan_test_tonearest): Likewise.
53330         (ctan_test_towardzero): Likewise.
53331         (ctan_test_downward): Likewise.
53332         (ctan_test_upward): Likewise.
53333         (ctanh_test): Likewise.
53334         (ctanh_test_tonearest): Likewise.
53335         (ctanh_test_towardzero): Likewise.
53336         (ctanh_test_downward): Likewise.
53337         (ctanh_test_upward): Likewise.
53338         (erf_test): Use END macro without arguments.
53339         (erfc_test): Likewise.
53340         (exp_test): Likewise.
53341         (exp_test_tonearest): Likewise.
53342         (exp_test_towardzero): Likewise.
53343         (exp_test_downward): Likewise.
53344         (exp_test_upward): Likewise.
53345         (exp10_test): Likewise.
53346         (exp2_test): Likewise.
53347         (expm1_test): Likewise.
53348         (fabs_test): Likewise.
53349         (fdim_test): Likewise.
53350         (finite_test): Likewise.
53351         (floor_test): Likewise.
53352         (fma_test): Likewise.
53353         (fma_test_towardzero): Likewise.
53354         (fma_test_downward): Likewise.
53355         (fma_test_upward): Likewise.
53356         (fmax_test): Likewise.
53357         (fmin_test): Likewise.
53358         (fmod_test): Likewise.
53359         (fpclassify_test): Likewise.
53360         (frexp_test): Likewise.
53361         (gamma_test): Likewise.
53362         (hypot_test): Likewise.
53363         (ilogb_test): Likewise.
53364         (isfinite_test): Likewise.
53365         (isgreater_test): Likewise.
53366         (isgreaterequal_test): Likewise.
53367         (isinf_test): Likewise.
53368         (isless_test): Likewise.
53369         (islessequal_test): Likewise.
53370         (islessgreater_test): Likewise.
53371         (isnan_test): Likewise.
53372         (isnormal_test): Likewise.
53373         (issignaling_test): Likewise.
53374         (isunordered_test): Likewise.
53375         (j0_test): Likewise.
53376         (j1_test): Likewise.
53377         (jn_test): Likewise.
53378         (ldexp_test): Likewise.
53379         (lgamma_test): Likewise.
53380         (lrint_test): Likewise.
53381         (lrint_test_tonearest): Likewise.
53382         (lrint_test_towardzero): Likewise.
53383         (lrint_test_downward): Likewise.
53384         (lrint_test_upward): Likewise.
53385         (llrint_test): Likewise.
53386         (llrint_test_tonearest): Likewise.
53387         (llrint_test_towardzero): Likewise.
53388         (llrint_test_downward): Likewise.
53389         (llrint_test_upward): Likewise.
53390         (log_test): Likewise.
53391         (log10_test): Likewise.
53392         (log1p_test): Likewise.
53393         (log2_test): Likewise.
53394         (logb_test): Likewise.
53395         (logb_test_downward): Likewise.
53396         (lround_test): Likewise.
53397         (llround_test): Likewise.
53398         (modf_test): Likewise.
53399         (nearbyint_test): Likewise.
53400         (nextafter_test): Likewise.
53401         (nexttoward_test): Likewise.
53402         (pow_test): Likewise.
53403         (pow_test_tonearest): Likewise.
53404         (pow_test_towardzero): Likewise.
53405         (pow_test_downward): Likewise.
53406         (pow_test_upward): Likewise.
53407         (remainder_test): Likewise.
53408         (remainder_test_tonearest): Likewise.
53409         (remainder_test_towardzero): Likewise.
53410         (remainder_test_downward): Likewise.
53411         (remainder_test_upward): Likewise.
53412         (remquo_test): Likewise.
53413         (rint_test): Likewise.
53414         (rint_test_tonearest): Likewise.
53415         (rint_test_towardzero): Likewise.
53416         (rint_test_downward): Likewise.
53417         (rint_test_upward): Likewise.
53418         (round_test): Likewise.
53419         (scalb_test): Likewise.
53420         (scalbn_test): Likewise.
53421         (scalbln_test): Likewise.
53422         (signbit_test): Likewise.
53423         (sin_test): Likewise.
53424         (sin_test_tonearest): Likewise.
53425         (sin_test_towardzero): Likewise.
53426         (sin_test_downward): Likewise.
53427         (sin_test_upward): Likewise.
53428         (sincos_test): Likewise.
53429         (sinh_test): Likewise.
53430         (sinh_test_tonearest): Likewise.
53431         (sinh_test_towardzero): Likewise.
53432         (sinh_test_downward): Likewise.
53433         (sinh_test_upward): Likewise.
53434         (sqrt_test): Likewise.
53435         (tan_test): Likewise.
53436         (tan_test_tonearest): Likewise.
53437         (tan_test_towardzero): Likewise.
53438         (tan_test_downward): Likewise.
53439         (tan_test_upward): Likewise.
53440         (tanh_test): Likewise.
53441         (tgamma_test): Likewise.
53442         (trunc_test): Likewise.
53443         (y0_test): Likewise.
53444         (y1_test): Likewise.
53445         (yn_test): Likewise.
53446         (significand_test): Likewise.
53448 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53450         [BZ #15381]
53451         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53453 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53455         [BZ #14894]
53456         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53457         __ppc_mdoio and __ppc_mdoom.
53458         * manual/platform.texi: Document new functions __ppc_yield,
53459         __ppc_mdoio and __ppc_mdoom.
53461 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53463         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53464         (main): Mention "tls" pseudo-hwcap is legacy.
53465         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53467 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53469         * math/gen-libm-test.pl (parse_args): Output only string of
53470         arguments as text for test name, not full call or descriptions of
53471         tests for extra outputs.
53472         (generate_testfile): Do not pass function name to parse_args.
53473         Generate this_func variable from START.
53474         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53475         field to arg_str.
53476         (struct test_ff_f_data): Likewise.
53477         (test_ff_f_data_nexttoward): Likewise.
53478         (struct test_fi_f_data): Likewise.
53479         (struct test_fl_f_data): Likewise.
53480         (struct test_if_f_data): Likewise.
53481         (struct test_fff_f_data): Likewise.
53482         (struct test_c_f_data): Likewise.
53483         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53484         (struct test_fF_f1_data): Likewise.
53485         (struct test_ffI_f1_data): Likewise.
53486         (struct test_c_c_data): Rename test_name field to arg_str.
53487         (struct test_cc_c_data): Likewise.
53488         (struct test_f_i_data): Likewise.
53489         (struct test_ff_i_data): Likewise.
53490         (struct test_f_l_data): Likewise.
53491         (struct test_f_L_data): Likewise.
53492         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53493         and extra2_name.
53494         (COMMON_TEST_SETUP): New macro.
53495         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53496         (COMMON_TEST_CLEANUP): Likewise.
53497         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53498         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53499         macros.
53500         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53501         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53502         macros.
53503         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53504         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53505         cleanup macros.
53506         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53507         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53508         macros.
53509         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53510         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53511         macros.
53512         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53513         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53514         cleanup macros.
53515         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53516         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53517         cleanup macros.
53518         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53519         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53520         cleanup macros.
53521         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53522         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53523         macros.
53524         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53525         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53526         macros.
53527         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53528         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53529         macros.
53530         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53531         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53532         cleanup macros.
53533         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53534         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53535         cleanup macros.
53536         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53537         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53538         macros.
53539         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53540         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53541         cleanup macros.
53542         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53543         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53544         macros.
53545         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53546         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53547         macros.
53548         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53549         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53550         cleanup macros.
53551         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53553 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53555         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53556         to _sifields.sigfault.
53557         (si_addr_lsb): Define new macro.
53558         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53559         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53560         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53562 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53564         [BZ #15441]
53565         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53566         returns -1.
53567         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53568         null return -1.
53569         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53570         loading the domain.
53572 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53574         * math/gen-libm-test.pl (parse_args): Do not include expected
53575         result in test name.
53576         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53578         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53579         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53580         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53583 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53585         * benchtests/Makefile: Sort function entries.
53587         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53588         tanh, asinh, acosh, atanh.
53589         * benchtests/acos-inputs: New file.
53590         * benchtests/acosh-inputs: New file.
53591         * benchtests/asin-inputs: New file.
53592         * benchtests/asinh-inputs: New file.
53593         * benchtests/atanh-inputs: New file.
53594         * benchtests/cosh-inputs: New file.
53595         * benchtests/log-inputs: New file.
53596         * benchtests/sinh-inputs: New file.
53597         * benchtests/tanh-inputs: New file.
53599 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53601         [BZ #15339]
53602         * posix/tst-getaddrinfo4.c: New test.
53603         * posix/Makefile (tests): Add it.
53605 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53607         [BZ #15339]
53608         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53609         when no services were used.
53610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53611         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53613 2013-05-21  Andreas Schwab  <schwab@suse.de>
53615         [BZ #15014]
53616         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53617         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53618         successful.
53619         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53620         redundant variable declarations and reallocation of buffer when
53621         parsing as IPv6 address.  Always set NSS status when called from
53622         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53623         buffer too small.  Correct computation of needed size.
53624         * nss/Makefile (tests): Add test-digits-dots.
53625         * nss/test-digits-dots.c: New test.
53627 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53629         * benchtests/Makefile: Remove instructions for adding
53630         benchmark tests.
53631         * benchtests/README: New file to explain how to execute and
53632         enhance the benchmark tests.
53634 2013-05-21  Andreas Schwab  <schwab@suse.de>
53636         [BZ #15493]
53637         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53638         * setjmp/tst-sigsetjmp.c: New test.
53640 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53642         * sysdeps/x86_64/memset.S (memset): New implementation.
53643         (__bzero): Likewise.
53644         (__memset_tail): New function.
53646 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53648         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53649         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53650         __memcpy_sse2_unaligned ifunc selection.
53651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53652         Add memcpy-sse2-unaligned.S.
53653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53654         Add: __memcpy_sse2_unaligned.
53656 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53658         [BZ #15490]
53659         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53660         math_force_eval before restoring floating-point envrionment.
53661         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53662         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53663         Likewise.
53664         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53665         <math_private.h>.
53666         (__nearbyintl): Use math_force_eval before restoring
53667         floating-point environment.
53668         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53670         * math/gen-libm-test.pl (special_functions): Remove.
53671         (parse_args): Don't handle TEST_extra.  Handle functions with no
53672         return value.
53673         * math/libm-test.inc (struct test_sincos_data): Replace with
53674         struct test_fFF_11_data.
53675         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53676         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53677         (sincos_test_data): Change element type to struct
53678         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53679         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53680         RUN_TEST_LOOP_sincos.
53681         * math/README.libm-test: Don't mention special handling of
53682         individual functions.
53683         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53685         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53686         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53687         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53690         * math/gen-libm-test.pl (get_variable): Remove function.
53691         (parse_args): Don't show pointer parameters to call in test
53692         names.  Use "extra output N" in test names for extra outputs
53693         rather than naming variables.
53695 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53697         [BZ #15488]
53698         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53699         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53700         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53701         double tests.
53702         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53703         disable.
53704         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53705         check_long_double.
53707         * math/gen-libm-test.pl (@tests): Remove variable.
53708         ($count): Likewise.
53709         (new_test): Remove function.
53710         (show_exceptions): New function.
53711         (special_functions): Use show_exceptions instead of new_test.
53712         (parse_args): Likewise.
53713         (generate_testfile): Pass only function name in generated call to
53714         print_max_error or print_complex_max_error.
53715         (get_ulps): Do not handle complex tests specially.
53716         (output_test): Rename to ...
53717         (get_all_ulps_for_test): ... this.  Return a string rather than
53718         printing to a file.  Require ulps to be present.
53719         (output_ulps): Generate arrays rather than #defines.
53720         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53721         (struct ulp_data): New type.
53722         (BUILD_COMPLEX_ULP): Remove macro.
53723         (compare_ulp_data): New function.
53724         (find_ulps): Likewise.
53725         (find_test_ulps): Likewise.
53726         (find_function_ulps): Likewise.
53727         (find_complex_function_ulps): Likewise.
53728         (print_max_error): Determine allowed ulps using
53729         find_function_ulps.
53730         (print_complex_max_error): Determine allowed ulps using
53731         find_complex_function_ulps.
53732         (check_float_internal): Determine max ulps using find_test_ulps.
53733         (check_float): Do not take max_ulp parameter.  Update call to
53734         check_float_internal.
53735         (check_complex): Likewise.
53736         (check_int): Do not take max_ulp parameter.
53737         (check_long): Likewise.
53738         (check_bool): Likewise.
53739         (check_longlong): Likewise.
53740         (struct test_f_f_data): Remove max_ulp field.
53741         (struct test_ff_f_data): Likewise.
53742         (struct test_ff_f_data_nexttoward): Likewise.
53743         (struct test_fi_f_data): Likewise.
53744         (struct test_fl_f_data): Likewise.
53745         (struct test_if_f_data): Likewise.
53746         (struct test_fff_f_data): Likewise.
53747         (struct test_c_f_data): Likewise.
53748         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53749         (struct test_fF_f1_data): Likewise.
53750         (struct test_ffI_f1_data): Likewise.
53751         (struct test_c_c_data): Remove max_ulp field.
53752         (struct test_cc_c_data): Likewise.
53753         (struct test_f_i_data): Likewise.
53754         (struct test_ff_i_data): Likewise.
53755         (struct test_f_l_data): Likewise.
53756         (struct test_f_L_data): Likewise.
53757         (struct test_sincos_data): Likewise.
53758         (RUN_TEST_f_f): Do not handle ulps.
53759         (RUN_TEST_LOOP_f_f): Likewise.
53760         (RUN_TEST_2_f): Likewise.
53761         (RUN_TEST_LOOP_2_f): Likewise.
53762         (RUN_TEST_fff_f): Likewise.
53763         (RUN_TEST_LOOP_fff_f): Likewise.
53764         (RUN_TEST_c_f): Likewise.
53765         (RUN_TEST_LOOP_c_f): Likewise.
53766         (RUN_TEST_f_f1): Likewise.
53767         (RUN_TEST_LOOP_f_f1): Likewise.
53768         (RUN_TEST_fF_f1): Likewise.
53769         (RUN_TEST_LOOP_fF_f1): Likewise.
53770         (RUN_TEST_fI_f1): Likewise.
53771         (RUN_TEST_LOOP_fI_f1): Likewise.
53772         (RUN_TEST_ffI_f1): Likewise.
53773         (RUN_TEST_LOOP_ffI_f1): Likewise.
53774         (RUN_TEST_c_c): Likewise.
53775         (RUN_TEST_LOOP_c_c): Likewise.
53776         (RUN_TEST_cc_c): Likewise.
53777         (RUN_TEST_LOOP_cc_c): Likewise.
53778         (RUN_TEST_f_i): Likewise.
53779         (RUN_TEST_LOOP_f_i): Likewise.
53780         (RUN_TEST_f_i_tg): Likewise.
53781         (RUN_TEST_LOOP_f_i_tg): Likewise.
53782         (RUN_TEST_ff_i_tg): Likewise.
53783         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53784         (RUN_TEST_f_b): Likewise.
53785         (RUN_TEST_LOOP_f_b): Likewise.
53786         (RUN_TEST_f_b_tg): Likewise.
53787         (RUN_TEST_LOOP_f_b_tg): Likewise.
53788         (RUN_TEST_f_l): Likewise.
53789         (RUN_TEST_LOOP_f_l): Likewise.
53790         (RUN_TEST_f_L): Likewise.
53791         (RUN_TEST_LOOP_f_L): Likewise.
53792         (RUN_TEST_sincos): Likewise.
53793         (RUN_TEST_LOOP_sincos): Likewise.
53795 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53797         [BZ #15480]
53798         [BZ #15485]
53799         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53800         main case of finite arguments, set rounding mode to FE_TONEAREST
53801         and discard exceptions.
53802         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53803         exceptions.
53804         (remainder_tonearest_test_data): New variable.
53805         (remainder_test_tonearest): New function.
53806         (remainder_towardzero_test_data): New variable.
53807         (remainder_test_towardzero): New function.
53808         (remainder_downward_test_data): New variable.
53809         (remainder_test_downward): New function.
53810         (remainder_upward_test_data): New variable.
53811         (remainder_test_upward): New function.
53812         (main): Call the new test functions.
53814         * math/libm-test.inc (struct test_f_f1_data): Remove field
53815         extra_init.
53816         (struct test_fF_f1_data): Likewise.
53817         (struct test_ffI_f1_data): Likewise.
53818         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53819         based on value of EXTRA_EXPECTED.
53820         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53821         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53822         EXTRA_VAR based on value of EXTRA_EXPECTED.
53823         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53824         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53825         EXTRA_VAR based on value of EXTRA_EXPECTED.
53826         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53827         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53828         EXTRA_VAR based on value of EXTRA_EXPECTED.
53829         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53830         * math/gen-libm-test.pl (parse_args): Don't output initializers
53831         for extra output values.
53833         * math/libm-test.inc (check_int): Expect result to be exactly
53834         equal to expected value and do not handle ulps.
53835         (check_long): Likewise.
53836         (check_longlong): Likewise.
53838         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53839         exceptions.
53840         (cimag_test_data): Likewise.
53841         (conj_test_data): Likewise.
53842         (copysign_test_data): Likewise.
53843         (cproj_test_data): Likewise.
53844         (creal_test_data): Likewise.
53845         (fabs_test_data): Likewise.
53846         (fdim_test_data): Likewise.
53847         (finite_test_data): Likewise.
53848         (floor_test_data): Likewise.
53849         (fmax_test_data): Likewise.
53850         (fmin_test_data): Likewise.
53851         (fmod_test_data): Likewise.
53852         (fpclassify_test_data): Likewise.
53853         (frexp_test_data): Likewise.
53854         (ilogb_test_data): Likewise.
53855         (isfinite_test_data): Likewise.
53856         (isgreater_test_data): Likewise.
53857         (isgreaterequal_test_data): Likewise.
53858         (isinf_test_data): Likewise.
53859         (isless_test_data): Likewise.
53860         (islessequal_test_data): Likewise.
53861         (islessgreater_test_data): Likewise.
53862         (isnan_test_data): Likewise.
53863         (isnormal_test_data): Likewise.
53864         (issignaling_test_data): Likewise.
53865         (isunordered_test_data): Likewise.
53866         (ldexp_test_data): Likewise.
53867         (lrint_test_data): Likewise.
53868         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53869         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53870         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53871         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53872         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53873         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53874         test input.
53875         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53876         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53877         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53878         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53879         that test input.
53880         (lrint_downward_test_data): Test for "inexact" exceptions.
53881         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53882         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53883         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53884         test input.
53885         (lrint_upward_test_data): Test for "inexact" exceptions.
53886         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53887         test input.
53888         (llrint_test_data): Test for "inexact" exceptions.
53889         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53890         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53891         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53892         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53893         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53894         (llrint_downward_test_data): Test for "inexact" exceptions.
53895         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53896         (llrint_upward_test_data): Test for "inexact" exceptions.
53897         (logb_test_data): Likewise.
53898         (logb_downward_test_data): Likewise.
53899         (nextafter_test_data): Likewise.
53900         (nexttoward_test_data): Likewise.
53901         (remainder_test_data): Likewise.
53902         (remquo_test_data): Likewise.
53903         (scalbn_test_data): Likewise.
53904         (scalbln_test_data): Likewise.
53905         (signbit_test_data): Likewise.
53906         (sqrt_test_data): Likewise.
53907         (significand_test_data): Likewise.
53909 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53911         [BZ #15424]
53912         * benchtests/bench-modf.c (struct args): Mark arg0 as
53913         volatile.
53914         * scripts/bench.pl: Mark members of struct args as volatile.
53916 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53918         [BZ # 15497]
53919         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53920         negative infinity on POWER6 or lower.
53921         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53923 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53925         [BZ #15442]
53926         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53927         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53928         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53929         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53930         (_FP_SETQNAN): New macro.
53931         (_FP_SETQNAN_SEMIRAW): Likewise.
53932         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53933         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53934         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53935         (FP_EXTEND): Use _FP_FRAC_SNANP.
53936         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53937         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53938         into account.
53939         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53940         New macro.
53941         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53942         Likewise.
53944 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53946         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53947         with DIVIDE_BY_ZERO_EXCEPTION.
53948         (gamma_test_data): Likewise.
53949         (lgamma_test_data): Likewise.
53950         (log_test_data): Likewise.
53951         (log10_test_data): Likewise.
53952         (log2_test_data): Likewise.
53953         (tgamma_test_data): Likewise.
53955         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53956         (acos_test_tonearest): Likewise.
53957         (acos_test_towardzero): Likewise.
53958         (acos_test_downward): Likewise.
53959         (acos_test_upward): Likewise.
53960         (acosh_test): Likewise.
53961         (asin_test): Likewise.
53962         (asin_test_tonearest): Likewise.
53963         (asin_test_towardzero): Likewise.
53964         (asin_test_downward): Likewise.
53965         (asin_test_upward): Likewise.
53966         (asinh_test): Likewise.
53967         (atan_test): Likewise.
53968         (atanh_test): Likewise.
53969         (atan2_test): Likewise.
53970         (cabs_test): Likewise.
53971         (cacos_test): Likewise.
53972         (cacosh_test): Likewise.
53973         (casin_test): Likewise.
53974         (casinh_test): Likewise.
53975         (catan_test): Likewise.
53976         (catanh_test): Likewise.
53977         (cbrt_test): Likewise.
53978         (ccos_test): Likewise.
53979         (ccosh_test): Likewise.
53980         (cexp_test): Likewise.
53981         (clog_test): Likewise.
53982         (clog10_test): Likewise.
53983         (cos_test): Likewise.
53984         (cos_test_tonearest): Likewise.
53985         (cos_test_towardzero): Likewise.
53986         (cos_test_downward): Likewise.
53987         (cos_test_upward): Likewise.
53988         (cosh_test): Likewise.
53989         (cosh_test_tonearest): Likewise.
53990         (cosh_test_towardzero): Likewise.
53991         (cosh_test_downward): Likewise.
53992         (cosh_test_upward): Likewise.
53993         (cpow_test): Likewise.
53994         (csin_test): Likewise.
53995         (csinh_test): Likewise.
53996         (csqrt_test): Likewise.
53997         (ctan_test): Likewise.
53998         (ctan_test_tonearest): Likewise.
53999         (ctan_test_towardzero): Likewise.
54000         (ctan_test_downward): Likewise.
54001         (ctan_test_upward): Likewise.
54002         (ctanh_test): Likewise.
54003         (ctanh_test_tonearest): Likewise.
54004         (ctanh_test_towardzero): Likewise.
54005         (ctanh_test_downward): Likewise.
54006         (ctanh_test_upward): Likewise.
54007         (erf_test): Likewise.
54008         (erfc_test): Likewise.
54009         (exp_test): Likewise.
54010         (exp_test_tonearest): Likewise.
54011         (exp_test_towardzero): Likewise.
54012         (exp_test_downward): Likewise.
54013         (exp_test_upward): Likewise.
54014         (exp10_test): Likewise.
54015         (exp2_test): Likewise.
54016         (expm1_test): Likewise.
54017         (fmod_test): Likewise.
54018         (gamma_test): Likewise.
54019         (hypot_test): Likewise.
54020         (j0_test): Likewise.
54021         (j1_test): Likewise.
54022         (jn_test): Likewise.
54023         (lgamma_test): Likewise.
54024         (log_test): Likewise.
54025         (log10_test): Likewise.
54026         (log1p_test): Likewise.
54027         (log2_test): Likewise.
54028         (logb_test_downward): Likewise.
54029         (pow_test): Likewise.
54030         (pow_test_tonearest): Likewise.
54031         (pow_test_towardzero): Likewise.
54032         (pow_test_downward): Likewise.
54033         (pow_test_upward): Likewise.
54034         (remainder_test): Likewise.
54035         (remquo_test): Likewise.
54036         (sin_test): Likewise.
54037         (sin_test_tonearest): Likewise.
54038         (sin_test_towardzero): Likewise.
54039         (sin_test_downward): Likewise.
54040         (sin_test_upward): Likewise.
54041         (sincos_test): Likewise.
54042         (sinh_test): Likewise.
54043         (sinh_test_tonearest): Likewise.
54044         (sinh_test_towardzero): Likewise.
54045         (sinh_test_downward): Likewise.
54046         (sinh_test_upward): Likewise.
54047         (sqrt_test): Likewise.
54048         (tan_test): Likewise.
54049         (tan_test_tonearest): Likewise.
54050         (tan_test_towardzero): Likewise.
54051         (tan_test_downward): Likewise.
54052         (tan_test_upward): Likewise.
54053         (tanh_test): Likewise.
54054         (tgamma_test): Likewise.
54055         (y0_test): Likewise.
54056         (y1_test): Likewise.
54057         (yn_test): Likewise.
54059         * math/gen-libm-test.pl (adjust_arg): Remove function.
54060         (special_function): Remove argument $in_func.  Only handle
54061         generating output for tables of tests, not inside functions.
54062         (parse_args): Likewise.
54063         (generate_testfile): Remove variable $in_func.  Update call to
54064         parse_args.
54065         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54066         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54067         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54068         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54069         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54070         (MAX_VALUE_INIT): Rename macro to max_value.
54071         (MIN_VALUE_INIT): Rename macro to min_value.
54072         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54073         (plus_zero): Remove variable.
54074         (minus_zero): Likewise.
54075         (plus_infty): Likewise.
54076         (minus_infty): Likewise.
54077         (qnan_value): Likewise.
54078         (max_value): Likewise.
54079         (min_value): Likewise.
54080         (min_subnorm_value): Likewise.
54082 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54084         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54085         uint64_t or uint32_t usage.
54086         * crypt/sha256-block.c: Likewise.
54087         * crypt/sha256-crypt.c: Likewise.
54088         * crypt/sha256.c: Likewise.
54089         * crypt/sha512-block.c: Likewise.
54090         * crypt/sha512-crypt.c: Likewise.
54091         * crypt/sha512.c: Likewise.
54092         * debug/backtrace-tst.c: Likewise.
54093         * debug/pcprofiledump.c: Likewise.
54094         * elf/cache.c: Likewise.
54095         * elf/dl-cache.c: Likewise.
54096         * elf/dl-misc.c: Likewise.
54097         * elf/dl-profile.c: Likewise.
54098         * elf/dl-support.c: Likewise.
54099         * elf/ldconfig.c: Likewise.
54100         * elf/sprof.c: Likewise.
54101         * iconv/dummy-repertoire.c: Likewise.
54102         * iconv/iconv_charmap.c: Likewise.
54103         * iconv/skeleton.c: Likewise.
54104         * iconvdata/8bit-generic.c: Likewise.
54105         * iconvdata/cp737.h: Likewise.
54106         * iconvdata/cp775.h: Likewise.
54107         * iconvdata/ibm1008.h: Likewise.
54108         * iconvdata/ibm1025.h: Likewise.
54109         * iconvdata/ibm1046.h: Likewise.
54110         * iconvdata/ibm1097.h: Likewise.
54111         * iconvdata/ibm1112.h: Likewise.
54112         * iconvdata/ibm1122.h: Likewise.
54113         * iconvdata/ibm1123.h: Likewise.
54114         * iconvdata/ibm1124.h: Likewise.
54115         * iconvdata/ibm1129.h: Likewise.
54116         * iconvdata/ibm1130.h: Likewise.
54117         * iconvdata/ibm1132.h: Likewise.
54118         * iconvdata/ibm1133.h: Likewise.
54119         * iconvdata/ibm1137.h: Likewise.
54120         * iconvdata/ibm1140.h: Likewise.
54121         * iconvdata/ibm1141.h: Likewise.
54122         * iconvdata/ibm1142.h: Likewise.
54123         * iconvdata/ibm1143.h: Likewise.
54124         * iconvdata/ibm1144.h: Likewise.
54125         * iconvdata/ibm1145.h: Likewise.
54126         * iconvdata/ibm1146.h: Likewise.
54127         * iconvdata/ibm1147.h: Likewise.
54128         * iconvdata/ibm1148.h: Likewise.
54129         * iconvdata/ibm1149.h: Likewise.
54130         * iconvdata/ibm1153.h: Likewise.
54131         * iconvdata/ibm1154.h: Likewise.
54132         * iconvdata/ibm1155.h: Likewise.
54133         * iconvdata/ibm1156.h: Likewise.
54134         * iconvdata/ibm1157.h: Likewise.
54135         * iconvdata/ibm1158.h: Likewise.
54136         * iconvdata/ibm1160.h: Likewise.
54137         * iconvdata/ibm1161.h: Likewise.
54138         * iconvdata/ibm1162.h: Likewise.
54139         * iconvdata/ibm1163.h: Likewise.
54140         * iconvdata/ibm1164.h: Likewise.
54141         * iconvdata/ibm1166.h: Likewise.
54142         * iconvdata/ibm1167.h: Likewise.
54143         * iconvdata/ibm12712.h: Likewise.
54144         * iconvdata/ibm1390.h: Likewise.
54145         * iconvdata/ibm1399.h: Likewise.
54146         * iconvdata/ibm16804.h: Likewise.
54147         * iconvdata/ibm4517.h: Likewise.
54148         * iconvdata/ibm4899.h: Likewise.
54149         * iconvdata/ibm4909.h: Likewise.
54150         * iconvdata/ibm4971.h: Likewise.
54151         * iconvdata/ibm5347.h: Likewise.
54152         * iconvdata/ibm803.h: Likewise.
54153         * iconvdata/ibm856.h: Likewise.
54154         * iconvdata/ibm901.h: Likewise.
54155         * iconvdata/ibm902.h: Likewise.
54156         * iconvdata/ibm9030.h: Likewise.
54157         * iconvdata/ibm9066.h: Likewise.
54158         * iconvdata/ibm921.h: Likewise.
54159         * iconvdata/ibm922.h: Likewise.
54160         * iconvdata/ibm9448.h: Likewise.
54161         * iconvdata/isiri-3342.h: Likewise.
54162         * iconvdata/jis0201.h: Likewise.
54163         * include/link.h: Likewise.
54164         * include/netdb.h: Likewise.
54165         * inet/check_native.c: Likewise.
54166         * inet/check_pf.c: Likewise.
54167         * inet/getipv4sourcefilter.c: Likewise.
54168         * inet/getnameinfo.c: Likewise.
54169         * inet/getsourcefilter.c: Likewise.
54170         * inet/htonl.c: Likewise.
54171         * inet/setipv4sourcefilter.c: Likewise.
54172         * inet/setsourcefilter.c: Likewise.
54173         * inet/test-inet6_opt.c: Likewise.
54174         * inet/tst-network.c: Likewise.
54175         * locale/C-collate.c: Likewise.
54176         * locale/C-ctype.c: Likewise.
54177         * locale/C-time.c: Likewise.
54178         * locale/C-translit.h: Likewise.
54179         * locale/loadarchive.c: Likewise.
54180         * locale/programs/3level.h: Likewise.
54181         * locale/programs/charmap.c: Likewise.
54182         * locale/programs/charmap.h: Likewise.
54183         * locale/programs/ld-address.c: Likewise.
54184         * locale/programs/ld-collate.c: Likewise.
54185         * locale/programs/ld-ctype.c: Likewise.
54186         * locale/programs/ld-identification.c: Likewise.
54187         * locale/programs/ld-measurement.c: Likewise.
54188         * locale/programs/ld-messages.c: Likewise.
54189         * locale/programs/ld-monetary.c: Likewise.
54190         * locale/programs/ld-name.c: Likewise.
54191         * locale/programs/ld-numeric.c: Likewise.
54192         * locale/programs/ld-paper.c: Likewise.
54193         * locale/programs/ld-telephone.c: Likewise.
54194         * locale/programs/ld-time.c: Likewise.
54195         * locale/programs/linereader.c: Likewise.
54196         * locale/programs/locale.c: Likewise.
54197         * locale/programs/locarchive.c: Likewise.
54198         * locale/programs/locfile.h: Likewise.
54199         * locale/programs/repertoire.c: Likewise.
54200         * locale/programs/simple-hash.c: Likewise.
54201         * locale/programs/simple-hash.h: Likewise.
54202         * malloc/memusage.c: Likewise.
54203         * malloc/memusagestat.c: Likewise.
54204         * nis/nis_defaults.c: Likewise.
54205         * nis/nis_hash.c: Likewise.
54206         * nis/nis_print.c: Likewise.
54207         * nis/nis_xdr.c: Likewise.
54208         * nscd/connections.c: Likewise.
54209         * nscd/hstcache.c: Likewise.
54210         * nscd/nscd_gethst_r.c: Likewise.
54211         * nscd/nscd_getserv_r.c: Likewise.
54212         * nscd/nscd_helper.c: Likewise.
54213         * nscd/servicescache.c: Likewise.
54214         * nss/makedb.c: Likewise.
54215         * nss/nss_db/db-XXX.c: Likewise.
54216         * nss/nss_db/db-initgroups.c: Likewise.
54217         * nss/nss_db/db-netgrp.c: Likewise.
54218         * nss/nss_files/files-network.c: Likewise.
54219         * nss/nss_files/files-parse.c: Likewise.
54220         * posix/bug-regex5.c: Likewise.
54221         * posix/fnmatch_loop.c: Likewise.
54222         * posix/regcomp.c: Likewise.
54223         * posix/regexec.c: Likewise.
54224         * posix/tst-rfc3484-2.c: Likewise.
54225         * posix/tst-rfc3484-3.c: Likewise.
54226         * posix/tst-rfc3484.c: Likewise.
54227         * resolv/nss_dns/dns-canon.c: Likewise.
54228         * resolv/nss_dns/dns-network.c: Likewise.
54229         * resolv/res_init.c: Likewise.
54230         * resolv/res_mkquery.c: Likewise.
54231         * resolv/tst-aton.c: Likewise.
54232         * stdlib/cxa_atexit.c: Likewise.
54233         * stdlib/cxa_finalize.c: Likewise.
54234         * stdlib/gen-fpioconst.c: Likewise.
54235         * stdlib/strtol_l.c: Likewise.
54236         * string/tst-endian.c: Likewise.
54237         * sunrpc/auth_des.c: Likewise.
54238         * sunrpc/clnt_udp.c: Likewise.
54239         * sunrpc/rtime.c: Likewise.
54240         * sunrpc/svcauth_des.c: Likewise.
54241         * sunrpc/xdr.c: Likewise.
54242         * sunrpc/xdr_intXX_t.c: Likewise.
54243         * sunrpc/xdr_rec.c: Likewise.
54244         * sysdeps/generic/ldconfig.h: Likewise.
54245         * sysdeps/generic/ldsodefs.h: Likewise.
54246         * sysdeps/generic/memusage.h: Likewise.
54247         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54250         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54257         * sysdeps/posix/getaddrinfo.c: Likewise.
54258         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54259         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54260         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54261         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54262         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54263         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54264         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54265         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54266         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54267         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54268         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54269         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54270         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54271         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54272         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54273         * sysdeps/x86_64/dl-tls.h: Likewise.
54274         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54275         * time/alt_digit.c: Likewise.
54276         * time/era.c: Likewise.
54277         * wcsmbs/tst-c16c32-1.c: Likewise.
54279 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54281         * math/libm-test.inc (struct test_sincos_data): New type.
54282         (RUN_TEST_LOOP_sincos): New macro.
54283         (sincos_test_data): New variable.
54284         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54286 2013-05-16  Richard Henderson  <rth@redhat.com>
54288         * math/atest-exp2.c (LIMB64): New macro.
54289         (CONSTSZ): New macro.
54290         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54291         (hexdig): Move ...
54292         (print_mpn_fp): ... to function scope.
54293         (read_mpn_hex): Remove.
54294         (get_log2): Remove.
54295         (exp2_mpn): Use mp_log2.
54296         (main): Use mp_exp1.
54298 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54300         * math/libm-test.inc: Remove comment about not testing "inexact"
54301         exceptions.
54302         (INEXACT_EXCEPTION): New macro.
54303         (NO_INEXACT_EXCEPTION): Likewise.
54304         (INVALID_EXCEPTION_OK): Update value.
54305         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54306         (OVERFLOW_EXCEPTION_OK): Likewise.
54307         (UNDERFLOW_EXCEPTION_OK): Likewise.
54308         (IGNORE_ZERO_INF_SIGN): Likewise.
54309         (ERRNO_UNCHANGED): Likewise.
54310         (ERRNO_EDOM): Likewise.
54311         (ERRNO_ERANGE): Likewise.
54312         (test_exceptions): Handle testing "inexact" exceptions.
54313         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54314         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54315         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54316         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54317         INEXACT_EXCEPTION.
54318         (rint_towardzero_test_data): Likewise.
54319         (rint_downward_test_data): Likewise.
54320         (rint_upward_test_data): Likewise.
54322         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54323         with OVERFLOW_EXCEPTION.
54324         (exp10_test_data): Likewise.
54325         (exp2_test_data): Likewise.
54326         (expm1_test_data): Likewise.
54327         (lgamma_test_data): Likewise.
54328         (pow_test_data): Likewise.
54329         (tgamma_test_data): Likewise.
54330         (yn_test_data): Remove duplicate test of overflow.
54332         * math/libm-test.inc (struct test_cc_c_data): New type.
54333         (RUN_TEST_LOOP_cc_c): New macro.
54334         (cpow_test_data): New variable.
54335         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54337         * math/libm-test.inc (struct test_f_L_data): New type.
54338         (RUN_TEST_LOOP_f_L): New macro.
54339         (llrint_test_data): New variable.
54340         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54341         (llrint_tonearest_test_data): New variable.
54342         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54343         (llrint_towardzero_test_data): New variable.
54344         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54345         (llrint_downward_test_data): New variable.
54346         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54347         (llrint_upward_test_data): New variable.
54348         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54349         (llround_test_data): New variable.
54350         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54352 2013-05-13  Peter Collingbourne  <pcc@google.com>
54354         * math/atest-exp2.c (get_log2): Remove const attribute.
54356 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54358         * math/libm-test.inc (struct test_f_l_data): New type.
54359         (RUN_TEST_LOOP_f_l): New macro.
54360         (lrint_test_data): New variable.
54361         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54362         (lrint_tonearest_test_data): New variable.
54363         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54364         (lrint_towardzero_test_data): New variable.
54365         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54366         (lrint_downward_test_data): New variable.
54367         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54368         (lrint_upward_test_data): New variable.
54369         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54370         (lround_test_data): New variable.
54371         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54373 2013-05-15  Peter Collingbourne  <pcc@google.com>
54375         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54376         (EXTRACT_WORDS64) Use where appropriate.
54377         (INSERT_WORDS64) Likewise.
54379         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54380         constraints with x constraints.
54381         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54383         * malloc/obstack.c (_obstack_compat): Add initializer.
54385 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54388         si_trapno and add si_addr_lsb to _sifields.sigfault.
54389         (si_trapno): Remove macro.
54390         (si_addr_lsb): Define new macro.
54391         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54393 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54395         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54396         instead of TEST_f_l.
54397         (llrint_test_tonearest): Likewise.
54398         (llrint_test_towardzero): Likewise.
54399         (llrint_test_downward): Likewise.
54400         (llrint_test_upward): Likewise.
54401         (llround_test): Likewise.
54403         * math/libm-test.inc (struct test_f_i_data): Add comment.
54404         (RUN_TEST_LOOP_f_b): New macro.
54405         (RUN_TEST_LOOP_f_b_tg): Likewise.
54406         (finite_test_data): New variable.
54407         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54408         (isfinite_test_data): New variable.
54409         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54410         (isinf_test_data): New variable.
54411         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54412         (isnan_test_data): New variable.
54413         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54414         (isnormal_test_data): New variable.
54415         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54416         (issignaling_test_data): New variable.
54417         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54418         (signbit_test_data): New variable.
54419         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54421         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54422         with INVALID_EXCEPTION.
54423         (acosh_test_data): Likewise.
54424         (asin_test_data): Likewise.
54425         (atanh_test_data): Likewise.
54426         (fmod_test_data): Likewise.
54427         (log_test_data): Likewise.
54428         (log10_test_data): Likewise.
54429         (log2_test_data): Likewise.
54430         (pow_test_data): Likewise.
54431         (sqrt_test_data): Likewise.
54432         (y0_test_data): Likewise.
54433         (y1_test_data): Likewise.
54434         (yn_test_data): Likewise.
54436         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54437         function contents.
54439         * math/libm-test.inc (struct test_ff_i_data): New type.
54440         (RUN_TEST_LOOP_ff_i_tg): New macro.
54441         (isgreater_test_data): New variable.
54442         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54443         (isgreaterequal_test_data): New variable.
54444         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54445         (isless_test_data): New variable.
54446         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54447         (islessequal_test_data): New variable.
54448         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54449         (islessgreater_test_data): New variable.
54450         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54451         (isunordered_test_data): New variable.
54452         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54454 2013-05-14  David S. Miller  <davem@davemloft.net>
54456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54458 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54460         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54462         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54463         extra_test to int.
54464         (struct test_f_i_data): Change type of max_ulp to int.
54466         * math/libm-test.inc (test_ffI_f1_data): New type.
54467         (RUN_TEST_LOOP_ffI_f1): New macro.
54468         (remquo_test_data): New variable.
54469         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54471         * setjmp/tst-setjmp-fp.c: New file.
54472         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54473         (link-libm): New variable.
54474         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54476         * math/libm-test.inc (struct test_f_i_data): New type.
54477         (RUN_TEST_LOOP_f_i): New macro.
54478         (RUN_TEST_LOOP_f_i_tg): Likewise.
54479         (fpclassify_test_data): New variable.
54480         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54481         (ilogb_test_data): New variable.
54482         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54484         * math/libm-test.inc (scalbln_test): Correct function name in END
54485         call.
54487         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54488         (RUN_TEST_LOOP_fI_f1): New macro.
54489         (frexp_test_data): New variable.
54490         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54492         * math/libm-test.inc (struct test_fF_f1_data): New type.
54493         (RUN_TEST_LOOP_fF_f1): New macro.
54494         (modf_test_data): New variable.
54495         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54497         * math/libm-test.inc (struct test_f_f1_data): New type.
54498         (RUN_TEST_LOOP_f_f1): New macro.
54499         (gamma_test_data): New variable.
54500         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54501         (lgamma_test_data): New variable.
54502         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54504 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54506         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54507         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54508         (main): Comment "tls" pseudo-hwcap.
54510 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54512         * math/libm-test.inc (struct test_fl_f_data): New type.
54513         (RUN_TEST_LOOP_fl_f): New variable.
54514         (scalbln_test_data): New variable.
54515         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54517         * math/libm-test.inc (struct test_fi_f_data): New type.
54518         (RUN_TEST_LOOP_fi_f): New macro.
54519         (ldexp_test_data): New variable.
54520         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54521         (scalbn_test_data): New variable.
54522         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54524         * math/libm-test.inc (struct test_c_f_data): New type.
54525         (RUN_TEST_LOOP_c_f): New macro.
54526         (cabs_test_data): New variable.
54527         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54528         (carg_test_data): New variable.
54529         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54530         (cimag_test_data): New variable.
54531         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54532         (creal_test_data): New variable.
54533         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54535         * math/libm-test.inc (struct test_if_f_data): New type.
54536         (RUN_TEST_LOOP_if_f): New macro.
54537         (jn_test_data): New variable.
54538         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54539         (yn_test_data): New variable.
54540         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54542         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54544 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54546         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54547         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54549 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54551         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54552         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54553         (bench-deps): Add bench-timing.h.
54554         * benchtests-bench-skeleton.c: Include bench-timing.h.
54555         (main): Use TIMING_* macros instead of clock_gettime.
54556         * benchtests/bench-timing.h: New file.
54558         [BZ #14582]
54559         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54560         Renamed from _LIB_VERSION.
54561         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54563 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54565         * math/libm-test.inc (struct test_fff_f_data): New type.
54566         (RUN_TEST_LOOP_fff_f): New macro.
54567         (fma_test_data): New variable.
54568         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54569         (fma_towardzero_test_data): New variable.
54570         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54571         (fma_downward_test_data): New variable.
54572         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54573         (fma_upward_test_data): New variable.
54574         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54576         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54577         (struct test_c_c_data): New type.
54578         (RUN_TEST_LOOP_c_c): New macro.
54579         (cacos_test_data): New variable.
54580         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54581         (cacosh_test_data): New variable.
54582         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54583         (casin_test_data): New variable.
54584         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54585         (casinh_test_data): New variable.
54586         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54587         (catan_test_data): New variable.
54588         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54589         (catanh_test_data): New variable.
54590         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54591         (ccos_test_data): New variable.
54592         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54593         (ccosh_test_data): New variable.
54594         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54595         (cexp_test_data): New variable.
54596         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54597         (clog_test_data): New variable.
54598         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54599         (clog10_test_data): New variable.
54600         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54601         (conj_test_data): New variable.
54602         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54603         (cproj_test_data): New variable.
54604         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54605         (csin_test_data): New variable.
54606         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54607         (csinh_test_data): New variable.
54608         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54609         (csqrt_test_data): New variable.
54610         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54611         (ctan_test_data): New variable.
54612         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54613         (ctan_tonearest_test_data): New variable.
54614         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54615         (ctan_towardzero_test_data): New variable.
54616         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54617         (ctan_downward_test_data): New variable.
54618         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54619         (ctan_upward_test_data): New variable.
54620         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54621         (ctanh_test_data): New variable.
54622         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54623         (ctanh_tonearest_test_data): New variable.
54624         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54625         (ctanh_towardzero_test_data): New variable.
54626         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54627         (ctanh_downward_test_data): New variable.
54628         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54629         (ctanh_upward_test_data): New variable.
54630         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54631         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54632         of BUILD_COMPLEX.
54634         * math/libm-test.inc (struct test_ff_f_data): New type.
54635         (struct test_ff_f_data_nexttoward): Likewise.
54636         (RUN_TEST_LOOP_2_f): New macro.
54637         (RUN_TEST_LOOP_ff_f): Likewise.
54638         (atan2_test_data): New variable.
54639         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54640         (copysign_test_data): New variable.
54641         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54642         (fdim_test_data): New variable.
54643         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54644         (fmax_test_data): New variable.
54645         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54646         (fmin_test_data): New variable.
54647         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54648         (fmod_test_data): New variable.
54649         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54650         (hypot_test_data): New variable.
54651         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54652         (nextafter_test_data): New variable.
54653         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54654         (nexttoward_test_data): New variable.
54655         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54656         (pow_test_data): New variable.
54657         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54658         (pow_tonearest_test_data): New variable.
54659         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54660         (pow_towardzero_test_data): New variable.
54661         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54662         (pow_downward_test_data): New variable.
54663         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54664         (pow_upward_test_data): New variable.
54665         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54666         (remainder_test_data): New variable.
54667         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54668         (scalb_test_data): New variable.
54669         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54670         * sysdeps/i386/fpu/libm-test-ulps: Update.
54672 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54674         * math/libm-test.inc (fma_test): Use max_value instead of local
54675         variable fltmax.
54676         (nextafter_test): Likewise.
54678         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54679         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54680         (acos_downward_test_data): New variable.
54681         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54682         (acos_upward_test_data): New variable.
54683         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54684         (acosh_test_data): New variable.
54685         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54686         (asin_test_data): New variable.
54687         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54688         (asin_tonearest_test_data): New variable.
54689         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54690         (asin_towardzero_test_data): New variable.
54691         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54692         (asin_downward_test_data): New variable.
54693         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54694         (asin_upward_test_data): New variable.
54695         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54696         (asinh_test_data): New variable.
54697         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54698         (atan_test_data): New variable.
54699         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54700         (atanh_test_data): New variable.
54701         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54702         (cbrt_test_data): New variable.
54703         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54704         (ceil_test_data): New variable.
54705         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54706         (cos_test_data): New variable.
54707         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54708         (cos_tonearest_test_data): New variable.
54709         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54710         (cos_towardzero_test_data): New variable.
54711         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54712         (cos_downward_test_data): New variable.
54713         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54714         (cos_upward_test_data): New variable.
54715         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54716         (cosh_test_data): New variable.
54717         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54718         (cosh_tonearest_test_data): New variable.
54719         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54720         (cosh_towardzero_test_data): New variable.
54721         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54722         (cosh_downward_test_data): New variable.
54723         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54724         (cosh_upward_test_data): New variable.
54725         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54726         (erf_test_data): New variable.
54727         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54728         (erfc_test_data): New variable.
54729         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54730         (exp_test_data): New variable.
54731         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54732         (exp_tonearest_test_data): New variable.
54733         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54734         (exp_towardzero_test_data): New variable.
54735         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54736         (exp_downward_test_data): New variable.
54737         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54738         (exp_upward_test_data): New variable.
54739         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54740         (exp10_test_data): New variable.
54741         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54742         (exp2_test_data): New variable.
54743         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54744         (expm1_test_data): New variable.
54745         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54746         (fabs_test_data): New variable.
54747         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54748         (floor_test_data): New variable.
54749         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54750         (j0_test_data): New variable.
54751         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54752         (j1_test_data): New variable.
54753         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54754         (log_test_data): New variable.
54755         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54756         (log10_test_data): New variable.
54757         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54758         (log1p_test_data): New variable.
54759         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54760         (log2_test_data): New variable.
54761         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54762         (logb_test_data): New variable.
54763         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54764         (logb_downward_test_data): New variable.
54765         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54766         (nearbyint_test_data): New variable.
54767         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54768         (rint_test_data): New variable.
54769         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54770         (rint_tonearest_test_data): New variable.
54771         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54772         (rint_towardzero_test_data): New variable.
54773         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54774         (rint_downward_test_data): New variable.
54775         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54776         (rint_upward_test_data): New variable.
54777         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54778         (round_test_data): New variable.
54779         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54780         (sin_test_data): New variable.
54781         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54782         (sin_tonearest_test_data): New variable.
54783         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54784         (sin_towardzero_test_data): New variable.
54785         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54786         (sin_downward_test_data): New variable.
54787         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54788         (sin_upward_test_data): New variable.
54789         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54790         (sinh_test_data): New variable.
54791         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54792         (sinh_tonearest_test_data): New variable.
54793         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54794         (sinh_towardzero_test_data): New variable.
54795         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54796         (sinh_downward_test_data): New variable.
54797         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54798         (sinh_upward_test_data): New variable.
54799         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54800         (sqrt_test_data): New variable.
54801         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54802         (tan_test_data): New variable.
54803         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54804         (tan_tonearest_test_data): New variable.
54805         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54806         (tan_towardzero_test_data): New variable.
54807         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54808         (tan_downward_test_data): New variable.
54809         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54810         (tan_upward_test_data): New variable.
54811         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54812         (tanh_test_data): New variable.
54813         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54814         (tgamma_test_data): New variable.
54815         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54816         (trunc_test_data): New variable.
54817         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54818         (y0_test_data): New variable.
54819         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54820         (y1_test_data): New variable.
54821         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54822         (significand_test_data): New variable.
54823         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54825 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54827         [BZ #12387]
54828         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54830 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54832         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54834 2013-05-10  Andreas Jaeger  <aj@suse.de>
54836         [BZ #15448]
54837         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54838         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54840 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54842         * math/gen-libm-test.pl (adjust_arg): New function.
54843         (special_functions): Handle generating output in both functions
54844         and arrays.
54845         (parse_args): Likewise.
54846         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54847         $in_func argument to parse_args.
54848         * math/libm-test.inc (struct test_f_f_data): New type.
54849         (IF_ROUND_INIT_): New macro.
54850         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54851         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54852         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54853         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54854         (ROUND_RESTORE_): Likewise.
54855         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54856         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54857         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54858         (ROUND_RESTORE_FE_UPWARD): Likewise.
54859         (RUN_TEST_LOOP_f_f): New macro.
54860         (acos_test_data): New variable.
54861         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54862         (acos_tonearest_test_data): New variable.
54863         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54865 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54867         * benchtests/bench-skeleton.c (startup): Fix coding style.
54869 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54871         [BZ #6809]
54872         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54873         negative infinity argument.
54874         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54875         negative infinity argument.
54876         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54877         negative infinity argument.
54878         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54879         domain errors.
54881 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54883         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54884         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54885         * iconv/iconv_prog.c (main): Likewise.
54886         * locale/programs/charmap-dir.c (charmap_readdir)
54887         (fopen_uncompressed): Likewise.
54888         * locale/programs/locfile.c (siblings_uncached)
54889         (write_locale_data): Use lstat64 instead of lstat.
54890         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54891         stat.
54893 2013-05-10  Andreas Jaeger  <aj@suse.de>
54895         [BZ #15395]
54896         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54897         localization.
54898         Include <locale.h>.
54900 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54902         * elf/dl-close.c (_dl_close_worker): Add comments.
54904 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54906         [BZ #15359]
54907         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54908         high part of pi/2.
54909         (__ieee754_rem_pio2l): Update comments.
54911         [BZ #15429]
54912         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54913         high part of pi/2.
54914         (__ieee754_rem_pio2l): Update comments.
54916         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54917         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54919         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54920         M_PI_4l.
54922         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54923         (M_PI_34_LOG10El): Likewise.
54924         (M_PI2_LOG10El): Likewise.
54925         (M_PI4_LOG10El): Likewise.
54926         (M_PI_LOG10El): Likewise.
54928 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54932 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54934         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54935         (MINUS_ZERO_INIT): Likewise.
54936         (PLUS_INFTY_INIT): Likewise.
54937         (MINUS_INFTY_INIT): Likewise.
54938         (QNAN_VALUE_INIT): Likewise.
54939         (MAX_VALUE_INIT): Likewise.
54940         (MIN_VALUE_INIT): Likewise.
54941         (MIN_SUBNORM_VALUE_INIT): Likewise.
54942         (plus_zero): Initialize with PLUS_ZERO_INIT.
54943         (minus_zero): Initialize with MINUS_ZERO_INIT.
54944         (plus_infty): Initialize with PLUS_INFTY_INIT.
54945         (minus_infty): Initialize with MINUS_INFTY_INIT.
54946         (qnan_value): Initialize with QNAN_VALUE_INIT.
54947         (max_value): Initialize with MAX_VALUE_INIT.
54948         (min_value): Initialize with MIN_VALUE_INIT.
54949         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54951         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54952         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54953         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54954         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54956         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54957         (RUN_TEST_2_f): Likewise.
54958         (RUN_TEST_ff_f): Likewise.
54959         (RUN_TEST_fi_f): Likewise.
54960         (RUN_TEST_fl_f): Likewise.
54961         (RUN_TEST_fff_f): Likewise.
54962         (RUN_TEST_c_f): Likewise.
54963         (RUN_TEST_f_f1): Likewise.
54964         (RUN_TEST_fF_f1): Likewise.
54965         (RUN_TEST_fI_f1): Likewise.
54966         (RUN_TEST_ffI_f1): Likewise.
54967         (RUN_TEST_c_c): Likewise.
54968         (RUN_TEST_cc_c): Likewise.
54969         (RUN_TEST_f_i): Likewise.
54970         (RUN_TEST_f_i_tg): Likewise.
54971         (RUN_TEST_ff_i_tg): Likewise.
54972         (RUN_TEST_f_b): Likewise.
54973         (RUN_TEST_f_b_tg): Likewise.
54974         (RUN_TEST_f_l): Likewise.
54975         (RUN_TEST_f_L): Likewise.
54976         (RUN_TEST_sincos): Likewise.
54977         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54978         whether to show exceptions.  Do not include ");\n" in return
54979         value.
54980         (special_functions): Output call to RUN_TEST_sincos instead of
54981         check_float calls.  Update calls to new_test.
54982         (parse_args): Output call to single RUN_TEST_* macro instead of
54983         check_* calls and other assignments.  Update calls to new_test.
54985         [BZ #2546]
54986         [BZ #2560]
54987         [BZ #5159]
54988         [BZ #15426]
54989         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54990         input to result for tgamma overflow.
54991         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54992         (gamma_coeff): New variable.
54993         (NCOEFF): New macro.
54994         (gamma_positive): New function.
54995         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54996         underflow here.  Use gamma_positive instead of exp (lgamma) for
54997         other arguments.
54998         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54999         (gamma_coeff): New variable.
55000         (NCOEFF): New macro.
55001         (gammaf_positive): New function.
55002         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55003         underflow here.  Use gamma_positive instead of exp (lgamma) for
55004         other arguments.
55005         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55006         (gamma_coeff): New variable.
55007         (NCOEFF): New macro.
55008         (gammal_positive): New function.
55009         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55010         underflow here.  Use gamma_positive instead of exp (lgamma) for
55011         other arguments.
55012         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55013         (gamma_coeff): New variable.
55014         (NCOEFF): New macro.
55015         (gammal_positive): New function.
55016         (__ieee754_gammal_r): Handle positive infinity, overflow and
55017         underflow here.  Handle NaN the same as positive infinity.  Remove
55018         check x < 0xffffffff for negative integers.  Use gamma_positive
55019         instead of exp (lgamma) for other arguments.
55020         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55021         (gamma_coeff): New variable.
55022         (NCOEFF): New macro.
55023         (gammal_positive): New function.
55024         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55025         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55029         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55030         * sysdeps/generic/math_private.h (__gamma_productf): New
55031         prototype.
55032         (__gamma_product): Likewise.
55033         (__gamma_productl): Likewise.
55034         * math/Makefile (libm-calls): Add gamma_product.
55035         * math/libm-test.inc (tgamma_test): Add more tests.
55036         * sysdeps/i386/fpu/libm-test-ulps: Update.
55037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55039 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55041         * benchtests/bench-skeleton.c (main): Preheat CPU.
55043 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55045         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55047 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55049         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55050         and _dl_skip_args_internal.
55052 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55054         * manual/message.texi (Message Translation): Talk about users.
55055         Message to key mapping impacts design.
55057 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55059         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55061         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55063         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55064         * sysdeps/wordsize-64/glob64.c: ... here.
55066         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55067         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55068         New macros.
55070         * debug/getlogin_r_chk.c: Moved to ...
55071         * login/getlogin_r_chk.c: ... here.
55072         * debug/Makefile (routines): Move getlogin_r_chk to ...
55073         * login/Makefile (routines): ... here.
55074         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55075         * login/Versions (libc: GLIBC_2.4): ... here.
55077         * io/poll.c (__poll): Renamed from poll.
55078         Add libc_hidden_def.
55079         (poll): Define as weak alias.
55081         * debug/ptsname_r_chk.c: Moved to ...
55082         * login/ptsname_r_chk.c: ... here.
55083         * debug/Makefile (routines): Move ptsname_r_chk to ...
55084         * login/Makefile (routines): ... here.
55085         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55086         * login/Versions (libc: GLIBC_2.4): ... here.
55088         * posix/getlogin.c: Moved to ...
55089         * login/getlogin.c: ... here.
55090         * posix/getlogin_r.c: Moved to ...
55091         * login/getlogin_r.c: ... here.
55092         * posix/getlogin_r.c: Moved to ...
55093         * login/getlogin_r.c: ... here.
55094         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55095         * login/Makefile (routines): ... here.
55096         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55097         * login/Versions (libc: GLIBC_2.0): ... here.
55099         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55100         (setrlimit): Define as weak alias.
55102         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55103         Call __ names for open, ftruncate, and close.
55104         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55105         (truncate): Define as weak alias.
55107 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55109         * math/gen-libm-test.pl (parse_args): Initialize x before each
55110         test of frexp, modf and remquo.
55112         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55113         test signgam value.
55115 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55117         [BZ #15418]
55118         [BZ #15419]
55119         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55120         internal tests.
55121         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55123 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55125         * elf/dl-writev.h: New file.
55126         * elf/dl-misc.c: Include it.
55127         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55128         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55130 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55132         * math/libm-test.inc (noXFails): Remove variable.
55133         (noXPasses): Likewise.
55134         (BUILD_COMPLEX_INT): Remove macro.
55135         (print_screen): Remove xfail argument.
55136         (print_screen_max_error): Likewise.
55137         (update_stats): Likewise.
55138         (print_max_error): Likewise.  Update calls to other affected
55139         functions.
55140         (print_complex_max_error): Likewise.
55141         (test_single_exception): Update calls to print_screen.
55142         (test_single_errno): Likewise.
55143         (check_float_internal): Remove xfail argument.  Update calls to
55144         other affected functions.
55145         (check_float): Likewise.
55146         (check_complex): Likewise.
55147         (check_int): Likewise.
55148         (check_long): Likewise.
55149         (check_bool): Likewise.
55150         (check_longlong): Likewise.
55151         (main): Don't print noXFails and noXPasses.
55152         * math/gen-libm-test.pl (top level): Don't mention expected
55153         failure handling in comment.
55154         (new_test): Don't handle expected failures.
55155         (parse_args): Don't mention expected failure handling in comment.
55156         (generate_testfile): Don't handle expected failures.
55157         (parse_ulps): Likewise.
55158         (print_ulps_file): Likewise.
55159         (get_failure): Remove function.
55160         (output_test): Don't handle expected failures.
55161         * make/README.libm-test: Don't mention expected failure handling.
55163         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55164         (minus_zero): Likewise.
55165         (plus_infty): Likewise.
55166         (minus_infty): Likewise.
55167         (qnan_value): Likewise.
55168         (max_value): Likewise.
55169         (min_value): Likewise.
55170         (min_subnorm_value): Likewise.
55171         (initialize): Do not initialize those variables dynamically.
55173 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55175         * io/open.c (__open_2): Moved to ...
55176         * io/open_2.c: ... this new file.
55177         * io/open64.c (__open64_2): Moved to ...
55178         * io/open64_2.c: ... this new file.
55179         * io/openat.c (__openat_2): Moved to ...
55180         * io/openat_2.c: ... this new file.
55181         * io/openat64.c (__openat64_2): Moved to ...
55182         * io/openat64_2.c: ... this new file.
55183         * io/Makefile (routines): Add them.
55184         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55185         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55186         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55187         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55188         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55189         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55190         (__openat64): Add hidden_ver.
55191         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55192         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55194         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55195         Separately conditionalize setting of GLRO(dl_sysinfo) so
55196         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55197         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55199 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55201         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55203         definition.
55204         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55205         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55206         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55207         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55208         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55210 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55212         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55213         test signgam value.
55215         * math/libm-test.inc (hypot_test): Do not use
55216         IGNORE_ZERO_INF_SIGN.
55218 2013-05-03  Andreas Jaeger  <aj@suse.de>
55220         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55221         Linux 3.9.
55222         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55223         (PF_MAX): Adjust for VSOCK change.
55225 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55229 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55231         [BZ #15264]
55232         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55233         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55234         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55236 2013-05-02  David S. Miller  <davem@davemloft.net>
55238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55240 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55242         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55244 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55246         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55248 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55250         [BZ #14952]
55251         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55252         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55253         Use __attribute__ ((__gnu_inline__)).
55254         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55255         Don't use __attribute__ ((__gnu_inline__)).
55257 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55259         [BZ #15423]
55260         * math/s_catan.c (__catan): Handle small real or imaginary part of
55261         input specially to avoid spurious underflow.
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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55276 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55278         [BZ #15416]
55279         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55280         accurately for denominator in atan2.
55281         * math/s_catanf.c (__catanf): Likewise.
55282         * math/s_catanh.c (__catanh): Likewise.
55283         * math/s_catanhf.c (__catanhf): Likewise.
55284         * math/s_catanhl.c (__catanhl): Likewise.
55285         * math/s_catanl.c (__catanl): Likewise.
55286         * math/libm-test.inc (catan_test): Add more tests.
55287         (catanh_test): Likewise.
55288         * sysdeps/i386/fpu/libm-test-ulps: Update.
55289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55291 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55293         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55295         * benchtests/Makefile (bench): Remove slow benchmarks.
55296         * benchtests/atan-inputs: Add slow benchmark inputs.
55297         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55298         (BENCH_FUNC): Accept variant offset.
55299         (VARIANT): Define.
55300         * benchtests/bench-skeleton.c (main): Run benchmark for each
55301         variant.
55302         * benchtests/cos-inputs: Add slow benchmark inputs.
55303         * benchtests/exp-inputs: Likewise.
55304         * benchtests/pow-inputs: Likewise.
55305         * benchtests/sin-inputs: Likewise.
55306         * benchtests/slowatan-inputs: Remove.
55307         * benchtests/slowatan.c: Remove.
55308         * benchtests/slowcos-inputs: Remove.
55309         * benchtests/slowcos.c: Remove.
55310         * benchtests/slowexp-inputs: Remove.
55311         * benchtests/slowexp.c: Remove.
55312         * benchtests/slowpow-inputs: Remove.
55313         * benchtests/slowpow.c: Remove.
55314         * benchtests/slowsin-inputs: Remove.
55315         * benchtests/slowsin.c: Remove.
55316         * benchtests/slowtan-inputs: Remove.
55317         * benchtests/slowtan.c: Remove.
55318         * benchtests/tan-inputs: Add slow benchmark inputs.
55319         * scripts/bench.pl: Parse comments and directives.
55321         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55322         in CPPFLAGS.
55323         ($(objpfx)bench-%.c): Remove *-ITER.
55324         * benchtests/bench-modf.c: Remove definition of ITER.
55325         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55326         (main): Loop for DURATION seconds instead of fixed number of
55327         iterations.
55328         * scripts/bench.pl: Don't expect iterations in parameters.
55330 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55332         * io/fchdir.c (__fchdir): Renamed from fchdir.
55333         (fchdir): Define as weak alias.
55335 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55337         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55338         (ERRNO_EDOM): Likewise.
55339         (ERRNO_ERANGE): Likewise.
55340         (noErrnoTests): New variable.
55341         (init_max_error): Set errno to 0.
55342         (test_single_errno): New function.
55343         (test_errno): Likewise.
55344         (check_float_internal): Call test_errno.  Set errno to 0.
55345         (check_complex): Refer to errno tests in comment.
55346         (check_int): Call test_errno.  Set errno to 0.
55347         (check_long): Likewise.
55348         (check_bool): Likewise.
55349         (check_longlong): Likewise.
55350         (cos_test): Use ERRNO_* flags for errno tests instead of
55351         check_int.
55352         (expm1_test): Likewise.
55353         (fmod_test): Likewise.
55354         (ilogb_test): Likewise.
55355         (lgamma_test): Likewise.
55356         (pow_test): Likewise.
55357         (remainder_test): Likewise.
55358         (sin_test): Likewise.
55359         (tan_test): Likewise.
55360         (yn_test): Likewise.
55361         (initialize): Set errno to 0.
55362         (main): Print number of errno tests.
55363         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55365 2013-04-29  Andreas Jaeger  <aj@suse.de>
55367         [BZ #15084]
55368         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55369         and RES_USEVC.
55371         [BZ #15085]
55372         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55373         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55374         unimplemented.
55376         [BZ #15380]
55377         * stdlib/random.c (__initstate): Return NULL if
55378         __initstate fails.
55380         [BZ #15086]
55381         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55382         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55383         RES_SNGLKUPREOP.
55385 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55389 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55391         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55392         of individual tests.
55393         (casin_test): Likewise.
55394         (casinh_test): Likewise.
55396 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55398         [BZ #15409]
55399         * math/s_catan.c (__catan): Handle arguments with large real or
55400         imaginary part separately without squaring.
55401         * math/s_catanf.c (__catanf): Likewise.
55402         * math/s_catanh.c (__catanh): Likewise.
55403         * math/s_catanhf.c (__catanhf): Likewise.
55404         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55405         and redefine.
55406         (__catanhl): Handle arguments with large real or imaginary part
55407         separately without squaring.
55408         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55409         and redefine.
55410         (__catanl): Handle arguments with large real or imaginary part
55411         separately without squaring.
55412         * math/libm-test.inc (catan_test): Add more tests.
55413         (catanh_test): Likewise.
55414         * sysdeps/i386/fpu/libm-test-ulps: Update.
55415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55417 2013-04-27  Andreas Jaeger  <aj@suse.de>
55419         [BZ #15007]
55420         * stdlib/stdlib.h: Update guards for qecvt.
55421         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55422         <stdlib.h>.
55424 2013-04-27  Allan McRae  <allan@archlinux.org>
55426         * sysdeps/i386/fpu/libm-test-ulps: Update.
55428 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55430         [BZ #15406]
55431         * math/s_catan.c: Include <float.h>.
55432         (__catan): Ensure underflow exception occurs for underflowed
55433         result.
55434         * math/s_catanf.c: Include <float.h>.
55435         (__catanf): Ensure underflow exception occurs for underflowed
55436         result.
55437         * math/s_catanh.c: Include <float.h>.
55438         (__catanh): Ensure underflow exception occurs for underflowed
55439         result.
55440         * math/s_catanhf.c: Include <float.h>.
55441         (__catanhf): Ensure underflow exception occurs for underflowed
55442         result.
55443         * math/s_catanhl.c: Include <float.h>.
55444         (__catanhl): Ensure underflow exception occurs for underflowed
55445         result.
55446         * math/s_catanl.c: Include <float.h>.
55447         (__catanl): Ensure underflow exception occurs for underflowed
55448         result.
55449         * math/libm-test.inc (catan_test): Add more tests.
55450         (catanh_test): Likewise.
55452         [BZ #15405]
55453         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55454         underflowed result.
55455         * math/s_ccoshf.c (__ccoshf): Likewise.
55456         * math/s_ccoshl.c (__ccoshl): Likewise.
55457         * math/s_csin.c (__csin): Likewise.
55458         * math/s_csinf.c (__csinf): Likewise.
55459         * math/s_csinh.c (__csinh): Likewise.
55460         * math/s_csinhf.c (__csinhf): Likewise.
55461         * math/s_csinhl.c (__csinhl): Likewise.
55462         * math/s_csinl.c (__csinl): Likewise.
55463         * math/libm-test.inc (ccos_test): Add more tests.
55464         (ccosh_test): Likewise.
55465         (csin_test): Likewise.
55466         (csinh_test): Likewise.
55468 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55470         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55471         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55472         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55473         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55474         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55475         powerpc/power5+/fpu folders.
55476         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55479 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55483 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55485         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55486         additions to variable.
55487         [$(config-machine) = x86_64] (modules-names): Likewise.
55488         ($(objpfx)tst-audit3): Remove dependency.
55489         ($(objpfx)tst-audit3.out): Likewise.
55490         ($(objpfx)tst-audit4): Likewise.
55491         ($(objpfx)tst-audit4.out): Likewise.
55492         ($(objpfx)tst-audit5): Likewise.
55493         ($(objpfx)tst-audit5.out): Likewise.
55494         ($(objpfx)tst-audit6): Likewise.
55495         ($(objpfx)tst-audit6.out): Likewise.
55496         ($(objpfx)tst-audit7): Likewise.
55497         ($(objpfx)tst-audit7.out): Likewise.
55498         (tst-audit3-ENV): Remove variable.
55499         (tst-audit4-ENV): Likewise.
55500         (tst-audit5-ENV): Likewise.
55501         (tst-audit6-ENV): Likewise.
55502         (tst-audit7-ENV): Likewise.
55503         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55504         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55505         addition to variable.
55506         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55507         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55508         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55509         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55510         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55511         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55512         tst-audit3, tst-audit4 and tst-audit5.
55513         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55514         tst-audit6 and tst-audit7.
55515         [$(subdir) = elf] (modules-names): Add audit modules for those
55516         tests.
55517         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55518         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55519         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55520         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55521         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55522         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55523         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55524         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55525         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55526         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55527         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55528         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55529         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55530         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55531         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55532         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55533         Likewise.
55534         [$(subdir) = elf && $(config-cflags-avx) = yes]
55535         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55536         [$(subdir) = elf && $(config-cflags-avx) = yes]
55537         (CFLAGS-tst-auditmod4a.c): Likewise.
55538         [$(subdir) = elf && $(config-cflags-avx) = yes]
55539         (CFLAGS-tst-auditmod4b.c): Likewise.
55540         [$(subdir) = elf && $(config-cflags-avx) = yes]
55541         (CFLAGS-tst-auditmod6b.c): Likewise.
55542         [$(subdir) = elf && $(config-cflags-avx) = yes]
55543         (CFLAGS-tst-auditmod6c.c): Likewise.
55544         [$(subdir) = elf && $(config-cflags-avx) = yes]
55545         (CFLAGS-tst-auditmod7b.c): Likewise.
55546         * elf/tst-audit3.c: Move to ...
55547         * sysdeps/x86_64/tst-audit3.c: ... here.
55548         * elf/tst-audit4.c: Move to ...
55549         * sysdeps/x86_64/tst-audit4.c: ... here.
55550         * elf/tst-audit5.c: Move to ...
55551         * sysdeps/x86_64/tst-audit5.c: ... here.
55552         * elf/tst-audit6.c: Move to ...
55553         * sysdeps/x86_64/tst-audit6.c: ... here.
55554         * elf/tst-audit7.c: Move to ...
55555         * sysdeps/x86_64/tst-audit7.c: ... here.
55556         * elf/tst-auditmod3a.c: Move to ...
55557         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55558         * elf/tst-auditmod3b.c: Move to ...
55559         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55560         * elf/tst-auditmod4a.c: Move to ...
55561         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55562         * elf/tst-auditmod4b.c: Move to ...
55563         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55564         * elf/tst-auditmod5a.c: Move to ...
55565         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55566         * elf/tst-auditmod5b.c: Move to ...
55567         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55568         * elf/tst-auditmod6a.c: Move to ...
55569         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55570         * elf/tst-auditmod6b.c: Move to ...
55571         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55572         * elf/tst-auditmod6c.c: Move to ...
55573         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55574         * elf/tst-auditmod7a.c: Move to ...
55575         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55576         * elf/tst-auditmod7b.c: Move to ...
55577         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55579 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55581         [BZ #15366]
55582         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55583         define unconditionally.
55584         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55585         define unconditionally.
55586         (INT8_C, INT16_C, etc.): Likewise.
55588 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55590         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55591         __ehdr_start with hidden visibility.
55593         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55595 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55597         * math/libm-test.inc (cos_test): Use accurate hex constants.
55598         (sincost_test): Likewise.
55600 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55602         * math/libm-test.inc (catan_test): Add more tests.
55603         (catanh_test): Likewise.
55605         * math/s_catanf.c (__catanf): Use suffixed floating-point
55606         constants.
55607         * math/s_catanhf.c (__catanhf): Likewise.
55608         * math/s_catanhl.c (__catanhl): Likewise.
55609         * math/s_catanl.c (__catanl): Likewise.
55611         [BZ #15394]
55612         * math/s_catan.c (__catan): Calculate imaginary part of result
55613         with log1p not log unless computing log of number close to 0.
55614         * math/s_catanf.c (__catanf): Likewise.
55615         * math/s_catanl.c (__catanl): Likewise.
55616         * math/s_catanh.c (__catanh): Calculate real part of result with
55617         log1p not log unless computing log of number close to 0.
55618         * math/s_catanhf.c (__catanhf): Likewise.
55619         * math/s_catanhl.c (__catanhl): Likewise.
55620         * math/libm-test.inc (catan_test): Add more tests.
55621         (catanh_test): Likewise.
55622         * sysdeps/i386/fpu/libm-test-ulps: Update.
55623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55625 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55627         * benchtests/Makefile: Mention files in which fast and slow
55628         paths of math functions are implemented.
55630 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55632         * sysdeps/posix/timespec_get.c: New file.
55634 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55636         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55637         POWER.
55638         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55639         for POWER.
55640         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55641         powerpc/power5/fpu folders.
55642         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55643         * benchtests/Makefile: Add modf testcase.
55644         * benchtests/bench-modf.c: New file: Benchmark test for mo
55646 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55648         [BZ #14888]
55649         * time/Makefile (tests): Add tst-strptime-whitespace.
55650         * time/strptime_l.c (get_number): Use ISSPACE.
55651         (__strptime_internal): Likewise.
55652         * time/tst-strptime-whitespace.c: New test case.
55654 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55656         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55657         member.
55658         (_nss_files_init): Set it here.
55660 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55662         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55663         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55664         unsigned.
55666 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55668         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55670 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55672         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55673         size just once.
55675 2013-04-21  David S. Miller  <davem@davemloft.net>
55677         * po/ru.po: Update Russion translation from translation project.
55679 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55681         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55682         and setfsgid.
55684 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55686         * configure.in: Remove i386 configure warning. Remove i386 case.
55687         * configure: Regenerate.
55688         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55689         Add example to error message.
55690         * sysdeps/i386/configure: Regenerate.
55692 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55694         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55695         slowtan.
55696         * benchtests/cos-inputs: New file.
55697         * benchtests/slowcos-inputs: New file.
55698         * benchtests/slowcos.c: New file.
55699         * benchtests/slowtan-inputs: New file.
55700         * benchtests/slowtan.c: New file.
55701         * benchtests/tan-inputs: New file.
55703 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55705         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55706         considered kosher.
55708 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55710         * benchtests/Makefile: Include cppflags-iterator.mk to add
55711         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55713         * Makefile.in (bench-clean): New target.
55714         * benchtests/Makefile (bench-clean): Likewise.
55716 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55718         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55720 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55722         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55724 2013-04-15  Andreas Schwab  <schwab@suse.de>
55726         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55727         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55728         * nscd/pwdcache.c (cache_addpw): Likewise.
55729         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55730         more than recsize.
55732 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55734         * benchtests/Makefile (bench): Write all output to
55735         bench-out.tmp together.
55737 2013-04-15  Andreas Schwab  <schwab@suse.de>
55739         * nscd/nscd.c (main): Don't fork again after closing files.
55741 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55743         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55745         * benchtests/Rules (bench-deps): Collect dependencies into a
55746         single variable.  Add Makefile to dependencies.
55747         ($(objpfx)bench-%.c): Depend on bench-deps.
55749 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55750             Xavier Roche  <roche+kml2@exalead.com>
55752         [BZ #15361]
55753         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55754         just that it's a file descriptor.
55755         * manual/llio.texi (Synchronizing AIO Operations): Update description
55756         for EBADF error from aio_fsync.
55758 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55760         * Rules (bench): Move target definition...
55761         * benchtests/Makefile: ... here.
55763 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55765         * math/libm-test.inc (cos_test): Fix PI/2 test.
55766         (sincos_test): Likewise.
55767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55768         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55770 2013-04-11  Andreas Schwab  <schwab@suse.de>
55772         [BZ #13988]
55773         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55774         accept exponent character only when digits were seen.
55775         * stdio-common/Makefile (tests): Add bug26.
55776         * stdio-common/bug26.c: New file.
55778         [BZ #14293]
55779         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55780         non-freeable.
55782 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55784         * Makeconfig (rtld-prefix): Define built linker prefix.
55785         * Rules (run-bench): Use it.
55786         * math/Makefile (run-regen-ulps): Likewise.
55788         * Rules (bench): Remove eval.
55790 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55791             Roland McGrath  <roland@hack.frob.com>
55792             Ondrej Bilka  <neleai@seznam.cz>
55794         [BZ #15346]
55795         * time/getdate.c: Include ctype.h and alloca.h.
55796         (__getdate_r): Trim leading and trailing spaces of input.
55797         * time/tst-getdate.c (tests): Add tests with leading and
55798         trailing spaces.
55800 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55802         [BZ #14280]
55803         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55804         when computing value.
55806 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55808         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55809         Use testrun.sh to run libm tests.
55811         [BZ #15309]
55812         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55814 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55816         [BZ #15264]
55817         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55819 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55821         * Makefile.in (regen-ulps): New target.
55822         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55823         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55824         [ifneq (no,$(PERL)] (regen-ulps): New target.
55825         [ifeq (no,$(PERL)] (regen-ulps): New target.
55826         * math/libm-test.inc (ulps_file_name): Define.
55827         (output_dir): New variable.
55828         (options): Add "output-dir" option.
55829         (parse_opt): Handle 'o' case.
55830         (main): If output_dir is non-NULL use it as a prefix
55831         otherwise use "".
55832         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55834 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55836         [BZ #10060, #10062]
55837         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55838         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55839         fail configure if __sync_val_compare_and_swap is not inlined.
55840         * sysdeps/i386/configure: Regenerate.
55841         * configure.in: Build for i686 when configured for i386.
55842         * configure: Regenerate.
55843         * README: Remove i386 reference.
55845 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55847         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55848         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55850 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55852         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55853         (lmsnanval): New variables.
55854         (F): Add conversion tests.
55855         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55856         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55858         * stdio-common/tstdiomisc.c (F): Properly collect individual
55859         tests' results.
55861         [BZ #14686, #15336]
55862         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55863         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55864         Instead, use input NaN values or generate a qNaN by arithmetic
55865         operation.  Also fix bugs to comply with the standard.
55866         * math/libm-test.inc (remainder_test): Add more tests.
55868         [BZ #15335, #15342]
55869         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55871         input NaN values or generate a qNaN by arithmetic operation.
55873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55874         unreachable code.
55876         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55877         definitions.
55879 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55881         [BZ #14478]
55882         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55883         underflowed result.
55884         * math/s_cexpf.c (__cexpf): Likewise.
55885         * math/s_cexpl.c (__cexpl): Likewise.
55886         * math/libm-test.inc (cexp_test): Add more tests.
55888 2013-04-03  Andreas Schwab  <schwab@suse.de>
55890         [BZ #15330]
55891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55892         order arrays from heap if bigger than alloca cutoff.
55894 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55896         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55897         (SNAN_TESTS_double): Refer to GCC PR56831.
55898         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55899         GCC PR56828.
55901 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55903         * Rules (bench): Move bench.out after the run is complete.
55905         * Rules (bench): Echo currently running benchmark.
55907         * benchtests/Makefile (bench): Add atan and slowatan.
55908         * benchtests/atan-inputs: New file.
55909         * benchtests/slowatan-inputs: New file.
55910         * benchtests/slowatan.c: New file.
55912         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55914         its value.
55916         [BZ #15305]
55917         * sysdeps/unix/sysv/linux/kernel-features.h
55918         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55919         __ASSUME_XFS_RESTRICTED_CHOWN.
55920         * sysdeps/unix/sysv/linux/pathconf.c
55921         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55922         Save and restore errno.
55924 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55926         [BZ #15327]
55927         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55928         arguments using __kernel_casinh.
55929         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55930         arguments using __kernel_casinhf.
55931         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55932         arguments using __kernel_casinhl.
55933         * math/libm-test.inc (cacosh_test): Add more tests.
55934         * sysdeps/i386/fpu/libm-test-ulps: Update.
55935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55937 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55939         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55942         * bench/Makefile (bench): Add sin and slowsin.
55943         * benchtests/sin-inputs: New file.
55944         * benchtests/slowsin-inputs: New file.
55945         * benchtests/slowsin.c: New file.
55947         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55948         (bench): Add slowexp and slowpow.
55949         (exp-ITER): Increase iterations.
55950         (pow-ITER): Likewise.
55951         * benchtests/exp-inputs: Change input.
55952         * benchtests/pow-inputs: Likewise.
55953         * benchtests/slowexp-inputs: New file.
55954         * benchtests/slowexp.c: New file.
55955         * benchtests/slowpow-inputs: New file.
55956         * benchtests/slowpow.c: New file.
55958 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55960         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55961         instructions.
55962         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55963         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55964         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55965         * benchtests/Makefile: Add rint benchtest.
55966         * benchtests/rint-inputs: Input for rint benchtest.
55968 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55970         * Versions.def (libm): Add GLIBC_2.18.
55971         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55972         hidden libm prototypes.
55973         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55974         * math/Makefile (libm-calls): Add s_issignaling.
55975         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55976         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55977         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55978         declaration.
55979         * math/math.h [__USE_GNU] (issignaling): New macro.
55980         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55981         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55982         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55983         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55984         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55985         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55986         * manual/arith.texi (issignaling): New section.
55987         * manual/libm-err-tab.pl (@all_functions): Update comment.
55988         * math/gen-libm-test.pl (parse_args): Apply special handling for
55989         issignaling.
55990         * math/libm-test.inc (print_float, issignaling_test): New
55991         functions.
55992         (check_float_internal): Add issignaling checks.
55993         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55994         default definition.
55995         * sysdeps/powerpc/math-tests.h: New file.
55996         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55997         tests.
55998         * math/test-snan.c (TEST_FUNC): Likewise.
56000 2013-03-30  David S. Miller  <davem@davemloft.net>
56002         * po/de.po: Update from translation team.
56004 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56006         [BZ #10357]
56007         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56008         imaginary part less than 1.0 and real part less than 0.5
56009         specially.
56010         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56011         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56012         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56013         (cacos_test): Add more tests.
56014         (casin_test): Likewise.
56015         (casinh_test): Likewise.
56016         * sysdeps/i386/fpu/libm-test-ulps: Update.
56017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56019 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56021         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56022         ONE with its value.
56024         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56025         (__pow_mp): Replace ONE and MONE with their values.
56026         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56027         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56028         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56029         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56030         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56031         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56033         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56035         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56036         (__pow_mp): Replace ZERO and MZERO with their values.
56037         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56038         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56039         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56040         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56041         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56042         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56043         (__sqr): Likewise.
56045         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56047         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56049 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56051         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56052         Declare with __attribute__ ((weak)).
56053         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56054         Call __call_tls_dtors only if it's not NULL.
56056 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56058         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56059         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56060         magic __ehdr_start linker symbol if it's defined.
56061         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56062         them up here if it was already done.
56064         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56065         (_dl_aux_init): Use const in cast when setting it.
56066         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56067         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56068         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56070         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56071         Declare them here.
56072         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56073         * csu/libc-tls.c: Nor here.
56074         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56076         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56077         (__libc_message): Never call vsyslog.
56079 2013-03-28  Alan Modra  <amodra@gmail.com>
56081         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56082         Define as empty.
56083         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56084         Likewise.
56086 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56088         [BZ #15214]
56089         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56090         underflow.
56091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56093 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56095         [BZ #15304]
56096         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56097         Don't add gid passed as argument.
56099         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56101 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56103         [BZ #15307]
56104         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56105         imaginary part between 1.0 and 1.5 and real part less than 0.5
56106         specially.
56107         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56108         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56109         * math/libm-test.inc (cacos_test): Add more tests.
56110         (casin_test): Likewise.
56111         (casinh_test): Likewise.
56112         * sysdeps/i386/fpu/libm-test-ulps: Update.
56113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56115 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56117         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56118         constants.
56119         (norm): Likewise.
56120         (denorm): Likewise.
56121         (__dbl_mp): Likewise.
56122         (add_magnitudes): Likewise.
56123         (sub_magnitudes): Likewise.
56124         (__add): Likewise.
56125         (__sub): Likewise.
56126         (__mul): Likewise.
56127         (__sqr): Likewise.
56128         (__inv): Likewise.
56129         (__dvd): Likewise.
56131         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56132         commented code.
56133         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56134         (__dubcos): Likewise.
56135         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56136         (__ieee754_acos): Likewise.
56137         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56138         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56139         (__exp1): Likewise.
56140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56142         (log1): Likewise.
56143         (my_log2): Likewise.
56144         (checkint): Likewise.
56145         * sysdeps/ieee754/dbl-64/e_remainder.c
56146         (__ieee754_remainder): Likewise.
56147         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56149         (bsloww): Likewise.
56150         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56152         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56153         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56154         MANTISSA_STORE_T to store computations on mantissa.  Use
56155         macros for rounding and division.
56156         (denorm): Likewise.
56157         (__dbl_mp): Likewise.
56158         (add_magnitudes): Likewise.
56159         (sub_magnitudes): Likewise.
56160         (__mul): Likewise.
56161         (__sqr): Likewise.
56162         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56163         powers of two in terms of TWOPOW macro.
56164         (mp_no): Make type of mantissa as MANTISSA_T.
56165         [!RADIXI]: Define RADIXI.
56166         [!TWO52]: Define TWO52.
56167         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56169 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56171         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56172         llroundl symbol when building for PPC32.
56174 2013-03-24  Mark H Weaver  <mhw@netris.org>
56176         * manual/arith.texi (Normalization Functions): Fix prototypes for
56177         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56179 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56181         [BZ #13889]
56182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56183         high value to check if expl overflow.
56184         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56185         to check for underflow and overflow.
56186         * math/libm-test.inc: Add exp test.
56188 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56190         [BZ #11120]
56191         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56192         with NOT_IN_libc.
56194 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56196         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56197         symbol.
56199 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56201         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56202         wrap blocks consisting of several statements.
56204         * sysdeps/generic/math-tests.h: New file.
56205         * sysdeps/i386/fpu/math-tests.h: Likewise.
56206         * math/test-snan.c: Include it.
56207         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56209 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56211         [BZ #15285]
56212         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56213         (__ieee754_j0l): Do not improve calculations using cos of twice
56214         input for inputs above LDBL_MAX / 2.0L.
56215         (__ieee754_y0l): Likewise.
56216         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56217         (__ieee754_j1l): Do not improve calculations using cos of twice
56218         input for inputs above LDBL_MAX / 2.0L.
56219         (__ieee754_y1l): Likewise.
56220         * math/libm-test.inc (j0_test): Add another test.
56221         (j1_test): Likewise.
56222         (y0_test): Likewise.
56223         (y1_test): Likewise.
56224         * sysdeps/i386/fpu/libm-test-ulps: Update.
56226 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56228         * Rules ($(objpfx)bench-%.c): Include code from a C source
56229         file.
56231 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56233         [BZ #15287]
56234         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56235         imaginary part 1.0 and real part less than 0.5 specially.
56236         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56237         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56238         * math/libm-test.inc (cacos_test): Add more tests.
56239         (casin_test): Likewise.
56240         (casinh_test): Likewise.
56241         * sysdeps/i386/fpu/libm-test-ulps: Update.
56242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56244 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56246         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56247         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56249 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56251         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56252         * config.make.in (config-cflags-sse4): Remove variable.
56253         (config-cflags-avx): Likewise.
56254         (config-cflags-sse2avx): Likewise.
56255         (config-cflags-novzeroupper): Likewise.
56256         (config-asflags-i686): Likewise.
56257         (have-mfma4): Likewise.
56258         (have-as-vis3): Likewise.
56259         (MIG): Likewise.
56260         * configure.in (MIG): Do not AC_SUBST.
56261         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56262         (libc_cv_cc_sse4): Do not AC_SUBST.
56263         (libc_cv_cc_avx): Likewise.
56264         (libc_cv_cc_sse2avx): Likewise.
56265         (libc_cv_cc_novzeroupper): Likewise.
56266         (libc_cv_cc_fma4): Likewise.
56267         (libc_cv_as_i686): Likewise.
56268         (libc_cv_sparc_as_vis3): Likewise.
56269         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56270         LIBC_CONFIG_VAR.
56271         (config-asflags-i686): Likewise.
56272         (config-cflags-avx): Likewise.
56273         (config-cflags-sse2avx): Likewise.
56274         (have-mfma4): Likewise.
56275         (config-cflags-novzeroupper): Likewise.
56276         * sysdeps/mach/configure.in (MIG): Likewise.
56277         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56278         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56279         LIBC_CONFIG_VAR.
56280         (config-cflags-avx): Likewise.
56281         (config-cflags-sse2avx): Likewise.
56282         (have-mfma4): Likewise.
56283         (config-cflags-novzeroupper): Likewise.
56284         * configure: Regenerated.
56285         * sysdeps/i386/configure: Likewise.
56286         * sysdeps/mach/configure: Likewise.
56287         * sysdeps/sparc/configure: Likewise.
56288         * sysdeps/x86_64/configure: Likewise.
56290 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56292         [BZ #14812]
56293         * locale/programs/localedef.c (options): Put N_ translation marker
56294         on argument names, not just descriptions.
56296 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56298         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56300 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56302         [BZ #14176]
56303         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56305 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56307         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56308         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56309         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56310         [!BEFORE_ABORT] (before_abort): New function.
56311         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56312         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56313         (writev_for_fatal): New function.
56314         (WRITEV_FOR_FATAL): New macro; call that.
56315         (backtrace_and_maps): New function.
56316         (BEFORE_ABORT): New macro; call that.
56317         (struct str_list): Type removed.
56318         (__libc_message, __libc_fatal): Functions removed.
56319         Include <sysdeps/posix/libc_fatal.c> instead.
56321 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56323         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56324         constants.
56325         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56326         double constants.
56328 2013-03-19  Andreas Schwab  <schwab@suse.de>
56330         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56331         * sysdeps/gnu/configure: Regenerate.
56333         * configure.in: Substitute libc_cv_rtlddir.
56334         * configure: Regenerate.
56335         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56336         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56337         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56338         * elf/Makefile (install-others, CFLAGS-interp.c)
56339         (ldso_install, common-ldd-rewrite): Likewise.
56340         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56341         $(inst_slibdir)/$(rtld-installed-name).
56342         * scripts/rellns-sh: Add -p option.
56343         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56344         for source.
56346 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56348         * manual/nptl.texi: Renamed to ...
56349         * manual/threads.texi: ... this.
56350         * manual/Makefile (chapters): Update.
56352 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56354         [BZ #14812]
56355         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56356         on argument names, not just descriptions.
56357         * malloc/memusagestat.c (options): Likewise.
56358         * nss/getent.c (options): Likewise.
56360 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56362         [BZ #14812]
56363         * iconv/iconv_prog.c (options): Put N_ translation marker
56364         on argument names, not just descriptions.
56365         * iconv/iconvconfig.c (options): Likewise.
56367 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56369         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56370         implementation which is faster on all x86_64 architectures.
56371         Tested on AMD, Intel Nehalem, SNB, IVB.
56372         * sysdeps/x86_64/strnlen.S: Likewise.
56374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56375         Remove all multiarch strlen and strnlen versions.
56376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56377         Remove strlen and strnlen related parts.
56379         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56380         Inline strlen part.
56381         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56383         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56384         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56385         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56386         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56387         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56388         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56390 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56392         * manual/memory.texi (Malloc Tunable Parameters):
56393         Sort parameters alphabetically. Add comments for missing entries.
56395 2013-03-17  David S. Miller  <davem@davemloft.net>
56397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56399 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56401         [BZ #15283]
56402         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56403         for arguments at most half maximum finite value.
56404         * math/libm-test.inc (j0_test): Add more tests.
56405         (j1_test): Likewise.
56406         (y0_test): Likewise.
56407         (y1_test): Likewise.
56408         * sysdeps/i386/fpu/libm-test-ulps: Update.
56409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56411         [BZ #14155]
56412         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56413         1 / x and functions P and Q for arguments above 0x1p256L.
56414         (__ieee754_y0l): Likewise.
56415         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56416         (__ieee754_y1l): Likewise.
56417         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56418         (j1_test): Likewise.
56419         (y0_test): Likewise.
56420         (y1_test): Likewise.
56422 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56424         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56425         variable.
56427 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56429         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56430         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56431         zero since it's initialized to EXEC_PAGESIZE.
56433         * sysdeps/unix/sysv/linux/ldsodefs.h
56434         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56435         * sysdeps/generic/ldsodefs.h: ... here.
56437 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56439         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56441         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56442         math/test-snan.c.
56443         * math/test-snan.c: Renamed from
56444         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56445         * math/Makefile (tests): Add test-snan.
56446         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56447         test-powerpc-snan.
56449         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56450         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56451         functions.
56452         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56453         __builtin_nan family of functions.
56454         * math/libm-test.inc (initialize): Initialize qnan_value with
56455         __builtin_nan family of functions.
56456         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56457         Remove variables.
56458         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56459         Remove functions.
56460         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56461         storage class.  Initialize qNaN_var and sNaN_var with
56462         __builtin_nan and __builtin_nans families of functions,
56463         respectively.
56465         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56466         (sqrt_test): Remove duplicate test with qNaN input.
56467         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56468         (round_test, signbit_test, significand_test): Note missing +/-Inf
56469         as well as qNaN tests.
56471         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56472         qNaN_var.  Fix a few strings, too.
56473         * math/libm-test.inc (nan_value): Rename to qnan_value.
56474         * math/gen-libm-test.pl (%beautify): Adjust to that.
56475         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56476         * math/test-misc.c (main): Likewise.
56477         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56478         to __qnan_bytes, and __qnan_union, respectively.
56479         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56480         Likewise.
56481         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56482         and lqnanval, respectively.
56483         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56484         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56485         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56486         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56488         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56489         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56490         doubles.
56492         * math/test-misc.c (main): Fix copy'n'pastos.
56493         * misc/tst-efgcvt.c (special): Likewise.
56495         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56496         Remove declarations.
56498 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56500         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56501         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56502         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56503         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56505 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56508         macro to return vdso values correctly in IFUNC implementations.
56509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56510         Optimization by using IFUNC.
56512 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56513             Richard Henderson  <rth@redhat.com>
56514             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56516         * Makefile.in (bench): New target.
56517         * NEWS: Mention the benchmark framework.
56518         * Rules (bench): Likewise.
56519         (binaries-bench): Generate binaries for functions to
56520         benchmark.
56521         * benchtests/Makefile: New makefile for benchmark tests.
56522         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56523         programs.
56524         * benchtests/exp-inputs: New input file for EXP function.
56525         * benchtests/pow-inputs: New input file for POW function.
56526         * scripts/bench.pl: New script to generate source files for
56527         benchmark programs.
56529 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56531         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56532         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56533         computations on mantissa.  Use macros for rounding and
56534         division.
56535         (denorm): Likewise.
56536         (__dbl_mp): Likewise.
56537         (add_magnitudes): Likewise.
56538         (sub_magnitudes): Likewise.
56539         (__mul): Likewise.
56540         (__sqr): Likewise.
56541         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56542         powers of two in terms of TWOPOW macro.
56543         (mp_no): Make type of mantissa as MANTISSA_T.
56544         [!RADIXI]: Define RADIXI.
56545         [!TWO52]: Define TWO52.
56546         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56548         * manual/nptl.texi (cindex): Modify threads to pthreads.
56550 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56552         * sysdeps/x86_64/preconfigure: Regenerated.
56554 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56556         [BZ #14155]
56557         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56558         0x1p28 and above.
56559         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56560         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56561         0x1p28 and above.
56562         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56563         * math/libm-test.inc (j0_test): Do not allow one spurious
56564         underflow exception.
56565         (y1_test): Likewise.
56567 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * manual/Makefile (chapters): Add nptl.
56570         * manual/debug.texi (Debugging Support): Add link to Threads
56571         chapter.
56572         * manual/nptl.texi: New file.
56574         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56576 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56578         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56579         for non-NULL pointer before the memory validity test. Pointed
56580         out by Holger Brunck <holger.brunck@keymile.com>.
56582 2013-03-13  Andreas Schwab  <schwab@suse.de>
56584         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56585         instead of .os.
56587 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56589         * timezone/zic.c: Update from tzcode 2013b.
56591 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56593         * manual/install.texi (Configuring and compiling):
56594         Mention i686 and i586.
56595         * INSTALL: Regenerate.
56597 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56599         * sysdeps/init_array/elf-init.c: New file.
56600         * csu/elf-init.c
56601         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56602         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56604         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56605         __gmon_start__ as global, but as static with a .preinit_array pointer.
56606         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56607         * sysdeps/init_array/crti.S: New file, empty except for comments.
56608         * sysdeps/init_array/crtn.S: Likewise.
56610 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56612         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56613         definining bcopy.
56614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56615         Remove Prefer_SSE_for_memop.
56616         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56617         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56618         HAS_PREFER_SSE_FOR_MEMOP.
56619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56620         memset-x86-64.
56621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56622         Remove bzero, memset ifunc support.
56623         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56624         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56625         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56626         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56628 2013-03-11  Andreas Schwab  <schwab@suse.de>
56630         [BZ #15234]
56631         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56632         by SHLIB_COMPAT.
56633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56634         (GLIBC_2.16): Remove pthread_atfork.
56636 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56638         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56639         (ptestcases.h): Likewise.
56641 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56643         * Makeconfig ($(common-objpfx)config.status): Depend on
56644         sysdeps/*/preconfigure{,.in} too.
56646 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56648         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56649         (__free_hook): Use void * instead of __malloc_ptr_t.
56650         (__malloc_hook): Likewise.
56651         (__realloc_hook): Likewise.
56652         (__memalign_hook): Likewise.
56653         (__after_morecore_hook): Likewise.
56654         * malloc/arena.c (save_malloc_hook): Likewise.
56655         (save_free_hook): Likewise.
56656         * malloc/hooks.c (malloc_hook_ini): Likewise.
56657         (realloc_hook_ini): Likewise.
56658         (memalign_hook_ini): Likewise.
56659         * malloc/malloc.c (malloc_hook_ini): Likewise.
56660         (realloc_hook_ini): Likewise.
56661         (memalign_hook_ini): Likewise.
56662         (__free_hook): Likewise.
56663         (__malloc_hook): Likewise.
56664         (__realloc_hook): Likewise.
56665         (__memalign_hook): Likewise.
56666         (__libc_malloc): Likewise.
56667         (__libc_free): Likewise.
56668         (__libc_realloc): Likewise.
56669         (__libc_memalign): Likewise.
56670         (__libc_valloc): Likewise.
56671         (__libc_pvalloc): Likewise.
56672         (__libc_calloc): Likewise.
56673         (__posix_memalign): Likewise.
56674         * malloc/morecore.c (__sbrk): Likewise.
56675         (__default_morecore): Likewise.
56677         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56679         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56680         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56681         __malloc_ptrdiff_t.
56683         * malloc/malloc.h (__malloc_size_t): Remove macro.
56684         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56685         __malloc_size_t.
56686         (old_memalign_hook): Likewise.
56687         (old_realloc_hook): Likewise.
56688         (struct hdr): Likewise.
56689         (flood): Likewise.
56690         (mallochook): Likewise.
56691         (memalignhook): Likewise.
56692         (reallochook): Likewise.
56693         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56694         (tr_old_realloc_hook): Likewise.
56695         (tr_old_memalign_hook): Likewise.
56696         (tr_mallochook): Likewise.
56697         (tr_reallochook): Likewise.
56698         (tr_memalignhook): Likewise.
56700 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56703         default_ldbl_pack and using as default implementation.
56704         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56705         implementation.
56706         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56707         redundant definition.
56708         (ldbl_insert_mantissa): Likewise.
56709         (ldbl_canonicalize): Likewise.
56710         (ldbl_nearbyint): Likewise.
56711         (ldbl_pack): Rename to ldbl_pack_ppc.
56712         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56713         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56714         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56716 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56719         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56720         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56721         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56723         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56724         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56725         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56727 2013-03-07  Andreas Jaeger  <aj@suse.de>
56729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56730         bits/mman-linux.h.
56732 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56734         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56735         Include mpa.h and declare __MPEXP.
56736         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56737         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56738         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56739         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56740         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56741         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56742         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56744         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56745         (__slowpow): Use long double EXPL and LOGL functions to
56746         compute POW.
56747         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56748         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56749         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56750         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56751         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56752         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56755         intermediate variable to calculate exponent.
56756         (__sqr): Likewise.
56757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56758         Likewise.
56759         (__sqr): Likewise.
56761         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56762         [!NO__SQR]: Define __sqr.
56763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56764         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56765         sysdeps/ieee754/dbl-64/mpa.c.
56766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56768         [BZ #12723]
56769         * posix/Makefile (tests): Add tst-pathconf.
56770         * posix/tst-pathconf.c: New test case.
56771         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56772         _PC_PIPE_BUF.
56773         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56775 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56777         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56779 2013-03-06  Andreas Jaeger  <aj@suse.de>
56781         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56782         definition via __MAP_ANONYMOUS.
56784         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56785         it's not part of Linux headers.
56787         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56788         (MAP_HUGE_MASK): Define.
56790         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56791         Define.
56792         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56793         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56794         Define.
56795         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56796         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56797         Define.
56798         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56799         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56800         Define.
56801         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56803         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56804         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56805         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56806         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56807         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56808         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56810         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56811         Handle f2fs.
56813         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56814         Handle f2fs and efivarfs.
56816         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56817         f2fs.
56819         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56820         (EFIVARFS_MAGIC): Add.
56821         (F2FS_LINK_MAX): Add.
56823 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56825         * stdio-common/vfprintf.c: Replace __builtin_expect with
56826         __glibc_unlikely.
56828 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56830         [BZ #13550]
56831         * sysdeps/generic/bp-sym.h: Remove file.
56832         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56833         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56834         <bp-sym.h> and <bp-asm.h>.
56835         (__longjmp): Don't use BP_SYM.
56836         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56837         and <bp-asm.h>.
56838         (memcpy): Don't use BP_SYM.
56839         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56840         <bp-sym.h> and <bp-asm.h>.
56841         (memcpy): Don't use BP_SYM.
56842         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56843         <bp-asm.h>.
56844         (memcpy): Don't use BP_SYM.
56845         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56846         <bp-asm.h>.
56847         (memset): Don't use BP_SYM.
56848         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56849         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56850         (__bzero): Don't use BP_SYM.
56851         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56852         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56853         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56854         <bp-sym.h> and <bp-asm.h>.
56855         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56856         pointers.
56857         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56858         <bp-sym.h> and <bp-asm.h>.
56859         (memcpy): Don't use BP_SYM.
56860         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56861         <bp-sym.h> and <bp-asm.h>.
56862         (memset): Don't use BP_SYM.
56863         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56864         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56865         (__bzero): Don't use BP_SYM.
56866         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56867         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56868         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56869         <bp-sym.h> and <bp-asm.h>.
56870         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56871         pointers.
56872         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56873         <bp-sym.h> and <bp-asm.h>.
56874         (memcpy): Don't use BP_SYM.
56875         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56876         <bp-sym.h> and <bp-asm.h>.
56877         (memset): Don't use BP_SYM.
56878         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56879         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56880         (__bzero): Don't use BP_SYM.
56881         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56882         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56883         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56884         <bp-sym.h> and <bp-asm.h>.
56885         (__memchr): Don't use BP_SYM.
56886         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56887         <bp-sym.h> and <bp-asm.h>.
56888         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56889         pointers.
56890         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56891         <bp-sym.h> and <bp-asm.h>.
56892         (memcpy): Don't use BP_SYM.
56893         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56894         <bp-sym.h> and <bp-asm.h>.
56895         (__mempcpy): Don't use BP_SYM.
56896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56897         <bp-sym.h> and <bp-asm.h>.
56898         (__memrchr): Don't use BP_SYM.
56899         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56900         <bp-sym.h> and <bp-asm.h>.
56901         (memset): Don't use BP_SYM.
56902         (__bzero): Likewise.
56903         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56904         <bp-sym.h> and <bp-asm.h>.
56905         (__rawmemchr): Don't use BP_SYM.
56906         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56907         <bp-sym.h> and <bp-asm.h>.
56908         (__STRCMP): Don't use BP_SYM.
56909         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56910         <bp-sym.h> and <bp-asm.h>.
56911         (strchr): Don't use BP_SYM.
56912         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56913         <bp-sym.h> and <bp-asm.h>.
56914         (__strchrnul): Don't use BP_SYM.
56915         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56916         <bp-sym.h> and <bp-asm.h>.
56917         (strlen): Don't use BP_SYM.
56918         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56919         <bp-sym.h> and <bp-asm.h>.
56920         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56921         pointers.
56922         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56923         <bp-sym.h> and <bp-asm.h>.
56924         (__strnlen): Don't use BP_SYM.
56925         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56926         <bp-sym.h> and <bp-asm.h>.
56927         (__GI__setjmp): Don't use BP_SYM.
56928         (_setjmp): Likewise.
56929         (__sigsetjmp): Likewise.
56930         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56931         (L(start_addresses)): Don't use BP_SYM.
56932         (_start): Likewise.
56933         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56934         <bp-asm.h>.
56935         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56936         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56937         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56938         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56939         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56940         <bp-asm.h>.
56941         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56942         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56943         about bounded pointers.
56944         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56945         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56946         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56947         <bp-asm.h>.
56948         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56949         about bounded pointers.  Remove GKM FIXME comments.
56950         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56951         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56952         <bp-asm.h>.
56953         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56954         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56955         Remove GKM FIXME comments.
56956         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56957         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56958         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56959         <bp-asm.h>.
56960         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56961         about bounded pointers.  Remove GKM FIXME comment.
56962         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56963         and <bp-asm.h>.
56964         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56965         pointers.
56966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56967         <bp-sym.h> and <bp-asm.h>.
56968         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56970         <bp-sym.h> and <bp-asm.h>.
56971         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56972         comment.
56974 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56976         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56977         call free(NULL).
56979 2013-03-05  David S. Miller  <davem@davemloft.net>
56981         * po/es.po: Update from translation team.
56983 2013-03-05  Andreas Jaeger  <aj@suse.de>
56985         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56986         <bits/mman-linux.h>.
56987         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56988         is fine.
56989         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56990         <bits/mman-linux.h> to end of file.
56991         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56992         is fine.
56993         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56994         <bits/mman-linux.h> to end of file.
56995         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56996         is fine.
56997         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56998         <bits/mman-linux.h> to end of file.
57000         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57001         (MCL_CURRENT, MCL_FUTURE): Define here.
57003 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57005         [BZ #15232]
57006         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57007         attribute_hidden.
57008         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57010 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57013         fourth parameter needed for rt_sigprocmask syscall.
57014         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57015         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57016         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57017         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57018         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57019         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57021 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57023         [BZ #13550]
57024         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57025         comment about bounded pointers.
57026         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57027         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57029 2013-03-04  Andreas Jaeger  <aj@suse.de>
57031         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57032         common definitions.
57034         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57035         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57036         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57037         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57038         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57039         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57041 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57043         [BZ #15055]
57044         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57045         __ieee754_sqrl instead of __sqrl.
57047 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57049         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57050         * sysdeps/powerpc/fpu_control.h: ... here.
57051         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57052         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57053         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57054         * sysdeps/powerpc/bits/mathinline.h: ... here.
57056 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57058         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57059         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57060         to just [NEED_DL_SYSINFO_DSO].
57061         * elf/dl-support.c: Likewise.
57062         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57063         * elf/rtld.c (dl_main): Likewise.
57064         * elf/setup-vdso.h (setup_vdso): Likewise.
57065         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57066         * sysdeps/unix/sysv/linux/dl-sysdep.c
57067         (_dl_discover_osversion): Likewise.
57069 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57071         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57072         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57074 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57076         * NEWS: Mention libm performance improvements and non-x86 PI
57077         futex support.
57079         * csu/libc-start.c (__pthread_initialize_minimal): Change
57080         function arguments.
57081         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57083 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57085         [BZ #13550]
57086         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57087         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57088         <bp-sym.h> and <bp-asm.h>.
57089         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57090         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57091         and <bp-asm.h>.
57092         (memcpy): Don't use BP_SYM.
57093         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57094         <bp-asm.h>.
57095         (__mpn_add_n): Don't use BP_SYM.
57096         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57097         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57098         and <bp-asm.h>.
57099         (__mpn_addmul_1): Don't use BP_SYM.
57100         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57101         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57102         <bp-sym.h>.
57103         (_setjmp): Don't use BP_SYM.
57104         (__novmx_setjmp): Likewise.
57105         (__GI__setjmp): Likewise.
57106         (__vmx_setjmp): Likewise.
57107         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57108         <bp-sym.h>.
57109         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57110         (__bzero): Don't use BP_SYM.
57111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57113         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57114         <bp-sym.h> and <bp-asm.h>.
57115         (memcpy): Don't use BP_SYM.
57116         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57117         <bp-sym.h> and <bp-asm.h>.
57118         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57119         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57120         <bp-sym.h> and <bp-asm.h>.
57121         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57122         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57123         <bp-asm.h>.
57124         (__mpn_lshift): Don't use BP_SYM.
57125         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57126         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57127         <bp-asm.h>.
57128         (memset): Don't use BP_SYM.
57129         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57130         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57131         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57132         <bp-asm.h>.
57133         (__mpn_mul_1): Don't use BP_SYM.
57134         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57136         <bp-sym.h> and <bp-asm.h>.
57137         (memcmp): Don't use BP_SYM.
57138         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57139         <bp-sym.h> and <bp-asm.h>.
57140         (memcpy): Don't use BP_SYM.
57141         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57142         <bp-sym.h> and <bp-asm.h>.
57143         (memset): Don't use BP_SYM.
57144         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57145         <bp-sym.h> and <bp-asm.h>.
57146         (strncmp): Don't use BP_SYM.
57147         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57148         <bp-sym.h> and <bp-asm.h>.
57149         (memcpy): Don't use BP_SYM.
57150         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57151         <bp-sym.h> and <bp-asm.h>.
57152         (memset): Don't use BP_SYM.
57153         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57154         <bp-sym.h> and <bp-asm.h>.
57155         (__memchr): Don't use BP_SYM.
57156         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57157         <bp-sym.h> and <bp-asm.h>.
57158         (memcmp): Don't use BP_SYM.
57159         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57160         <bp-sym.h> and <bp-asm.h>.
57161         (memcpy): Don't use BP_SYM.
57162         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57163         <bp-sym.h> and <bp-asm.h>.
57164         (__mempcpy): Don't use BP_SYM.
57165         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57166         <bp-sym.h> and <bp-asm.h>.
57167         (__memrchr): Don't use BP_SYM.
57168         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57169         <bp-sym.h> and <bp-asm.h>.
57170         (memset): Don't use BP_SYM.
57171         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57172         <bp-sym.h> and <bp-asm.h>.
57173         (__rawmemchr): Don't use BP_SYM.
57174         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57175         <bp-sym.h> and <bp-asm.h>.
57176         (__STRCMP): Don't use BP_SYM.
57177         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57178         <bp-sym.h> and <bp-asm.h>.
57179         (strchr): Don't use BP_SYM.
57180         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57181         <bp-sym.h> and <bp-asm.h>.
57182         (__strchrnul): Don't use BP_SYM.
57183         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57184         <bp-sym.h> and <bp-asm.h>.
57185         (strlen): Don't use BP_SYM.
57186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57187         <bp-sym.h> and <bp-asm.h>.
57188         (strncmp): Don't use BP_SYM.
57189         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57190         <bp-sym.h> and <bp-asm.h>.
57191         (__strnlen): Don't use BP_SYM.
57192         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57193         <bp-asm.h>.
57194         (__mpn_rshift): Don't use BP_SYM.
57195         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57196         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57197         <bp-sym.h> and <bp-asm.h>.
57198         (__sigsetjmp): Don't use BP_SYM.
57199         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57200         (L(start_addresses)): Don't use BP_SYM.
57201         (_start): Likewise.
57202         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57203         <bp-asm.h>.
57204         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57205         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57206         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57207         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57208         <bp-asm.h>.
57209         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57210         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57211         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57212         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57213         <bp-asm.h>.
57214         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57215         comments.
57216         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57217         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57218         <bp-asm.h>.
57219         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57220         FIXME comments.
57221         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57222         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57223         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57224         <bp-asm.h>.
57225         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57226         comment.
57227         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57228         and <bp-asm.h>.
57229         (strncmp): Don't use BP_SYM,
57230         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57231         <bp-asm.h>.
57232         (__mpn_sub_n): Don't use BP_SYM.
57233         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57234         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57235         and <bp-asm.h>.
57236         (__mpn_submul_1): Don't use BP_SYM.
57237         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57239         <bp-sym.h> and <bp-asm.h>.
57240         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57242         <bp-sym.h> and <bp-asm.h>.
57243         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57244         comment.
57246 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57249         Use ZK to minimize writes to Z.
57250         (sub_magnitudes): Simplify code a bit.
57251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57252         Use ZK to minimize writes to Z.
57253         (sub_magnitudes): Simplify code a bit.
57255 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57257         * csu/gmon-start.c: Add special exception to license text.
57259 2013-02-27  Richard Henderson  <rth@redhat.com>
57261         * scripts/config.guess: Update from config.git.
57262         * scripts/config.sub: Likewise.
57264 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57266         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57268         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57270         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57272         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57274         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57276 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57278         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57279         [$(build-shared = yes].
57281 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57283         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57284         (__mul): Reduce iterations for calculating mantissa.
57286         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57287         MPTWO.
57288         (__mpranred): Likewise.
57290         [BZ #15160]
57291         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57292         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57294 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57296         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57297         Define __attribute__.
57299 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57301         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57302         unused.
57303         * posix/regex_internal.h (__attribute): Remove.
57304         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57305         (re_string_context_at): Likewise.
57306         (bitset_not): Use __attribute__ and mark function as possibly
57307         unused.
57308         (bitset_merge): Likewise.
57309         (bitset_mask): Likewise.
57310         (re_string_char_size_at): Likewise.
57311         (re_string_wchar_at): Likewise.
57312         (re_string_elem_size_at): Likewise.
57314 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57316         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57317         code.
57318         (cc32): Likewise.
57320         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57321         (__acr): Likewise.
57322         (__cpy): Likewise.
57323         (norm): Likewise.
57324         (denorm): Likewise.
57325         (__dbl_mp): Likewise.
57326         (add_magnitudes): Likewise.
57327         (sub_magnitudes): Likewise.
57328         (__mul): Likewise.
57329         (__inv): Likewise.
57331         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57332         style.
57334         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57335         style.
57337         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57338         code.
57340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57341         up changes with default code.
57342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57343         Likewise.
57345 2013-02-24  Allan McRae  <allan@archlinux.org>
57347         * manual/socket.texi (The Internet Namespace): Order menu items
57348         to match that in the file.
57350         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57351         node listing of the info page menu.
57353 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57355         [BZ #13550]
57356         * sysdeps/i386/bp-asm.h: Remove file.
57357         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57358         (PARMS): Do not use macros from bp-asm.h.
57359         (S1): Likewise.
57360         (S2): Likewise.
57361         (SIZE): Likewise.
57362         (__mpn_add_n): Do not use BP_SYM
57363         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57364         "bp-asm.h".
57365         (PARMS): Do not use macros from bp-asm.h.
57366         (S1): Likewise.
57367         (SIZE): Likewise.
57368         (__mpn_addmul_1): Do not use BP_SYM
57369         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57370         "bp-asm.h".
57371         (PARMS): Do not use macros from bp-asm.h.
57372         (SIGMSK): Likewise.
57373         (_setjmp): Likewise.  Do not use BP_SYM.
57374         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57375         "bp-asm.h".
57376         (PARMS): Do not use macros from bp-asm.h.
57377         (SIGMSK): Likewise.
57378         (setjmp): Likewise.  Do not use BP_SYM.
57379         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57380         "bp-asm.h".
57381         (PARMS): Do not use macros from bp-asm.h.
57382         (__frexp): Do not use BP_SYM.
57383         (frexp): Likewise.
57384         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57385         "bp-asm.h".
57386         (PARMS): Do not use macros from bp-asm.h.
57387         (__frexpf): Do not use BP_SYM.
57388         (frexpf): Likewise.
57389         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57390         "bp-asm.h".
57391         (PARMS): Do not use macros from bp-asm.h.
57392         (__frexpl): Do not use BP_SYM.
57393         (frexpl): Likewise.
57394         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57395         "bp-asm.h".
57396         (PARMS): Do not use macros from bp-asm.h.
57397         (__remquo): Do not use BP_SYM.
57398         (remquo): Likewise.
57399         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57400         "bp-asm.h".
57401         (PARMS): Do not use macros from bp-asm.h.
57402         (__remquof): Do not use BP_SYM.
57403         (remquof): Likewise.
57404         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57405         "bp-asm.h".
57406         (PARMS): Do not use macros from bp-asm.h.
57407         (__remquol): Do not use BP_SYM.
57408         (remquol): Likewise.
57409         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57410         "bp-asm.h".
57411         (PARMS): Do not use macros from bp-asm.h.
57412         (DEST): Likewise.
57413         (SRC): Likewise.
57414         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57415         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57416         "bp-asm.h".
57417         (PARMS): Do not use macros from bp-asm.h.
57418         (strlen): Do not use BP_SYM.
57419         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57420         "bp-asm.h".
57421         (PARMS): Do not use macros from bp-asm.h.
57422         (S1): Likewise.
57423         (S2): Likewise.
57424         (SIZE): Likewise.
57425         (__mpn_add_n): Do not use BP_SYM.
57426         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57427         "bp-asm.h".
57428         (PARMS): Do not use macros from bp-asm.h.
57429         (S1): Likewise.
57430         (SIZE): Likewise.
57431         (__mpn_addmul_1): Do not use BP_SYM.
57432         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57433         weak_alias.
57434         (bzero): Likewise.
57435         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57436         "bp-asm.h".
57437         (PARMS): Do not use macros from bp-asm.h.
57438         (S): Likewise.
57439         (SIZE): Likewise.
57440         (__mpn_lshift): Do not use BP_SYM.
57441         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57442         "bp-asm.h".
57443         (PARMS): Do not use macros from bp-asm.h.
57444         (DEST): Likewise.
57445         (SRC): Likewise.
57446         (LEN): Likewise.
57447         (memcpy): Likewise.  Do not use BP_SYM.
57448         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57449         libc_hidden_def and weak_alias.
57450         (mempcpy): Do not use BP_SYM in weak_alias.
57451         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57452         "bp-asm.h".
57453         (PARMS): Do not use macros from bp-asm.h.
57454         (DEST): Likewise.
57455         (LEN): Likewise.
57456         [!BZERO_P] (CHR): Likewise.
57457         (memset): Likewise.  Do not use BP_SYM.
57458         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57459         "bp-asm.h".
57460         (PARMS): Do not use macros from bp-asm.h.
57461         (S1): Likewise.
57462         (SIZE): Likewise.
57463         (__mpn_mul_1): Do not use BP_SYM.
57464         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57465         "bp-asm.h".
57466         (PARMS): Do not use macros from bp-asm.h.
57467         (S): Likewise.
57468         (SIZE): Likewise.
57469         (__mpn_rshift): Do not use BP_SYM.
57470         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57471         "bp-asm.h".
57472         (PARMS): Do not use macros from bp-asm.h.
57473         (STR): Likewise.
57474         (CHR): Likewise.
57475         (strchr): Likewise.  Do not use BP_SYM.
57476         (index): Do not use BP_SYM in weak_alias.
57477         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57478         "bp-asm.h".
57479         (PARMS): Do not use macros from bp-asm.h.
57480         (DEST): Likewise.
57481         (SRC): Likewise.
57482         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57483         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57484         "bp-asm.h".
57485         (PARMS): Do not use macros from bp-asm.h.
57486         (strlen): Do not use BP_SYM.
57487         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57488         "bp-asm.h".
57489         (PARMS): Do not use macros from bp-asm.h.
57490         (S1): Likewise.
57491         (S2): Likewise.
57492         (SIZE): Likewise.
57493         (__mpn_sub_n): Do not use BP_SYM.
57494         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57495         "bp-asm.h".
57496         (PARMS): Do not use macros from bp-asm.h.
57497         (S1): Likewise.
57498         (SIZE): Likewise.
57499         (__mpn_submul_1): Do not use BP_SYM.
57500         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57501         "bp-asm.h".
57502         (PARMS): Do not use macros from bp-asm.h.
57503         (S1): Likewise.
57504         (S2): Likewise.
57505         (SIZE): Likewise.
57506         (__mpn_add_n): Do not use BP_SYM.
57507         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57508         weak_alias.
57509         (bzero): Likewise.
57510         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57511         "bp-asm.h".
57512         (PARMS): Do not use macros from bp-asm.h.
57513         (BLK2): Likewise.
57514         (LEN): Likewise.
57515         (memcmp): Do not use BP_SYM.
57516         (bcmp): Do not use BP_SYM in weak_alias.
57517         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57518         "bp-asm.h".
57519         (PARMS): Do not use macros from bp-asm.h.
57520         (DEST): Likewise.
57521         (SRC): Likewise.
57522         (LEN): Likewise.
57523         (memcpy): Likewise.  Do not use BP_SYM.
57524         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57525         "bp-asm.h".
57526         (PARMS): Do not use macros from bp-asm.h.
57527         (DEST): Likewise.
57528         (SRC): Likewise.
57529         (LEN): Likewise.
57530         (memmove): Likewise.  Do not use BP_SYM.
57531         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57532         "bp-asm.h".
57533         (PARMS): Do not use macros from bp-asm.h.
57534         (DEST): Likewise.
57535         (SRC): Likewise.
57536         (LEN): Likewise.
57537         (__mempcpy): Likewise.  Do not use BP_SYM.
57538         (mempcpy): Do not use BP_SYM in weak_alias.
57539         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57540         "bp-asm.h".
57541         (PARMS): Do not use macros from bp-asm.h.
57542         (DEST): Likewise.
57543         (LEN): Likewise.
57544         [!BZERO_P] (CHR): Likewise.
57545         (memset): Likewise.  Do not use BP_SYM.
57546         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57547         "bp-asm.h".
57548         (PARMS): Do not use macros from bp-asm.h.
57549         (STR2): Likewise.
57550         (strcmp): Do not use BP_SYM.
57551         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57552         "bp-asm.h".
57553         (PARMS): Do not use macros from bp-asm.h.
57554         (STR): Likewise.
57555         (DELIM): Likewise.
57556         [USE_AS_STRTOK_R] (SAVE): Likewise.
57557         (FUNCTION): Likewise.  Do not use BP_SYM.
57558         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57559         aliases.
57560         (strtok_r): Likewise.
57561         (__GI___strtok_r): Likewise.
57562         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57563         (PARMS): Do not use macros from bp-asm.h.
57564         (S): Likewise.
57565         (SIZE): Likewise.
57566         (__mpn_lshift): Do not use BP_SYM.
57567         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57568         (PARMS): Do not use macros from bp-asm.h.
57569         (STR): Likewise.
57570         (CHR): Likewise.
57571         (__memchr): Do not use BP_SYM.
57572         (memchr): Do not use BP_SYM in weak_alias.
57573         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57574         (PARMS): Do not use macros from bp-asm.h.
57575         (BLK2): Likewise.
57576         (LEN): Likewise.
57577         (memcmp): Do not use BP_SYM.
57578         (bcmp): Do not use BP_SYM in weak_alias.
57579         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57580         (PARMS): Do not use macros from bp-asm.h.
57581         (S1): Likewise.
57582         (SIZE): Likewise.
57583         (__mpn_mul_1): Do not use BP_SYM.
57584         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57585         "bp-asm.h".
57586         (PARMS): Do not use macros from bp-asm.h.
57587         (STR): Likewise.
57588         (CHR): Likewise.
57589         (__rawmemchr): Do not use BP_SYM.
57590         (rawmemchr): Do not use BP_SYM in weak_alias.
57591         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57592         (PARMS): Do not use macros from bp-asm.h.
57593         (S): Likewise.
57594         (SIZE): Likewise.
57595         (__mpn_rshift): Do not use BP_SYM.
57596         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57597         (PARMS): Do not use macros from bp-asm.h.
57598         (SIGMSK): Likewise.
57599         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57600         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57601         (_start): Do not use BP_SYM.
57602         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57603         (PARMS): Do not use macros from bp-asm.h.
57604         (DEST): Likewise.
57605         (SRC): Likewise.
57606         (__stpcpy): Likewise.  Do not use BP_SYM.
57607         (stpcpy): Do not use BP_SYM in weak_alias.
57608         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57609         "bp-asm.h".
57610         (PARMS): Do not use macros from bp-asm.h.
57611         (DEST): Likewise.
57612         (SRC): Likewise.
57613         (LEN): Likewise.
57614         (__stpncpy): Likewise.  Do not use BP_SYM.
57615         (stpncpy): Do not use BP_SYM in weak_alias.
57616         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57617         (PARMS): Do not use macros from bp-asm.h.
57618         (STR): Likewise.
57619         (CHR): Likewise.
57620         (strchr): Likewise.  Do not use BP_SYM.
57621         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57622         "bp-asm.h".
57623         (PARMS): Do not use macros from bp-asm.h.
57624         (STR): Likewise.
57625         (CHR): Likewise.
57626         (__strchrnul): Likewise.  Do not use BP_SYM.
57627         (strchrnul): Do not use BP_SYM in weak_alias.
57628         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57629         "bp-asm.h".
57630         (PARMS): Do not use macros from bp-asm.h.
57631         (STOP): Likewise.
57632         (strcspn): Do not use BP_SYM.
57633         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57634         "bp-asm.h".
57635         (PARMS): Do not use macros from bp-asm.h.
57636         (STR): Likewise.
57637         (STOP): Likewise.
57638         (strpbrk): Likewise.  Do not use BP_SYM.
57639         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57640         "bp-asm.h".
57641         (PARMS): Do not use macros from bp-asm.h.
57642         (STR): Likewise.
57643         (CHR): Likewise.
57644         (strrchr): Likewise.  Do not use BP_SYM.
57645         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57646         (PARMS): Do not use macros from bp-asm.h.
57647         (SKIP): Likewise.
57648         (strspn): Do not use BP_SYM.
57649         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57650         (PARMS): Do not use macros from bp-asm.h.
57651         (STR): Likewise.
57652         (DELIM): Likewise.
57653         (SAVE): Likewise.
57654         (FUNCTION): Likewise.  Do not use BP_SYM.
57655         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57656         aliases.
57657         (strtok_r): Likewise.
57658         (__GI___strtok_r): Likewise.
57659         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57660         (PARMS): Do not use macros from bp-asm.h.
57661         (S1): Likewise.
57662         (S2): Likewise.
57663         (SIZE): Likewise.
57664         (__mpn_sub_n): Do not use BP_SYM.
57665         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57666         "bp-asm.h".
57667         (PARMS): Do not use macros from bp-asm.h.
57668         (S1): Likewise.
57669         (SIZE): Likewise.
57670         (__mpn_submul_1): Do not use BP_SYM.
57671         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57672         <bp-sym.h>.
57673         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57674         and <bp-asm.h>.
57675         (PARMS): Do not use macros from bp-asm.h.
57676         (FLAGS): Likewise.
57677         (PTID): Likewise.
57678         (TLS): Likewise.
57679         (CTID): Likewise.
57680         (__clone): Do not use BP_SYM.
57681         (clone): Do not use BP_SYM in weak_alias.
57682         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57683         and <bp-asm.h>.
57684         (PARMS): Do not use macros from bp-asm.h.
57685         (LEN): Likewise.
57686         (__mmap64): Do not use BP_SYM.
57687         (mmap64): Do not use BP_SYM in weak_alias.
57688         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57689         <bp-sym.h> and <bp-asm.h>.
57690         (PARMS): Do not use macros from bp-asm.h.
57691         (__posix_fadvise64_l64): Do not use BP_SYM.
57692         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57693         (PARMS): Do not use macros from bp-asm.h.
57694         (NSOPS): Likewise.
57695         (semtimedop): Do not use BP_SYM.
57696         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57697         and <bp-asm.h>.
57699 2013-02-21  Allan McRae  <allan@archlinux.org>
57701         * manual/message.texi (Charset conversion in gettext):
57702         Move @end statement to beginning of line.
57704 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57707         static.
57708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57709         Likewise.
57711         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57712         (denorm): Likewise.
57713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57716 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57718         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57719         tail-call to the resolved function if pltexit isn't needed.
57721 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57724         or Y being zero as being unlikely.
57725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57726         Likewise.
57728 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57730         * manual/nss.texi (System Databases and Name Service Switch):
57731         Remove frobnicate @pxref.
57733 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57735         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57736         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57738 2013-02-20  Petr Machata  <pmachata@redhat.com>
57740         * elf/elf.h (R_ARM_TARGET1): New macro.
57741         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57742         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57743         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57744         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57745         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57746         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57747         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57748         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57749         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57750         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57751         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57752         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57753         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57754         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57755         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57756         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57757         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57758         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57759         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57760         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57761         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57762         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57763         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57764         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57765         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57766         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57767         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57768         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57769         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57770         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57771         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57772         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57773         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57774         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57775         (R_ARM_THM_GOT_BREL12): Likewise.
57776         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57777         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57778         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57779         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57780         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57781         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57782         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57783         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57784         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57786 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57788         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57789         __attribute_used__ to __attribute__ ((unused)).
57791 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57793         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57794         powerpc mpa.c.
57795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57796         comment formatting.
57797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57799 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57801         [BZ #13550]
57802         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57803         Remove macro.
57804         (ENTER): Remove both macro definitions.
57805         (LEAVE): Likewise.
57806         (CHECK_BOUNDS_LOW): Likewise.
57807         (CHECK_BOUNDS_HIGH): Likewise.
57808         (CHECK_BOUNDS_BOTH): Likewise.
57809         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57810         (RETURN_BOUNDED_POINTER): Likewise.
57811         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57812         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57813         (POP_ERRNO_LOCATION_RETURN): Likewise.
57814         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57815         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57816         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57817         macros.
57818         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57819         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57820         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57821         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57822         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57823         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57824         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57825         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57826         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57827         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57828         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57829         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57830         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57831         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57832         removed macros.
57833         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57834         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57835         macros.
57836         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57837         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57838         * sysdeps/i386/i586/memset.S (memset): Likewise.
57839         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57840         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57841         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57842         macros.
57843         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57844         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57845         Change uses of L(2) to L(out).
57846         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57847         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57848         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57849         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57850         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57851         removed macros.
57852         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57853         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57854         macros.
57855         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57856         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57857         (RETURN): Do not use macro LEAVE.
57858         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57859         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57860         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57861         * sysdeps/i386/i686/memset.S (memset): Likewise.
57862         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57863         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57864         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57865         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57866         Likewise.
57867         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57868         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57869         L(1_2) and L(1_3) into L(1).
57870         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57871         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57873         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57874         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57875         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57876         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57877         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57878         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57879         macros.
57880         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57881         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57882         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57883         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57884         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57885         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57886         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57887         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57888         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57889         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57890         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57891         * sysdeps/i386/strspn.S (strspn): Likewise.
57892         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57893         conditional code.
57894         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57895         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57896         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57897         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57898         L(1_3) into L(1_1).
57899         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57900         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57901         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57902         macros.
57903         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57905 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57907         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57908         macro.
57910 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57912         * math/atest-exp.c (exp_mpn): Remove ROUND.
57913         * math/atest-exp2.c (exp_mpn): Likewise.
57914         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57916         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57917         * stdlib/tst-tls-atexit-lib.c: Likewise.
57918         * stdlib/tst-tls-atexit.c: Likewise.
57920 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57922         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57923         and __attribute_alloc_size__.
57925 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57927         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57928         __attribute_alloc_size__.
57929         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57930         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57932 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57934         * include/programs/xmalloc.h: New file.
57935         * catgets/gencat.c: Include it.
57936         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57937         * elf/pldd.c: Likewise.
57938         * iconv/iconv_charmap.c: Likewise.
57939         * iconv/iconvconfig.c: Likewise.
57940         * iconv/strtab.c: Likewise.
57941         * locale/programs/locale.c: Likewise.
57942         * locale/programs/localedef.h: Likewise.
57943         * locale/programs/simple-hash.c: Likewise.
57944         * nscd/nscd.h: Likewise.
57945         * nss/makedb.c: Likewise.
57946         * sysdeps/generic/ldconfig.h: Likewise.
57948 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57950         * Versions.def: Add GLIBC_2.18.
57951         * include/link.h (struct link_map): New member l_tls_dtor_count.
57952         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57953         (__call_tls_dtors): Likewise.
57954         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57955         __cxa_thread_atexit_impl.
57956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57957         Likewise.
57958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57959         Likewise.
57960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57961         Likewise.
57962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57963         Likewise.
57964         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57966         Likewise.
57967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57968         Likewise.
57969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57971         Likewise.
57972         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57973         (tests): Add test case tst-tls-atexit.
57974         (modules-names): Add shared library for tst-tls-atexit.
57975         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57976         (GLIBC_PRIVATE): Add __call_tls_dtors.
57977         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57978         for libstdc++.
57979         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57980         * stdlib/tst-tls-atexit.c: New test case.
57981         * stdlib/tst-tls-atexit-lib.c: New test case.
57983         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57985         * elf/Versions (ld): Add _dl_find_dso_for_object.
57986         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57987         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57988         (dl_open_worker): Use _dl_find_dso_for_object.
57989         * elf/dl-sym.c (do_sym): Likewise.
57990         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57992 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57994         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57995         Syntactic changes only.
57996         (_dl_runtime_profile): Do a tail-call to the resolved function.
57998 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58000         [BZ #13550]
58001         * sysdeps/x86_64/bp-asm.h: Remove file.
58002         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58003         <bp-sym.h> and <bp-asm.h>.
58004         (__clone): Do not use BP_SYM.
58005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58006         <bp-sym.h> and <bp-asm.h>.
58007         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58008         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58009         "bp-asm.h".
58010         (_setjmp): Do not use BP_SYM.
58011         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58012         "bp-asm.h".
58013         (setjmp): Do not use BP_SYM.
58014         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58015         libc_hidden_def.
58016         (mempcpy): Do not use BP_SYM in weak_alias.
58017         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58018         "bp-asm.h".
58019         (strchr): Do not use BP_SYM.
58020         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58021         "bp-asm.h".
58022         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58023         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58024         (_start): Do not use BP_SYM.
58025         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58026         "bp-asm.h".
58027         (strcat): Do not use BP_SYM.
58028         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58029         "bp-asm.h".
58030         (STRCMP): Do not use BP_SYM.
58031         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58032         "bp-asm.h".
58033         (STRCPY): Do not use BP_SYM.
58034         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58035         "bp-asm.h".
58036         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58037         "bp-asm.h".
58038         (FUNCTION): Do not use BP_SYM.
58039         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58040         weak_alias.
58041         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58043 2013-02-17  Andreas Jaeger  <aj@suse.de>
58045         * time/Versions: Sort entries.
58046         * string/Versions: Likewise.
58047         * resolv/Versions: Likewise.
58048         * posix/Versions: Likewise.
58049         * iconv/Versions: Likewise.
58050         * elf/Versions: Likewise.
58051         * wcsmbs/Versions: Likewise.
58053 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58055         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58056         loop termination condition.
58058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58059         variable to calculate EZ.
58060         (__sqr): Likewise.
58062         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58063         the lower precision input.
58065 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58067         [BZ #13550]
58068         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58069         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58070         (run-via-rtld-prefix): Do not handle %-bp tests.
58071         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58072         (all-object-suffixes): Remove .ob.
58073         (bppfx): Remove variable.
58074         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58075         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58076         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58077         [$(build-bounded) = yes] (libtype.ob): Likewise.
58078         * Makerules (elide-routines.ob): Remove variable.
58079         (do-tests-clean): Do not handle *-bp.out.
58080         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58081         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58082         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58083         (tests): Do not include $(tests-bp.out).
58084         (xtests): Do not include $(xtests-bp.out).
58085         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58086         [$(build-bounded) = yes] ($(addprefix
58087         $(objpfx),$(binaries-bounded))): Remove rule.
58088         ($(objpfx)%-bp.out): Remove rule.
58089         * config.make.in (build-bounded): Remove variable.
58090         * crypt/Makefile [$(build-bounded) = yes]
58091         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58092         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58093         append to variable.
58094         [$(build-bounded) = yes] (install-lib): Likewise.
58095         [$(build-bounded) = yes] (generated): Likewise.
58096         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58097         Remove rule.
58098         * intl/Makefile [$(build-bounded) = yes]
58099         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58100         * math/Makefile [$(build-bounded) = yes]
58101         ($(tests:%=$(objpfx)%-bp): Likewise.
58102         * misc/Makefile [$(build-bounded) = yes]
58103         ($(objpfx)tst-tsearch-bp): Likewise.
58104         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58105         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58106         Remove dependency.
58107         * string/Makefile (o-objects.ob): Remove variable.
58108         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58109         (CFLAGS-.ob): Remove variable.
58110         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58111         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58112         both definitions of variable.
58113         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58114         (ASFLAGS-.ob): Remove variable.
58116 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58118         [BZ #13550]
58119         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58120         Remove __BOUNDED_POINTERS__ from condition.
58121         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58122         * string/bits/string2.h [!__NO_STRING_INLINES &&
58123         !__BOUNDED_POINTERS__]: Likewise.
58124         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58125         Likewise.
58126         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58127         Remove conditional code.
58128         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58129         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58130         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58131         condition.
58133         [BZ #13550]
58134         * csu/libc-start.c: Do not include <bp-sym.h>.
58135         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58136         * elf/dl-open.c: Do not include <bp-sym.h>.
58137         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58138         * math/fegetenv.c: Do not include <bp-sym.h>.
58139         (fegetenv): Do not use BP_SYM in versioned symbols.
58140         * nptl/sysdeps/pthread/bits/libc-lockP.h
58141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58142         <bp-sym.h>.
58143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58144         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58146         (__pthread_mutex_destroy): Likewise.
58147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58148         (__pthread_mutex_lock): Likewise.
58149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58150         (__pthread_mutex_trylock): Likewise.
58151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58152         (__pthread_mutex_unlock): Likewise.
58153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58154         (__pthread_mutexattr_init): Likewise.
58155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58156         (__pthread_mutexattr_destroy): Likewise.
58157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58158         (__pthread_mutexattr_settype): Likewise.
58159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58160         (__pthread_rwlock_init): Likewise.
58161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58162         (__pthread_rwlock_destroy): Likewise.
58163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58164         (__pthread_rwlock_rdlock): Likewise.
58165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58166         (__pthread_rwlock_tryrdlock): Likewise.
58167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58168         (__pthread_rwlock_wrlock): Likewise.
58169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58170         (__pthread_rwlock_trywrlock): Likewise.
58171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58172         (__pthread_rwlock_unlock): Likewise.
58173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58174         (__pthread_key_create): Likewise.
58175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58176         (__pthread_setspecific): Likewise.
58177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58178         (__pthread_getspecific): Likewise.
58179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58180         Likewise.
58181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58182         (_pthread_cleanup_push_defer): Likewise.
58183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58184         (_pthread_cleanup_pop_restore): Likewise.
58185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58186         (pthread_setcancelstate): Likewise.
58187         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58188         <bp-sym.h>.
58189         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58190         (memchr): Do not use BP_SYM in weak_alias.
58191         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58192         (fegetenv): Do not use BP_SYM in versioned symbols.
58193         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58194         (fesetenv): Do not use BP_SYM in versioned symbols.
58195         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58196         (feupdateenv): Do not use BP_SYM in versioned symbols.
58197         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58198         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58199         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58200         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58201         (open64): Do not use BP_SYM in weak_alias.
58202         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58203         (fegetenv): Do not use BP_SYM in versioned symbols.
58204         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58205         (fesetenv): Do not use BP_SYM in versioned symbols.
58206         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58207         (feupdateenv): Do not use BP_SYM in versioned symbols.
58208         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58209         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58210         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58211         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58212         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58213         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58214         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58215         <bp-sym.h>.
58216         (__libc_start_main): Do not use BP_SYM.
58218 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58221         redundant return line.
58222         (norm): Likewise.
58223         (denorm): Likewise.
58224         (dbl_mp): Likewise.
58225         (sub_magnitudes): Likewise.
58226         (__add): Likewise.
58227         (__sub): Likewise.
58228         (__mul): Likewise.
58229         (__inv): Likewise.
58230         (__dvd): Likewise.
58231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58232         (norm): Likewise.
58233         (denorm): Likewise.
58234         (dbl_mp): Likewise.
58235         (sub_magnitudes): Likewise.
58236         (__add): Likewise.
58237         (__sub): Likewise.
58238         (__mul): Likewise.
58239         (__inv): Likewise.
58240         (__dvd): Likewise.
58242         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58243         instead of __mul.
58244         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58245         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58246         (cc32): Likewise.
58248         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58249         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58251         of __mul for squares.
58252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58253         function
58254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58255         Likewise.
58256         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58257         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58259 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58261         [BZ #13550]
58262         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58263         code.
58264         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58265         prototype or function definition.  Rename ubp_* variables and
58266         parameters.  Remove argv definitions conditional on
58267         [__BOUNDED_POINTERS__].
58268         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58269         * elf/dl-runtime.c (_dl_fixup): Likewise.
58270         * include/set-hooks.h (RUN_HOOK): Likewise.
58271         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58272         definition.
58273         * string/strcpy.c (strcpy): Do not use __unbounded.
58274         * sysdeps/generic/frame.h (struct layout): Likewise.
58275         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58276         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58277         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58278         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58279         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58280         (__backtrace): Likewise.
58281         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58282         use __ptrvalue.
58283         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58284         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58285         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58286         Likewise.
58287         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58288         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58289         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58290         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58291         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58292         Do not use __unbounded.
58293         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58294         Rename __unboundedrlimits parameter to rlimits in prototype.
58295         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58296         Do not use __unbounded.
58297         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58298         not use __ptrvalue.
58299         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58300         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58301         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58302         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58303         __ptrvalue or __unbounded.
58304         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58305         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58306         use __unbounded.
58307         (__new_msgctl): Do not use __ptrvalue.
58308         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58309         __unbounded.
58310         (__libc_msgrcv): Do not use __ptrvalue.
58311         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58312         startup_info): Do not use __unbounded.
58313         (__libc_start_main): Likewise.  Rename ubp_* variables and
58314         parameters.  Remove argv definitions conditional on
58315         [__BOUNDED_POINTERS__].
58316         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58317         __ptrvalue.
58318         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58319         use __unbounded.
58320         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58321         or __ptrvalue.
58322         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58323         use __unbounded.
58324         (__new_shmctl): Do not use __ptrvalue.
58325         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58326         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58327         Likewise.
58328         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58329         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58330         (__libc_sigaction): Likewise.
58331         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58332         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58333         Likewise.
58334         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58336 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58338         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58340         * string/mempcpy.c: Implement by calling memcpy.
58342 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58347         evaluation.
58349         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58350         values in the mantissa.
58352         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58353         minimize writes to Z.
58354         (sub_magnitudes): Simplify code a bit.
58356 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58358         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58359         from the message.  The linker prefixes all warnings with that already.
58361 2013-02-12  Andreas Schwab  <schwab@suse.de>
58363         [BZ #15078]
58364         * posix/regexec.c (extend_buffers): Add parameter min_len.
58365         (check_matching): Pass minimum needed length.
58366         (clean_state_log_if_needed): Likewise.
58367         (get_subexp): Likewise.
58368         * posix/Makefile (tests): Add bug-regex34.
58369         (bug-regex34-ENV): Define.
58370         * posix/bug-regex34.c: New file.
58372         [BZ #11561]
58373         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58374         elements compare against the byte sequence of it, not its name.
58375         * posix/Makefile (tests): Add bug-regex35.
58376         (bug-regex35-ENV): Define.
58377         * posix/bug-regex35.c: New file.
58379 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58381         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58382         comment.
58383         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58384         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58385         (CHECK_EOL): Add undef.
58387 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58389         * bits/stdlib-bsearch.h: New file.
58390         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58391         * stdlib/stdlib.h: Likewise.
58393 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58395         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58396         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58397         declaration.
58398         * manual/search.texi (Array Search Function): Add missing const in
58399         lfind prototype.
58400         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58401         declaration to use rlim_t.
58402         (Basic Scheduling Functions): Remove erroneous const from
58403         sched_getparam prototype.  Remove erroneous * from
58404         sched_get_priority_max and sched_get_priority_min prototypes.
58405         (Resource Usage): Fix summary @comment on vtimes to refer to
58406         sys/vtimes.h rather than vtimes.h.
58407         Add missing *s in vtimes prototype.
58408         (Limits on Resources): Fix ulimit prototype to return long int.
58409         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58410         prototypes to use long int rather than double.
58411         (BSD Random): Fix initstate and setstate to use char *, not void *.
58412         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58413         prototype to make second argument 'struct aiocb64 *const[]'.
58414         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58415         (Status of AIO Operations): Remove erroneous const in aio_return and
58416         aio_return64 prototypes.
58417         (Synchronizing I/O): Fix sync prototype to return void.
58418         * manual/startup.texi (Suboptions): Remove an erroneous const in
58419         getsubopt prototype.
58420         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58421         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58422         use size_t rather than int.
58423         (Scanning All Users): Likewise for getpwent_r.
58424         (Setting Groups): Add missing const to setgroups prototype.
58425         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58426         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58427         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58428         'const void *' rather than 'const char *'.
58429         (Host Address Functions): Likewise for inet_ntop.
58430         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58431         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58432         ssize_t for return value.
58433         (Sending Data): Likewise for send, sendto, sendmsg.
58434         (Socket Option Functions): Add a missing const in setsockopt prototype.
58435         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58436         use wchar_t for the argument.
58437         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58438         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58439         take no arguments.
58440         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58441         double/float/long double for second argument.
58442         Fix return types of significand, significandf, significandl.
58443         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58444         argument in fchmod prototype.
58445         (File Owner): Use uid_t and gid_t in fchown prototype.
58446         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58447         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58448         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58449         use 'const struct dirent **' as argument types to CMP function pointer
58450         argument.
58451         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58452         (File Times): Fix summary magic @comment for struct utimbuf and utime
58453         to refer to utime.h, not time.h.
58454         * manual/string.texi (Argz Functions): Add missing const in
58455         argz_extract and argz_next prototypes.
58456         (Finding Tokens in a String): Likewise for basename.
58457         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58458         (Copying and Concatenation): Fix typo in wmemmove prototype.
58459         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58460         (Signal Stack): Remove erroneous const in sigstack prototype.
58461         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58462         prototype.
58463         (Simple Calendar Time): Likewise for stime.
58464         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58465         prototype.
58466         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58467         say sys/sysctl.h instead.
58468         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58469         and vsyslog prototypes.
58471 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58473         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58474         Remove.
58476 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58478         * misc/sys/mman.h: Fix typo in mremap comment.
58480 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58482         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58483         the '\0' terminator.
58485 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58487         [BZ #13550]
58488         * debug/segfault.c: Don't include <bp-checks.h>.
58489         * sysdeps/generic/bp-checks.h: Remove file.
58490         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58491         (__GETDENTS): Don't use CHECK_N.
58492         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58493         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58494         (__getgroups): Don't use CHECK_N.
58495         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58496         (setgroups): Don't use CHECK_N.
58497         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58498         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58499         (__libc_msgrcv): Don't use CHECK_N.
58500         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58501         (__libc_msgsnd): Don't use CHECK_N.
58502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58503         <bp-checks.h>.
58504         (__libc_pread): Don't use CHECK_N.
58505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58506         include <bp-checks.h>.
58507         (__libc_pread64): Don't use CHECK_N.
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58509         include <bp-checks.h>.
58510         (__libc_pwrite): Don't use CHECK_N.
58511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58512         include <bp-checks.h>.
58513         (__libc_pwrite64): Don't use CHECK_N.
58514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58515         <bp-checks.h>.
58516         (__libc_pread): Don't use CHECK_N.
58517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58518         include <bp-checks.h>.
58519         (__libc_pread64): Don't use CHECK_N.
58520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58521         include <bp-checks.h>.
58522         (__libc_pwrite): Don't use CHECK_N.
58523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58524         include <bp-checks.h>.
58525         (__libc_pwrite64): Don't use CHECK_N.
58526         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58527         (do_pread): Don't use CHECK_N.
58528         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58529         (do_pread64): Don't use CHECK_N.
58530         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58531         (do_pwrite): Don't use CHECK_N.
58532         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58533         (do_pwrite64): Don't use CHECK_N.
58534         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58535         (__libc_readv): Don't use CHECK_N.
58536         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58537         (semop): Don't use CHECK_N.
58538         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58539         <bp-checks.h>.
58540         (semtimedop): Don't use CHECK_N.
58541         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58542         (__libc_pread): Don't use CHECK_N.
58543         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58544         <bp-checks.h>.
58545         (__libc_pread64): Don't use CHECK_N.
58546         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58547         <bp-checks.h>.
58548         (__libc_pwrite): Don't use CHECK_N.
58549         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58550         <bp-checks.h>.
58551         (__libc_pwrite64): Don't use CHECK_N.
58552         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58553         <bp-checks.h>.
58554         (__libc_msgrcv): Don't use CHECK_N.
58555         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58556         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58557         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58558         (__libc_writev): Don't use CHECK_N.
58560 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58562         * string/strcpy.c: Removed unused variable.
58564         * Makeconfig (+sysdep-includes): Define with := rather than =.
58565         Use an existing include/ subdir of each sysdeps dir before it.
58567 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58569         * nscd/connection.c (register_traced_file): Comment function.
58570         [HAVE_INOTIFY] (union __inev): Define.
58571         [HAVE_INOTIFY] (inotify_check_files): New function.
58572         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58573         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58574         clear_db_cache.
58575         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58577 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58579         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58580         loaded if not already and that a failure is permanent.
58582 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58584         [BZ #15006]
58585         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58586         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58588 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58590         [BZ #13550]
58591         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58592         (CHECK_1_NULL_OK): Likewise.
58593         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58594         (__fxstat): Do not use CHECK_1.
58595         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58596         <bp-checks.h>.
58597         (___fxstat64): Do not use CHECK_1.
58598         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58599         <bp-checks.h>.
58600         (__fxstatat): Do not use CHECK_1.
58601         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58602         <bp-checks.h>.
58603         (__fxstatat64): Do not use CHECK_1.
58604         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58605         <bp-checks.h>.
58606         (__fxstat): Do not use CHECK_1.
58607         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58608         <bp-checks.h>.
58609         (__fxstatat): Do not use CHECK_1.
58610         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58611         <bp-checks.h>.
58612         (__getresgid): Do not use CHECK_1.
58613         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58614         <bp-checks.h>.
58615         (__getresuid): Do not use CHECK_1.
58616         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58617         <bp-checks.h>.
58618         (__lxstat): Do not use CHECK_1.
58619         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58620         <bp-checks.h>.
58621         (__old_msgctl): Do not use CHECK_1.
58622         (__new_msgctl): Likewise.
58623         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58624         <bp-checks.h>.
58625         (__new_setrlimit): Do not use CHECK_1.
58626         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58627         <bp-checks.h>.
58628         (__old_shmctl): Do not use CHECK_1.
58629         (__new_shmctl): Likewise.
58630         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58631         <bp-checks.h>.
58632         (__xstat): Do not use CHECK_1.
58633         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58634         (__lxstat): Do not use CHECK_1.
58635         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58636         <bp-checks.h>.
58637         (___lxstat64): Do not use CHECK_1.
58638         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58639         (__old_msgctl): Do not use CHECK_1.
58640         (__new_msgctl): Likewise.
58641         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58642         <bp-checks.h>.
58643         (__gettimeofday): Do not use CHECK_1.
58644         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58645         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58646         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58647         <bp-checks.h>.
58648         (__gettimeofday): Do not use CHECK_1.
58649         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58650         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58651         (__new_shmctl): Do not use CHECK_1.
58652         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58653         <bp-checks.h>.
58654         (do_sigtimedwait): Do not use CHECK_1.
58655         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58656         <bp-checks.h>.
58657         (do_sigwaitinfo): Do not use CHECK_1.
58658         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58659         <bp-checks.h>.
58660         (msgctl): Do not use CHECK_1.
58661         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58662         <bp-checks.h>.
58663         (shmctl): Do not use CHECK_1.
58664         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58665         (ustat): Do not use CHECK_1.
58666         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58667         <bp-checks.h>.
58668         (__fxstat): Do not use CHECK_1.
58669         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58670         <bp-checks.h>.
58671         (__fxstatat): Do not use CHECK_1.
58672         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58673         <bp-checks.h>.
58674         (__lxstat): Do not use CHECK_1.
58675         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58676         <bp-checks.h>.
58677         (__xstat): Do not use CHECK_1.
58678         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58679         (__xstat): Do not use CHECK_1.
58680         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58681         (___xstat64): Do not use CHECK_1.
58683         [BZ #13550]
58684         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58685         definitions.
58686         (CHECK_BOUNDS_HIGH): Likewise.
58687         * string/strcpy.c: Do not include <bp-checks.h>.
58688         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58690 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58692         * nscd/nscd-client.h (__nscd_drop_map_ref):
58693         Add __attribute__ ((unused)).
58694         * nis/nss-nisplus.h (niserr2nss): Likewise.
58696         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58697         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58699         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58700         Remove inline keyword.
58701         * include/rounding-mode.h (round_away): Likewise.
58702         * libio/wfileops.c (adjust_wide_data): Likewise.
58703         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58704         (__m128i_strloadu_tolower): Likewise.
58705         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58706         (__m128i_strloadu_tolower): Likewise.
58707         * time/mktime.c (ydhms_diff): Likewise.
58708         * locale/elem-hash.h (elem_hash): Likewise.
58709         * locale/setlocale.c (setdata): Likewise.
58710         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58711         (re_string_wchar_at): Likewise.
58712         (bitset_not, bitset_merge, bitset_mask): Likewise.
58713         [!(__GNUC__ > 3)] (inline): Remove macro.
58714         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58715         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58716         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58717         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58718         * string/memcmp.c (memcmp_bytes): Likewise.
58719         * locale/programs/locarchive.c (compute_hashval): Likewise.
58720         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58721         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58722         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58723         * nss/getent.c (print_rpc, print_protocols): Likewise.
58724         (print_passwd, print_group, print_aliases): Likewise.
58725         * nis/nss-nisplus.h (niserr2nss): Likewise.
58726         * nscd/connections.c (restart_p): Likewise.
58727         Change return type to bool.
58729 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58731         * Makeconfig (all-Depend-files): Add existing
58732         $(sorted-subdirs:=/Depend) files.
58733         (all-subdirs): Remove nss.
58734         * sysdeps/unix/inet/Subdirs: Add it here instead.
58735         * hesiod/Depend: New file.
58737         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58738         instead of calling alloca.
58740         * io/lseek.c (__lseek): Rename to __libc_lseek.
58741         Define __lseek as an alias.
58743         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58745 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58747         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58748         else clause and remove check for non-standard endianness.
58750 2013-02-04  David S. Miller  <davem@davemloft.net>
58752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58754 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58756         [BZ #13550]
58757         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58758         (__ubp_memchr): Remove prototype.
58759         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58760         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58761         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58762         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58763         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58764         Remove alias.
58765         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58766         (__ubp_memchr): Likewise.
58767         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58768         (__ubp_memchr): Likewise.
58769         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58770         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58771         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58772         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58773         CHECK_STRING.
58774         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58775         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58776         (__getcwd): Do not use CHECK_STRING.
58777         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58778         <bp-checks.h>.
58779         (__real_chown): Do not use CHECK_STRING.
58780         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58781         <bp-checks.h>.
58782         (fchownat): Do not use CHECK_STRING.
58783         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58784         CHECK_STRING.
58785         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58786         <bp-checks.h>.
58787         (__lchown): Do not use CHECK_STRING.
58788         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58789         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58790         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58791         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58793         include <bp-checks.h>.
58794         (truncate64): Do not use CHECK_STRING.
58795         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58796         <bp-checks.h>.
58797         (__real_chown): Do not use CHECK_STRING.
58798         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58799         <bp-checks.h>.
58800         (__lchown): Do not use CHECK_STRING.
58801         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58802         <bp-checks.h>.
58803         (__chown): Do not use CHECK_STRING.
58804         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58805         <bp-checks.h>.
58806         (truncate64): Do not use CHECK_STRING.
58807         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58808         Likewise.
58809         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58810         (__xmknod): Do not use CHECK_STRING.
58811         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58812         <bp-checks.h>.
58813         (__xmknodat): Do not use CHECK_STRING.
58814         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58815         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58817 2013-02-04  Andreas Schwab  <schwab@suse.de>
58819         [BZ #14142]
58820         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58821         * include/netdb.h: Likewise for h_errno.
58822         * elf/tst-stackguard1.c: Include <tls.h>.
58824 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58826         * elf/link.h (struct link_map): Extend the l_addr comment.
58827         * include/link.h (struct link_map): Likewise.
58829 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58831         [BZ #13550]
58832         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58833         (BOUNDED_1): Remove macro.
58834         * debug/backtrace.c: Don't include <bp-checks.h>.
58835         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58836         (__backtrace): Likewise.
58837         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58838         <bp-checks.h>.
58839         (__backtrace): Don't use BOUNDED_1.
58840         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58841         <bp-checks.h>.
58842         (__backtrace): Don't use BOUNDED_1.
58843         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58844         (__backtrace): Don't use BOUNDED_1.
58845         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58846         (shmat): Don't use BOUNDED_N.
58848 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58850         [BZ #13550]
58851         * sysdeps/generic/bp-start.h: Remove file.
58852         * csu/libc-start.c: Don't include <bp-start.h>.
58853         (LIBC_START_MAIN): Set up __environ directly instead of using
58854         INIT_ARGV_and_ENVIRON.
58855         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58856         <bp-start.h>.
58858         [BZ #13550]
58859         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58860         definitions.
58861         (CHECK_FCNTL): Likewise.
58862         (CHECK_N_PAGES): Likewise.
58864         [BZ #13550]
58865         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58866         definitions.
58867         (CHECK_SIGSET_NULL_OK): Likewise.
58868         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58869         <bp-checks.h>.
58870         (sigpending): Don't use CHECK_SIGSET.
58871         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58872         <bp-checks.h>.
58873         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58874         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58875         <bp-checks.h>.
58876         (do_sigsuspend): Don't use CHECK_SIGSET.
58877         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58878         use CHECK_SIGSET.
58879         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58880         (do_sigwait): Don't use CHECK_SIGSET.
58881         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58882         use CHECK_SIGSET.
58883         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58884         include <bp-checks.h>.
58885         (sigpending): Don't use CHECK_SIGSET.
58886         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58887         include <bp-checks.h>.
58888         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58889         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58890         <bp-checks.h>.
58891         (sigpending): Don't use CHECK_SIGSET.
58892         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58893         <bp-checks.h>.
58894         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58896         [BZ #13550]
58897         * sysdeps/generic/bp-semctl.h: Remove file.
58898         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58899         <bp-checks.h> and <bp-semctl.h>.
58900         (__old_semctl): Don't use CHECK_SEMCTL.
58901         (__new_semctl): Likewise.
58902         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58903         and <bp-semctl.h>.
58904         (__old_semctl): Don't use CHECK_SEMCTL.
58905         (__new_semctl): Likewise.
58906         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58907         <bp-checks.h> and <bp-semctl.h>.
58908         (__old_semctl): Don't use CHECK_SEMCTL.
58909         (__new_semctl): Likewise.
58910         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58911         <bp-checks.h> and <bp-semctl.h>.
58912         (semctl): Don't use CHECK_SEMCTL.
58914         [BZ #13550]
58915         * Makerules (elide-bp-thunks): Remove variable.
58916         (elide-routines.oS): Don't use $(elide-bp-thunks).
58917         (elide-routines.os): Likewise.
58918         (elide-routines.o): Likewise.
58919         (elide-routines.op): Likewise.
58920         (elide-routines.og): Likewise.
58921         (objects): Don't use $(bp-thunks).
58922         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58923         include.
58924         (common-generated): Do not add s-proto-bp.d.
58925         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58926         (int): Likewise.
58927         (typ): Likewise.
58928         Do not generate makefile rules for bounded-pointer thunks.
58929         * sysdeps/generic/bp-thunks.h: Remove file.
58930         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58931         * sysdeps/unix/s-proto-bp.S: Likewise.
58933         [BZ #15062]
58934         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58935         parts of result separately when argument is not close to line from
58936         -i to i and one part of argument is small.
58937         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58938         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58939         * math/libm-test.inc (cacos_test): Add more tests.
58940         (casin_test): Likewise.
58941         (casinh_test): Likewise.
58942         * sysdeps/i386/fpu/libm-test-ulps: Update.
58943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58945 2013-01-31  David S. Miller  <davem@davemloft.net>
58947         * po/de.po: Update from translation team.
58949 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58951         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58953 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58955         * configure.in (_AC_PROG_CC_C89): New definition.
58956         * configure: Regenerate.
58958         * configure.in (AC_PROG_CPP): New definition.
58959         * configure: Regenerate.
58961 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58963         * debug/tst-backtrace.h: New file.
58964         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58965         (ret): Remove variable.
58966         (x): Likewise.
58967         (FAIL): Remove macro.
58968         (NO_INLINE): Likewise.
58969         (fn1): Use match function instead of strstr.
58970         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58971         (ret): Remove variable.
58972         (x): Likewise.
58973         (FAIL): Remove macro.
58974         (NO_INLINE): Likewise.
58975         (fn): Use match function instead of strstr.
58976         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58977         (ret): Remove variable.
58978         (x): Likewise.
58979         (FAIL): Remove macro.
58980         (NO_INLINE): Likewise.
58981         (handle_signal): Use match function instead of strstr.
58982         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58983         (ret): Remove variable.
58984         (x): Likewise.
58985         (FAIL): Remove macro.
58986         (NO_INLINE): Likewise.
58987         (handle_signal): Use match function instead of strstr.
58989 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58991         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58993 2013-01-23  David S. Miller  <davem@davemloft.net>
58995         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58996         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58997         argument of CAS if possible.
58998         * sysdeps/sparc/sparc64/bits/atomic.h
58999         (__arch_compare_and_exchange_val_32_acq): Likewise.
59000         (__arch_compare_and_exchange_val_64_acq): Likewise.
59002 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59004         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59005         * sysdeps/posix/ulimit.c: ... this.
59006         Include <limits.h>.
59007         * sysdeps/unix/bsd/ulimit.c: Remove file.
59009 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59011         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59012         (LDFLAGS-tst-array5): Likewise.
59014 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59016         [BZ #15036]
59017         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59018         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59019         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59020         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59022 2013-01-21  David S. Miller  <davem@davemloft.net>
59024         * sysdeps/sparc/backtrace.c: New file.
59025         * sysdeps/sparc/sparc32/backtrace.h: New file.
59026         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59027         * sysdeps/sparc/sparc64/backtrace.h: New file.
59028         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59029         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59030         -funwind-tables.
59032 2013-01-21  Andreas Schwab  <schwab@suse.de>
59034         [BZ #15020]
59035         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59036         closed its stdout.
59038 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59041         "mpa2.h".
59042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59044 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59045             Mark Mitchell  <mark@codesourcery.com>
59046             Tom de Vries  <tom@codesourcery.com>
59047             Paul Pluzhnikov  <ppluzhnikov@google.com>
59049         * debug/tst-backtrace2.c: New file.
59050         * debug/tst-backtrace3.c: Likewise.
59051         * debug/tst-backtrace4.c: Likewise.
59052         * debug/tst-backtrace5.c: Likewise.
59053         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59054         (CFLAGS-tst-backtrace3.c): Likewise.
59055         (CFLAGS-tst-backtrace4.c): Likewise.
59056         (CFLAGS-tst-backtrace5.c): Likewise.
59057         (LDFLAGS-tst-backtrace2): Likewise.
59058         (LDFLAGS-tst-backtrace3): Likewise.
59059         (LDFLAGS-tst-backtrace4): Likewise.
59060         (LDFLAGS-tst-backtrace5): Likewise.
59061         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59062         tst-backtrace4 and tst-backtrace5.
59064 2013-01-18  Anton Blanchard  <anton@samba.org>
59065             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59067         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59068         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59069         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59070         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59072         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59073         "+r" and remove output regs list as redundant.  Add explicit inline
59074         asm to specify register of return val to work around compiler codegen
59075         bug.  Remove (int) cast on return value.  Add return type parameter to
59076         use in macro so that this macro does not truncate return value for
59077         64-bit values.
59078         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59079         pass to INTERNAL_VSYSCALL_NCS.
59080         (INLINE_VSYSCALL): Add 'long int' as return type to
59081         INTERNAL_VSYSCALL_NCS macro invocation.
59082         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59083         INTERNAL_VSYSCALL_NCS macro invocation.
59084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59086 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59088         [BZ #14496]
59089         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59090         Fix application of SIMD FP exception mask.
59092         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59093         mp_no from a power of two.
59094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59095         __mpexp_twomm1.  Use __pow_mp.
59097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59098         multiplication.
59100 2013-01-17  David S. Miller  <davem@davemloft.net>
59102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59104 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59106         [BZ #15023]
59107         * include/complex.h: Condition contents on [!_COMPLEX_H].
59108         (__kernel_casinhf): New prototype.
59109         (__kernel_casinh): Likewise.
59110         (__kernel_casinhl): Likewise.
59111         * math/Makefile (libm_calls): Add k_casinh.
59112         * math/k_casinh.c: New file.
59113         * math/k_casinhf.c: Likewise.
59114         * math/k_casinhl.c: Likewise.
59115         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59116         finite nonzero arguments.
59117         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59118         finite nonzero arguments.
59119         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59120         finite nonzero arguments.
59121         * math/s_casinh.c: Do not include <float.h>.
59122         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59123         * math/s_casinhf.c: Do not include <float.h>.
59124         (__casinhf): Move code for finite nonzero arguments to
59125         k_casinhf.c.
59126         * math/s_casinhl.c: Do not include <float.h>.
59127         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59128         redefine.
59129         (__casinhl): Move code for finite nonzero arguments to
59130         k_casinhl.c.
59131         * math/libm-test.inc (cacos_test): Add more tests.
59132         * sysdeps/i386/fpu/libm-test-ulps: Update.
59133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59135 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59137         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59138         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59139         [!HAVE_MREMAP]: Remove [defined linux] case.
59140         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59142 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59144         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59146 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59148         * elf/elf.h (R_386_SIZE32): New relocation.
59149         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59150         R_386_SIZE32.
59151         (elf_machine_rela): Likewise.
59152         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59153         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59155 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59157         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59158         (FP_FAST_FMA): Do not define.
59159         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59160         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59161         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59162         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59163         !_SOFT_FLOAT]: Likewise.
59164         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59165         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59166         value.
59167         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59168         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59169         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59170         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59171         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59172         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59173         file.
59175 2013-01-16  Andreas Schwab  <schwab@suse.de>
59177         [BZ #14327]
59178         * include/stdlib.h (__mktemp): Add declaration.
59179         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59180         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59182 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59184         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59185         definitions.
59186         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59187         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59188         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59189         definitions here.
59190         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59191         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59192         definitions.
59193         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59194         and ONE.
59195         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59196         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59197         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59198         definitions.
59199         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59200         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59201         definitions.
59202         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59204         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59206 2013-01-15  David S. Miller  <davem@davemloft.net>
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59209         trunc{,f} to libm-sysdep_routes.
59210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59212         file.
59213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59215         file.
59216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59217         file.
59218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59220         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59222         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59225         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59228         nearbyint{,f} to libm-sysdep_routes.
59229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59231         New file.
59232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59233         file.
59234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59235         New file.
59236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59237         file.
59238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59240         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59241         file.
59242         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59243         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59244         file.
59245         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59246         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59247         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59249         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59250         libc_feholdexcept and libc_fesetenv.
59252 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59254         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59256 2013-01-14  David S. Miller  <davem@davemloft.net>
59258         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59259         (SPARC_ASM_VIS2_IFUNC): Likewise.
59260         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59262         use of 'siam' instruction.
59263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59264         Likewise.
59265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59266         Likewise.
59267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59268         Likewise.
59269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59274         file.
59275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59276         file.
59277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59278         file.
59279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59280         file.
59281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59286         new VIS2 routines.
59287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59290         Likewise.
59291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59296         routines to libm-sysdep_routines.
59297         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59300         fdim/fdimf to libm-sysdep_routines.
59301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59302         file.
59303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59305         file.
59306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59309         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59310         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59311         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59312         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59314 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59316         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59317         to optimize copies.
59319         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59324         local variable MPTWO.
59325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59326         Likewise.
59328 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59330         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59331         GLOB_NOESCAPE.
59333 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59335         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59337 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59339         * manual/pattern.texi (glob_t): Document gl_flags.
59340         (glob64_t): Likewise.
59342 2013-01-11  David S. Miller  <davem@davemloft.net>
59344         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59345         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59346         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59347         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59348         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59349         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59350         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59351         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59352         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59353         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59354         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59355         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59356         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59358         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59359         sparc V9 rather than using V8 code.
59360         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59361         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59363         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59364         Move to...
59365         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59366         Here.
59368 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59370         [BZ #14941]
59371         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59372         not in the main loop.
59373         * configure: Regenerated.
59375 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59377         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59378         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59379         to just #else.
59380         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59381         [!__GLIBC_HAVE_LONG_LONG] case.
59382         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59383         condition to just #else.
59384         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59385         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59386         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59387         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59388         unconditional.
59389         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59390         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59391         #elif condition to just #else.
59392         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59393         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59394         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59395         #elif condition to just #else.
59397 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59399         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59400         (EF_MIPS_ARCH_64): Fix value.
59401         (EF_MIPS_ARCH_32R2): New.
59402         (EF_MIPS_ARCH_64R2): New.
59404 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59406         * Makeconfig (+link-pie-before-libc): New.
59407         (+link-pie-after-libc): Likewise.
59408         (+link-pie-tests): Likewise.
59409         (+link-pie): Rewritten.
59410         (link-before-libc): Remove $(config-LDFLAGS).
59411         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59412         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59413         (config-LDFLAGS): Renamed to ...
59414         (rtld-LDFLAGS): This.
59415         (rtld-tests-LDFLAGS): New macro.
59416         (link-libc-rpath-link): Likewise.
59417         (link-libc-tests-rpath-link): Likewise.
59418         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59419         (link-libc): Prepand $(link-libc-rpath-link).
59420         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59421         (test-program-prefix): New macro.
59422         (test-via-rtld-prefix): Likewise.
59423         (test-program-cmd): Likewise.
59424         (host-test-program-cmd): Likewise.
59425         * Makefile ($(common-objpfx)testrun.sh): Replace
59426         $(run-program-prefix) with $(test-program-prefix).
59427         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59428         $(rtld-LDFLAGS).
59429         ($(common-objpfx)shlib.lds): Likewise.
59430         (build-module-helper): Likewise.
59431         ($(common-objpfx)format.lds): Likewise.
59432         * Rules (binaries-pie-tests): New.
59433         (binaries-pie-notests): Likewise.
59434         (binaries-pie): Rewritten.
59435         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59436         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59437         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59438         (make-test-out): Replace $(host-built-program-cmd) with
59439         $(host-test-program-cmd).
59440         * config.make.in (build-hardcoded-path-in-tests): New variable.
59441         * configure.in (--enable-hardcoded-path-in-tests): New configure
59442         option.
59443         (hardcoded_path_in_tests): New AC_SUBST.
59444         * configure: Regenerated.
59445         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59446         $(built-program-cmd) with $(test-program-cmd).
59447         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59448         (test_program_cmd): This.
59449         * elf/Makefile ($(objpfx)order.out): Run test with
59450         $(test-program-prefix).
59451         ($(objpfx)order2.out): Likewise.
59452         ($(objpfx)tst-initorder.out): Likewise.
59453         ($(objpfx)tst-initorder2.out): Likewise.
59454         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59455         $(test-program-cmd).
59456         ($(objpfx)tst-array1-static.out): Likewise.
59457         ($(objpfx)tst-array2.out): Likewise.
59458         ($(objpfx)tst-array3.out): Likewise.
59459         ($(objpfx)tst-array4.out): Likewise.
59460         ($(objpfx)tst-array5.out): Likewise.
59461         ($(objpfx)tst-array5-static.out): Likewise.
59462         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59463         $(test-program-cmd).
59464         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59465         $(run-program-prefix) with $(test-program-prefix).
59466         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59467         (test_program_prefix): This.
59468         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59469         $(run-program-prefix) with $(test-program-prefix).
59470         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59471         (test_program_prefix): This.
59472         * iconvdata/tst-tables.sh: Likewise.
59473         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59474         $(run-program-prefix) with $(test-program-prefix).
59475         ($(objpfx)tst-translit.out): Likewise.
59476         ($(objpfx)tst-gettext2.out): Likewise.
59477         ($(objpfx)tst-gettext4.out): Likewise.
59478         ($(objpfx)tst-gettext6.out): Likewise.
59479         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59480         (test_program_prefix): This.
59481         * intl/tst-gettext2.sh: Likewise.
59482         * intl/tst-gettext4.sh  Likewise.
59483         * intl/tst-gettext6.sh: Likewise.
59484         * intl/tst-translit.sh: Likewise.
59485         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59486         with $(test-program-cmd).
59487         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59488         $(run-program-prefix) with $(test-program-prefix).
59489         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59490         (test_program_prefix): This.
59491         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59492         $(run-program-prefix) with $(test-program-prefix).
59493         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59494         (test_program_prefix): This.
59495         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59496         * posix/Makefile ($(objpfx)globtest.out): Replace
59497         $(run-via-rtld-prefix) and $(test-wrapper) with
59498         $(test-program-prefix) and $(test-via-rtld-prefix).
59499         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59500         $(test-program-prefix).
59501         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59502         $(host-test-program-cmd).
59503         (tst-spawn-ARGS): Likewise.
59504         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59505         $(test-program-prefix).
59506         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59507         (test_via_rtld_prefix): This.
59508         (test_wrapper): Renamed to ...
59509         (test_program_prefix): This.
59510         (run_program_prefix): Replaced by test_program_prefix.
59511         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59512         (test_program_prefix): This.
59513         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59514         with $(host-test-program-cmd).
59515         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59516         $(run-program-prefix) with $(test-program-prefix).
59517         ($(objpfx)tst-printf.out): Likewise.
59518         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59519         $(test-program-cmd).
59520         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59521         (test_program_prefix): This.
59522         * stdio-common/tst-unbputc.sh: Likewise.
59523         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59524         $(run-program-prefix) with $(test-program-prefix).
59525         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59526         (test_program_prefix): This.
59527         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59528         $(built-program-cmd) with $(test-program-cmd).
59530 2013-01-11  Andreas Jaeger  <aj@suse.de>
59532         [BZ #15003]
59533         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59534         value. Sync with Linux 3.7.
59536 2013-01-10  David S. Miller  <davem@davemloft.net>
59538         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59539         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59540         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59542 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59544         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59545         never set.
59546         * configure: Regenerated.
59548 2013-01-10  David S. Miller  <davem@davemloft.net>
59550         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59551         sparc V9 rather than using V8 code.
59552         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59553         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59555 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59557         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59558         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59559         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59560         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59561         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59562         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59563         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59564         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59565         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59566         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59567         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59568         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59569         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59570         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59571         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59572         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59573         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59574         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59575         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59576         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59577         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59578         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59579         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59580         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59581         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59582         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59583         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59585 2013-01-10  David S. Miller  <davem@davemloft.net>
59587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59589 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59591         * posix/Makefile (tests-static): New variable.
59592         (tests): Add $(tests-static).
59593         (tst-exec-static-ARGS): New variable.
59594         (tst-spawn-static-ARGS): Likewise.
59595         * posix/tst-exec-static.c: New file.
59596         * posix/tst-spawn-static.c: Likewise.
59597         * posix/tst-exec.c: Support run directly.
59598         * posix/tst-spawn.c: Likewise.
59600 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59602         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59603         long.
59604         * math/bits/mathcalls.h (llrint): Likewise.
59605         (llround): Likewise.
59606         * stdlib/stdlib.h (struct drand48_data): Likewise.
59607         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59608         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59609         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59610         Likewise.
59611         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59612         Likewise.
59613         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59614         (elf_greg_t): Likewise.
59615         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59616         (__jmp_buf): Likewise.
59617         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59618         definitions.
59619         (llrint): Likewise, for all definitions.
59620         (llrintl): Likewise.
59622         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59623         Remove [__GNUC__] condition.
59624         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59625         condition to just [__USE_ISOC99].
59626         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59628 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59630         [BZ #14200]
59631         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59632         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59633         defined.
59634         (_POSIX_V6_ILP32_OFF32): Likewise.
59635         (_XBS5_ILP32_OFF32): Likewise.
59636         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59637         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59639 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59641         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59644         doubles __mpexp_twomm1.  Adjust usage.
59645         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59646         Remove.
59648 2013-01-10  Andreas Schwab  <schwab@suse.de>
59650         [BZ #14964]
59651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59652         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59654 2013-01-09  David S. Miller  <davem@davemloft.net>
59656         [BZ #15003]
59657         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59658         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59659         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59660         (TCP_FASTOPEN): Define.
59661         (tcp_repair_opt): New structure.
59662         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59663         enum values.
59664         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59665         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59666         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59667         (tcp_cookie_transactions): New structure.
59669 2013-01-09  Anton Blanchard  <anton@samba.org>
59671         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59672         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59673         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59674         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59676 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59678         * include/features.h (__USE_ANSI): Remove.
59680 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59682         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59684         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59686 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59688         * sysdeps/s390/fpu/libm-test-ulps: Update.
59690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59692         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59693         (__acr): Likewise.
59694         (__cpy): Likewise.
59695         (norm): Likewise.
59696         (denorm): Likewise.
59697         (__mp_dbl): Likewise.
59698         (__dbl_mp): Likewise.
59699         (add_magnitudes): Likewise.
59700         (sub_magnitudes): Likewise.
59701         (__add): Likewise.
59702         (__sub): Likewise.
59703         (__mul): Likewise.
59704         (__inv): Likewise.
59705         (__dvd): Likewise.
59706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59707         (__acr): Likewise.
59708         (__cpy): Likewise.
59709         (norm): Likewise.
59710         (denorm): Likewise.
59711         (__mp_dbl): Likewise.
59712         (__dbl_mp): Likewise.
59713         (add_magnitudes): Likewise.
59714         (sub_magnitudes): Likewise.
59715         (__add): Likewise.
59716         (__sub): Likewise.
59717         (__mul): Likewise.
59718         (__inv): Likewise.
59719         (__dvd): Likewise.
59720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59721         (__acr): Likewise.
59722         (__cpy): Likewise.
59723         (norm): Likewise.
59724         (denorm): Likewise.
59725         (__mp_dbl): Likewise.
59726         (__dbl_mp): Likewise.
59727         (add_magnitudes): Likewise.
59728         (sub_magnitudes): Likewise.
59729         (__add): Likewise.
59730         (__sub): Likewise.
59731         (__mul): Likewise.
59732         (__inv): Likewise.
59733         (__dvd): Likewise.
59735 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59737         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59738         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59739         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59740         2 && __USE_EXTERN_INLINES]: Likewise.
59742 2013-01-08  Andreas Jaeger  <aj@suse.de>
59744         [BZ# 14985]
59745         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59746         Remove.
59747         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59748         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59750 2013-01-07  Anton Blanchard  <anton@samba.org>
59752         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59753         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59754         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59755         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59756         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59757         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59758         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59759         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59761         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59762         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59763         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59764         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59766         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59767         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59768         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59769         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59770         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59771         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59772         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59773         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59775         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59776         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59777         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59778         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59779         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59780         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59781         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59782         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59784         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59785         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59786         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59787         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59788         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59789         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59791         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59792         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59793         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59794         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59796 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59798         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59799         (__MALLOC_PMT): Likewise.
59800         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59801         [__GNUC__], only on [_LIBC].
59802         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59803         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59804         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59805         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59806         forward declaration.
59807         (realloc_hook_ini): Likewise.
59808         (memalign_hook_ini): Likewise.
59809         (__libc_memalign): Do not use __MALLOC_PMT in variable
59810         declaration.
59811         (__libc_valloc): Likewise.
59812         (__libc_pvalloc): Likewise.
59813         (__libc_calloc): Likewise.
59814         (__posix_memalign): Likewise.
59816         [BZ #14996]
59817         * math/s_casinh.c: Include <float.h>.
59818         (__casinh): Do not do computation with squaring and square root
59819         for large arguments.
59820         * math/s_casinhf.c: Include <float.h>.
59821         (__casinhf): Do not do computation with squaring and square root
59822         for large arguments.
59823         * math/s_casinhl.c: Include <float.h>.
59824         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59825         (__casinhl): Do not do computation with squaring and square root
59826         for large arguments.
59827         * math/libm-test.inc (casin_test): Add more tests.
59828         (casinh_test): Likewise.
59829         * sysdeps/i386/fpu/libm-test-ulps: Update.
59830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59832 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59834         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59835         (__x86_64_raw_data_cache_size): Likewise.
59836         (__x86_64_data_cache_size_half): Likewise.
59837         (__x86_64_raw_data_cache_size_half): Likewise.
59838         (__x86_64_shared_cache_size): Likewise.
59839         (__x86_64_raw_shared_cache_size): Likewise.
59840         (__x86_64_shared_cache_size_half): Likewise.
59841         (__x86_64_raw_shared_cache_size_half): Likewise.
59842         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59843         to ...
59844         (__x86_data_cache_size): This.
59845         (__x86_64_raw_data_cache_size): Renamed to ...
59846         (__x86_raw_data_cache_size): This.
59847         (__x86_64_data_cache_size_half): Renamed to ...
59848         (__x86_data_cache_size_half): This.
59849         (__x86_64_raw_data_cache_size_half): Renamed to ...
59850         (__x86_raw_data_cache_size_half): This.
59851         (__x86_64_shared_cache_size): Renamed to ...
59852         (__x86_shared_cache_size): This.
59853         (__x86_64_raw_shared_cache_size): Renamed to ...
59854         (__x86_raw_shared_cache_size): This.
59855         (__x86_64_shared_cache_size_half): Renamed to ...
59856         (__x86_shared_cache_size_half): This.
59857         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59858         (__x86_raw_shared_cache_size_half): This.
59859         * sysdeps/x86_64/memcpy.S: Updated.
59860         * sysdeps/x86_64/memset.S: Likewise.
59861         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59862         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59863         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59865 2013-01-04  David S. Miller  <davem@davemloft.net>
59867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59869 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59871         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59872         1 to avoid redefinition warning.
59873         (__USE_GNU): Don't define.
59874         (init_signaling_nan): Protoize.
59876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59878 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59880         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59882         (__cpymn): Likewise.
59883         (norm): Remove commented code.
59884         (denorm): Likewise.
59885         (__mp_dbl): Likewise.
59886         (__inv): Likewise.
59887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59888         (__cpymn): Likewise.
59889         (norm): Remove commented code.
59890         (denorm): Likewise.
59891         (__mp_dbl): Likewise.
59892         (__inv): Likewise.
59894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59895         mp_no value for 1.0 and 2.0.
59896         (norm): Use RADIXI instead of radixi.d.
59897         (denorm): Likewise.
59898         (__mul): Use 0.0 instead of zero.d.
59899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59900         mp_no value for 1.0 and 2.0.
59901         (norm): Use RADIXI instead of radixi.d.
59902         (denorm): Likewise.
59903         (__mul): Use 0.0 instead of zero.d.
59905 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59907         [BZ #14994]
59908         * math/s_casinh.c (__casinh): Reduce finite argument to first
59909         quadrant then set signs of results at the end.
59910         * math/s_casinhf.c (__casinhf): Likewise.
59911         * math/s_casinhl.c (__casinhl): Likewise.
59912         * math/libm-test.inc (casin_test): Add more tests.
59913         (casinh_test): Likewise.
59914         * sysdeps/i386/fpu/libm-test-ulps: Update.
59915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59917 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59919         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59921         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59923         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59924         declarations.
59925         (denorm): Likewise.
59926         (__mp_dbl): Likewise.
59927         (__inv): Likewise.
59929         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59930         and adjust the header comment.
59932         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59933         variable name from declaration.
59935 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59938         Initialize COMMON_CPUID_INDEX_7 element.
59939         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59940         (CPUID_RTM): Likewise.
59941         (HAS_RTM): Likewise.
59942         (COMMON_CPUID_INDEX_7): New enum.
59944 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59946         [BZ #14981]
59947         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59948         size is zero, record memory as freed.
59950 2013-01-03  Andreas Jaeger  <aj@suse.de>
59952         * po/ia.po: Add new Interlingua translation.
59954 2012-01-03  Allan McRae  <allan@archlinux.org>
59956         * locale/programs/localedef.c: Fix description of '--posix' flag.
59958 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59960         * NEWS: Update dates in second copyright notice.
59961         * README: Update copyright dates in example.
59962         * manual/libc.texinfo: Update copyright dates.
59963         * scripts/test-installation.pl: Update copyright date in --version
59964         output.
59966         * hurd/ctty-input.c: Fix copyright notice formatting.
59967         * hurd/ctty-output.c: Likewise.
59968         * hurd/dtable.c: Likewise.
59969         * hurd/hurd-raise.c: Likewise.
59970         * hurd/hurdprio.c: Likewise.
59971         * hurd/msgportdemux.c: Likewise.
59972         * misc/sys/file.h: Likewise.
59973         * misc/sys/ioctl.h: Likewise.
59974         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59975         * sysdeps/mach/hurd/chdir.c: Likewise.
59976         * sysdeps/mach/hurd/fchdir.c: Likewise.
59977         * sysdeps/mach/hurd/rename.c: Likewise.
59978         * sysdeps/mach/hurd/rmdir.c: Likewise.
59979         * sysdeps/mach/hurd/seekdir.c: Likewise.
59980         * sysdeps/mach/hurd/setsid.c: Likewise.
59981         * sysdeps/posix/wait3.c: Likewise.
59983         * All files with FSF copyright notices: Update copyright dates
59984         using scripts/update-copyrights.
59985         * intl/plural.c: Regenerated.
59986         * locale/programs/charmap-kw.h: Likewise.
59987         * locale/programs/locfile-kw.h: Likewise.
59989 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59991         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59992         four values.
59994         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59995         calculation loop and add branch prediction.
59997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59998         check access beyond bounds of m1np.
60000         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60001         MPTWO.
60002         (__inv): Remove local variable MPTWO to use the global
60003         constant.
60004         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60005         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60006         variable MPTWO.
60007         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60008         MP3HALFS static const.
60010 2013-01-01  David S. Miller  <davem@davemloft.net>
60012         * po/ca.po: Update from translation team.
60014 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60016         * scripts/update-copyrights: New file.
60017         * Makeconfig: Reformat copyright notice.
60018         * ctype/ctype.h: Likewise.
60019         * debug/swprintf_chk.c: Likewise.
60020         * elf/dl-cache.c: Likewise.
60021         * elf/dl-debug.c: Likewise.
60022         * elf/dl-object.c: Likewise.
60023         * grp/initgroups.c: Likewise.
60024         * hurd/Makefile: Likewise.
60025         * hurd/hurd/signal.h: Likewise.
60026         * hurd/hurdfault.c: Likewise.
60027         * hurd/hurdioctl.c: Likewise.
60028         * hurd/hurdlookup.c: Likewise.
60029         * hurd/intr-msg.c: Likewise.
60030         * iconv/gconv_open.c: Likewise.
60031         * libio/swprintf.c: Likewise.
60032         * locale/lc-ctype.c: Likewise.
60033         * locale/nl_langinfo.c: Likewise.
60034         * mach/Machrules: Likewise.
60035         * mach/Makefile: Likewise.
60036         * malloc/obstack.h: Likewise.
60037         * manual/Makefile: Likewise.
60038         * manual/tsort.awk: Likewise.
60039         * misc/bits/stab.def: Likewise.
60040         * nis/nis_print_group_entry.c: Likewise.
60041         * nis/nis_table.c: Likewise.
60042         * nis/nss_compat/compat-pwd.c: Likewise.
60043         * nis/nss_compat/compat-spwd.c: Likewise.
60044         * po/Makefile: Likewise.
60045         * posix/fnmatch.c: Likewise.
60046         * posix/regex.h: Likewise.
60047         * resolv/Makefile: Likewise.
60048         * resolv/nss_dns/dns-network.c: Likewise.
60049         * resolv/res_hconf.c: Likewise.
60050         * scripts/gen-sorted.awk: Likewise.
60051         * soft-fp/soft-fp.h: Likewise.
60052         * stdio-common/printf.h: Likewise.
60053         * stdlib/monetary.h: Likewise.
60054         * stdlib/random.c: Likewise.
60055         * stdlib/random_r.c: Likewise.
60056         * sysdeps/generic/Makefile: Likewise.
60057         * sysdeps/gnu/Makefile: Likewise.
60058         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60060         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60062         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60065         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60066         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60067         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60068         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60069         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60070         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60071         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60072         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60074         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60078         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60079         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60080         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60081         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60082         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60083         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60084         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60086         * sysdeps/mach/hurd/errnos.awk: Likewise.
60087         * sysdeps/mach/hurd/fork.c: Likewise.
60088         * sysdeps/mach/hurd/getcwd.c: Likewise.
60089         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60090         * sysdeps/mach/hurd/mmap.c: Likewise.
60091         * sysdeps/mach/hurd/utimes.c: Likewise.
60092         * sysdeps/mach/hurd/xmknod.c: Likewise.
60093         * sysdeps/posix/profil.c: Likewise.
60094         * sysdeps/posix/readdir_r.c: Likewise.
60095         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60096         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60097         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60098         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60100         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60101         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60102         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60104         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60105         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60106         * sysdeps/pthread/lio_listio.c: Likewise.
60107         * sysdeps/sparc/dl-procinfo.h: Likewise.
60108         * sysdeps/unix/i386/sysdep.S: Likewise.
60109         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60110         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60111         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60112         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60114         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60115         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60116         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60117         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60118         * sysdeps/wordsize-32/divdi3.c: Likewise.
60119         * time/sys/time.h: Likewise.
60120         * wcsmbs/Makefile: Likewise.
60122 2013-01-01  David S. Miller  <davem@davemloft.net>
60124         * po/fr.po: Update from translation team.
60126         * catgets/gencat.c: Update copyright year.
60127         * csu/version.c: Likewise.
60128         * debug/catchsegv.sh: Likewise.
60129         * debug/pcprofiledump.c: Likewise.
60130         * debug/xtrace.sh: Likewise.
60131         * elf/ldconfig.c: Likewise.
60132         * elf/ldd.bash.in: Likewise.
60133         * elf/pldd.c: Likewise.
60134         * elf/sotruss.ksh: Likewise.
60135         * elf/sprof.c: Likewise.
60136         * iconv/iconv_prog.c: Likewise.
60137         * iconv/iconvconfig.c: Likewise.
60138         * locale/programs/locale.c: Likewise.
60139         * locale/programs/localedef.c: Likewise.
60140         * login/programs/pt_chown.c: Likewise.
60141         * malloc/memusage.sh: Likewise.
60142         * malloc/memusagestat.c: Likewise.
60143         * malloc/mtrace.pl: Likewise.
60144         * nscd/nscd.c: Likewise.
60145         * nss/getent.c: Likewise.
60146         * nss/makedb.c: Likewise.
60147         * posix/getconf.c: Likewise.
60149 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60151         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60152         numbers.
60154 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60156         * math/bits/mathcalls.h (modf): Use __nonnull.
60158 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60160         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60161         (split): Use macro CN instead of the bare value.
60162         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60163         could be used.
60164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60165         instead of the bare value.
60166         (power1): Likewise.
60168 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60170         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60171         __ATAN_TWOM.
60172         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60174         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60175         their values.
60176         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60177         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60178         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60179         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60181 2012-12-28  Andreas Jaeger  <aj@suse.de>
60183         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60184         values are from Linux 3.7.
60186         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60187         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60189 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60191         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60192         TRUE case.
60194         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60195         (norm): Likewise.
60196         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60197         variables with preprocessor constants.
60198         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60199         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60200         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60202 2012-12-27  Bruno Haible  <bruno@clisp.org>
60204         [BZ #14317]
60205         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60206         only if needed.
60208 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60211         and use variable directly.
60212         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60214         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60215         MPONE.
60216         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60217         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60218         variable MPONE.
60219         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60221         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60222         include directive.  Remove local variable MPONE.
60223         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60224         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60225         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60227 2012-12-25  David S. Miller  <davem@davemloft.net>
60229         * version.h (RELEASE): Set to "development".
60230         (VERSION): Set to "2.17.90".
60231         * NEWS: Add 2.18 section.
60233 2012-12-21  David S. Miller  <davem@davemloft.net>
60235         * po/hr.po: Update from translation team.
60237 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60239         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60241 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60243         * NEWS:  Mention new memcpy for MIPS.
60245 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60247         * manual/contrib.texi (Contributors): Spelling correction.
60249 2012-12-15  David S. Miller  <davem@davemloft.net>
60251         * po/ru.po: Update from translation team.
60253 2012-12-13  David S. Miller  <davem@davemloft.net>
60255         * NEWS: Mention IFUNC testsuite enhancements.
60257         * po/pl.po: Update from translation team.
60258         * po/bg.po: Likewise.
60260         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60261         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60263 2012-12-11  David S. Miller  <davem@davemloft.net>
60265         * po/sv.po: Update from translation team.
60267         * po/vi.po: Update from translation team.
60269         * po/cs.po: Update from translation team.
60271         * po/de.po: Update from translation team.
60272         * po/eo.po: Likewise.
60273         * po/nl.po: Likewise.
60275 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60277         [BZ #14246]
60278         * manual/argp.texi (Argp Helper Functions): Move node to follow
60279         Argp Parsing State.
60281         [BZ #14872]
60282         * manual/conf.texi (Limits on File System Capacity): Mention if
60283         terminating null is included in the max size.
60285 2012-12-10  Andreas Jaeger  <aj@suse.de>
60287         * po/cs.po: Update from translation team.
60289 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60291         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60292         void pointer and cast to uintptr_t.
60293         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60294         path.
60295         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60296         * sysdeps/s390/s390-64/memset.S: Likewise.
60298 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60300         [BZ #14833]
60301         * menual/message.texi (Message Translation): Fix typos.
60302         (Helper programs for gettext): Likewise.
60304 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60306         [BZ #14898]
60307         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60308         Change to -1.
60310 2012-12-07  David S. Miller  <davem@davemloft.net>
60312         * po/libc.pot: Update.
60314 2012-12-07  Richard Henderson  <rth@redhat.com>
60316         [BZ #10114]
60317         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60318         normal/normal case to before the switch.
60319         (_FP_DIV): Likewise.
60321 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60322             Mike Frysinger  <vapier@gentoo.org>
60324         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60325         check for __NR_fadvise64_64.
60327 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60329         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60330         0, not just to plain "0" as a statement.
60331         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60332         with cw.
60334 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60336         * NEWS: Use sourceware.org in Bugzilla URL.
60338 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60341         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60343         * stdio-common/tst-put-error.c (do_test): Add newline to the
60344         padded test to ensure flush.
60346 2012-12-05  Jeff Law  <law@redhat.com>
60348         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60350 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60352         * README: Don't refer to ports add-on as distributed separately.
60353         Mention AArch64 in list of systems supported in the ports add-on.
60355         * LICENSES: Add more non-FSF copyright and license notices.
60357         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60358         ((unused)).
60360         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60362         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60363         10000 as width of padded output.
60365 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60367         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60369         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60370         variable LX with __attribute__ ((unused)).
60371         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60372         Likewise.
60373         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60375         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60376         with __attribute__ ((unused)).
60378 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60380         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60382 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60384         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60385         (CFLAGS-nldbl-acos.c): New variable.
60386         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60387         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60388         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60389         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60390         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60391         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60392         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60393         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60394         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60395         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60396         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60397         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60398         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60399         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60400         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60401         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60402         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60403         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60404         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60405         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60406         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60407         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60408         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60409         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60410         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60411         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60412         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60413         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60414         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60415         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60416         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60417         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60418         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60419         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60420         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60421         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60422         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60423         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60424         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60425         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60426         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60427         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60428         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60429         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60430         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60431         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60432         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60433         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60434         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60435         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60436         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60437         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60438         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60439         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60440         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60441         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60442         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60443         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60444         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60445         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60446         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60447         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60448         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60449         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60450         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60451         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60452         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60453         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60454         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60455         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60456         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60457         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60458         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60459         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60460         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60461         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60462         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60463         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60464         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60465         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60466         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60467         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60468         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60469         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60470         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60471         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60472         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60473         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60474         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60475         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60476         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60477         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60478         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60479         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60480         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60481         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60482         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60485         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60487         [BZ #14914]
60488         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60489         whole low double instead of just low 47 bits when splitting values
60490         into two parts.
60492 2012-12-03  Allan McRae  <allan@archlinux.org>
60494         * manual/stdio.texi (Predefined Printf Handlers): Remove
60495         @hsep and @vsep usage.
60497 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60499         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60500         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60502 2012-12-03  Jeff Law  <law@redhat.com>
60504         * time/sys/time.h (settimeofday): Do not mark TV argument
60505         as __nonnull.
60507 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60509         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60510         when currently writing and seek to current position when not.
60511         * libio/Makefile (tests): Remove bug-fclose1.
60512         * libio/bug-fclose1.c: Delete.
60514 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60516         * manual/arith.texi (feenableexcept): Fix typo.
60517         (fedisableexcept): Likewise.
60519 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60521         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60522         second, differently-typed declaration, rather than a cast.
60524 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60526         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60527         * include/rpc/svc.h: ... here.
60529 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60531         [BZ #13013]
60532         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60533         depending n and resplen2 to catch cases where answer
60534         equals answerp2.
60536 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60538         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60539         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60541 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60543         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60545 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60547         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60549 2012-11-28  Jeff Law  <law@redhat.com>
60551         [BZ #13761]
60552         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60553         dataset_temporary.  Track alloca usage into alloca_used.
60554         If dataset is large allocate and release it via malloc/free.
60556 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60558         [BZ #14197]
60559         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60561 2012-11-28  David S. Miller  <davem@davemloft.net>
60563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60565 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60567         [BZ #14803]
60568         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60569         of pi/2 rounded to nearest to 64 bits.
60570         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60571         nearest to 64 bits.
60572         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60573         bits.
60575 2012-11-28  Jeff Law <law@redhat.com>
60576             Martin Osvald <mosvald@redhat.com>
60578         [BZ #14889]
60579         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60580         * sunrpc/svc.c: Include time.h.
60581         (__svc_accept_failed): New function.
60582         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60583         any reason other than EINTR, call __svc_accept_failed.
60584         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60585         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60587 2012-11-28  Andreas Schwab  <schwab@suse.de>
60589         * scripts/abilist.awk: Also handle indirect functions in .opd
60590         section.
60592 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60594         [BZ #13881]
60595         * sysdeps/x86/fpu/powl_helper.c: New file.
60596         * sysdeps/x86/fpu/Makefile: Likewise.
60597         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60598         (p3): New object.
60599         (__ieee754_powl): Use __powl_helper for finite arguments except
60600         integer exponents below 8.
60601         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60602         (p3): New object.
60603         (__ieee754_powl): Use __powl_helper for finite arguments except
60604         integer exponents below 8.
60605         * math/libm-test.inc (pow_test): Add more tests and enable some
60606         previously disabled tests.
60607         * sysdeps/i386/fpu/libm-test-ulps: Update.
60608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60610 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60611             Carlos O'Donell  <carlos_odonell@mentor.com>
60613         * nss/makedb.c (is_prime): Assert that input is odd and greater
60614         than 4.  Note that fact in a comment too.
60615         (next_prime): Add 4 to input.
60617 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60619         [BZ #11741]
60620         * libio/Makefile (tests): Add test case tst-fwrite-error.
60621         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60622         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60623         * libio/tst-fwrite-error.c: New test case.
60625 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60627         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60628         before casting to void *.
60629         * include/libc-internal.h (__pointer_type): New macro.
60630         (__integer_if_pointer_type_sub): Likewise.
60631         (__integer_if_pointer_type): Likewise.
60632         (cast_to_integer): Likewise.
60633         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60634         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60635         before casting to atomic64_t.
60636         (atomic_exchange_acq): Likewise.
60637         (__arch_exchange_and_add_body): Likewise.
60638         (__arch_add_body): Likewise.
60639         (atomic_add_negative): Likewise.
60640         (atomic_add_zero): Likewise.
60642 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60644         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60645         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60646         (add_fdes): Likewise.
60647         (linear_search_fdes): Likewise.
60648         (binary_search_unencoded_fdes): Likewise.
60650 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60652         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60654 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60656         * configure.in: Autodetect C++ header directories.
60657         * configure: Regenerated.
60659 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60661         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60663 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60667 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60669         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60670         LDBL_MANT_DIG == 106]: Disable some tests.
60671         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60672         Likewise.
60673         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60674         Likewise.
60676         [BZ #14871]
60677         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60678         input for small inputs.  Return +/- pi/2 for large inputs.
60679         * math/libm-test.inc (atan_test): Add more tests.
60681         * sysdeps/generic/unwind-dw2-fde-glibc.c
60682         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60683         __attribute__ ((unused)).
60685         [BZ #14645]
60686         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60687         x * y if x and y are nonzero and z is zero.
60689         [BZ #14811]
60690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60691         nonzero exponents with absolute value below 0x1p-117 to +/-
60692         0x1p-117.
60694         [BZ #14869]
60695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60696         up arguments below 2**-450, not just those below 2**-500.
60697         * math/libm-test.inc (hypot_test): Add another test.
60699         [BZ #14868]
60700         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60701         Return a+b for ratio over 2**120, not 2**60.
60702         * math/libm-test.inc (hypot_test): Add another test.
60704         * math/libm-test.inc (clog_test): Use
60705         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60706         (clog10_test): Likewise.
60708         [BZ #6778]
60709         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60711 2012-11-22  Andreas Schwab  <schwab@suse.de>
60713         * sysdeps/i386/fpu/libm-test-ulps: Update.
60715 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60717         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60718         printf output with newline.
60720 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60722         [BZ #14865]
60723         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60724         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60725         -z nodlopen, -z initfirst and -z execstack support.
60726         * configure: Regenerated.
60728         * elf/elf.h (DF_1_NODIRECT): New macro.
60729         (DF_1_IGNMULDEF): Likewise.
60730         (DF_1_NOKSYMS): Likewise.
60731         (DF_1_NOHDR): Likewise.
60732         (DF_1_EDITED): Likewise.
60733         (DF_1_NORELOC): Likewise.
60734         (DF_1_SYMINTPOSE): Likewise.
60735         (DF_1_GLOBAUDIT): Likewise.
60736         (DF_1_SINGLETON): Likewise.
60737         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60738         DT_1_SUPPORTED_MASK bits.
60739         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60741 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60743         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60745 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60747         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60748         macro.
60750         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60751         (sendmmsg): Move declarations...
60752         * socket/sys/socket.h: ... here.
60753         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60754         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60755         include it from...
60756         * socket/recvmmsg.c: ... this new file.
60757         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60758         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60759         definition of __sendmmsg hidden.
60760         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60761         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60762         Move ENOSYS stub into and include it from...
60763         * socket/sendmmsg.c: ... this new file.
60764         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60765         (sysdep_routines): Move recvmmsg and sendmmsg...
60766         * socket/Makefile (routines): ... here.
60767         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60768         (GLIBC_PRIVATE): Add __sendmmsg.
60769         * include/sys/socket.h (__sendmmsg): Add declarations.
60770         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60771         sendmmsg.
60773 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60776         variable I1 with __attribute__ ((unused)).
60777         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60779 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60781         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60782         DUMMY variables with __attribute__ ((unused)).
60784         * bits/byteswap.h: Include <bits/types.h>.
60785         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60787 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60789         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60790         string_t.  Do not manually set errno.
60791         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60792         length with __strnlen.  Make sure to both set errno and return it on
60793         failure.
60795 2012-11-19  David S. Miller  <davem@davemloft.net>
60797         With help from Joseph Myers.
60798         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60799         very large arguments properly.
60800         * math/libm-test.inc (atan_test): New tests.
60801         (atan2_test): New tests.
60802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60805 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60807         [BZ #14856]
60808         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60809         Define to 3.
60811         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60812         [POSIX] (EADDRNOTAVAIL): Likewise.
60813         [POSIX] (EAFNOSUPPORT): Likewise.
60814         [POSIX] (EALREADY): Likewise.
60815         [POSIX] (ECONNABORTED): Likewise.
60816         [POSIX] (ECONNREFUSED): Likewise.
60817         [POSIX] (ECONNRESET): Likewise.
60818         [POSIX] (EDESTADDRREQ): Likewise.
60819         [POSIX] (EDQUOT): Likewise.
60820         [POSIX] (EHOSTUNREACH): Likewise.
60821         [POSIX] (EIDRM): Likewise.
60822         [POSIX] (EISCONN): Likewise.
60823         [POSIX] (ELOOP): Likewise.
60824         [POSIX] (EMULTIHOP): Likewise.
60825         [POSIX] (ENETDOWN): Likewise.
60826         [POSIX] (ENETUNREACH): Likewise.
60827         [POSIX] (ENOBUFS): Likewise.
60828         [POSIX] (ENODATA): Likewise.
60829         [POSIX] (ENOLINK): Likewise.
60830         [POSIX] (ENOMSG): Likewise.
60831         [POSIX] (ENOPROTOOPT): Likewise.
60832         [POSIX] (ENOSR): Likewise.
60833         [POSIX] (ENOSTR): Likewise.
60834         [POSIX] (ENOTCONN): Likewise.
60835         [POSIX] (ENOTSOCK): Likewise.
60836         [POSIX] (EOPNOTSUPP): Likewise.
60837         [POSIX] (EOVERFLOW): Likewise.
60838         [POSIX] (EPROTO): Likewise.
60839         [POSIX] (EPROTONOSUPPORT): Likewise.
60840         [POSIX] (EPROTOTYPE): Likewise.
60841         [POSIX] (ESTALE): Likewise.
60842         [POSIX] (ETIME): Likewise.
60843         [POSIX] (ETXTBSY): Likewise.
60844         [POSIX] (EWOULDBLOCK): Likewise.
60845         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60846         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60847         [POSIX] (SEEK_CUR): Likewise.
60848         [POSIX] (SEEK_END): Likewise.
60849         [POSIX || UNIX98] (mode_t): Do not require.
60850         [POSIX] (off_t): Likewise.
60851         [POSIX] (pid_t): Likewise.
60852         [POSIX] (sys/stat.h): Do not allow header.
60853         [POSIX] (unistd.h): Likewise.
60854         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60855         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60856         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60857         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60858         require.
60859         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60860         sigevent): Specify elements.
60861         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60862         entry.
60863         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60864         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60866         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60867         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60868         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60869         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60870         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60871         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60872         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60873         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60874         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60875         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60876         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60877         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60878         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60879         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60880         Likewise.
60881         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60882         Likewise.
60883         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60884         Likewise.
60885         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60886         Likewise.
60887         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60888         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60889         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60890         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60891         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60892         Specify lower bound on value.
60893         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60894         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60895         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60896         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60897         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60898         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60899         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60900         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60901         value.
60902         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60903         as optional.
60904         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60905         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60906         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60907         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60908         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60909         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60910         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60911         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60912         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60913         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60914         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60915         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60916         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60917         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60918         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60919         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60920         entry.
60921         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60922         optional.
60923         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60924         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60925         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60926         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60927         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60928         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60929         Likewise.
60930         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60931         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60932         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60933         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60934         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60935         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60936         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60937         as optional.
60938         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60939         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60940         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60941         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60942         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60943         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60944         specify as optional.
60945         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60946         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60947         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60948         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60949         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60950         [XPG3] (NL_LANGMAX): Likewise.
60951         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60952         [POSIX || XPG3] (NL_NMAX): Likewise.
60953         [POSIX || XPG3] (NL_SETMAX): Likewise.
60954         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60955         [XPG3] (NZERO): Likewise.
60956         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60957         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60958         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60959         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60960         (REG_ERANGE): Expect.
60961         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60962         optional-constant.
60963         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60964         Use (void) in prototype.
60965         [POSIX] (*_t): Allow.
60966         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60967         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60968         (WRDE_BADVAL): Expect.
60970         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60971         expect.
60972         [XPG3 || XPG4] (O_RSYNC): Likewise.
60973         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60974         Likewise.
60975         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60976         [XPG3 || XPG4] (sigqueue): Likewise.
60977         [XPG3 || XPG4] (sigtimedwait): Likewise.
60978         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60979         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60980         [XPG3 || XPG4] (vsnprintf): Likewise.
60981         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60982         Likewise.
60983         [XPG3 || XPG4] (blksize_t): Likewise.
60984         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60985         Likewise.
60986         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60987         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60988         [XPG3 || XPG4] (struct itimerspec): Likewise.
60989         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60990         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60991         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60992         [XPG3 || XPG4] (clockid_t): Likewise.
60993         [XPG3 || XPG4] (timer_t): Likewise.
60994         [XPG3 || XPG4] (clock_getres): Likewise.
60995         [XPG3 || XPG4] (clock_gettime): Likewise.
60996         [XPG3 || XPG4] (clock_settime): Likewise.
60997         [XPG3 || XPG4] (nanosleep): Likewise.
60998         [XPG3 || XPG4] (timer_create): Likewise.
60999         [XPG3 || XPG4] (timer_delete): Likewise.
61000         [XPG3 || XPG4] (timer_gettime): Likewise.
61001         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61002         [XPG3 || XPG4] (timer_settime): Likewise.
61003         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61004         [XPG3 || XPG4] (getlogin_r): Likewise.
61005         [XPG3 || XPG4] (pread): Likewise.
61006         [XPG3 || XPG4] (pthread_atfork): Likewise.
61007         [XPG3 || XPG4] (pwrite): Likewise.
61009         [BZ #14835]
61010         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61011         <bits/siginfo.h>.
61013 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61015         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61016         finalizing MALLSTREAM.
61018         * sysdeps/mach/hurd/syncfs.c: New file.
61020 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61022         [BZ #14719]
61023         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61024         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61025         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61026         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61027         (_nss_dns_gethostbyname4_r): Likewise.
61028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61029         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61031 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61033         [BZ #13763]
61034         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61036 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61038         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61039         * elf/cache.c (print_entry): Print ",AArch64" for
61040         FLAG_AARCH64_LIB64
61042         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61043         * elf/cache.c (print_entry): Print ",hard-float" for
61044         FLAG_ARM_LIBHF.
61046 2012-11-18  David S. Miller  <davem@davemloft.net>
61048         With help from Joseph Myers.
61049         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61050         cutoff to 2**-13.
61051         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61052         cutoff to 2**-25.
61053         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61054         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61055         small.
61056         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61057         * math/libm-test.inc (y0_test): New tests.
61058         (y1_test): New tests.
61059         * sysdeps/i386/fpu/libm-test-ulps: Update.
61060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61063 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61065         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61066         64-bit targets.
61067         * configure: Regenerated.
61069 2012-11-17  David S. Miller  <davem@davemloft.net>
61071         [BZ #14811]
61072         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61073         nonzero exponents with absolute value below 0x1p-128 to +/-
61074         0x1p-128.
61076 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61078         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61080         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61082         * posix/getconf-speclist.c: New file.
61083         * posix/posix-envs.def: Likewise.
61084         * posix/confstr.c (START_ENV_GROUP): New macro.
61085         (END_ENV_GROUP): Likewise.
61086         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61087         (KNOWN_PRESENT_ENV_STRING): Likewise.
61088         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61089         (UNKNOWN_ENVIRONMENT): Likewise.
61090         (confstr): Include posix-envs.def instead of handling
61091         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61092         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61093         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61094         (END_ENV_GROUP): Likewise.
61095         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61096         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61097         (UNKNOWN_ENVIRONMENT): Likewise.
61098         (__sysconf): Include posix-envs.def instead of handling associated
61099         cases directly here.
61100         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61101         preprocessing getconf-speclist.c rather than running getconf or
61102         generating empty file.
61104 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61106         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61108 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61110         [BZ #14672]
61111         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61113 2012-11-16  David S. Miller  <davem@davemloft.net>
61115         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61116         smaller than LDBL_EPSILON/2.0L, just return xm1.
61118 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61120         * elf/tst-array1.c (init): Set constructor priority to 1000.
61121         (fini): Set destructor priority to 1000.
61122         * elf/tst-array2dep.c: Likewise.
61124 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61126         [BZ #11741]
61127         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61128         (_IO_new_file_xsputn): Also return EOF if none of the input
61129         data was written when overflow failed.
61130         * libio/iopadn.c (_IO_padn): Likewise.
61131         * libio/iowpadn.c (_IO_wpadn): Likewise.
61132         * stdio-common/tst-put-error.c: Add copyright notice.
61133         (do_test): Add case for printing padded string.
61134         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61135         _IO_padn returned error.
61136         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61137         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61138         return EOF.
61140 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61142         * libio/libioP.h: Add comment note that the references to C++
61143         bits are now obsolete.
61145 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61147         * math/libm-test.inc (check_complex): Use asprintf.
61149 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61151         * debug/pcprofiledump.c (print_version): Update copyright year.
61152         * malloc/memusagestat.c (print_version): Likewise.
61154 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61156         [BZ #14831]
61157         * elf/Makefile (tests): Add tst-audit8.
61158         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61159         ($(objpfx)tst-audit8.out): New target.
61160         (tst-audit8-ENV): New variable.
61161         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61162         audit if l_reloc_result is NULL.
61163         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61164         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61165         * elf/tst-audit8.c: New file.
61167 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61169         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61170         * misc/Makefile (CFLAGS-select.c): Define.
61171         * posix/Makefile (CFLAGS-pause.c): Define.
61173 2012-11-13  David S. Miller  <davem@davemloft.net>
61175         * crypt/Makefile: Move test targets after toplevel Rules
61176         inclusion.  Grab any necessary sysdep routines when linking.
61177         * crypt/md5.c (md5_process_block): Remove define, we will always
61178         name it __md5_process_block.
61179         (md5_finish_ctx): Update md5_process_block call.
61180         (md5_stream): Likewise.
61181         (md5_process_bytes): Likewise.
61182         (md5_process_block): Rename to __md5_process_block and move to ...
61183         * crypt/md5-block.c: ... here.
61184         * crypt/sha256.c (sha256_process_block): Move to ...
61185         * crypt/sha256-block.c: ... here.
61186         * crypt/sha512.c (sha512_process_block): Move to ...
61187         * crypt/sha512-block.c: ... here.
61188         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61189         path.
61190         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61191         * sysdeps/sparc/sparc64/multiarch/Makefile
61192         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61193         crypt subdir.
61194         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61195         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61196         multiarch changes.
61197         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61198         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61199         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61200         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61201         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61202         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61203         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61204         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61205         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61206         file.
61207         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61208         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61209         file.
61210         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61212 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61214         * timezone/tzselect.ksh: Update from tzcode git revision
61215         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61216         * timezone/zdump.c: Likewise.
61217         * timezone/zic.c: Likewise.
61218         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61219         in TZVERSION setting, not $(PKGVERSION).
61220         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61221         REPORT_BUGS_TO settings.
61223         [BZ #14838]
61224         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61225         macro.
61227 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61229         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61230         detection to immediately after _FP_ROUND().
61231         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61232         bits are 0.
61234 2012-11-11  David S. Miller  <davem@davemloft.net>
61236         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61237         inttypes.h
61238         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61239         __close rather than their public counterparts.
61241 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61243         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61244         file.
61245         [UNIX98] (sem_timedwait): Do not expect.
61246         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61247         [XPG4 || UNIX98] (sockatmark): Do not expect.
61248         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61249         (clock_getcpuclockid): Do not expect.
61250         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61251         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61252         Do not expect.
61253         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61254         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61255         [UNIX98] (vwscanf): Likewise.
61256         [UNIX98] (vswscanf): Likewise.
61258 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61260         * timezone/version.h: Remove file.
61261         * timezone/README: Do not refer to version.h.
61262         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61263         $(objpfx)version.h.
61264         ($(objpfx)zdump.o): Likewise.
61265         ($(objpfx)version.h): New target.
61267         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61268         2012i.
61269         * timezone/README: Don't mention modification to tzselect.ksh.
61270         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61271         work on unmodified tzselect.ksh.  Substitute version numbers in
61272         tzselect.ksh.
61274         * Makefile (format-me): Remove.
61275         (INSTALL): Adjust indentation.  Use commands directly instead of
61276         using $(format-me).
61278         * aclocal.m4 (ACX_PKGVERSION): New macro.
61279         (ACX_BUGURL): Likewise.
61280         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61281         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61282         (REPORT_BUGS_TO): Likewise.
61283         * configure: Regenerated.
61284         * config.h.in (PKGVERSION): New macro.
61285         (REPORT_BUGS_TO): Likewise.
61286         * config.make.in (PKGVERSION): New variable.
61287         (PKGVERSION_TEXI): Likewise.
61288         (REPORT_BUGS_TO): Likewise.
61289         (REPORT_BUGS_TEXI): Likewise.
61290         * Makefile (format-me): Use -I$(common-objpfx)manual.
61291         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61292         ($(common-objpfx)manual/%): New target.
61293         (manual/%): Remove target.
61294         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61295         (print_version): Use PKGVERSION.
61296         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61297         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61298         and REPORT_BUGS_TO.
61299         ($(objpfx)xtrace): Likewise.
61300         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61301         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61302         (print_version): Use PKGVERSION.
61303         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61304         (do_version): Use PKGVERSION.
61305         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61306         REPORT_BUGS_TO.
61307         (common-ldd-rewrite): Likewise.
61308         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61309         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61310         (print_version): Use PKGVERSION.
61311         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61312         * elf/pldd.c (argp_program_bug_address): Remove variable.
61313         (more_help): New function.
61314         (argp): Use more_help.
61315         (print_version): Use PKGVERSION.
61316         * elf/sln.c (main): Use PKGVERSION.
61317         (usage): Use REPORT_BUGS_TO.
61318         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61319         (top level): Use PKGVERSION.
61320         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61321         (print_version): Use PKGVERSION.
61322         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61323         (print_version): Use PKGVERSION.
61324         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61325         (print_version): Use PKGVERSION.
61326         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61327         (print_version): Use PKGVERSION.
61328         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61329         (print_version): Use PKGVERSION.
61330         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61331         (print_version): Use PKGVERSION.
61332         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61333         and BUGURL.
61334         ($(objpfx)memusage): Likewise.
61335         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61336         (do_version): Use PKGVERSION.
61337         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61338         (print_version): Use PKGVERSION.
61339         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61340         ($PKGVERSION): New variable.
61341         ($REPORT_BUGS_TO): Likewise.
61342         (usage): Use $REPORT_BUGS_TO.
61343         (top level): Use $PKGVERSION.
61344         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61345         ($(objpfx)pkgvers.texi): New rule.
61346         ($(objpfx)stamp-pkgvers): Likewise.
61347         * manual/install.texi: Include pkgvers.texi.
61348         (--with-pkgversion): Document new configure option.
61349         (--with-bugurl): Likewise.
61350         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61351         than necessarily for this particular distribution.  Use
61352         REPORT_BUGS_TO for where to report bugs.
61353         * INSTALL: Regenerated.
61354         * manual/libc.texinfo: Include pkgvers.texi.
61355         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61356         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61357         (print_version): Use PKGVERSION.
61358         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61359         (print_version): Use PKGVERSION.
61360         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61361         (print_version): Use PKGVERSION.
61362         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61363         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61364         macro.
61365         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61366         (print_version): Use PKGVERSION.
61367         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61368         (print_version): Use PKGVERSION.
61369         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61370         and PKGVERSION.
61372         * timezone/checktab.awk: Update from tzcode 2012i.
61373         * timezone/ialloc.c: Likewise.
61374         * timezone/private.h: Likewise.
61375         * timezone/scheck.c: Likewise.
61376         * timezone/tzfile.h: Likewise.
61377         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61378         (TZVERSION): Hardcode tzcode version number.
61379         * timezone/zdump.c: Update from tzcode 2012i.
61380         * timezone/zic.c: Likewise.
61381         * timezone/version.h: New file.
61382         * timezone/README: Describe version.h.  Update upstream location.
61384         [BZ #14824]
61385         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61386         (mktemp): Enable declaration.
61387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61388         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61390         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61391         Likewise.
61392         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61393         Likewise.
61394         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61395         Likewise.
61396         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61397         Likewise.
61398         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61399         Likewise.
61400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61401         Likewise.
61403         [BZ #14821]
61404         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61405         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61406         for copies of such integer values.
61407         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61408         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61410 2012-11-09  Andreas Jaeger  <aj@suse.de>
61412         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61413         definitions and declarations that are provided by
61414         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61416 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61418         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61419         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61420         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61421         definition.
61423 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61425         * elf/elf.h: Update comment before AArch64 relocations.
61427 2012-11-07  David S. Miller  <davem@davemloft.net>
61429         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61430         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61431         (__start_context): Declare.
61432         (__makecontext_ret): Delete.
61433         (__makecontext): Hook up __start_context instead of
61434         __makecontext_ret.
61435         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61436         (sysdep_routines): Add __start_context when in stdlib.
61438 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61440         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61441         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61442         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61443         hardcoded "nm".
61444         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61445         (READELF): New variable.  Use it instead of hardcoded "readelf".
61447 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61449         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61450         * sysdeps/x86/Makefile: Here.
61451         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61452         * sysdeps/x86/tst-xmmymm.sh: This.
61454 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61456         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61457         expectations.
61458         [UNIX98] (pthread_barrier_t): Do not expect.
61459         [UNIX98] (pthread_barrierattr_t): Likewise.
61460         [UNIX98] (pthread_spinlock_t): Likewise.
61461         [UNIX98] (pthread_barrier_destroy): Likewise.
61462         [UNIX98] (pthread_barrier_init): Likewise.
61463         [UNIX98] (pthread_barrier_wait): Likewise.
61464         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61465         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61466         [UNIX98] (pthread_barrierattr_init): Likewise.
61467         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61468         [UNIX98] (pthread_getcpuclockid): Likewise.
61469         [UNIX98] (pthread_mutex_timedlock): Likewise.
61470         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61471         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61472         [UNIX98] (pthread_sigmask): Likewise.
61473         [UNIX98] (pthread_spin_destroy): Likewise.
61474         [UNIX98] (pthread_spin_init): Likewise.
61475         [UNIX98] (pthread_spin_lock): Likewise.
61476         [UNIX98] (pthread_spin_trylock): Likewise.
61477         [UNIX98] (pthread_spin_unlock): Likewise.
61478         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61479         Do not expect.
61480         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61481         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61482         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61483         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61484         [XPG3 || XPG4] (pthread_key_t): Likewise.
61485         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61486         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61487         [XPG3 || XPG4] (pthread_once_t): Likewise.
61488         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61489         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61490         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61491         [XPG3 || XPG4] (pthread_t): Likewise.
61493         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61494         not expect.
61495         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61497         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61498         Change function return type to int.
61500         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61501         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61502         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61503         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61504         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61505         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61506         [!POSIX] (posix_madvise): Likewise.
61507         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61508         && !UNIX98].
61509         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61510         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61511         (mode_t): Likewise.
61512         (posix_mem_offset): Likewise.
61513         (posix_typed_mem_get_info): Likewise.
61514         (posix_typed_mem_open): Likewise.
61516         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61517         Change condition to [XOPEN2K8].
61519         * conform/conformtest.pl: Preprocess allow-header data with -x c
61520         instead of from stdin.
61521         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61522         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61523         [C99-based standards] (cerfc): Likewise.
61524         [C99-based standards] (cexp2): Likewise.
61525         [C99-based standards] (cexpm1): Likewise.
61526         [C99-based standards] (clog10): Likewise.
61527         [C99-based standards] (clog1p): Likewise.
61528         [C99-based standards] (clog2): Likewise.
61529         [C99-based standards] (clgamma): Likewise.
61530         [C99-based standards] (ctgamma): Likewise.
61531         [C99-based standards] (cerff): Likewise.
61532         [C99-based standards] (cerfcf): Likewise.
61533         [C99-based standards] (cexp2f): Likewise.
61534         [C99-based standards] (cexpm1f): Likewise.
61535         [C99-based standards] (clog10f): Likewise.
61536         [C99-based standards] (clog1pf): Likewise.
61537         [C99-based standards] (clog2f): Likewise.
61538         [C99-based standards] (clgammaf): Likewise.
61539         [C99-based standards] (ctgammaf): Likewise.
61540         [C99-based standards] (cerfl): Likewise.
61541         [C99-based standards] (cerfcl): Likewise.
61542         [C99-based standards] (cexp2l): Likewise.
61543         [C99-based standards] (cexpm1l): Likewise.
61544         [C99-based standards] (clog10l): Likewise.
61545         [C99-based standards] (clog1pl): Likewise.
61546         [C99-based standards] (clog2l): Likewise.
61547         [C99-based standards] (clgammal): Likewise.
61548         [C99-based standards] (ctgammal): Likewise.
61549         * conform/data/inttypes.h-data [C99-based standards]: Include
61550         stdint.h-data.  Remove all expectations for stdint.h contents.
61551         [C99-based standards] (PRI*): Do not allow.
61552         [C99-based standards] (SCN*): Likewise.
61553         [C99-based standards] (*_t): Likewise.
61554         [C99-based-standards] (PRId8): Expect macro.
61555         [C99-based-standards] (PRIi8): Likewise.
61556         [C99-based-standards] (PRIo8): Likewise.
61557         [C99-based-standards] (PRIu8): Likewise.
61558         [C99-based-standards] (PRIx8): Likewise.
61559         [C99-based-standards] (PRIX8): Likewise.
61560         [C99-based-standards] (SCNd8): Likewise.
61561         [C99-based-standards] (SCNi8): Likewise.
61562         [C99-based-standards] (SCNo8): Likewise.
61563         [C99-based-standards] (SCNu8): Likewise.
61564         [C99-based-standards] (SCNx8): Likewise.
61565         [C99-based-standards] (PRIdLEAST8): Likewise.
61566         [C99-based-standards] (PRIiLEAST8): Likewise.
61567         [C99-based-standards] (PRIoLEAST8): Likewise.
61568         [C99-based-standards] (PRIuLEAST8): Likewise.
61569         [C99-based-standards] (PRIxLEAST8): Likewise.
61570         [C99-based-standards] (PRIXLEAST8): Likewise.
61571         [C99-based-standards] (SCNdLEAST8): Likewise.
61572         [C99-based-standards] (SCNiLEAST8): Likewise.
61573         [C99-based-standards] (SCNoLEAST8): Likewise.
61574         [C99-based-standards] (SCNuLEAST8): Likewise.
61575         [C99-based-standards] (SCNxLEAST8): Likewise.
61576         [C99-based-standards] (PRIdFAST8): Likewise.
61577         [C99-based-standards] (PRIiFAST8): Likewise.
61578         [C99-based-standards] (PRIoFAST8): Likewise.
61579         [C99-based-standards] (PRIuFAST8): Likewise.
61580         [C99-based-standards] (PRIxFAST8): Likewise.
61581         [C99-based-standards] (PRIXFAST8): Likewise.
61582         [C99-based-standards] (SCNdFAST8): Likewise.
61583         [C99-based-standards] (SCNiFAST8): Likewise.
61584         [C99-based-standards] (SCNoFAST8): Likewise.
61585         [C99-based-standards] (SCNuFAST8): Likewise.
61586         [C99-based-standards] (SCNxFAST8): Likewise.
61587         [C99-based-standards] (PRId16): Likewise.
61588         [C99-based-standards] (PRIi16): Likewise.
61589         [C99-based-standards] (PRIo16): Likewise.
61590         [C99-based-standards] (PRIu16): Likewise.
61591         [C99-based-standards] (PRIx16): Likewise.
61592         [C99-based-standards] (PRIX16): Likewise.
61593         [C99-based-standards] (SCNd16): Likewise.
61594         [C99-based-standards] (SCNi16): Likewise.
61595         [C99-based-standards] (SCNo16): Likewise.
61596         [C99-based-standards] (SCNu16): Likewise.
61597         [C99-based-standards] (SCNx16): Likewise.
61598         [C99-based-standards] (PRIdLEAST16): Likewise.
61599         [C99-based-standards] (PRIiLEAST16): Likewise.
61600         [C99-based-standards] (PRIoLEAST16): Likewise.
61601         [C99-based-standards] (PRIuLEAST16): Likewise.
61602         [C99-based-standards] (PRIxLEAST16): Likewise.
61603         [C99-based-standards] (PRIXLEAST16): Likewise.
61604         [C99-based-standards] (SCNdLEAST16): Likewise.
61605         [C99-based-standards] (SCNiLEAST16): Likewise.
61606         [C99-based-standards] (SCNoLEAST16): Likewise.
61607         [C99-based-standards] (SCNuLEAST16): Likewise.
61608         [C99-based-standards] (SCNxLEAST16): Likewise.
61609         [C99-based-standards] (PRIdFAST16): Likewise.
61610         [C99-based-standards] (PRIiFAST16): Likewise.
61611         [C99-based-standards] (PRIoFAST16): Likewise.
61612         [C99-based-standards] (PRIuFAST16): Likewise.
61613         [C99-based-standards] (PRIxFAST16): Likewise.
61614         [C99-based-standards] (PRIXFAST16): Likewise.
61615         [C99-based-standards] (SCNdFAST16): Likewise.
61616         [C99-based-standards] (SCNiFAST16): Likewise.
61617         [C99-based-standards] (SCNoFAST16): Likewise.
61618         [C99-based-standards] (SCNuFAST16): Likewise.
61619         [C99-based-standards] (SCNxFAST16): Likewise.
61620         [C99-based-standards] (PRId32): Likewise.
61621         [C99-based-standards] (PRIi32): Likewise.
61622         [C99-based-standards] (PRIo32): Likewise.
61623         [C99-based-standards] (PRIu32): Likewise.
61624         [C99-based-standards] (PRIx32): Likewise.
61625         [C99-based-standards] (PRIX32): Likewise.
61626         [C99-based-standards] (SCNd32): Likewise.
61627         [C99-based-standards] (SCNi32): Likewise.
61628         [C99-based-standards] (SCNo32): Likewise.
61629         [C99-based-standards] (SCNu32): Likewise.
61630         [C99-based-standards] (SCNx32): Likewise.
61631         [C99-based-standards] (PRIdLEAST32): Likewise.
61632         [C99-based-standards] (PRIiLEAST32): Likewise.
61633         [C99-based-standards] (PRIoLEAST32): Likewise.
61634         [C99-based-standards] (PRIuLEAST32): Likewise.
61635         [C99-based-standards] (PRIxLEAST32): Likewise.
61636         [C99-based-standards] (PRIXLEAST32): Likewise.
61637         [C99-based-standards] (SCNdLEAST32): Likewise.
61638         [C99-based-standards] (SCNiLEAST32): Likewise.
61639         [C99-based-standards] (SCNoLEAST32): Likewise.
61640         [C99-based-standards] (SCNuLEAST32): Likewise.
61641         [C99-based-standards] (SCNxLEAST32): Likewise.
61642         [C99-based-standards] (PRIdFAST32): Likewise.
61643         [C99-based-standards] (PRIiFAST32): Likewise.
61644         [C99-based-standards] (PRIoFAST32): Likewise.
61645         [C99-based-standards] (PRIuFAST32): Likewise.
61646         [C99-based-standards] (PRIxFAST32): Likewise.
61647         [C99-based-standards] (PRIXFAST32): Likewise.
61648         [C99-based-standards] (SCNdFAST32): Likewise.
61649         [C99-based-standards] (SCNiFAST32): Likewise.
61650         [C99-based-standards] (SCNoFAST32): Likewise.
61651         [C99-based-standards] (SCNuFAST32): Likewise.
61652         [C99-based-standards] (SCNxFAST32): Likewise.
61653         [C99-based-standards] (PRId64): Likewise.
61654         [C99-based-standards] (PRIi64): Likewise.
61655         [C99-based-standards] (PRIo64): Likewise.
61656         [C99-based-standards] (PRIu64): Likewise.
61657         [C99-based-standards] (PRIx64): Likewise.
61658         [C99-based-standards] (PRIX64): Likewise.
61659         [C99-based-standards] (SCNd64): Likewise.
61660         [C99-based-standards] (SCNi64): Likewise.
61661         [C99-based-standards] (SCNo64): Likewise.
61662         [C99-based-standards] (SCNu64): Likewise.
61663         [C99-based-standards] (SCNx64): Likewise.
61664         [C99-based-standards] (PRIdLEAST64): Likewise.
61665         [C99-based-standards] (PRIiLEAST64): Likewise.
61666         [C99-based-standards] (PRIoLEAST64): Likewise.
61667         [C99-based-standards] (PRIuLEAST64): Likewise.
61668         [C99-based-standards] (PRIxLEAST64): Likewise.
61669         [C99-based-standards] (PRIXLEAST64): Likewise.
61670         [C99-based-standards] (SCNdLEAST64): Likewise.
61671         [C99-based-standards] (SCNiLEAST64): Likewise.
61672         [C99-based-standards] (SCNoLEAST64): Likewise.
61673         [C99-based-standards] (SCNuLEAST64): Likewise.
61674         [C99-based-standards] (SCNxLEAST64): Likewise.
61675         [C99-based-standards] (PRIdFAST64): Likewise.
61676         [C99-based-standards] (PRIiFAST64): Likewise.
61677         [C99-based-standards] (PRIoFAST64): Likewise.
61678         [C99-based-standards] (PRIuFAST64): Likewise.
61679         [C99-based-standards] (PRIxFAST64): Likewise.
61680         [C99-based-standards] (PRIXFAST64): Likewise.
61681         [C99-based-standards] (SCNdFAST64): Likewise.
61682         [C99-based-standards] (SCNiFAST64): Likewise.
61683         [C99-based-standards] (SCNoFAST64): Likewise.
61684         [C99-based-standards] (SCNuFAST64): Likewise.
61685         [C99-based-standards] (SCNxFAST64): Likewise.
61686         [C99-based-standards] (PRIdMAX): Likewise.
61687         [C99-based-standards] (PRIiMAX): Likewise.
61688         [C99-based-standards] (PRIoMAX): Likewise.
61689         [C99-based-standards] (PRIuMAX): Likewise.
61690         [C99-based-standards] (PRIxMAX): Likewise.
61691         [C99-based-standards] (PRIXMAX): Likewise.
61692         [C99-based-standards] (SCNdMAX): Likewise.
61693         [C99-based-standards] (SCNiMAX): Likewise.
61694         [C99-based-standards] (SCNoMAX): Likewise.
61695         [C99-based-standards] (SCNuMAX): Likewise.
61696         [C99-based-standards] (SCNxMAX): Likewise.
61697         [C99-based-standards] (PRIdPTR): Likewise.
61698         [C99-based-standards] (PRIiPTR): Likewise.
61699         [C99-based-standards] (PRIoPTR): Likewise.
61700         [C99-based-standards] (PRIuPTR): Likewise.
61701         [C99-based-standards] (PRIxPTR): Likewise.
61702         [C99-based-standards] (PRIXPTR): Likewise.
61703         [C99-based-standards] (SCNdPTR): Likewise.
61704         [C99-based-standards] (SCNiPTR): Likewise.
61705         [C99-based-standards] (SCNoPTR): Likewise.
61706         [C99-based-standards] (SCNuPTR): Likewise.
61707         [C99-based-standards] (SCNxPTR): Likewise.
61708         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61709         allow.
61710         * conform/data/stdint.h-data: Update comments to clarify
61711         requirements.
61712         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61713         type.
61714         [C99-based standards] (INT8_MAX): Likewise.
61715         [C99-based standards] (INT16_MIN): Likewise.
61716         [C99-based standards] (INT16_MAX): Likewise.
61717         [C99-based standards] (INT32_MIN): Likewise.
61718         [C99-based standards] (INT32_MAX): Likewise.
61719         [C99-based standards] (INT64_MIN): Likewise.
61720         [C99-based standards] (INT64_MAX): Likewise.
61721         [C99-based standards] (UINT8_MAX): Likewise.
61722         [C99-based standards] (UINT16_MAX): Likewise.
61723         [C99-based standards] (UINT32_MAX): Likewise.
61724         [C99-based standards] (UINT64_MAX): Likewise.
61725         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61726         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61727         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61728         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61729         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61730         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61731         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61732         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61733         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61734         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61735         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61736         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61737         [C99-based standards] (INT_FAST8_MIN): Likewise.
61738         [C99-based standards] (INT_FAST8_MAX): Likewise.
61739         [C99-based standards] (INT_FAST16_MIN): Likewise.
61740         [C99-based standards] (INT_FAST16_MAX): Likewise.
61741         [C99-based standards] (INT_FAST32_MIN): Likewise.
61742         [C99-based standards] (INT_FAST32_MAX): Likewise.
61743         [C99-based standards] (INT_FAST64_MIN): Likewise.
61744         [C99-based standards] (INT_FAST64_MAX): Likewise.
61745         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61746         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61747         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61748         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61749         [C99-based standards] (INTPTR_MIN): Likewise.
61750         [C99-based standards] (INTPTR_MAX): Likewise.
61751         [C99-based standards] (UINTPTR_MAX): Likewise.
61752         [C99-based standards] (INTMAX_MIN): Likewise.
61753         [C99-based standards] (INTMAX_MAX): Likewise.
61754         [C99-based standards] (UINTMAX_MAX): Likewise.
61755         [C99-based standards] (PTRDIFF_MIN): Likewise.
61756         [C99-based standards] (PTRDIFF_MAX): Likewise.
61757         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61758         [C99-based standards] (SIZE_MAX): Likewise.
61759         [C99-based standards] (WCHAR_MAX): Likewise.
61760         [C99-based standards] (WINT_MAX): Likewise.
61761         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61762         constraint on value.
61763         [C99-based standards] (WCHAR_MIN): Likewise.
61764         [C99-based standards] (WINT_MIN): Likewise.
61765         [C99-based standards] (*_t): Allow.
61766         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61767         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61768         Include math.h-data and complex.h-data.  Remove all expectations
61769         of math.h and complex.h contents.
61770         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61771         at end of line.
61772         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61773         (struct tm): Expect tag.
61774         [C99-based-standards] (wcstof): Expect function.
61775         [C99-based-standards] (wcstold): Likewise.
61776         [C99-based-standards] (wcstoll): Likewise.
61777         [C99-based-standards] (wcstoull): Likewise.
61778         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61779         macro-int-constant.  Specify type.
61780         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61781         constraint on value.
61782         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61783         Specify type.
61784         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61785         Specify value.
61786         [ISO C standards]: Do not allow headers.
61787         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61788         wcs[abcdefghijklmnopqrstuvwxyz]*.
61789         [ISO C standards] (*_t): Do not allow.
61790         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61791         Expect function.
61792         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61793         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61794         Specify type.
61795         [ISO C standards]: Do not allow headers.
61796         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61797         is[abcdefghijklmnopqrstuvwxyz]*.
61798         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61799         to[abcdefghijklmnopqrstuvwxyz]*.
61800         [ISO C standards] (*_t): Do not allow.
61801         * conform/data/stdalign.h-data: New file.
61802         * conform/data/stdbool.h-data: Likewise.
61803         * conform/data/stdnoreturn.h-data: Likewise.
61805 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61807         [BZ #14815]
61808         * manual/filesys.texi (Directory Entries): Typo fix.
61809         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61811 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61813         * elf/elf.h (EM_AARCH64): New macro.
61814         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61815         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61816         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61817         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61818         (R_AARCH64_TLSDESC): Likewise.
61819         (NT_ARM_TLS): Likewise.
61820         (NT_ARM_HW_BREAK): Likewise.
61821         (NT_ARM_HW_WATCH): Likewise.
61823 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61825         [BZ #14811]
61826         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61827         (__ieee754_powl): Saturate nonzero exponents with absolute value
61828         below 0x1p-79 to +/- 0x1p-79.
61829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61830         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61831         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61832         nonzero exponents with absolute value below 0x1p-32 to +/-
61833         0x1p-32.
61834         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61835         (__ieee754_powl): Saturate nonzero exponents with absolute value
61836         below 0x1p-79 to +/- 0x1p-79.
61837         * math/libm-test.inc (pow_test): Add more tests.
61839 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61841         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61842         _dl_s390_cap_flags with kernel. Increase string length.
61843         (_dl_s390_platforms): Add z196 and zEC12.
61845 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61847         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61848         Change XOPEN21K to XOPEN2K.
61850 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61852         * string/memmove.c: Use memcpy when possible.
61854 2012-11-06  Andreas Jaeger  <aj@suse.de>
61856         * po/eo.po: Update from translation team.
61858 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61860         [BZ #14793]
61861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61862         exponent and small x and y exponents, scale x or y up.  Increase
61863         by 2 the exponent used in scaling up.
61864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61866         * math/libm-test.inc (fma_test): Add more tests.
61867         (fma_test_towardzero): Likewise.
61868         (fma_test_downward): Likewise.
61869         (fma_test_upward): Likewise.
61871 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61873         [BZ #14805]
61874         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61875         fenv_t *.
61877         [BZ #14801]
61878         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61879         namespace for names of struct fields.
61880         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61881         fenv_t fields.
61882         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61883         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61885 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61887         [BZ #3665]
61888         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61890 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61892         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61893         PTR_DEMANGLE.
61895         [BZ #5246]
61896         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61897         PTR_DEMANGLE.
61899 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61901         [BZ #14797]
61902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61903         definitely overflow as x * y not x * y + z.
61904         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61906         * math/libm-test.inc (fma_test): Add more tests.
61907         (fma_test_towardzero): Likewise.
61908         (fma_test_downward): Likewise.
61909         (fma_test_upward): Likewise.
61911 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61913         [BZ #157]
61915         * include/stub-tag.h: Remove file.
61916         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61917         '#include' of it.
61918         * manual/maint.texi (Porting): Don't reference it.
61919         * Makerules ($(objpfx)stubs): Likewise.
61920         * dirent/closedir.c: Don't include <stub-tag.h>.
61921         * dirent/dirfd.c: Likewise.
61922         * dirent/fdopendir.c: Likewise.
61923         * dirent/getdents.c: Likewise.
61924         * dirent/getdents64.c: Likewise.
61925         * dirent/opendir.c: Likewise.
61926         * dirent/readdir.c: Likewise.
61927         * dirent/readdir64.c: Likewise.
61928         * dirent/readdir64_r.c: Likewise.
61929         * dirent/readdir_r.c: Likewise.
61930         * dirent/rewinddir.c: Likewise.
61931         * dirent/seekdir.c: Likewise.
61932         * dirent/telldir.c: Likewise.
61933         * gmon/profil.c: Likewise.
61934         * grp/setgroups.c: Likewise.
61935         * inet/if_index.c: Likewise.
61936         * io/access.c: Likewise.
61937         * io/chdir.c: Likewise.
61938         * io/chmod.c: Likewise.
61939         * io/chown.c: Likewise.
61940         * io/close.c: Likewise.
61941         * io/dup.c: Likewise.
61942         * io/dup2.c: Likewise.
61943         * io/dup3.c: Likewise.
61944         * io/euidaccess.c: Likewise.
61945         * io/faccessat.c: Likewise.
61946         * io/fchdir.c: Likewise.
61947         * io/fchmod.c: Likewise.
61948         * io/fchmodat.c: Likewise.
61949         * io/fchown.c: Likewise.
61950         * io/fchownat.c: Likewise.
61951         * io/fcntl.c: Likewise.
61952         * io/flock.c: Likewise.
61953         * io/fstatfs.c: Likewise.
61954         * io/fstatfs64.c: Likewise.
61955         * io/fstatvfs.c: Likewise.
61956         * io/fstatvfs64.c: Likewise.
61957         * io/futimens.c: Likewise.
61958         * io/fxstat.c: Likewise.
61959         * io/fxstat64.c: Likewise.
61960         * io/fxstatat.c: Likewise.
61961         * io/fxstatat64.c: Likewise.
61962         * io/getcwd.c: Likewise.
61963         * io/isatty.c: Likewise.
61964         * io/lchmod.c: Likewise.
61965         * io/lchown.c: Likewise.
61966         * io/link.c: Likewise.
61967         * io/linkat.c: Likewise.
61968         * io/lseek.c: Likewise.
61969         * io/lseek64.c: Likewise.
61970         * io/lxstat64.c: Likewise.
61971         * io/mkdir.c: Likewise.
61972         * io/mkdirat.c: Likewise.
61973         * io/mkfifo.c: Likewise.
61974         * io/mkfifoat.c: Likewise.
61975         * io/open.c: Likewise.
61976         * io/open64.c: Likewise.
61977         * io/openat.c: Likewise.
61978         * io/openat64.c: Likewise.
61979         * io/pipe.c: Likewise.
61980         * io/pipe2.c: Likewise.
61981         * io/poll.c: Likewise.
61982         * io/posix_fadvise.c: Likewise.
61983         * io/posix_fadvise64.c: Likewise.
61984         * io/posix_fallocate.c: Likewise.
61985         * io/posix_fallocate64.c: Likewise.
61986         * io/read.c: Likewise.
61987         * io/readlink.c: Likewise.
61988         * io/readlinkat.c: Likewise.
61989         * io/rmdir.c: Likewise.
61990         * io/sendfile.c: Likewise.
61991         * io/sendfile64.c: Likewise.
61992         * io/statfs.c: Likewise.
61993         * io/statfs64.c: Likewise.
61994         * io/statvfs.c: Likewise.
61995         * io/statvfs64.c: Likewise.
61996         * io/symlink.c: Likewise.
61997         * io/symlinkat.c: Likewise.
61998         * io/ttyname.c: Likewise.
61999         * io/ttyname_r.c: Likewise.
62000         * io/umask.c: Likewise.
62001         * io/unlink.c: Likewise.
62002         * io/unlinkat.c: Likewise.
62003         * io/utime.c: Likewise.
62004         * io/utimensat.c: Likewise.
62005         * io/write.c: Likewise.
62006         * io/xmknod.c: Likewise.
62007         * io/xmknodat.c: Likewise.
62008         * io/xstat.c: Likewise.
62009         * io/xstat64.c: Likewise.
62010         * login/getpt.c: Likewise.
62011         * login/grantpt.c: Likewise.
62012         * login/unlockpt.c: Likewise.
62013         * math/e_acoshl.c: Likewise.
62014         * math/e_acosl.c: Likewise.
62015         * math/e_asinl.c: Likewise.
62016         * math/e_atan2l.c: Likewise.
62017         * math/e_atanhl.c: Likewise.
62018         * math/e_coshl.c: Likewise.
62019         * math/e_expl.c: Likewise.
62020         * math/e_fmodl.c: Likewise.
62021         * math/e_gammal_r.c: Likewise.
62022         * math/e_hypotl.c: Likewise.
62023         * math/e_j0l.c: Likewise.
62024         * math/e_j1l.c: Likewise.
62025         * math/e_jnl.c: Likewise.
62026         * math/e_lgammal_r.c: Likewise.
62027         * math/e_log10l.c: Likewise.
62028         * math/e_log2l.c: Likewise.
62029         * math/e_logl.c: Likewise.
62030         * math/e_powl.c: Likewise.
62031         * math/e_rem_pio2l.c: Likewise.
62032         * math/e_sinhl.c: Likewise.
62033         * math/e_sqrtl.c: Likewise.
62034         * math/fclrexcpt.c: Likewise.
62035         * math/fedisblxcpt.c: Likewise.
62036         * math/feenablxcpt.c: Likewise.
62037         * math/fegetenv.c: Likewise.
62038         * math/fegetexcept.c: Likewise.
62039         * math/fegetround.c: Likewise.
62040         * math/feholdexcpt.c: Likewise.
62041         * math/fesetenv.c: Likewise.
62042         * math/fesetround.c: Likewise.
62043         * math/feupdateenv.c: Likewise.
62044         * math/fgetexcptflg.c: Likewise.
62045         * math/fraiseexcpt.c: Likewise.
62046         * math/fsetexcptflg.c: Likewise.
62047         * math/ftestexcept.c: Likewise.
62048         * math/k_cosl.c: Likewise.
62049         * math/k_rem_pio2l.c: Likewise.
62050         * math/k_sinl.c: Likewise.
62051         * math/k_tanl.c: Likewise.
62052         * math/s_asinhl.c: Likewise.
62053         * math/s_atanl.c: Likewise.
62054         * math/s_cbrtl.c: Likewise.
62055         * math/s_erfl.c: Likewise.
62056         * math/s_expm1l.c: Likewise.
62057         * math/s_log1pl.c: Likewise.
62058         * math/s_tanhl.c: Likewise.
62059         * misc/acct.c: Likewise.
62060         * misc/brk.c: Likewise.
62061         * misc/chflags.c: Likewise.
62062         * misc/chroot.c: Likewise.
62063         * misc/fchflags.c: Likewise.
62064         * misc/fgetxattr.c: Likewise.
62065         * misc/flistxattr.c: Likewise.
62066         * misc/fremovexattr.c: Likewise.
62067         * misc/fsetxattr.c: Likewise.
62068         * misc/fsync.c: Likewise.
62069         * misc/ftruncate.c: Likewise.
62070         * misc/futimes.c: Likewise.
62071         * misc/futimesat.c: Likewise.
62072         * misc/getdomain.c: Likewise.
62073         * misc/getdtsz.c: Likewise.
62074         * misc/gethostid.c: Likewise.
62075         * misc/gethostname.c: Likewise.
62076         * misc/getloadavg.c: Likewise.
62077         * misc/getpagesize.c: Likewise.
62078         * misc/getsysstats.c: Likewise.
62079         * misc/getxattr.c: Likewise.
62080         * misc/gtty.c: Likewise.
62081         * misc/ioctl.c: Likewise.
62082         * misc/lgetxattr.c: Likewise.
62083         * misc/listxattr.c: Likewise.
62084         * misc/llistxattr.c: Likewise.
62085         * misc/lremovexattr.c: Likewise.
62086         * misc/lsetxattr.c: Likewise.
62087         * misc/lutimes.c: Likewise.
62088         * misc/madvise.c: Likewise.
62089         * misc/mincore.c: Likewise.
62090         * misc/mlock.c: Likewise.
62091         * misc/mlockall.c: Likewise.
62092         * misc/mmap.c: Likewise.
62093         * misc/mprotect.c: Likewise.
62094         * misc/msync.c: Likewise.
62095         * misc/munlock.c: Likewise.
62096         * misc/munlockall.c: Likewise.
62097         * misc/munmap.c: Likewise.
62098         * misc/preadv.c: Likewise.
62099         * misc/preadv64.c: Likewise.
62100         * misc/ptrace.c: Likewise.
62101         * misc/pwritev.c: Likewise.
62102         * misc/pwritev64.c: Likewise.
62103         * misc/readv.c: Likewise.
62104         * misc/reboot.c: Likewise.
62105         * misc/remap_file_pages.c: Likewise.
62106         * misc/removexattr.c: Likewise.
62107         * misc/revoke.c: Likewise.
62108         * misc/select.c: Likewise.
62109         * misc/setdomain.c: Likewise.
62110         * misc/setegid.c: Likewise.
62111         * misc/seteuid.c: Likewise.
62112         * misc/sethostid.c: Likewise.
62113         * misc/sethostname.c: Likewise.
62114         * misc/setregid.c: Likewise.
62115         * misc/setreuid.c: Likewise.
62116         * misc/setxattr.c: Likewise.
62117         * misc/sstk.c: Likewise.
62118         * misc/stty.c: Likewise.
62119         * misc/swapoff.c: Likewise.
62120         * misc/swapon.c: Likewise.
62121         * misc/sync.c: Likewise.
62122         * misc/syncfs.c: Likewise.
62123         * misc/syscall.c: Likewise.
62124         * misc/truncate.c: Likewise.
62125         * misc/ualarm.c: Likewise.
62126         * misc/usleep.c: Likewise.
62127         * misc/ustat.c: Likewise.
62128         * misc/utimes.c: Likewise.
62129         * misc/vhangup.c: Likewise.
62130         * misc/writev.c: Likewise.
62131         * posix/_exit.c: Likewise.
62132         * posix/alarm.c: Likewise.
62133         * posix/execve.c: Likewise.
62134         * posix/fexecve.c: Likewise.
62135         * posix/fork.c: Likewise.
62136         * posix/fpathconf.c: Likewise.
62137         * posix/getaddrinfo.c: Likewise.
62138         * posix/getegid.c: Likewise.
62139         * posix/geteuid.c: Likewise.
62140         * posix/getgid.c: Likewise.
62141         * posix/getgroups.c: Likewise.
62142         * posix/getlogin.c: Likewise.
62143         * posix/getlogin_r.c: Likewise.
62144         * posix/getpgid.c: Likewise.
62145         * posix/getpid.c: Likewise.
62146         * posix/getppid.c: Likewise.
62147         * posix/getresgid.c: Likewise.
62148         * posix/getresuid.c: Likewise.
62149         * posix/getsid.c: Likewise.
62150         * posix/getuid.c: Likewise.
62151         * posix/glob64.c: Likewise.
62152         * posix/nanosleep.c: Likewise.
62153         * posix/pathconf.c: Likewise.
62154         * posix/pause.c: Likewise.
62155         * posix/posix_madvise.c: Likewise.
62156         * posix/pread.c: Likewise.
62157         * posix/pread64.c: Likewise.
62158         * posix/pwrite.c: Likewise.
62159         * posix/pwrite64.c: Likewise.
62160         * posix/sched_getaffinity.c: Likewise.
62161         * posix/sched_getp.c: Likewise.
62162         * posix/sched_gets.c: Likewise.
62163         * posix/sched_primax.c: Likewise.
62164         * posix/sched_primin.c: Likewise.
62165         * posix/sched_rr_gi.c: Likewise.
62166         * posix/sched_setaffinity.c: Likewise.
62167         * posix/sched_setp.c: Likewise.
62168         * posix/sched_sets.c: Likewise.
62169         * posix/sched_yield.c: Likewise.
62170         * posix/setgid.c: Likewise.
62171         * posix/setlogin.c: Likewise.
62172         * posix/setpgid.c: Likewise.
62173         * posix/setresgid.c: Likewise.
62174         * posix/setresuid.c: Likewise.
62175         * posix/setsid.c: Likewise.
62176         * posix/setuid.c: Likewise.
62177         * posix/sleep.c: Likewise.
62178         * posix/spawni.c: Likewise.
62179         * posix/sysconf.c: Likewise.
62180         * posix/times.c: Likewise.
62181         * posix/wait.c: Likewise.
62182         * posix/wait3.c: Likewise.
62183         * posix/wait4.c: Likewise.
62184         * posix/waitpid.c: Likewise.
62185         * resolv/gai_sigqueue.c: Likewise.
62186         * resource/getpriority.c: Likewise.
62187         * resource/getrlimit.c: Likewise.
62188         * resource/getrusage.c: Likewise.
62189         * resource/nice.c: Likewise.
62190         * resource/setpriority.c: Likewise.
62191         * resource/setrlimit.c: Likewise.
62192         * resource/ulimit.c: Likewise.
62193         * rt/aio_cancel.c: Likewise.
62194         * rt/aio_fsync.c: Likewise.
62195         * rt/aio_read.c: Likewise.
62196         * rt/aio_sigqueue.c: Likewise.
62197         * rt/aio_suspend.c: Likewise.
62198         * rt/aio_write.c: Likewise.
62199         * rt/clock_getres.c: Likewise.
62200         * rt/clock_gettime.c: Likewise.
62201         * rt/clock_nanosleep.c: Likewise.
62202         * rt/clock_settime.c: Likewise.
62203         * rt/lio_listio.c: Likewise.
62204         * rt/mq_close.c: Likewise.
62205         * rt/mq_getattr.c: Likewise.
62206         * rt/mq_notify.c: Likewise.
62207         * rt/mq_open.c: Likewise.
62208         * rt/mq_receive.c: Likewise.
62209         * rt/mq_send.c: Likewise.
62210         * rt/mq_setattr.c: Likewise.
62211         * rt/mq_timedreceive.c: Likewise.
62212         * rt/mq_timedsend.c: Likewise.
62213         * rt/mq_unlink.c: Likewise.
62214         * rt/shm_open.c: Likewise.
62215         * rt/shm_unlink.c: Likewise.
62216         * rt/timer_create.c: Likewise.
62217         * rt/timer_delete.c: Likewise.
62218         * rt/timer_getoverr.c: Likewise.
62219         * rt/timer_gettime.c: Likewise.
62220         * rt/timer_settime.c: Likewise.
62221         * setjmp/__longjmp.c: Likewise.
62222         * setjmp/setjmp.c: Likewise.
62223         * signal/kill.c: Likewise.
62224         * signal/killpg.c: Likewise.
62225         * signal/raise.c: Likewise.
62226         * signal/sigaction.c: Likewise.
62227         * signal/sigaltstack.c: Likewise.
62228         * signal/sigblock.c: Likewise.
62229         * signal/sigignore.c: Likewise.
62230         * signal/sigintr.c: Likewise.
62231         * signal/signal.c: Likewise.
62232         * signal/sigpause.c: Likewise.
62233         * signal/sigpending.c: Likewise.
62234         * signal/sigqueue.c: Likewise.
62235         * signal/sigreturn.c: Likewise.
62236         * signal/sigset.c: Likewise.
62237         * signal/sigsetmask.c: Likewise.
62238         * signal/sigstack.c: Likewise.
62239         * signal/sigsuspend.c: Likewise.
62240         * signal/sigtimedwait.c: Likewise.
62241         * signal/sigvec.c: Likewise.
62242         * signal/sigwait.c: Likewise.
62243         * signal/sigwaitinfo.c: Likewise.
62244         * signal/sysv_signal.c: Likewise.
62245         * socket/accept.c: Likewise.
62246         * socket/accept4.c: Likewise.
62247         * socket/bind.c: Likewise.
62248         * socket/connect.c: Likewise.
62249         * socket/getpeername.c: Likewise.
62250         * socket/getsockname.c: Likewise.
62251         * socket/getsockopt.c: Likewise.
62252         * socket/isfdtype.c: Likewise.
62253         * socket/listen.c: Likewise.
62254         * socket/recv.c: Likewise.
62255         * socket/recvfrom.c: Likewise.
62256         * socket/recvmsg.c: Likewise.
62257         * socket/send.c: Likewise.
62258         * socket/sendmsg.c: Likewise.
62259         * socket/sendto.c: Likewise.
62260         * socket/setsockopt.c: Likewise.
62261         * socket/shutdown.c: Likewise.
62262         * socket/sockatmark.c: Likewise.
62263         * socket/socket.c: Likewise.
62264         * socket/socketpair.c: Likewise.
62265         * stdio-common/ctermid.c: Likewise.
62266         * stdio-common/cuserid.c: Likewise.
62267         * stdio-common/remove.c: Likewise.
62268         * stdio-common/rename.c: Likewise.
62269         * stdio-common/renameat.c: Likewise.
62270         * stdio-common/tempname.c: Likewise.
62271         * stdlib/getcontext.c: Likewise.
62272         * stdlib/makecontext.c: Likewise.
62273         * stdlib/setcontext.c: Likewise.
62274         * stdlib/swapcontext.c: Likewise.
62275         * stdlib/system.c: Likewise.
62276         * streams/fattach.c: Likewise.
62277         * streams/fdetach.c: Likewise.
62278         * streams/getmsg.c: Likewise.
62279         * streams/getpmsg.c: Likewise.
62280         * streams/putmsg.c: Likewise.
62281         * streams/putpmsg.c: Likewise.
62282         * sysdeps/unix/bsd/getpt.c: Likewise.
62283         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62284         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62285         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62287         Likewise.
62288         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62289         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62290         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62291         * sysvipc/msgctl.c: Likewise.
62292         * sysvipc/msgget.c: Likewise.
62293         * sysvipc/msgrcv.c: Likewise.
62294         * sysvipc/msgsnd.c: Likewise.
62295         * sysvipc/semctl.c: Likewise.
62296         * sysvipc/semget.c: Likewise.
62297         * sysvipc/semop.c: Likewise.
62298         * sysvipc/semtimedop.c: Likewise.
62299         * sysvipc/shmat.c: Likewise.
62300         * sysvipc/shmctl.c: Likewise.
62301         * sysvipc/shmdt.c: Likewise.
62302         * sysvipc/shmget.c: Likewise.
62303         * termios/tcdrain.c: Likewise.
62304         * termios/tcflow.c: Likewise.
62305         * termios/tcflush.c: Likewise.
62306         * termios/tcgetattr.c: Likewise.
62307         * termios/tcgetpgrp.c: Likewise.
62308         * termios/tcsendbrk.c: Likewise.
62309         * termios/tcsetattr.c: Likewise.
62310         * termios/tcsetpgrp.c: Likewise.
62311         * time/adjtime.c: Likewise.
62312         * time/clock.c: Likewise.
62313         * time/getitimer.c: Likewise.
62314         * time/gettimeofday.c: Likewise.
62315         * time/setitimer.c: Likewise.
62316         * time/settimeofday.c: Likewise.
62317         * time/stime.c: Likewise.
62318         * time/time.c: Likewise.
62320 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62322         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62323         /usr/old/bin.
62325         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62326         instead of spaces.
62327         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62329 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62331         [BZ #14796]
62332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62333         FE_TONEAREST before applying Dekker multiplication and Knuth
62334         addition.  Clear inexact exceptions and check for exact zero
62335         results afterwards.
62336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62339         * math/libm-test.inc (fma_test): Add more tests.
62340         (fma_test_towardzero): Likewise.
62341         (fma_test_downward): Likewise.
62342         (fma_test_upward): Likewise.
62343         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62344         function.
62345         (libc_fesetround): New macro.
62346         (libc_fesetroundf): Likewise.
62347         (libc_fesetroundl): Likewise.
62348         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62349         function.
62350         (libc_fesetround_387): Likewise.
62351         (libc_fesetroundf): New macro.
62352         (libc_fesetround): Likewise.
62353         (libc_fesetroundl): Likewise.
62354         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62355         function.
62356         (libc_fesetroundf): New macro.
62357         (libc_fesetround): Likewise.
62358         (libc_fesetroundl): Likewise.
62359         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62360         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62361         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62362         libm_hidden_ver.
62363         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62364         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62365         libm_hidden_def.
62366         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62367         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62368         libm_hidden_ver.
62369         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62370         libm_hidden_def.
62372         [BZ #3439]
62373         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62374         integer constant usable in #if and use that to give value to enum
62375         constant.
62376         (FE_DIVBYZERO): Likewise.
62377         (FE_UNDERFLOW): Likewise.
62378         (FE_OVERFLOW): Likewise.
62379         (FE_INVALID): Likewise.
62380         (FE_INVALID_SNAN): Likewise.
62381         (FE_INVALID_ISI): Likewise.
62382         (FE_INVALID_IDI): Likewise.
62383         (FE_INVALID_ZDZ): Likewise.
62384         (FE_INVALID_IMZ): Likewise.
62385         (FE_INVALID_COMPARE): Likewise.
62386         (FE_INVALID_SOFTWARE): Likewise.
62387         (FE_INVALID_SQRT): Likewise.
62388         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62389         (FE_TONEAREST): Likewise.
62390         (FE_TOWARDZERO): Likewise.
62391         (FE_UPWARD): Likewise.
62392         (FE_DOWNWARD): Likewise.
62393         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62394         (FE_DIVBYZERO): Likewise.
62395         (FE_OVERFLOW): Likewise.
62396         (FE_UNDERFLOW): Likewise.
62397         (FE_INEXACT): Likewise.
62398         (FE_TONEAREST): Likewise.
62399         (FE_DOWNWARD): Likewise.
62400         (FE_UPWARD): Likewise.
62401         (FE_TOWARDZERO): Likewise.
62402         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62403         (FE_UNDERFLOW): Likewise.
62404         (FE_OVERFLOW): Likewise.
62405         (FE_DIVBYZERO): Likewise.
62406         (FE_INVALID): Likewise.
62407         (FE_TONEAREST): Likewise.
62408         (FE_TOWARDZERO): Likewise.
62409         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62410         (FE_OVERFLOW): Likewise.
62411         (FE_UNDERFLOW): Likewise.
62412         (FE_DIVBYZERO): Likewise.
62413         (FE_INEXACT): Likewise.
62414         (FE_TONEAREST): Likewise.
62415         (FE_TOWARDZERO): Likewise.
62416         (FE_UPWARD): Likewise.
62417         (FE_DOWNWARD): Likewise.
62418         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62419         (FE_DIVBYZERO): Likewise.
62420         (FE_OVERFLOW): Likewise.
62421         (FE_UNDERFLOW): Likewise.
62422         (FE_INEXACT): Likewise.
62423         (FE_TONEAREST): Likewise.
62424         (FE_DOWNWARD): Likewise.
62425         (FE_UPWARD): Likewise.
62426         (FE_TOWARDZERO): Likewise.
62428 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62430         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62432 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62434         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62435         commands.  Quote $PWD.
62436         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62437         -x" by "export".
62438         (remove_newlines): Remove.
62440 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62442         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62443         * stdlib/stdlib.h (atof): Moved to ...
62444         * include/bits/stdlib-float.h: Here.  New file.
62445         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62446         * stdlib/bits/stdlib-float.h: New file.
62447         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62448         -mno-sse -mno-mmx.
62449         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62450         <xmmintrin.h>.
62452 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62454         * conform/conformtest.pl (@headers): Add fenv.h.
62455         * conform/data/fenv.h-data: New file.
62456         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62457         include of <math/fenv.h>.
62459         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62460         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62461         && !UNIX98].  Enables tests for XOPEN2K8.
62462         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62463         POSIX2008]: Likewise.
62465         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62466         (struct rusage): Do not expect type or its members.
62468         [BZ #3439]
62469         * math/math.h (FP_NAN): Define macro to integer constant usable in
62470         #if and use that to give value to enum constant.
62471         (FP_INFINITE): Likewise.
62472         (FP_ZERO): Likewise.
62473         (FP_SUBNORMAL): Likewise.
62474         (FP_NORMAL): Likewise.
62476 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62478         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62479         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62480         arguments.
62482 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62484         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62485         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62486         autoconf-time if not.
62487         * configure.in: Remove AC_PREREQ.
62489 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62491         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62492         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62493         of the internal implementation.
62495 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62497         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62498         except include of <misc/sys/syslog.h>.
62500 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62503         function returns with a NULL context exit with zero.
62505 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62507         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62509 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62511         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62512         (run_program_cmd): This.
62513         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62514         (tst_langinfo): New variable.  Use it.
62516 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62518         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62519         floating point opcodes.
62521 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62523         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62524         variable.
62526         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62528         * sysdeps/mach/hurd/powerpc: Remove directory.
62529         * sysdeps/mach/powerpc: Likewise.
62531 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62533         * scripts/check-local-headers.sh: Ignore c++ headers.
62535 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62537         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62538         __libc_cleanup_region_start argument.
62540 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62542         [BZ #14784]
62543         [BZ #14785]
62544         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62545         x * y using scaling, not as x * y + z.
62546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62548         * math/libm-test.inc (fma_test): Add more tests.
62549         (fma_test_towardzero): Likewise.
62550         (fma_test_downward): Likewise.
62551         (fma_test_upward): Likewise.
62553 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62555         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62557 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62559         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62560         New variable.
62562 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62564         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62566 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62569         Fix sort order.
62570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62571         Likewise.
62573 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62576         Fix the order of the list for glibc 2.17.
62577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62578         Likewise.
62580 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62584 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62586         [BZ #14610]
62587         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62588         for low part of x being zero before using __atanl (y).
62589         * math/libm-test.inc (atan2_test): Add another test.
62591         * manual/install.texi (Configuring and compiling): Document
62592         general use of test-wrapper and test-wrapper-env.
62593         * INSTALL: Regenerated.
62595         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62596         (__fma): Do not extract and scale down low bits on after-rounding
62597         systems when result rounded to normal precision would have normal
62598         exponent.
62599         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62600         (__fmal): Do not extract and scale down low bits on after-rounding
62601         systems when result rounded to normal precision would have normal
62602         exponent.
62603         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62604         (__fmal): Do not extract and scale down low bits on after-rounding
62605         systems when result rounded to normal precision would have normal
62606         exponent.
62607         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62608         macro.
62609         (fma_test): Add more tests.
62610         (fma_test_towardzero): Likewise.
62611         (fma_test_downward): Likewise.
62612         (fma_test_upward): Likewise.
62614 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62616         * sysdeps/i386/tininess.h: Renamed to ...
62617         * sysdeps/x86/tininess.h: This.
62618         * sysdeps/x86_64/tininess.h: Removed.
62620 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62622         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62623         input.  Use $(build-program-cmd).
62624         ($(objpfx)tst-array1-static.out): Likewise.
62625         ($(objpfx)tst-array2.out): Likewise.
62626         ($(objpfx)tst-array3.out): Likewise.
62627         ($(objpfx)tst-array4.out): Likewise.
62628         ($(objpfx)tst-array5.out): Likewise.
62629         ($(objpfx)tst-array5-static.out): Likewise.
62631 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62633         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62634         if defined.
62636         * nss/nsswitch.h (nss_interface_function): Provide new
62637         macro for use with NSS functions.
62638         * grp/initgroups.c: Use new macro.
62639         * nss/getXXbyYY.c: Likewise.
62640         * nss/getXXbyYY_r.c: Likewise.
62641         * nss/getXXent.c: Likewise.
62642         * nss/getXXent_r.c: Likewise.
62643         * sysdeps/posix/getaddrinfo.c: Likewise.
62645 2012-10-30  Andreas Jaeger  <aj@suse.de>
62647         * po/ru.po: Update Russion translation from translation project.
62649 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62651         [BZ #14152]
62652         [BZ #14783]
62653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62654         result and shift together with sticky bit instead of replicating
62655         round-to-nearest rounding.
62656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62658         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62659         missing underflow exceptions.
62660         (fma_test_towardzero): Add more tests.
62661         (fma_test_downward): Likewise.
62662         (fma_test_upward): Likewise.
62664         [BZ #14047]
62665         * sysdeps/generic/tininess.h: New file.
62666         * sysdeps/i386/tininess.h: Likewise.
62667         * sysdeps/sh/tininess.h: Likewise.
62668         * sysdeps/x86_64/tininess.h: Likewise.
62669         * stdlib/tst-strtod-underflow.c: Likewise.
62670         * stdlib/tst-tininess.c: Likewise.
62671         * stdlib/strtod_l.c: Include <tininess.h>.
62672         (round_and_return): Do not set errno for exact underflow cases.
62673         Force an underflow exception when setting errno for underflow.
62674         Determine underflow based on rounding to normal precision if
62675         TININESS_AFTER_ROUNDING.
62676         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62677         ERANGE for exact underflow cases.
62678         * stdlib/Makefile (tests): Add tst-tininess and
62679         tst-strtod-underflow.
62680         ($(objpfx)tst-tininess): Use $(link-libm).
62681         ($(objpfx)tst-strtod-underflow): Likewise.
62683 2012-10-30  Andreas Jaeger  <aj@suse.de>
62685         [BZ#14767]
62686         * elf/Makefile (tests): Remove conditional for have-initfini-array
62687         since this is now always required and the variable does not exist
62688         anymore.
62689         (tests-static): Likewise.
62690         (modules-names): Likewise.
62692         * po/eo.po: Add Esperanto translation from translation project.
62694         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62695         merged with constructor/destructor.
62696         (init_array): Likewise.
62697         * elf/tst-array2dep.c (fini_array): Likewise.
62698         (init_array): Likewise.
62700 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62702         * manual/message.texi: Delete @cartouche tags.
62704 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62706         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62707         EOPNOTSUPP.
62708         * sysdeps/mach/hurd/fsync.c: Likewise.
62710         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62711         [_POSIX_REALTIME_SIGNALS]: Change condition to
62712         [_POSIX_REALTIME_SIGNALS > 0].
62714 2012-10-27  Andreas Jaeger  <aj@suse.de>
62716         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62717         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62719         [__WORDSIZE != 64]: Likewise.
62721 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62723         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62724         *  iconvdata/tst-tables.sh: Likewise.
62726 2012-10-25  David S. Miller  <davem@davemloft.net>
62728         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62729         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62730         of strtoull.
62732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62733         ifunc-impl-list.c
62734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62735         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62736         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62737         file.
62739 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62742         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62743         __getdirentries.
62745 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62746             Jim Blandy  <jimb@codesourcery.com>
62748         * scripts/cross-test-ssh.sh: New file.
62749         * manual/install.texi (Configuring and compiling): Document use of
62750         cross-test-ssh.sh.
62751         * INSTALL: Regenerated.
62753 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62755         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62756         EOPNOTSUPP.
62758 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62760         * Makeconfig (run-program-prefix): Fix comment.
62762 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62763             Jim Blandy  <jimb@codesourcery.com>
62765         * Makeconfig (test-wrapper): New variable,
62766         (test-wrapper-env): Likewise.
62767         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62768         (run-built-tests): Define to yes.
62769         (run-program-prefix): Use $(test-wrapper).
62770         (built-program-cmd): Likewise.
62771         * Rules (make-test-out): Use $(test-wrapper-env) and
62772         $(host-built-program-cmd).
62773         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62774         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62775         tst-pathopt.sh.
62776         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62777         $(test-wrapper-env) to tst-rtld-load-self.sh.
62778         ($(objpfx)order2.out): Use $(test-wrapper).
62779         ($(objpfx)tst-initorder.out): Likewise.
62780         ($(objpfx)tst-initorder2.out): Likewise.
62781         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62782         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62783         (test_wrapper_env): New variable.  Use it to run ld.so.
62784         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62785         Use it to run ld.so.
62786         (test_wrapper_env): Likewise.
62787         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62788         $(test-wrapper) to run-iconv-test.sh.
62789         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62790         (ICONV): Use $test_wrapper.
62791         * posix/Makefile ($(objpfx)globtest.out): Pass
62792         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62793         globtest.sh, not $(run-program-prefix).
62794         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62795         (test_wrapper): Likewise.
62796         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62797         set together with run_via_rtld_prefix.
62798         (run_program_prefix): Define in terms of test_wrapper and
62799         run_via_rtld_prefix.
62801 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62803         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62804         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62805         Targets removed.
62807         [BZ #14743]
62808         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62809         Declare __clock_getres, __clock_gettime, __clock_settime,
62810         __clock_nanosleep, and __clock_getcpuclockid.
62811         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62812         Remove librt_hidden_def (clock_gettime).
62813         * sysdeps/unix/clock_gettime.c: Likewise.
62814         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62815         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62816         * rt/clock_getres.c: Define __clock_getres as an alias.
62817         * sysdeps/posix/clock_getres.c: Likewise.
62818         * rt/clock_settime.c: Define __clock_settime as an alias.
62819         * sysdeps/unix/clock_settime.c: Likewise.
62820         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62821         * sysdeps/unix/clock_nanosleep.c: Likewise.
62822         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62823         * rt/clock-compat.c: New file.
62824         * rt/Makefile (librt-routines): Add clock-compat and move
62825         $(clock-routines) to ...
62826         (routines): ... here, new variable.
62827         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62828         Don't add get_clockfreq here.
62829         * rt/Versions (libc: GLIBC_2.17): New version set.
62830         Add clock_* symbols here.
62831         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62832         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62833         (GLIBC_2.17): Add clock_* symbols.
62834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62836         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62838         Likewise.
62839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62840         Likewise.
62841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62845         * NEWS: Mention the move.
62847         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62848         Use __open, __read, __close rather than their public counterparts.
62849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62850         (__get_clockfreq_via_cpuinfo): Likewise.
62851         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62852         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62854         * config.h.in (HAVE_IFUNC): New #undef.
62855         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62856         was successful.
62857         * configure: Regenerated.
62859 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62861         * configure.in: Move READELF check to start of file.
62862         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62863         libc_cv_asm_gnu_indirect_function in the process.
62864         * configure: Regenerated.
62866 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62868         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62869         send the output to /dev/null.
62870         (libc_cv_cc_with_libunwind): Likewise.
62871         (libc_cv_as_noexecstack): Likewise.
62872         * configure: Regenerate.
62874 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62876         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62878         * posix/globtest.sh (TMPDIR): Do not set.
62879         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62880         (testout): Likewise.
62882 2012-10-24  Andreas Jaeger  <aj@suse.de>
62884         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62885         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62886         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62887         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62888         posix_fadvise64, posix_fallocate64.
62890         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62891         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62892         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62893         Likewise.
62894         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62895         Likewise.
62896         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62899         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62900         <bits/fcntl-linux.h>.
62901         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62904         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62905         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62906         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62907         [__WORDSIZE != 64]: Likewise.
62909 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62911         * Makeconfig (run-built-tests): New variable.
62912         * Rules [$(cross-compiling) = yes]: Change condition to
62913         [$(run-built-tests) = no].
62914         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62915         to [$(run-built-tests) = yes].
62916         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62917         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62918         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62919         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62920         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62921         * io/Makefile [$(cross-compiling) = no]: Likewise.
62922         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62923         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62924         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62925         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62926         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62927         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62928         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62929         * string/Makefile [$(cross-compiling) = no]: Likewise.
62931         * posix/Makefile ($(objpfx)globtest.out): Pass
62932         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62933         $(rtld-installed-name).
62934         * posix/globtest.sh (elf_objpfx): Remove variable.
62935         (rtld_installed_name): Likewise.
62936         (library_path): Likewise.
62937         (run_program_prefix): New variable.  Use for running globtest
62938         binary.
62940 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62941             Joseph Myers  <joseph@codesourcery.com>
62943         * Makeconfig (host-built-program-cmd): New variable.
62944         * elf/Makefile (tst-stackguard1-ARGS): Use
62945         $(host-built-program-cmd).
62946         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62947         (tst-spawn-ARGS): Likewise.
62948         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62950 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62951             Jim Blandy  <jimb@codesourcery.com>
62953         * Makeconfig (run-via-rtld-prefix): New variable.
62954         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62955         (built-program-cmd): Likewise.
62957 2012-10-22  Andreas Jaeger  <aj@suse.de>
62959         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62960         __O_RSYNC if it exists, otherwise to O_SYNC.
62962 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62963             Joseph Myers  <joseph@codesourcery.com>
62965         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62966         /dev/null.
62967         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62968         from /dev/null
62969         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62970         /dev/null.
62972 2012-10-22  Andreas Jaeger  <aj@suse.de>
62974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62975         Define always.
62976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62979         bits/fcntl-linux.h.
62981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62982         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62985         to __O_LARGEFILE.
62986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62987         to __O_LARGEFILE.
62989 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62990             Joseph Myers  <joseph@codesourcery.com>
62992         * config.make.in (NM): New variable.
62994 2012-10-21  Andreas Jaeger  <aj@suse.de>
62996         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62997         definitions and declarations that are provided by
62998         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63000 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63002         [BZ #14683]
63003         * elf/Makefile (tests-static): Add tst-leaks1-static.
63004         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63005         ($(objpfx)tst-leaks1-static): New rule.
63006         ($(objpfx)tst-leaks1-static-mem): Likewise.
63007         (tst-leaks1-static-ENV): New macro.
63008         * elf/dl-open.c (dl_open_worker): Check the main application
63009         only if SHARED is defined.
63010         * elf/tst-leaks1-static.c: New file.
63012 2012-10-20  Andreas Jaeger  <aj@suse.de>
63014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63015         generic values for Linux.
63016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63017         and declarations that are provided by <bits/fcntl-linux.h> and
63018         include <bits/fcntl-linux.h>.
63019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63022 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63024         * io/fcntl.h: Move include of <bits/types.h> to the top and
63025         include it unconditionally.
63027 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63029         * wcsmbs/Makefile (tests-ifunc): New variable.
63030         (tests): Add $(tests-ifunc).
63031         * wcsmbs/test-wcschr-ifunc.c: New file.
63032         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63033         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63034         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63035         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63036         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63038         * string/Makefile (tests-ifunc): New variable.
63039         (tests): Add $(tests-ifunc).
63040         * string/test-memccpy.c (TEST_NAME): New macro.
63041         * string/test-memchr.c (TEST_NAME): Likewise.
63042         * string/test-memcmp.c (TEST_NAME): Likewise.
63043         * string/test-memcpy.c (TEST_NAME): Likewise.
63044         * string/test-memmem.c (TEST_NAME): Likewise.
63045         * string/test-memmove.c (TEST_NAME): Likewise.
63046         * string/test-memset.c (TEST_NAME): Likewise.
63047         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63048         * string/test-stpcpy.c (TEST_NAME): Likewise.
63049         * string/test-stpncpy.c (TEST_NAME): Likewise.
63050         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63051         * string/test-strcasestr.c (TEST_NAME): Likewise.
63052         * string/test-strcat.c (TEST_NAME): Likewise.
63053         * string/test-strchr.c (TEST_NAME): Likewise.
63054         * string/test-strcmp.c(TEST_NAME): Likewise.
63055         * string/test-strcpy.c (TEST_NAME): Likewise.
63056         * string/test-strcspn.c (TEST_NAME): Likewise.
63057         * string/test-strlen.c (TEST_NAME): Likewise.
63058         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63059         * string/test-strncmp.c (TEST_NAME): Likewise.
63060         * string/test-strncpy.c (TEST_NAME): Likewise.
63061         * string/test-strnlen.c (TEST_NAME): Likewise.
63062         * string/test-strpbrk.c (TEST_NAME): Likewise.
63063         * string/test-strrchr.c (TEST_NAME): Likewise.
63064         * string/test-strspn.c (TEST_NAME): Likewise.
63065         * string/test-strstr.c (TEST_NAME): Likewise.
63066         * string/test-bcopy-ifunc.c: New file.
63067         * string/test-bzero-ifunc.c: Likewise.
63068         * string/test-memccpy-ifunc.c: Likewise.
63069         * string/test-memchr-ifunc.c: Likewise.
63070         * string/test-memcmp-ifunc.c: Likewise.
63071         * string/test-memcpy-ifunc.c: Likewise.
63072         * string/test-memmem-ifunc.c: Likewise.
63073         * string/test-memmove-ifunc.c: Likewise.
63074         * string/test-mempcpy-ifunc.c: Likewise.
63075         * string/test-memset-ifunc.c: Likewise.
63076         * string/test-rawmemchr-ifunc.c: Likewise.
63077         * string/test-stpcpy-ifunc.c: Likewise.
63078         * string/test-stpncpy-ifunc.c: Likewise.
63079         * string/test-strcasecmp-ifunc.c: Likewise.
63080         * string/test-strcasestr-ifunc.c: Likewise.
63081         * string/test-strcat-ifunc.c: Likewise.
63082         * string/test-strchr-ifunc.c: Likewise.
63083         * string/test-strchrnul-ifunc.c: Likewise.
63084         * string/test-strcmp-ifunc.c: Likewise.
63085         * string/test-strcpy-ifunc.c: Likewise.
63086         * string/test-strcspn-ifunc.c: Likewise.
63087         * string/test-strlen-ifunc.c: Likewise.
63088         * string/test-strncasecmp-ifunc.c: Likewise.
63089         * string/test-strncat-ifunc.c: Likewise.
63090         * string/test-strncmp-ifunc.c: Likewise.
63091         * string/test-strncpy-ifunc.c: Likewise.
63092         * string/test-strnlen-ifunc.c: Likewise.
63093         * string/test-strpbrk-ifunc.c: Likewise.
63094         * string/test-strrchr-ifunc.c: Likewise.
63095         * string/test-strspn-ifunc.c: Likewise.
63096         * string/test-strstr-ifunc.c: Likewise.
63098         * debug/Makefile (tests-ifunc): New variable.
63099         (tests): Add $(tests-ifunc).
63100         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63101         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63102         * debug/test-stpcpy_chk-ifunc.c: New file.
63103         * debug/test-strcpy_chk-ifunc.c: Likewise.
63105 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63107         [BZ #13601]
63108         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63109         header is not read in.
63111 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63113         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63114         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63115         directly.  Pass built executable to script as
63116         $(built-program-cmd).
63117         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63118         $testprogram without using LD_LIBRARY_PATH and $ldso.
63120         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63121         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63122         $(rtld-installed-name).
63123         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63124         (rtld_installed_name): Likewise.
63125         (library_path): Likewise.
63126         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63127         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63128         $(run-program-prefix) to tst-tables.sh.
63129         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63130         it to run tst-table-from and tst-table-to.
63131         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63132         Pass it to tst-table.sh.
63133         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63134         $(run-program-prefix) to tst-gettext.sh.
63135         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63136         tst-translit.sh.
63137         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63138         tst-gettext2.sh.
63139         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63140         to run tst-gettext.
63141         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63142         to run tst-gettext2.
63143         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63144         to run tst-translit.
63145         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63146         $(run-program-prefix) to tst-mtrace.sh.
63147         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63148         to run tst-mtrace.
63149         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63150         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63151         $(rtld-installed-name).
63152         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63153         (rtld_installed_name): Likewise.
63154         (run_program_prefix): New variable.  Use it to run wordexp-test.
63156         * Makeconfig (ARCH): Remove all definitions.
63157         (machine): Likewise.
63158         [ARCH]: Remove conditional code.
63159         [!objdir]: Give error.
63160         [!objdir] (objpfx): Remove.
63161         [!objdir] (common-objpfx): Likewise.
63162         [!objdir] (common-objdir): Likewise.
63163         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63164         AC_CONFIG_FILES call.
63165         * configure: Regenerated.
63167         [BZ #13888]
63168         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63169         or TMPDIR.
63170         (testout): Likewise.
63172         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63173         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63174         $(rtld-installed-name).
63175         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63176         (rtld_installed_name): Likwise.
63177         (runit): Remove function.
63178         (run_getconf): New variable,  Use it for running getconf binary.
63180 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63182         [BZ #14716]
63183         * string/test-memmem.c (check_result): New function.
63184         (do_one_test): Use it.
63185         (check1): New function.
63186         (test_main): Use it.
63188 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63190         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63192 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63194         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63195         (_G_LSEEK64): Likewise.
63196         (_G_MMAP64): Likewise.
63197         (_G_FSTAT64): Likewise.
63198         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63199         (_G_LSEEK64): Likewise.
63200         (_G_MMAP64): Likewise.
63201         (_G_FSTAT64): Likewise.
63202         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63203         unconditional.  Call __mmap64 directly.
63204         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63205         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63206         __lseek64 directly.
63207         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63208         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63209         __mmap64 directly.
63210         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63211         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63212         __lseek64 directly.
63213         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63214         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63215         __lseek64 directly.
63216         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63217         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63218         __lseek64 directly.
63219         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63220         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63221         __fxstat64 directly.
63222         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63223         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63224         unconditional.
63225         (freopen64) [!_G_OPEN64]: Remove conditional code.
63226         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63227         unconditional.
63228         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63229         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63230         unconditional.
63231         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63232         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63233         unconditional.
63234         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63235         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63236         unconditional.
63237         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63238         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63239         unconditional.
63240         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63241         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63242         unconditional.
63243         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63244         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63245         unconditional.
63246         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63248 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63250         [BZ #12140]
63251         * manual/memory.texi (Malloc Tunable Parameters): Add note
63252         about free list pointers overwriting some perturb bytes.
63253         Wording suggested by Roland McGrath.
63255 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63257         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63258         (lgamma_test): Likewise.
63259         (tgamma_test): Likewise.
63261 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63263         [BZ #14700]
63264         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63265         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63267 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63269         * NEWS: Mention BZ #14716.
63270         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63271         when removing AVAILABLE1_USES_J macro.
63273 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63275         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63276         (__bswap_64): __uint64_t for unsigned 64-bit int.
63278 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63280         * include/string.h (memmem): Declare libc hidden alias.
63281         * string/memmem.c (memmem): Define libc hidden alias.
63282         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63283         __read, __close instead of open, read, close.
63285 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63288         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63289         global and hidden.
63290         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63291         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63292         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63293         Likewise.
63294         (__rawmemchr_sse2): Likewise.
63295         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63296         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63297         (__strchr_sse2): Likewise.
63298         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63299         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63300         (__strcasecmp_sse2): Likewise.
63301         (__strncasecmp_sse2): Likewise.
63302         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63303         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63304         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63305         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63306         (__strrchr_sse2): Likewise.
63307         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63308         ifunc-impl-list.c.
63309         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63310         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63311         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63312         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63313         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63314         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63315         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63316         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63317         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63318         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63319         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63320         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63321         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63322         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63323         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63324         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63325         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63326         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63327         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63328         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63329         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63330         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63331         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63332         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63333         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63334         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63335         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63336         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63337         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63338         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63340         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63341         global and hidden.
63342         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63343         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63344         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63345         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63346         Likewise.
63347         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63348         Likewise.
63349         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63350         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63351         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63352         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63353         ifunc-impl-list.c.
63354         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63355         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63356         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63357         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63358         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63359         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63360         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63361         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63363         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63364         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63365         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63366         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63367         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63368         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63369         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63370         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63371         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63372         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63373         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63374         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63375         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63376         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63377         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63378         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63379         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63380         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63381         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63382         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63383         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63384         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63385         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63386         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63387         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63388         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63389         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63390         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63391         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63392         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63393         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63394         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63396         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63397         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63398         * include/ifunc-impl-list.h: New file.
63399         * misc/ifunc-impl-list.c: Likewise.
63400         * misc/Makefile (routines): Add ifunc-impl-list.
63401         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63402         * string/test-string.h: Include <ifunc-impl-list.h>.
63403         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63404         TEST_NAME]: New variables.
63405         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63406         are defined.
63407         (test_init): Call __libc_ifunc_impl_list to initialize
63408         func_list if TEST_IFUNC and TEST_NAME are defined.
63410         * string/Makefile (strop-tests): Add bcopy and bzero.
63411         * string/test-bcopy.c: New file.
63412         * string/test-bzero.c: Likewise.
63413         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63414         defined.
63415         * string/test-memset.c: Support bzero test if TEST_BZERO is
63416         defined.
63417         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63418         __libc_memmove.
63419         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63420         __libc_memset.
63421         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63422         of memset.
63424 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63426         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63427         * configure: Regenerated.
63429         * Makeconfig (+link-static-before-libc): Don't include
63430         $(link-static-libc).
63432         * libio/libio.h (_IO_pos_t): Remove.
63434 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63436         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63437         McGrath.
63439 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63441         * crypt/crypt-entry.c: Include fips-private.h.
63442         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63443         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63444         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63445         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63447 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63449         * crypt/crypt-private.h: Include stdbool.h.
63450         (_ufc_setup_salt_r): Return bool.
63451         * crypt/crypt-entry.c: Include errno.h.
63452         (__crypt_r): Return NULL with EINVAL for bad salt.
63453         * crypt/crypt_util.c (bad_for_salt): New.
63454         (_ufc_setup_salt_r): Check that salt is long enough and within
63455         the specified alphabet.
63456         * crypt/badsalttest.c: New file.
63457         * crypt/Makefile (tests): Add it.
63458         ($(objpfx)badsalttest): New.
63460 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63462         * NEWS: Add entry for BZ #14602.
63464 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63466         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63467         type-generic.
63468         * math/libm-test.inc: Update comment listing what functions and
63469         macros are tested.
63470         (isgreater_test): New function.
63471         (isgreaterequal_test): Likewise.
63472         (isless_test): Likewise.
63473         (islessequal_test): Likewise.
63474         (islessgreater_test): Likewise.
63475         (isunordered_test): Likewise.
63476         (main): Call the new functions.
63478 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63480         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63481         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63482         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63483         * sysdeps/i386/configure: Regenerated.
63484         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63485         * sysdeps/mach/configure: Regenerated.
63486         * sysdeps/mach/hurd/configure: Regenerated.
63487         * sysdeps/powerpc/configure: Regenerated.
63488         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63489         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63490         * sysdeps/s390/s390-32/configure: Regenerated.
63491         * sysdeps/s390/s390-64/configure: Regenerated.
63492         * sysdeps/sh/configure: Regenerated.
63493         * sysdeps/sparc/configure: Regenerated.
63494         * sysdeps/unix/sysv/linux/configure: Regenerated.
63495         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63496         * sysdeps/x86_64/configure: Regenerated.
63498         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63499         defined.  Don't check if MAP is NULL.
63501 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63503         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63504         (_G_stat64): Likewise.
63505         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63506         (_G_stat64): Likewise.
63507         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63508         instead of struct _G_stat64.
63509         * libio/fileops.c (mmap_remap_check): Likewise.
63510         (decide_maybe_mmap): Likewise.
63511         (_IO_new_file_seekoff): Likewise.
63512         (_IO_file_stat): Likewise.
63513         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63514         _G_off64_t.
63515         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63516         instead of struct _G_stat64.
63517         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63519 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63521         [BZ #14602]
63522         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63523         Replace with ...
63524         (CHECK_EOL): New macro.
63525         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63526         CHECK_EOL.
63527         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63528         Replace with CHECK_EOL.
63529         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63530         Replace with CHECK_EOL.
63532 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63534         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63535         type-generic.
63536         * math/libm-test.inc: Update comment listing what functions and
63537         macros are tested.
63538         (finite_test): New function.
63539         (isinf_test): Likewise.
63540         (isnan_test): Likewise.
63541         (fpclassify_test): Test subnormal input.
63542         (isfinite_test): Likewise.
63543         (isnormal_test): Likewise.
63544         (main): Call the new functions.
63546 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63548         [BZ #14660]
63549         * Makerules (%.dynsym): Force C locale when running
63550         $(OBJDUMP) --dynamic-syms.
63552 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63554         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63555         <stdint.h>.
63557 2012-10-06  David S. Miller  <davem@davemloft.net>
63559         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63560         upper 32-bits of the length value in %o2 since we use branch-on-register
63561         tests which consider the entire 64-bit register.
63563 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63565         * string/test-strstr.c (check2): Add a test for page boundary.
63567 2012-10-05  David S. Miller  <davem@davemloft.net>
63569         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63570         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63571         file.
63572         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63573         sysdep_routines.
63574         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63575         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63576         and bzero when HWCAP_SPARC_CRYPTO is present.
63578 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63580         [BZ #14602]
63581         * string/test-strstr.c (check2): New function.
63582         (test_main): Call check2.
63584         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63585         and bug-strchr1.
63586         * string/bug-strcasestr1.c (do_test): Moved to ...
63587         * string/test-strcasestr.c (check1): Here.  New function.
63588         (do_one_test): Break out result checking code into ...
63589         (check_result): This.  New function.
63590         (do_one_test): Call check_result.
63591         (test_main): Call check1.
63592         * string/bug-strchr1.c (do_test): Moved to ...
63593         * string/test-strchr.c (check1): Here.  New function.
63594         (do_one_test): Break out result checking code into ...
63595         (check_result): This.  New function.
63596         (do_one_test): Call check_result.
63597         (test_main): Call check1.
63598         * string/bug-strstr1.c (main): Moved to ...
63599         * string/test-strstr.c (check1): Here.  New function.
63600         (do_one_test): Break out result checking code into ...
63601         (check_result): This.  New function.
63602         (do_one_test): Call check_result.
63603         (test_main): Call check1.
63604         * string/bug-strcasestr1.c: Removed.
63605         * string/bug-strchr1.c: Likewise.
63606         * string/bug-strstr1.c: Likewise.
63608         * elf/Makefile (dl-routines): Add hwcaps.
63609         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63610         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63611         (_dl_important_hwcaps): Moved to ...
63612         * elf/dl-hwcaps.c: Here.  New file.
63613         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63615         [BZ #14557]
63616         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63617         if IS_IN_rtld isn't defined.
63619         * elf/dl-support.c (_dl_sysinfo_map): New.
63620         Include "get-dynamic-info.h" and "setup-vdso.h".
63621         (_dl_non_dynamic_init): Call setup_vdso.
63622         * elf/dynamic-link.h: Don't include <assert.h>.
63623         (elf_get_dynamic_info): Moved to ...
63624         * elf/get-dynamic-info.h: Here.  New file.
63625         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63626         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63627         * elf/setup-vdso.h: Here.  New file.
63628         * elf/rtld.c: Include "setup-vdso.h".
63629         (dl_main): Call setup_vdso.
63631 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63633         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63634         creal in comment listing functions tested.  List finite, isinf,
63635         isnan, isless, islessequal, isgreater, isgreaterequal,
63636         islessgreater, isunordered, lgamma_r and pow10 as functions and
63637         macros not tested.  Mention which functions not tested are aliases
63638         for other functions.  Fix typo.  Note that signs of NaNs are not
63639         tested.
63641         * scripts/config.guess: Update from config.git.
63642         * scripts/config.sub: Likewise.
63644 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63646         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63647         * misc/madvise.c (madvise): Renamed to __madvise.
63648         Make madvise a weak alias.
63649         * include/sys/mman.h: Declare __madvise.
63650         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63651         * sysdeps/unix/syscalls.list
63652         (madvise): Make __madvise the strong name, and madvise a weak alias.
63653         * sysdeps/unix/sysv/linux/syscalls.list
63654         (madvise, mmap): Remove redundant entries.
63655         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63656         * malloc/malloc.c (mtrim): Likewise.
63657         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63659 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63661         * sysdeps/mach/hurd/dl-cache.c: File removed.
63662         * config.h.in (USE_LDCONFIG): New #undef.
63663         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63664         * configure: Regenerated.
63665         * elf/Makefile (dl-routines): Add dl-cache only under
63666         [$(use-ldconfig) = yes].
63667         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63668         cache on [USE_LDCONFIG].
63669         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63670         [USE_LDCONFIG].
63671         * elf/rtld.c (dl_main): Likewise.
63673 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63675         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63676         _SC_LEVEL4_CACHE_LINESIZE.
63678 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63680         * sysdeps/unix/bsd/confstr.h: File removed.
63682 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63684         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63685         sys/sdt-config.h.
63687 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63689         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63690         Make 'mapoff' field ElfW(Off) rather than off_t.
63692 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63694         * nscd/Makefile: Remove nscd-cflags and all its users.
63695         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63696         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63698         [BZ #10631]
63699         * malloc.c (malloc_printerr): Clarify error message.
63701 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63703         [BZ #14648]
63704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63705         Set bit_FMA_Usable if FMA is supported.
63706         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63707         macro.
63708         (bit_FMA4_Usable): Updated.
63709         (index_FMA_Usable): New macro.
63710         (CPUID_FMA): Likewise.
63711         (HAS_FMA): Defined with bit_FMA_Usable.
63713 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63715         * bits/types.h (__swblk_t): Type removed.
63716         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63717         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63719         (__SWBLK_T_TYPE): Likewise.
63720         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63721         (__SWBLK_T_TYPE): Likewise.
63722         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63723         (__SWBLK_T_TYPE): Likewise.
63724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63725         (__SWBLK_T_TYPE): Likewise.
63727 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63728             Honza Horak <hhorak@redhat.com>
63730         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63731         (xdr_mapname): Use YPMAXMAP as maxsize.
63732         (xdr_peername): Use YPMAXPEER as maxsize.
63733         (xdr_keydat): Use YPAXRECORD as maxsize.
63734         (xdr_valdat): Use YPMAXRECORD as maxsize.
63736 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63738         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63740         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63741         * csu/init-first.c: ... here.
63742         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63743         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63744         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63745         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63746         * sysdeps/i386/init-first.c: File removed.
63747         * sysdeps/sh/init-first.c: File removed.
63749 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63751         [BZ #14645]
63752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63753         if x * y might underflow to zero and z is zero.
63754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63756         * math/libm-test.inc (min_subnorm_value): New variable.
63757         (fma_test): Add more tests.
63758         (fma_test_towardzero): Likewise.
63759         (fma_test_downward): Likewise.
63760         (fma_test_upward): Likewise.
63761         (initialize): Set min_subnorm_value.
63763 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63765         [BZ #14638]
63766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63767         0 + 0.
63768         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63769         mode for addition resulting in exact zero.
63770         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63772         exact 0 + 0.
63773         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63775         * math/libm-test.inc (fma_test): Add more tests.
63776         (fma_test_towardzero): New function.
63777         (fma_test_downward): Likewise.
63778         (fma_test_upward): Likewise.
63779         (main): Call the new functions.
63781 2012-09-28  David S. Miller  <davem@davemloft.net>
63783         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63785 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63787         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63788         instead of SIGALRM.
63790         * sysdeps/gnu/_G_config.h: Moved to ...
63791         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63792         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63793         * sysdeps/generic/_G_config.h: ... here.
63795         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63797         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63799         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63800         Conditionalize target on [libnss_test1.so-version].
63802         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63804         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63805         (elfobjdir): Move out of conditionals.
63807         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63808         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63809         (__nss_lookup_function): Conditionalize label remove_from_tree on
63810         [!DO_STATIC_NSS || SHARED], matching its only use.
63812 2012-09-28  David S. Miller  <davem@davemloft.net>
63814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63815         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63816         file.
63817         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63818         sysdep_routines.
63819         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63821         when HWCAP_SPARC_CRYPTO is present.
63823 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63825         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63827 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63829         [BZ #6530]
63830         * stdio-common/vfprintf.c (process_string_arg): Revert
63831         2000-07-22 change.
63833 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63835         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63836         for testcase.
63837         * stdio-common/tst-sprintf.c: Include <locale.h>
63838         (main): Test sprintf's handling of incomplete multibyte
63839         characters.
63841 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63843         * elf/dl-runtime.c (VERSYMIDX): Removed.
63844         * elf/dl-version.c (VERSYMIDX): Likewise.
63845         * elf/do-rel.h (VERSYMIDX): Likewise.
63846         (VALIDX): Likewise.
63847         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63848         * elf/rtld.c (VALIDX): Likewise.
63849         (ADDRIDX): Likewise.
63850         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63851         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63852         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63853         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63854         (VALIDX): Likewise.
63855         (ADDRIDX): Likewise.
63857 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63859         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63861 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63863         [BZ #11438]
63864         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63865         to global scope.
63866         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63867         addresses are in the same scope as 192.0.2/24.
63868         * posix/gai.conf: Document new scope table defaults.
63870 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63872         [BZ #5298]
63873         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63874         for ftell.  Compute offsets from write pointers instead.
63875         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63877 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63879         [BZ #14543]
63880         * libio/Makefile (tests): New test case tst-fseek.
63881         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63882         combination works in wide mode.
63883         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63884         state when the external buffer state changes.
63886 2012-09-27  David S. Miller  <davem@davemloft.net>
63888         [BZ #14376]
63889         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63890         pass reloc->r_addend in as the 'high' argument to
63891         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63895 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63897         * rt/tst-aio2.c: Include <pthread.h>.
63898         * rt/tst-aio3.c: Likewise.
63900 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63902         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63904 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63906         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63907         contents on [SHARED].
63909 2012-09-26  Marek Polacek  <polacek@redhat.com>
63911         [BZ #14530]
63912         [BZ #13741]
63913         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63914         for C++ and GCC <4.3 as well as for non GCC compilers.
63916 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63920 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63922         * Makefile.in (all, install): Declare with .PHONY.
63923         Reported by Michael Hope <michael.hope@linaro.org>.
63925 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63927         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63928         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63929         system header.
63930         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63931         Likewise.
63932         (sydep_routines): Add the new and the internal functions.
63933         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63934         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63936         (GLIBC_2.17): Add the new function.
63937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63938         (GLIBC_2.17): Likewise.
63939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63940         (GLIBC_2.17): Likewise.
63941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63942         (GLIBC_2.17): Likewise.
63943         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63945 2012-09-25  Alan Modra  <amodra@gmail.com>
63947         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63948         Add release barrier before setting once_control to say
63949         initialisation is done.  Add hints on lwarx.  Use macro in
63950         place of isync.
63951         (clear_once_control): Add release barrier.
63953 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63955         [BZ #13629]
63956         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63957         specially.
63958         * math/s_clog10.c (__clog10): Likewise.
63959         * math/s_clog10f.c (__clog10f): Likewise.
63960         * math/s_clog10l.c (__clog10l): Likewise.
63961         * math/s_clogf.c (__clogf): Likewise.
63962         * math/s_clogl.c (__clogl): Likewise.
63963         * math/Makefile (libm-calls): Add x2y2m1.
63964         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63965         (__x2y2m1): Likewise.
63966         (__x2y2m1l): Likewise.
63967         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63968         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63969         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63970         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63971         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63972         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63973         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63974         * sysdeps/i386/fpu/libm-test-ulps: Update.
63975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63977         [BZ #14621]
63978         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63979         int as type of variable DEPTH.
63980         (glob): Use size_t instead of int as type of variables NEWCOUNT
63981         and OLD_PATHC.
63983 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63985         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63986         Add s_sincosf-sse2.
63987         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63988         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63989         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63990         macros for using routine as __sincosf_ia32.
63991         Use macro for function declaration and weak_alias.
63992         * sysdeps/i386/fpu/libm-test-ulps: Update.
63994         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63997         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63998         subnormal argument.
63999         * math/s_cexpf.c (__cexpf): Likewise.
64000         * math/s_csinf.c (__csinf): Likewise.
64001         * math/s_csinhf.c (__csinhf): Likewise.
64002         * math/s_ctanf.c (__ctanf): Likewise.
64003         * math/s_ctanhf.c (__ctanhf): Likewise.
64004         * math/s_ccosh.c (__ccoshf): Likewise.
64005         * math/s_cexp.c (__cexpl): Likewise.
64006         * math/s_csin.c (__csin): Likewise.
64007         * math/s_csinh.c (__csinh): Likewise.
64008         * math/s_ctan.c (__ctan): Likewise.
64009         * math/s_ctanh.c (ctanh): Likewise.
64010         * math/s_ccoshl.c (__ccoshl): Likewise.
64011         * math/s_cexpl.c (__cexpl): Likewise.
64012         * math/s_csinl.c (__csinl): Likewise.
64013         * math/s_csinhl.c (__csinhl): Likewise.
64014         * math/s_ctanl.c (__ctanl): Likewise.
64015         * math/s_ctanhl.c (__ctanhl): Likewise.
64017 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64019         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64020         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64021         (_IO_off_t): Define to __off_t, not _G_off_t.
64022         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64023         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64024         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64025         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64026         type of __dummy and __dummy2 fields.
64027         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64028         (_G_ssize_t): Likewise.
64029         (_G_off_t): Likewise.
64030         (_G_pid_t): Likewise.
64031         (_G_uid_t): Likewise.
64032         (_G_wchar_t): Likewise.
64033         (_G_wint_t): Likewise.
64034         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64035         (_G_ssize_t): Likewise.
64036         (_G_off_t): Likewise.
64037         (_G_pid_t): Likewise.
64038         (_G_uid_t): Likewise.
64039         (_G_wchar_t): Likewise.
64040         (_G_wint_t): Likewise.
64041         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64042         (_G_ssize_t): Likewise.
64043         (_G_off_t): Likewise.
64044         (_G_pid_t): Likewise.
64045         (_G_uid_t): Likewise.
64046         (_G_wchar_t): Likewise.
64047         (_G_wint_t): Likewise.
64049 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64051         * malloc/arena.c: Include malloc-sysdep.h.
64052         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64053         is sufficient to shrink the heap or an unmap is needed.
64054         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64055         new function check_may_shrink_heap.
64056         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64057         new function check_may_shrink_heap.
64059 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64061         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64062         comments.
64064 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64066         * catgets/test-gencat.sh: Add "set -e".
64067         * elf/tst-pathopt.sh: Likewise.
64068         * grp/tst_fgetgrent.sh: Likewise.
64069         * iconvdata/run-iconv-test.sh: Likewise.
64070         * intl/tst-gettext.sh: Likewise.
64071         * intl/tst-gettext2.sh: Likewise.
64072         * intl/tst-gettext4.sh: Likewise.
64073         * intl/tst-gettext6.sh: Likewise.
64074         * intl/tst-translit.sh: Likewise.
64075         * io/ftwtest-sh: Likewise.
64076         * libio/test-freopen.sh: Likewise.
64077         * malloc/tst-mtrace.sh: Likewise.
64078         * posix/globtest.sh: Likewise.
64079         * posix/tst-getconf.sh: Likewise.
64080         * posix/wordexp-tst.sh: Likewise.
64081         * stdio-common/tst-printf.sh: Likewise.
64082         * stdio-common/tst-unbputc.sh: Likewise.
64083         * stdlib/tst-fmtmsg.sh: Likewise.
64084         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64085         * catgets/Makefile: Do not specify -e option when running
64086         testsuite shell scripts.
64087         * elf/Makefile: Likewise.
64088         * grp/Makefile: Likewise.
64089         * iconvdata/Makefile: Likewise.
64090         * intl/Makefile: Likewise.
64091         * io/Makefile: Likewise.
64092         * libio/Makefile: Likewise.
64093         * malloc/Makefile: Likewise.
64094         * posix/Makefile: Likewise.
64095         * stdio-common/Makefile: Likewise.
64096         * stdlib/Makefile: Likewise.
64097         * sysdeps/x86_64/Makefile: Likewise.
64099         * io/ftwtest-sh: Add copyright header.
64100         * posix/globtest.sh: Likewise.
64101         * posix/tst-getconf.sh: Likewise.
64102         * posix/wordexp-tst.sh: Likewise.
64103         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64105 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64107         [BZ #13679]
64108         * Makeconfig (+link): Defined as $(+link-static) if
64109         $(build-shared) isn't yes.
64110         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64111         isn't yes.
64112         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64114         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64116         [BZ #14562]
64117         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64118         new chunk size with MALLOC_ALIGN_MASK.
64120 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64122         [BZ #5044]
64123         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64124         <rounding-mode.h>.
64125         (__printf_fphex): Determine rounding using get_rounding_mode and
64126         round_away.
64127         * stdio-common/tst-printf-round.c (struct hex_test): New
64128         structure.
64129         (hex_tests): New variable.
64130         (test_hex_in_one_mode): New function.
64131         (do_test): Also run tests for hex float output.
64133 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64135         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64136         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64137         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64138         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64139         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64140         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64141         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64142         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64144 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64146         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64147         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64148         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64149         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64151 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64153         [BZ #14579]
64154         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64155         mode only.
64156         * elf/tst-rtld-load-self.sh: New test.
64157         * elf/Makefile: Run it.
64159 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64161         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64162         (tst-writev-ENV): Remove.
64163         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64165 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64167         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64169 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64171         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64172         unconditional.
64173         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64174         Likewise.
64175         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64176         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64177         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64178         Likewise.
64180 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64182         [BZ #14587]
64183         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64184         * config.make.in (have-cpp-asm-debuginfo): Removed.
64185         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64186         * configure: Regenerated.
64188 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64190         [BZ #5044]
64191         * stdio-common/printf_fp.c: Include <stdbool.h> and
64192         <rounding-mode.h>.
64193         (___printf_fp): Determine rounding using get_rounding_mode and
64194         round_away.
64195         * stdio-common/tst-printf-round.c: New file.
64196         * stdio-common/Makefile (tests): Add tst-printf-round.
64197         (link-libm): New variable.
64198         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64200 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64202         [BZ #14576]
64203         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64204         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64205         Likewise.
64206         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64207         Likewise.
64209 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64211         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64212         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64213         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64214         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64216 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64218         [BZ #14518]
64219         * include/rounding-mode.h: New file.
64220         * sysdeps/generic/get-rounding-mode.h: Likewise.
64221         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64222         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64223         (MAX_VALUE): New macro.
64224         (MIN_VALUE): Likewise.
64225         (overflow_value): New function.
64226         (underflow_value): Likewise.
64227         (round_and_return): Use overflow_value and underflow_value to
64228         determine return values in overflow and underflow cases.  Use
64229         round_away to determine rounding depending on rounding mode.
64230         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64231         determine return values in overflow and underflow cases.
64232         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64233         (struct test_results): New structure.
64234         (struct test): Use struct test_results to store expected results
64235         for all rounding modes.
64236         (TEST): Include expected results for all rounding modes.
64237         (test_in_one_mode): New function.
64238         (do_test): Use test_in_one_mode to compute and check results.
64239         Check results for all rounding modes.
64240         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64241         $(link-libm).
64243 2012-12-09  Allan McRae  <allan@archlinux.org>
64245         * sysdeps/i386/fpu/libm-test-ulps: Update
64247 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64249         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64250         (_G_int32_t): Likewise.
64251         (_G_uint16_t): Likewise.
64252         (_G_uint32_t): Likewise.
64253         (_G_HAVE_BOOL): Likewise.
64254         (_G_HAVE_ATEXIT): Likewise.
64255         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64256         (_G_HAVE_IO_FILE_OPEN): Likewise.
64257         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64258         (_G_int32_t): Likewise.
64259         (_G_uint16_t): Likewise.
64260         (_G_uint32_t): Likewise.
64261         (_G_HAVE_BOOL): Likewise.
64262         (_G_HAVE_ATEXIT): Likewise.
64263         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64264         (_G_HAVE_IO_FILE_OPEN): Likewise.
64265         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64266         (_G_int32_t): Likewise.
64267         (_G_uint16_t): Likewise.
64268         (_G_uint32_t): Likewise.
64269         (_G_HAVE_BOOL): Likewise.
64270         (_G_HAVE_ATEXIT): Likewise.
64271         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64272         (_G_HAVE_IO_FILE_OPEN): Likewise.
64274 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64276         * csu/libc-tls.c: Update copyright years.
64278 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64280         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64281         [!_G_USING_THUNKS]: Remove conditional code.
64282         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64283         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64285         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64286         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64287         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64288         (_G_VTABLE_LABEL_PREFIX): Likewise.
64289         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64290         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64291         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64292         (_G_VTABLE_LABEL_PREFIX): Likewise.
64293         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64294         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64295         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64296         (_G_VTABLE_LABEL_PREFIX): Likewise.
64297         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64299 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64301         * libio/Makefile: Include ../Makeconfig before tests.
64302         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64303         only if $(build-shared) is yes.
64305         * iconv/gconv_db.c: Update copyright years.
64307 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64309         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64310         unwind info if defined PIC. Fix special cases description.
64311         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64313         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64314         DP_HI_MASK entry.
64315         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64317 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64319         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64321         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64322         is NULL.
64324         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64325         (LDLIBS-tst-chk4): This.
64326         (LDFLAGS-tst-chk5): Renamed to ...
64327         (LDLIBS-tst-chk5): This.
64328         (LDFLAGS-tst-chk6): Renamed to ...
64329         (LDLIBS-tst-chk6): This.
64330         (LDFLAGS-tst-lfschk4): Renamed to ...
64331         (LDLIBS-tst-lfschk4): This.
64332         (LDFLAGS-tst-lfschk5): Renamed to ...
64333         (LDLIBS-tst-lfschk5): This.
64334         (LDFLAGS-tst-lfschk6): Renamed to ...
64335         (LDLIBS-tst-lfschk6): This.
64337         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64338         on $(common-objpfx)soversions.mk.
64340 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64342         [BZ #10014]
64343         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64344         example host name.
64346 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64348         * malloc/arena.c (arena_get_retry): New function that gets
64349         another arena for the caller to try its request on.
64350         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64351         current arena cannot fulfill the request.
64352         (__libc_memalign): Likewise.
64353         (__libc_memalign): Likewise.
64354         (__libc_pvalloc): Likewise.
64355         (__libc_calloc): Likewise.
64357 2012-09-05  John Tobey  <john.tobey@gmail.com>
64359         [BZ #13542]
64360         * manual/arith.texi (Operations on Complex): Fix description
64361         of carg branch cut.
64363 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64365         [BZ #10014]
64366         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64367         host name.
64369         [BZ #10038]
64370         * manual/memory.texi (Memory): Make order of menu items match
64371         order of sections.
64373 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64375         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64376         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64377         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64379 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64381         * csu/libc-tls.c (static_dtv): Renamed to ...
64382         (_dl_static_dtv): This.  Make it global.
64383         (_dl_initial_dtv): Removed.
64384         (__libc_setup_tls): Updated.
64385         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64386         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64387         DL_INITIAL_DTV.
64389 2012-09-06  Petr Machata  <pmachata@redhat.com>
64391         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64392         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64393         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64394         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64398         [BZ #14545]
64399         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64400         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64401         freeing dtv[-1].
64403 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64405         [BZ #14544]
64406         * Makeconfig (link-static-before-libc): Replace $(+prector)
64407         with $(+prectorT).
64408         (link-static-after-libc): Replace $(+postctor) with
64409         $(+postctorT).
64410         (link-bounded): Replace $(+prector)/$(+postctor) with
64411         $(+prectorT)/$(+postctorT).
64412         (+prectorT): New macro.
64413         (+postctorT): Likewise.
64415 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64417         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64418         (round_str): Handle values above the maximum for IBM long double
64419         as inexact.
64420         * stdlib/tst-strtod-round.c (tests): Regenerated.
64422 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64424         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64425         assembler flag.
64426         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64427         zarch_nohighgprs around the zarch optimized routines.
64428         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64429         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64430         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64431         for zarch.
64433 2012-09-05  David S. Miller  <davem@davemloft.net>
64435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64437         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64438         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64439         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64440         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64441         entries.
64443 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64445         * malloc/arena.c: Fold copyright years.
64446         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64448 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64450         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64452 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64454         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64456 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64458         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64459         change internal state upon failure.
64461 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64463         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64464         * malloc/memusage.c (mmap): Likewise.
64465         (mmap64, mremap): Likewise.  Adjust name in comment.
64467 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64469         * libio/fileops.c: Fix typos in comments.
64470         * libio/oldfileops.c: Likewise.
64471         * libio/wfileops.c: Likewise.
64473 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64475         [BZ #1349]
64476         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64477         (tst-malloc-usable-ENV): Set environment for test case.
64478         * malloc/hooks.c (malloc_check_get_size): New function to get
64479         requested size.
64480         * malloc/malloc.c (musable): Use malloc_check_get_size.
64481         * malloc/tst-malloc-usable.c: New test case.
64483 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64485         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64487 2012-09-05  Allan McRae  <allan@archlinux.org>
64489         [BZ #13966]
64490         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64491         determine header location.
64492         * configure: Regenerated.
64494 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64496         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64497         float format.
64498         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64499         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64500         format.
64501         (test): Regenerate.
64503 2012-09-04  David S. Miller  <davem@davemloft.net>
64505         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64506         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64507         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64509 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64511         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64512         failures.
64514         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64516 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64518         [BZ #9914]
64519         * libio/iogetdelim.c: Include <limits.h>.
64520         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64521         + len + 1 would overflow.
64523 2012-09-03  Andreas Jaeger  <aj@suse.de>
64525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64526         * sysdeps/i386/fpu/libm-test-ulps: Update.
64528 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64530         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64531         Add s_sinf-sse2, s_conf-sse2.
64533         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64534         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64535         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64536         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64538         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64539         for using routine as __sinf_ia32.
64540         Use macro for function declaration and weak_alias.
64541         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64542         for using routine as __cosf_ia32.
64543         Use macro for function declaration and weak_alias.
64545         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64546         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64548         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64549         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64552         * math/libm-test.inc (cos_test): Add more test cases.
64553         (sin_test): Likewise.
64554         (sincos_test): Likewise.
64556 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64559         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64560         hidden.
64561         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64563 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64565         [BZ #14538]
64566         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64567         first element of the GOT.
64568         (elf_machine_load_address): Return the difference between
64569         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64571 2012-09-01  Allan McRae  <allan@archlinux.org>
64573         [BZ #13412]
64574         * configure.in (AWK): Require gawk version 3.0 or later.
64575         * configure: Regenerated.
64577 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64579         * sysdeps/unix/sysv/linux/kernel-features.h
64580         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64581         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64582         [__NR_clock_getres]: Make code unconditional.
64583         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64584         (clock_getcpuclockid): Remove code left unreachable by removal of
64585         conditionals.
64586         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64587         code unconditional.
64588         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64589         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64590         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64591         Make code unconditional.
64592         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64593         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64594         * sysdeps/unix/sysv/linux/clock_settime.c
64595         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64596         conditional code.
64597         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64598         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64600 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64602         [BZ #14476]
64603         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64604         scripts/test-installation.pl.
64606         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64607         and $ld_so_version if it is set.
64609 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64611         [BZ #14516]
64612         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64613         failure if reading from procfs failed.
64614         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64616 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64618         * sysdeps/unix/sysv/linux/kernel-features.h
64619         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64620         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64621         Remove conditional code.
64622         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64623         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64624         Remove conditional code.
64625         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64626         * sysdeps/unix/sysv/linux/i386/fxstat.c
64627         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64628         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64629         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64630         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64631         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64632         * sysdeps/unix/sysv/linux/i386/lxstat.c
64633         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64634         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64635         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64636         Remove conditional code.
64637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64638         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64639         Remove conditional code.
64640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64641         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64642         <kernel-features.h>.
64643         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64644         Remove.
64645         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64646         Remove conditional code.
64647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64648         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64649         Remove conditional.
64651 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64653         [BZ #5400]
64654         * NEWS: Add fixed bug number.
64656 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64658         [BZ #14519]
64659         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64660         underflowing exponent in case of negative sign.
64661         * stdlib/tst-strtod-round-data: Add more tests.
64662         * stdlib/tst-strtod-round.c (tests): Regenerated.
64664         [BZ #3479]
64665         * stdlib/strtod_l.c (NDIG): Remove.
64666         (HEXNDIG): Likewise.
64667         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64668         smallest representable value.
64669         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64670         lie within an exact representation of 1/2 ulp of the result.
64671         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64672         unconditionally.
64673         (TENS_P9_IDX): Define unconditionally.
64674         (TENS_P9_SIZE): Likewise.
64675         (TENS_P10_IDX): Likewise.
64676         (TENS_P10_SIZE): Likewise.
64677         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64678         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64679         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64680         entries for 10^2^13 and 10^2^14.
64681         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64682         (TENS_P13_IDX): Define.
64683         (TENS_P13_SIZE): Likewise.
64684         (TENS_P14_IDX): Likewise.
64685         (TENS_P14_SIZE): Likewise.
64686         (_fpioconst_pow10): Change array size to
64687         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64688         unconditional.
64689         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64690         1024]: Add entries for 10^2^13 and 10^2^14.
64691         [LAST_POW10 > _LAST_POW10]: Remove #error.
64692         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64693         (_fpioconst_pow10): Change array size to
64694         FPIOCONST_POW10_ARRAY_SIZE.
64695         * stdlib/gen-fpioconst.c: New file.
64696         * stdlib/gen-tst-strtod-round.c: Likewise.
64697         * stdlib/tst-strtod-round-data: Likewise.
64698         * stdlib/tst-strtod-round.c: Likewise.
64699         * stdlib/Makefile (tests): Add tst-strtod-round.
64701         [BZ #14459]
64702         * stdlib/strtod_l.c: Include <stdint.h>.
64703         (NDEBUG): Do not define.
64704         (round_and_return): Change EXPONENT parameter to type intmax_t.
64705         Rearrange calculations to avoid internal overflow possibilities.
64706         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64707         Rearrange calculations to avoid internal overflow possibilities.
64708         Assert that number fits inside MPNSIZE limbs.
64709         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64710         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64711         calculations and add assertions to avoid internal overflow
64712         possibilities.  Add casts to avoid signed/unsigned operations.
64713         * stdlib/tst-strtod-overflow.c: New file.
64714         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64716 2012-08-25  Marek Polacek  <polacek@redhat.com>
64718         * time/time.h: Fix some typos in comments.
64720 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64722         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64723         * posix/tst-rfc3484-2.c: Likewise.
64724         * posix/tst-rfc3484-3.c: Likewise.
64726 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64728         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64729         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64731 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64733         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64734         #include of fxstatat64.c.
64736 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64738         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64739         * shadow/getspent_r.c: Likewise.
64740         * shadow/getspnam.c: Likewise.
64741         * shadow/getspnam_r.c: Likewise.
64742         * gshadow/getsgent.c: Likewise.
64743         * gshadow/getsgent_r.c: Likewise.
64744         * gshadow/getsgnam.c: Likewise.
64745         * gshadow/getsgnam_r.c: Likewise.
64746         * inet/getnetbyad.c: Likewise.
64747         * inet/getnetbyad_r.c: Likewise.
64748         * inet/getnetbynm.c: Likewise.
64749         * inet/getnetbynm_r.c: Likewise.
64750         * inet/getnetent.c: Likewise.
64751         * inet/getnetent_r.c: Likewise.
64752         * inet/getproto.c: Likewise.
64753         * inet/getproto_r.c: Likewise.
64754         * inet/getprtent.c: Likewise.
64755         * inet/getprtent_r.c: Likewise.
64756         * inet/getprtname.c: Likewise.
64757         * inet/getprtname_r.c: Likewise.
64758         * inet/getrpcbyname.c: Likewise.
64759         * inet/getrpcbyname_r.c: Likewise.
64760         * inet/getrpcbynumber.c: Likewise.
64761         * inet/getrpcbynumber_r.c: Likewise.
64762         * inet/getrpcent.c: Likewise.
64763         * inet/getrpcent_r.c: Likewise.
64764         * inet/getaliasent.c: Likewise.
64765         * inet/getaliasent_r.c: Likewise.
64766         * inet/getaliasname.c: Likewise.
64767         * inet/getaliasname_r.c: Likewise.
64768         * nscd/getgrgid_r.c: Likewise.
64769         * nscd/getgrnam_r.c: Likewise.
64770         * nscd/gethstbyad_r.c: Likewise.
64771         * nscd/gethstbynm3_r.c: Likewise.
64772         * nscd/getpwnam_r.c: Likewise.
64773         * nscd/getpwuid_r.c: Likewise.
64774         * nscd/getsrvbynm_r.c: Likewise.
64775         * nscd/getsrvbypt_r.c: Likewise.
64776         * nscd/gai.c: Likewise.
64778         * configure.in (build_nscd): New substituted variable, set
64779         by --disable-build-nscd and defaults to $use_nscd.
64780         * configure: Regenerated.
64781         * config.make.in (build-nscd): New substituted variable.
64782         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64783         Change conditional to require [$(build-nscd) = yes] as well.
64784         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64786         [BZ# 13696]
64787         * configure.in (use_nscd): New substituted variable, set by
64788         --disable-nscd.  If enabled, define USE_NSCD.
64789         * configure: Regenerated.
64790         * config.h.in: Add USE_NSCD.
64791         * config.make.in (use-nscd): New substituted variable.
64792         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64793         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64794         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64795         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64796         (CFLAGS-getgrnam_r.c): Likewise.
64797         (CFLAGS-initgroups.c): Likewise.
64798         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64799         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64800         Variables removed.
64801         * inet/getnetgrent_r.c
64802         (nscd_setnetgrent): New function, broken out of ...
64803         (setnetgrent): ... here.  Call it.
64804         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64805         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64806         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64807         * nscd/Makefile (routines, aux): Move definitions after include of
64808         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64809         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64810         Conditionalize on [USE_NSCD].
64811         (is_nscd, nscd_init_cb): Likewise.
64812         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64813         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64814         * nss/nss_db/db-init.c: Likewise.
64815         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64816         [USE_NSCD].
64817         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64818         (make_request): Use it.
64819         (cache_valid_p): New function.
64820         (__check_pf): Use it.
64821         * NEWS: Add item for --disable-nscd.
64823 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64825         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64826         to support sed >= 4.2.1-20-ga9bf076.
64827         * configure: Regenerated.
64829 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64831         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64832         Conditionalize whole body on [IREL].
64834 2012-08-22  Jeff Law <law@redhat.com>
64836         [BZ #14505]
64837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64838         if the family is PF_UNSPEC.
64840 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64842         * Makerules (lib-version): Rename from V.
64843         (install-lib-nosubdir): Change V to lib-version.
64845 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64847         [BZ #14252]
64848         * powerpc32/power6/wcschr.c: New file.
64849         * powerpc32/power6/wcscpy.c: New file.
64850         * powerpc32/power6/wcsrchr.c: New file.
64851         * powerpc64/power6/wcschr.c: New file.
64852         * powerpc64/power6/wcscpy.c: New file.
64853         * powerpc64/power6/wcsrchr.c: New file.
64855 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64857         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64858         (two_way_short_needle): Use it.
64859         * string/strstr.c (AVAILABLE1_USES_J): Define.
64860         * string/strcasestr.c: Likewise.
64862         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64863         array references.
64864         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64866         [BZ #11607]
64867         * NEWS: Add an entry.
64868         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64869         define their defaults.
64870         (two_way_short_needle): Detect end-of-string on-the-fly.
64871         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64872         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64873         * string/bug-strcasestr1.c: New test.
64874         * string/Makefile: Run it.
64876 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64878         [BZ #11607]
64879         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64880         the first character.
64882 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64884         * csu/elf-init.c (__libc_csu_irel): Function removed.
64885         * csu/libc-start.c (apply_irel): New function.
64886         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64888 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64890         * sysdeps/unix/sysv/linux/kernel-features.h
64891         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64892         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64893         <kernel-features.h>.
64894         [__NR_fadvise64_64]: Make code unconditional.
64895         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64896         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64897         !__NR_fadvise64_64)]: Likewise.
64898         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64899         !__NR_fadvise64_64))]: Likewise.
64900         [__NR_fadvise64]: Make code unconditional.
64901         [!__NR_fadvise64]: Remove conditional code.
64902         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64903         <kernel-features.h>.
64904         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64905         unconditional.
64906         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64907         conditional code.
64908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64909         not include <kernel-features.h>.
64910         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64911         unconditional.
64912         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64913         conditional code.
64914         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64915         include <kernel-features.h>.
64916         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64917         unconditional.
64918         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64919         conditional code.
64921 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64923         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64924         slight instruction rearrangements per scrollpipe analysis.
64925         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64927 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64929         * manual/syslog.texi (syslog; vsyslog, closelog):
64930         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64931         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64933         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64934         DSOCAPS to match condition on defining it.
64936 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64938         * sysdeps/unix/sysv/linux/kernel-features.h
64939         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64941         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64942         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64944         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64945         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64947         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64948         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64950         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64951         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64953         * sysdeps/unix/sysv/linux/kernel-features.h
64954         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64955         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64956         unconditional.
64957         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64958         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64959         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64960         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64961         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64962         Make code unconditional.
64963         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64964         (__mmap64) [!__NR_mmap2]: Likewise.
64965         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64966         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64967         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64968         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64969         [__NR_mmap2]: Make code unconditional.
64970         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64971         (__mmap64) [!__NR_mmap2]: Likewise.
64973 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64975         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64977 2012-08-18  Andreas Jaeger  <aj@suse.de>
64979         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64981 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64983         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64984         * include/unistd.h (__have_sock_cloexec): Likewise.
64985         (__have_pipe2): Likewise.
64986         (__have_dup3): Likewise.
64988 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64990         [BZ #9685]
64991         * include/unistd.h (__have_pipe2): Change define into an extern int.
64992         (__have_dup3): Likewise.
64993         * socket/have_sock_cloexec.c: Include fcntl.h.
64994         (__have_pipe2): New variable.
64995         (__have_dup3): Likewise.
64997 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64999         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65001 2012-08-17  Marek Polacek  <polacek@redhat.com>
65003         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65004         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65006 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65008         * configure.in: Add AC_SUBST for sysheaders.
65009         * configure: Regenerated.
65010         * config.make.in (sysheaders): New substituted variable.
65012         * sysdeps/unix/mkfifo.c: Moved ...
65013         * sysdeps/posix/mkfifo.c: ... here.
65014         * sysdeps/unix/mkfifoat.c: Moved ...
65015         * sysdeps/posix/mkfifoat.c: ... here.
65017         * sysdeps/unix/utime.c: Moved ...
65018         * sysdeps/posix/utime.c: ... here.
65020         * sysdeps/unix/time.c: Moved ...
65021         * sysdeps/posix/time.c: ... here.
65022         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65023         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65025         * sysdeps/unix/nice.c: Moved ...
65026         * sysdeps/posix/nice.c: ... here.
65028         * sysdeps/unix/alarm.c: Moved ...
65029         * sysdeps/posix/alarm.c: ... here.
65031         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65033 2012-08-17  Jeff Law <law@redhat.com>
65035         * intl/Makefile (codeset_mo): New variable.
65036         ($(codeset_mo)): New target.
65037         (tst-codeset.out): Depend on that.  Remove explicit rule.
65038         (tst-gettext3.out, tst-gettext5.out): Likewise.
65039         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65040         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65041         * intl/tst-codeset.sh: Remove.
65042         * intl/tst-gettext3.sh: Likewise.
65043         * intl/tst-gettext5.sh: Likewise.
65045 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65047         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65048         * sysdeps/unix/syscalls.list: ... here.
65050         * sysdeps/posix/getaddrinfo.c
65051         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65052         (gaiconf_init, gaiconf_reload): Use them.
65053         [!_STATBUF_ST_NSEC]
65054         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65055         Define using time_t rather than struct timespec.
65057         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65058         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65059         Macros removed.
65060         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65061         [!NO_THREADS].
65062         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65063         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65064         Likewise.
65066         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65067         __libc_cleanup_push argument.
65069         * bits/param.h: New file.
65070         * misc/sys/param.h: New file.
65071         * include/sys/param.h: New file.
65072         * misc/Makefile (headers): Add bits/param.h.
65073         * sysdeps/generic/sys/param.h: File removed.
65074         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65075         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65076         * sysdeps/mach/hurd/bits/param.h: New file.
65077         * sysdeps/mach/hurd/sys/param.h: File removed.
65079         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65080         last change.
65082         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65083         [_IO_MTSAFE_IO].
65084         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65085         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65086         New macros.
65088         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65089         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65090         rather than -D_IO_MTSAFE_IO conditionally.
65091         * stdio-common/Makefile (CPPFLAGS): Likewise.
65092         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65093         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65094         Use $(libio-mtsafe).
65095         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65096         of -D_IO_MTSAFE_IO.
65097         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65098         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65099         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65100         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65101         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65102         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65103         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65104         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65105         (CFLAGS-fread_u_chk.c): Likewise.
65106         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65107         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65108         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65109         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65110         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65111         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65112         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65113         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65114         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65116         * libio/Makefile: Test [$(libc-reentrant) = yes]
65117         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65119         * Makeconfig
65120         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65121         * sysdeps/pthread/configure: File removed.
65122         * sysdeps/pthread/Makeconfig: New file.
65123         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65124         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65126 2012-08-16  Gary Benson  <gbenson@redhat.com>
65128         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65129         unmapping the first object in a namespace.
65131 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65133         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65134         (__internal_setnetgrent): ... this.  Add internal_function to
65135         definition.  Add libc_hidden_def.
65136         (setnetgrent): Update caller.
65137         (internal_endnetgrent): Renamed to ...
65138         (__internal_endnetgrent): ... this.  Add internal_function to
65139         definition.  Add libc_hidden_def.
65140         (endnetgrent): Update caller.
65141         (internal_getnetgrent_r): Renamed to ...
65142         (__internal_getnetgrent_r): ... this.  Add internal_function to
65143         definition.  Add libc_hidden_def.
65144         (__getnetgrent_r): Update caller.
65145         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65147 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65149         * stdlib/longlong.h: Update from GCC.
65151 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65153         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65154         on _QL, which is set by umul_ppmm but never used.
65155         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65156         variables, which are set by GMP macros but never used.
65157         * stdio-common/_itowa.c (_itowa): Likewise.
65158         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65159         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65161 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65163         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65164         struct La_sh_regs is not constant.
65165         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65166         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65167         and struct La_sparc64_regs are not constant.
65169 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65171         * sysdeps/unix/sysv/linux/kernel-features.h
65172         (__ASSUME_POSIX_TIMERS): Remove.
65173         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65174         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65175         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65176         Make code unconditional.
65177         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65178         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65179         Make code unconditional.
65180         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65181         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65182         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65183         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65184         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65185         Make code unconditional.
65186         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65187         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65188         (__libc_missing_posix_timers): Remove.
65190 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65192         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65193         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65195         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65197         * elf/dl-sym.c: Include <stdlib.h>.
65199         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65200         constants, which avoids warnings in 32-bit builds.
65202         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65203         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65205         * misc/lseek.c: File moved to ...
65206         * io/lseek.c: ... here.
65208         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65210         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65211         shifting LEN more than 31 bits at once.
65213 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65215         [BZ #14195]
65216         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65217         segmentation fault for a case of two empty input strings.
65218         * string/test-strncasecmp.c (check1): Renamed to...
65219         (bz12205): ...this.
65220         (bz14195): Add new testcase for two empty input strings and N > 0.
65221         (test_main): Call new testcase, adapt for renamed function.
65223 2012-08-15  Andreas Jaeger  <aj@suse.de>
65225         [BZ #14090]
65226         * crypt/md5test2.c: New test, based on test supplied by Serge
65227         Belyshev <belyshev@depni.sinp.msu.ru>.
65228         * crypt/Makefile (xtests): Add md5test-giant..
65229         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65231 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65233         [BZ #14090]
65234         * crypt/md5.c (md5_process_block): Don't assume the buffer
65235         length is less than 2**32.
65236         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65237         length is less than 2**64.
65239 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65241         * string/str-two-way.h: Include <sys/param.h>.
65242         (MAX): Macro removed.
65244         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65245         Move #define and #undef of memmove to just before and after
65246         including <string.h>.
65248         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65249         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65250         and after including <string.h>.  Move declarations of
65251         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65252         to before #include "string/memmove.c".
65254         * include/dirent.h: Declare __getdirentries.
65256         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65257         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65259 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65261         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65262         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65263         * sysdeps/i386/configure: Regenerated.
65264         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65265         STABS_CURRENT_FILE, and STABS_FUN.
65266         (END): Remove call to STABS_FUN_END.
65267         (STABS_CURRENT_FILE1): Delete.
65268         (STABS_CURRENT_FILE): Likewise.
65269         (STABS_FUN): Likewise.
65270         (STABS_FUN_END): Likewise.
65271         (STABS_FUN2): Likewise.
65272         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65273         * sysdeps/x86_64/configure: Regenerated.
65275 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65277         * elf/dl-open.c: Include <atomic.h>.
65278         * elf/dl-lookup.c: Likewise.
65280 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65282         * sysdeps/unix/sysv/linux/kernel-features.h
65283         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65284         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65285         unconditionally.
65286         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65287         unconditionally.
65288         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65289         condition on __ASSUME_CLONE_THREAD_FLAGS.
65291 2012-08-14  Andreas Jaeger  <aj@suse.de>
65293         * sysdeps/i386/fpu/libm-test-ulps: Update.
65295 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65297         * include/atomic.h (atomic_exchange_and_add): Split into ...
65298         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65299         New atomic macros.
65301 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65305 2012-08-13  Jeff Law <law@redhat.com>
65307         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65308         null byte in the output string.
65310 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65312         * sysdeps/unix/sysv/linux/kernel-features.h
65313         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65314         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65315         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65316         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65317         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65318         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65319         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65321 2012-08-09  Jeff Law <law@redhat.com>
65323         [BZ #13939]
65324         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65325         When avoid_arena is set, don't retry in the that arena.  Pick the
65326         next one, whatever it might be.
65327         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65328         (arena_lock): Pass in new parameter to arena_get2.
65329         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65330         arena_get2.
65331         (__libc_malloc): Unify retrying after main arena failure with
65332         __libc_memalign version.
65333         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65335 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65337         [BZ #14166]
65338         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65339         to __redirect_strstr.
65340         (__strstr_sse42): Use typeof __redirect_strstr.
65341         (__strstr_ia32): Likewise.
65342         (__libc_strstr): New prototype.
65343         (strstr): Renamed to ...
65344         (__libc_strstr): This.
65345         (strstr): New strong alias of __libc_strstr.
65346         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65347         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65348         __redirect_time.
65349         Include <time.h>.
65350         (__libc_time): New prototype.
65351         (time_ifunc): Replace time with __libc_time.
65352         (time): New strong alias and hidden definition of __libc_time.
65353         (__GI_time): Remove strong alias.
65354         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65355         Include <stddef.h>.
65356         (memmove): Redefined to __redirect_memmove.
65357         (__memmove_sse2): Use typeof __redirect_memmove.
65358         (__memmove_ssse3): Likewise.
65359         (__memmove_ssse3_back): Likewise.
65360         (__libc_memmove): New prototype.
65361         (memmove): Renamed to ...
65362         (__libc_memmove): This.
65363         (memmove): New strong alias of __libc_memmove.
65365 2012-08-08  Mark Salter  <msalter@redhat.com>
65367         * elf/elf.h
65368         (R_MN10300_TLS_GD): Define.
65369         (R_MN10300_TLS_LD): Likewise.
65370         (R_MN10300_TLS_LDO): Likewise.
65371         (R_MN10300_TLS_GOTIE): Likewise.
65372         (R_MN10300_TLS_IE): Likewise.
65373         (R_MN10300_TLS_LE): Likewise.
65374         (R_MN10300_TLS_DTPMOD): Likewise.
65375         (R_MN10300_TLS_DTPOFF): Likewise.
65376         (R_MN10300_TLS_TPOFF): Likewise.
65377         (R_MN10300_SYM_DIFF): Likewise.
65378         (R_MN10300_ALIGN): Likewise.
65379         (R_MN10300_NUM): Update.
65381 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65384         Remove.
65386 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65388         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65390         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65391         sysdeps/unix -> sysdeps/posix move.
65392         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65394 2012-08-07      Allan McRae     <allan@archlinux.org>
65396         [BZ #14303]
65397         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65398         (SUNOS_CPP): Likewise.
65399         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65400         not found.
65401         (open_input): Call CPP using execvp.
65403 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65405         * sysdeps/unix/sysv/linux/kernel-features.h
65406         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65407         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65408         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65409         (__ASSUME_WAITID_SYSCALL): Likewise.
65410         * sysdeps/unix/sysv/linux/dl-execstack.c
65411         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65412         code unconditional.
65413         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65414         conditional code.
65415         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65416         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65417         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65418         code.
65419         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65420         unconditional.
65421         [__ASSUME_WAITID_SYSCALL]: Likewise.
65422         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65424 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65426         * sysdeps/unix/closedir.c: Renamed to ...
65427         * sysdeps/posix/closedir.c: ... here.
65428         * sysdeps/unix/dirfd.c: Renamed to ...
65429         * sysdeps/posix/dirfd.c: ... here.
65430         * sysdeps/unix/dirstream.h: Renamed to ...
65431         * sysdeps/posix/dirstream.h: ... here.
65432         * sysdeps/unix/fdopendir.c: Renamed to ...
65433         * sysdeps/posix/fdopendir.c: ... here.
65434         * sysdeps/unix/opendir.c: Renamed to ...
65435         * sysdeps/posix/opendir.c: ... here.
65436         * sysdeps/unix/readdir.c: Renamed to ...
65437         * sysdeps/posix/readdir.c: ... here.
65438         * sysdeps/unix/readdir_r.c: Renamed to ...
65439         * sysdeps/posix/readdir_r.c: ... here.
65440         * sysdeps/unix/rewinddir.c: Renamed to ...
65441         * sysdeps/posix/rewinddir.c: ... here.
65442         * sysdeps/unix/seekdir.c: Renamed to ...
65443         * sysdeps/posix/seekdir.c: ... here.
65444         * sysdeps/unix/telldir.c: Renamed to ...
65445         * sysdeps/posix/telldir.c: ... here.
65446         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65447         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65448         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65449         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65451         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65452         * bits/fcntl.h: ... here.
65454         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65455         not 0.
65456         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65457         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65458         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65459         (struct flock): Move l_start, l_len to the beginning.
65460         Use __pid_t for l_pid.
65461         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65462         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65463         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65464         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65465         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65466         [__USE_LARGEFILE64] (struct flock64): New type.
65467         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65469         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65470         * bits/dirent.h: ... here.
65472         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65473         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65475 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65478         Change from 2.6.0 to 2.6.16.
65479         * sysdeps/unix/sysv/linux/configure: Regenerated.
65480         * sysdeps/unix/sysv/linux/kernel-features.h
65481         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65482         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65483         version.
65484         (__ASSUME_UTIMES): Likewise.
65485         (__ASSUME_CLONE_STOPPED): Remove.
65486         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65487         architectures, not kernel version.
65488         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65489         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65490         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65491         (__ASSUME_WAITID_SYSCALL): Likewise.
65492         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65493         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65494         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65495         refer to older versions.
65497 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65499         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65500         Define alphasort64 as an alias.
65501         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65502         Define versionsort64 as an alias.
65503         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65504         Define scandir64 as an alias.
65505         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65506         Define scandirat64 as an alias.
65507         * dirent/alphasort64.c (alphasort64):
65508         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65509         * dirent/versionsort64.c: Likewise.
65510         * dirent/scandir64.c: Likewise.
65511         * dirent/scandirat64.c: Likewise.
65512         * sysdeps/wordsize-64/alphasort.c: File removed.
65513         * sysdeps/wordsize-64/alphasort64.c: File removed.
65514         * sysdeps/wordsize-64/scandir.c: File removed.
65515         * sysdeps/wordsize-64/scandir64.c: File removed.
65516         * sysdeps/wordsize-64/scandirat.c: File removed.
65517         * sysdeps/wordsize-64/scandirat64.c: File removed.
65518         * sysdeps/wordsize-64/versionsort.c: File removed.
65519         * sysdeps/wordsize-64/versionsort64.c: File removed.
65520         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65521         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65522         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65523         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65524         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65525         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65526         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65527         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65529         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65531         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65532         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65533         [defined __arch64__ || defined __sparcv9]
65534         (__INO_T_MATCHES_INO64_T): New macro.
65535         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65536         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65537         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65538         * sysdeps/unix/sysv/linux/bits/dirent.h
65539         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65540         (_DIRENT_MATCHES_DIRENT64): New macro.
65542         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65543         Define lockf64 as an alias.
65544         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65545         Define fseeko64 as an alias.
65546         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65547         Define ftello64 as an alias.
65548         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65549         Define _IO_fgetpos64 and fgetpos64 as aliases.
65550         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65551         Define _IO_fsetpos64 and fsetpos64 as aliases.
65552         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65553         Conditionalize body on this.
65554         * libio/fseeko64.c: Likewise.
65555         * libio/ftello64.c: Likewise.
65556         * libio/iofgetpos64.c: Likewise.
65557         * libio/iofsetpos64.c: Likewise.
65558         * sysdeps/wordsize-64/lockf.c: File removed.
65559         * sysdeps/wordsize-64/lockf64.c: File removed.
65560         * sysdeps/wordsize-64/fseeko.c: File removed.
65561         * sysdeps/wordsize-64/fseeko64.c: File removed.
65562         * sysdeps/wordsize-64/ftello.c: File removed.
65563         * sysdeps/wordsize-64/ftello64.c: File removed.
65564         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65565         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65566         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65567         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65568         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65569         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65570         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65571         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65572         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65573         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65574         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65575         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65576         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65577         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65579         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65581         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65583         [defined __arch64__ || defined __sparcv9]
65584         (__OFF_T_MATCHES_OFF64_T): New macro.
65585         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65586         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65588         (__OFF_T_MATCHES_OFF64_T): New macro.
65590 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65592         * stdlib/secure-getenv.c (__secure_getenv): Replace
65593         GLIBC_2_16 with GLIBC_2_17.
65595 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65597         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65598         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65600 2012-08-03  David S. Miller  <davem@davemloft.net>
65602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65604 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65607         Remove.
65608         (__ASSUME_CORRECT_SI_PID): Likewise.
65609         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65610         (__ASSUME_TMPFS_NAME): Likewise.
65611         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65612         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65613         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65614         (HAVE_AUX_SECURE): Make definition unconditional.
65615         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65616         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65618 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65620         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65621         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65622         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65623         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65624         __eloop_threshold instead of SYMLOOP_MAX.
65626         * sysdeps/generic/eloop-threshold.h: New file.
65627         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65628         of MAXSYMLINKS.
65629         * elf/chroot_canon.c (chroot_canon): Likewise.
65631 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65633         [BZ #13717]
65634         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65635         Change to 2.6.0 everywhere.
65636         * sysdeps/unix/sysv/linux/configure: Regenerated.
65637         * sysdeps/unix/sysv/linux/kernel-features.h
65638         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65639         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65640         kernel versions.
65641         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65642         (__ASSUME_FUTEX_REQUEUE): Remove.
65643         (__ASSUME_STATFS64): Define unconditionally.
65644         (__ASSUME_AT_SECURE): Likewise.
65645         (__ASSUME_CORRECT_SI_PID): Likewise.
65646         (__ASSUME_TGKILL): Define without depending on kernel version for
65647         i386.
65648         (__ASSUME_UTIMES): Likewise.
65649         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65650         kernel version.
65651         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65652         (__ASSUME_TMPFS_NAME): Likewise.
65653         * README: Update reference to Linux kernel versions.
65655 2012-08-02  Marek Polacek  <polacek@redhat.com>
65657         [BZ# 14150]
65658         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65659         libc_cv_asm_type_prefix with %.
65660         * configure: Regenerated.
65661         * include/libc-symbols.h: Remove comment about
65662         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65663         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65664         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65665         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65666         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65667         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65668         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65669         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65670         * elf/tst-unique2mod1.c: Likewise.
65671         * elf/tst-unique1mod2.c: Likewise.
65672         * elf/tst-unique1mod1.c: Likewise.
65673         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65674         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65675         Replace ASM_TYPE_DIRECTIVE with .type.
65676         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65677         * sysdeps/i386/sysdep.h: Likewise.
65678         * sysdeps/x86_64/sysdep.h: Likewise.
65679         * sysdeps/sh/sysdep.h: Likewise.
65680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65681         Do not define ASM_TYPE_DIRECTIVE.
65682         * sysdeps/powerpc/sysdep.h: Likewise.
65683         * sysdeps/powerpc/powerpc32/sysdep.h:
65684         Replace ASM_TYPE_DIRECTIVE with .type.
65685         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65686         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65687         * sysdeps/i386/fpu/e_powf.S: Likewise.
65688         * sysdeps/i386/fpu/e_expl.S: Likewise.
65689         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65690         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65691         * sysdeps/i386/fpu/e_pow.S: Likewise.
65692         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65693         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65694         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65695         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65696         * sysdeps/i386/fpu/e_log2.S: Likewise.
65697         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65698         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65699         * sysdeps/i386/fpu/e_powl.S: Likewise.
65700         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65701         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65702         * sysdeps/i386/fpu/e_logl.S: Likewise.
65703         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65704         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65705         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65706         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65708         * sysdeps/i386/fpu/e_log.S: Likewise.
65709         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65710         * sysdeps/i386/fpu/e_logf.S: Likewise.
65711         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65712         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65713         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65714         * sysdeps/i386/fpu/e_log10.S: Likewise.
65715         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65716         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65717         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65718         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65719         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65720         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65721         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65722         * sysdeps/i386/i686/strtok.S: Likewise.
65723         * sysdeps/i386/i386-mcount.S: Likewise.
65724         * sysdeps/i386/strtok.S: Likewise.
65725         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65726         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65728         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65729         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65730         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65731         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65732         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65733         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65734         * sysdeps/x86_64/_mcount.S: Likewise.
65735         * sysdeps/x86_64/strtok.S: Likewise.
65736         * sysdeps/sh/_mcount.S: Likewise.
65738 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65740         * libio/iofopen.c: Include <fcntl.h>.
65741         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65742         (_IO_fopen64, fopen64): Define as aliases.
65743         * libio/iofopen64.c: Include <fcntl.h>.
65744         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65745         Conditionalize body on this.
65746         * sysdeps/wordsize-64/iofopen.c: File removed.
65747         * sysdeps/wordsize-64/iofopen64.c: File removed.
65749 2012-08-01  Marek Polacek  <polacek@redhat.com>
65751         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65752         Use dlfcn directly instead of a variable.
65753         (binfmt-subdir): Do not define.
65754         (dlfcn): Likewise.
65756 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65759         Remove all definitions.
65760         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65761         <kernel-features.h>.
65762         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65763         (miss_F_GETOWN_EX): Remove all definitions.
65764         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65765         macro definition.
65766         [!__ASSUME_FCNTL64]: Remove conditional code.
65767         [__ASSUME_FCNTL64]: Make code unconditional.
65768         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65769         <kernel-features.h>.
65770         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65771         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65772         (lockf64) [__NR_fcntl64]: Make code unconditional.
65773         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65775         * sysdeps/unix/sysv/linux/kernel-features.h
65776         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65777         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65778         Make code unconditional.
65779         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65780         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65782         [__NR_vfork]: Make code unconditional.
65783         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65784         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65786         [__NR_vfork]: Make code unconditional.
65787         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65788         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65790 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65792         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65793         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65795         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65796         Define mkstemp64 as an alias.
65797         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65798         Define mkstemps64 as an alias.
65799         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65800         Define mkostemp64 as an alias.
65801         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65802         Define mkostemps64 as an alias.
65803         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65804         Conditionalize body on this.
65805         * misc/mkostemp64.c: Likewise.
65806         * misc/mkostemps64.c: Likewise.
65807         * misc/mkstemps64.c: Likewise.
65808         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65809         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65810         * sysdeps/wordsize-64/mkostemp.c: File removed.
65811         * sysdeps/wordsize-64/mkstemp.c: File removed.
65812         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65813         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65815         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65817         [BZ #14138]
65818         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65819         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65820         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65821         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65823         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65824         compat_symbol macros from <shlib-compat.h> rather than the underlying
65825         default_symbol_version and symbol_version macros, so that DEFAULT
65826         lines in shlib-versions are respected.
65827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65829 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65831         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65832         Declare with warn_unused_result.
65833         (setgid, setregid, setegid, setresgid): Likewise.
65834         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65835         Likewise.
65836         * WUR-REPORT: Remove set*id functions.
65838 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65840         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65842 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65844         [BZ #10191]
65845         * include/sys/socket.h (__libc_accept, __libc_accept4):
65846         Add attribute_hidden.
65847         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65849         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65850         use of PTR_MANGLE.
65851         * inet/getnetgrent_r.c (setup): Likewise.
65853         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65855 2012-07-31  David S. Miller  <davem@davemloft.net>
65857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65859 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65861         [BZ #13629]
65862         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65863         value between 1.0 and 2.0 and smaller part has absolute value less
65864         than 1.0.
65865         * math/s_clog10.c (__clog10): Likewise.
65866         * math/s_clog10f.c (__clog10f): Likewise.
65867         * math/s_clog10l.c (__clog10l): Likewise.
65868         * math/s_clogf.c (__clogf): Likewise.
65869         * math/s_clogl.c (__clogl): Likewise.
65870         * math/libm-test.inc (clog_test): Add more tests.
65871         (clog10_test): Likewise.
65872         * sysdeps/i386/fpu/libm-test-ulps: Update.
65873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65875 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65877         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65878         Exit with zero in case no suitable GID is found, and write a
65879         message to standard error.
65881 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65883         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65884         rather than to 1.
65885         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65886         (MAXPATHLEN): Removed.
65887         (NOGROUP, NODEV): New macros.
65888         (setbit, clrbit, isset, isclr): New macros.
65889         (howmany, roundup, powerof2): New macros.
65890         (DEV_BSIZE): New macro.
65892         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65893         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65895         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65896         definition on [!__NO_LONG_DOUBLE_MATH].
65898         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65899         PTR_MANGLE and PTR_DEMANGLE.
65901         * socket/accept4.c (accept4): Rename to __libc_accept4.
65902         Define accept4 as a weak alias.
65904         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65905         on [_DIRENT_HAVE_D_TYPE].
65906         * io/ftw.c (ftw_dir): Likewise.
65908         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65910         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65912         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65913         Use the BSD numbers rather than the arbitrary ones we had.
65914         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65915         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65916         (SIGXCPU, SIGXFSZ): New macros.
65917         (_NSIG): Now 32.
65919         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65920         initializer on [_LIBC_REENTRANT].
65922         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65923         definitions inside [_POSIX_MAPPED_FILES].
65925         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65927         * dirent/opendir.c: Include <fcntl.h>.
65929         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65930         (__libc_getspecific): Likewise.
65931         (__libc_key_create): Likewise.
65933         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65934         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65935         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65936         (tmpfile64): Define as alias.
65937         * sysdeps/wordsize-64/tmpfile.c: File removed.
65938         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65939         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65940         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65942         * stdio-common/vfscanf.c: Include <stdbool.h>.
65943         * nss/makedb.c: Likewise.
65944         * stdio-common/_i18n_number.h: Likewise.
65945         * argp/argp-help.c: Likewise.
65946         * posix/wordexp.c: Likewise.
65947         * sysdeps/posix/spawni.c: Likewise.
65948         * nss/nss_files/files-initgroups.c: Likewise.
65949         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65950         * nss/nss_files/files-initgroups.c: Likewise.
65951         * nss/nss_db/db-netgrp.c: Likewise.
65952         * nss/nss_db/db-initgroups.c: Likewise.
65953         * io/fchmodat.c: Include <sys/stat.h>.
65955         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65956         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65958         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65959         [HAVE_MMAP].
65961         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65962         Add multiple inclusion protection.
65964 2012-07-27  David S. Miller  <davem@davemloft.net>
65966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65968 2012-07-27  Gary Benson  <gbenson@redhat.com>
65970         [BZ #14298]
65971         * elf/rtld.c: Include <stap-probe.h>.
65972         (dl_main): Added static probes "init_start" and "init_complete".
65973         * elf/dl-load.c: Include <stap-probe.h>.
65974         (lose): Take new parameter "nsid".
65975         Added static probe "map_failed".
65976         (_dl_map_object_from_fd): Pass namespace id to lose.
65977         Added static probe "map_start".
65978         (open_verify): Pass namespace id to lose.
65979         * elf/dl-open.c: Include <stap-probe.h>.
65980         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65981         and "reloc_complete".
65982         * elf/dl-close.c: Include <stap-probe.h>.
65983         (_dl_close_worker): Added static probes "unmap_start" and
65984         "unmap_complete".
65985         * elf/rtld-debugger-interface.txt: New file documenting the above.
65987 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65989         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65990         rather than a string variable.
65991         * sunrpc/rpc_main.c (h_output): Likewise.
65992         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65994 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65996         * inet/check_native.c: New file.
65998 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66000         [BZ #13629]
66001         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66002         if larger part has absolute value 1.0.
66003         * math/s_clog10.c (__clog10): Likewise.
66004         * math/s_clog10f.c (__clog10f): Likewise.
66005         * math/s_clog10l.c (__clog10l): Likewise.
66006         * math/s_clogf.c (__clogf): Likewise.
66007         * math/s_clogl.c (__clogl): Likewise.
66008         * math/libm-test.inc (clog_test): Add more tests.
66009         (clog10_test): Likewise.
66010         * sysdeps/i386/fpu/libm-test-ulps: Update.
66011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66013         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66014         (pltexit): Likewise.
66015         (La_regs): Likewise.
66016         (La_retval): Likewise.
66017         (int_retval): Likewise.
66018         Update #error for removed macros to refer only to definitions in
66019         tst-audit.h.
66020         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66021         macro.
66022         (pltexit): Likewise.
66023         (La_regs): Likewise.
66024         (La_retval): Likewise.
66025         (int_retval): Likewise.
66026         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66027         macro.
66028         (pltexit): Likewise.
66029         (La_regs): Likewise.
66030         (La_retval): Likewise.
66031         (int_retval): Likewise.
66032         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66033         macro.
66034         (pltexit): Likewise.
66035         (La_regs): Likewise.
66036         (La_retval): Likewise.
66037         (int_retval): Likewise.
66038         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66039         macro.
66040         (pltexit): Likewise.
66041         (La_regs): Likewise.
66042         (La_retval): Likewise.
66043         (int_retval): Likewise.
66044         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66045         macro.
66046         (pltexit): Likewise.
66047         (La_regs): Likewise.
66048         (La_retval): Likewise.
66049         (int_retval): Likewise.
66050         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66051         macro.
66052         (pltexit): Likewise.
66053         (La_regs): Likewise.
66054         (La_retval): Likewise.
66055         (int_retval): Likewise.
66056         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66057         macro definitions in tst-audit.h.
66058         * sysdeps/i386/tst-audit.h: New file.
66059         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66060         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66061         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66062         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66063         * sysdeps/sh/tst-audit.h: Likewise.
66064         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66065         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66066         * sysdeps/x86_64/tst-audit.h: Likewise.
66068 2012-07-26  Andreas Jaeger  <aj@suse.de>
66070         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66071         ptrace.
66073         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66074         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66075         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66076         PTRACE_O_MASK.
66077         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66078         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66079         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66081         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66082         value.
66084         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66085         _sigsys.
66086         (si_call_addr, si_syscall, si_arch): Define new macro.
66087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66088         _sigsys.
66089         (si_call_addr, si_syscall, si_arch): Define new marcro.
66090         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66091         _sigsys.
66092         (si_call_addr, si_syscall, si_arch): Define new macro.
66093         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66094         _sigsys.
66095         (si_call_addr, si_syscall, si_arch): Define new macro.
66097 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66099         [BZ #13717]
66100         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66101         Change to 2.4.21 where previously 2.4.1.
66102         * sysdeps/unix/sysv/linux/configure: Regenerated.
66103         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66104         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66105         Linux kernel version.
66106         (__ASSUME_STD_AUXV): Remove.
66107         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66108         kernel version.
66109         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66110         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66111         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66112         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66113         (__ASSUME_NETLINK_SUPPORT): Likewise.
66114         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66115         (__no_netlink_support): Remove conditional definition.
66116         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66117         Remove.
66118         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66119         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66120         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66121         (if_nameindex_ioctl): Remove.
66122         (if_nameindex_netlink): Do not handle __no_netlink_support.
66123         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66124         code.
66125         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66126         Remove conditional code.
66127         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66128         code.
66129         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66130         unconditional.
66131         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66132         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66133         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66134         Remove.
66135         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66136         [!__ASSUME_STD_AUXV]: Remove conditional code.
66137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66138         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66139         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66141         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66142         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66143         code.
66144         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66146         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66147         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66148         conditional code.
66149         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66151         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66152         code.
66153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66154         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66155         conditional code.
66156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66157         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66158         code unconditional.
66159         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66160         conditional code.
66161         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66162         unconditional.
66163         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66164         conditional code.
66165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66166         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66167         unconditional.
66168         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66169         conditional code.
66170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66171         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66172         code unconditional.
66173         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66174         conditional code.
66175         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66176         unconditional.
66177         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66178         conditional code.
66179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66180         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66181         code unconditional.
66182         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66183         conditional code.
66184         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66185         unconditional.
66186         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66187         conditional code.
66189 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66191         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66192         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66193         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66194         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66195         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66196         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66197         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66198         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66199         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66200         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66201         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66202         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66203         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66204         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66205         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66206         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66207         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66208         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66209         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66211         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66212         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66215 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66217         * Versions.def: Add GLIBC_2.17.
66218         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66219         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66220         Introduce __libc_secure_getenv.
66221         * stdlib/Versions (2.17): Add secure_getenv
66222         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66223         * stdlib/secure-getenv.c: Rename __secure_getenv to
66224         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66225         symbol __secure_getenv for GLIBC_2.0.
66226         * stdlib/tst-secure-getenv.c: New.
66227         * stdlib/Makefile (tests): Add testcase.
66228         * manual/startup.texi (Environment Access): Document
66229         secure_getenv.
66230         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66231         __libc_secure_getenv.
66232         * inet/ruserpass.c (ruserpass): Likewise.
66233         * malloc/mtrace.c (mtrace): Likewise.
66234         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66235         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66236         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66237         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66238         HAVE_SECURE_GETENV.
66239         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66240         __secure_getenv to __libc_secure_getenv.
66241         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66243         Likewise.
66244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66245         Likewise.
66246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66248         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66254 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66256         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66257         (struct La_i86_retval): Likewise.
66258         (struct La_x86_64_regs): Likewise.
66259         (struct La_x86_64_retval): Likewise.
66260         (struct La_x32_regs): Likewise.
66261         (struct La_x32_retval): Likewise.
66262         (struct La_ppc32_regs): Likewise.
66263         (struct La_ppc32_retval): Likewise.
66264         (struct La_ppc64_regs): Likewise.
66265         (struct La_ppc64_retval): Likewise.
66266         (struct La_sh_regs): Likewise.
66267         (struct La_sh_retval): Likewise.
66268         (struct La_s390_32_regs): Likewise.
66269         (struct La_s390_32_retval): Likewise.
66270         (struct La_s390_64_regs): Likewise.
66271         (struct La_s390_64_retval): Likewise.
66272         (struct La_sparc32_regs): Likewise.
66273         (struct La_sparc32_retval): Likewise.
66274         (struct La_sparc64_regs): Likewise.
66275         (struct La_sparc64_retval): Likewise.
66276         (struct audit_ifaces): Remove architecture-specific pltenter and
66277         pltexit members.
66278         * sysdeps/i386/ldsodefs.h: New file.
66279         * sysdeps/powerpc/ldsodefs.h: Likewise.
66280         * sysdeps/s390/ldsodefs.h: Likewise.
66281         * sysdeps/sh/ldsodefs.h: Likewise.
66282         * sysdeps/sparc/ldsodefs.h: Likewise.
66283         * sysdeps/x86_64/ldsodefs.h: Likewise.
66285 2012-07-25  Marek Polacek  <polacek@redhat.com>
66287         [BZ #6808]
66288         * math/libm-test.inc (yn_test): Add another test.
66289         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66290         to ERANGE when the result is +-Inf.
66291         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66292         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66293         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66294         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66296 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66298         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66299         equal to 0.
66300         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66301         clock_t.
66302         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66304 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66306         * configure.in <sysdeps resolving>: Correct printing
66307         Implies_before.
66308         * configure: Regenerate.
66310 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66312         * math/w_ilogb.c: Include <limits.h>.
66313         * math/w_ilogbl.c: Likewise.
66315 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66317         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66318         va_copy.  Document allowing for unavailable va_copy only as
66319         pre-C99 compatibility.
66320         * manual/string.texi (Copying and Concatenation): Use va_copy
66321         instead of __va_copy in concat example.
66323 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66325         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66326         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66327         it if not null.
66329         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66330         with O_NOLINK passed to __file_name_lookup.
66332         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66333         with O_NOLINK passed to __file_name_lookup.
66335         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66336         negative N or less than NGIDS.
66338         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66339         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66340         enough.  Use memcpy instead of strncpy.
66342 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66344         * elf/Makefile (check-data): Remove.
66345         (localplt.data): New vpath directive.
66346         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66347         instead of $(check-data).
66348         * scripts/data/localplt-generic.data: Move to ...
66349         * sysdeps/generic/localplt.data: ... here.
66350         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66351         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66352         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66354         ... here.
66355         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66357         ... here.
66358         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66360         ... here.
66361         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66363         ... here.
66364         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66366         ... here.
66367         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66369         ... here.
66371 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66373         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66374         PPC32 and PPC64 files.
66375         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66376         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66378 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66380         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66381         __makecontext_ret to ...
66382         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66383         ... here and call exit if uc_link is NULL.  New file.
66384         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66385         __makecontext_ret.S.
66386         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66387         __makecontext_ret to ...
66388         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66389         ... here and call exit if uc_link is NULL.  New file.
66390         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66391         __makecontext_ret.S.
66393 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66395         * elf/elf.h (R_390_IRELATIVE): New definition.
66396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66397         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66398         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66399         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66400         (elf_machine_lazy_rel): Likewise.
66401         * sysdeps/s390/dl-irel.h: New file.
66402         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66403         * sysdeps/s390/s390-64/memset.S: New asm code.
66404         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66405         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66406         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66407         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66408         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66409         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66410         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66411         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66412         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66413         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66414         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66415         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66416         * sysdeps/s390/s390-32/memset.S: New asm code.
66417         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66419 2012-07-17  Marek Polacek  <polacek@redhat.com>
66421         [BZ #14349]
66422         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66423         * sysdeps/s390/s390-64/configure.in: Likewise.
66424         * sysdeps/sparc/configure.in: Likewise.
66425         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66426         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66427         * sysdeps/i386/configure.in: Likewise.
66428         * sysdeps/x86_64/configure.in: Likewise.
66429         * sysdeps/sh/configure.in: Likewise.
66430         * sysdeps/s390/s390-32/configure: Regenerated.
66431         * sysdeps/s390/s390-64/configure: Likewise.
66432         * sysdeps/x86_64/configure: Likewise.
66433         * sysdeps/sh/configure: Likewise.
66434         * sysdeps/powerpc/powerpc64/configure: Likewise.
66435         * sysdeps/powerpc/powerpc32/configure: Likewise.
66436         * sysdeps/sparc/configure: Likwise.
66437         * sysdeps/i386/configure: Likewise.
66439         * elf/dl-open.c: Comment fixes.
66441 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66443         * Makefile [CXX] (check-data): Remove.
66444         [CXX] (c++-types.data): New vpath directive.
66445         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66446         vpath.  Do not allow for C++ type data being missing.
66447         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66448         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66449         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66450         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66451         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66452         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66453         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66455         ... here.
66456         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66458         ... here.
66459         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66461         ... here.
66462         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66464         ... here.
66465         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66467         ... here.
66468         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66470         ... here.
66471         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66473         ... here.
66474         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66477         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66478         definitions to architecture-specific files.
66479         (TLS_IE): Likewise.
66480         (TLS_LD): Likewise.
66481         (TLS_GD): Likewise.
66482         * sysdeps/i386/tls-macros.h: New file.
66483         * sysdeps/powerpc/tls-macros.h: Likewise.
66484         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66485         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66486         * sysdeps/sh/tls-macros.h: Likewise.
66487         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66488         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66489         * sysdeps/x86_64/tls-macros.h: Likewise.
66491 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66493         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66494         zero value for regular exit case.
66496         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66497         (__start_context): Preserve zero value for regular exit case.
66499 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66500             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66502         * manual/setjmp.texi (setcontext): Clarify normal process
66503         termination when uc_link is the null pointer.
66504         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66505         exit call.
66507 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66509         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66510         preprocessor.  Test for each exception mask separately.
66512 2012-07-16  Andreas Jaeger  <aj@suse.de>
66514         * po/ru.po: Update from translation team.
66516 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66518         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66519         equal to 0.
66520         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66521         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66522         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66523         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66524         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66526 2012-07-13  Andreas Jaeger  <aj@suse.de>
66528         * po/fr.po: Update from translation team.
66530 2012-07-12  Marek Polacek  <polacek@redhat.com>
66532         [BZ #14173]
66533         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66534         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66535         loop condition.
66537 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66539         [BZ #13717]
66540         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66541         Change to 2.4.1 where previously 2.4.0.
66542         * sysdeps/unix/sysv/linux/configure: Regenerated.
66543         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66544         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66545         version.
66546         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66547         (__ASSUME_AT_CLKTCK): Remove.
66548         (__ASSUME_AT_PAGESIZE): Likewise.
66549         (__ASSUME_AT_XID): Likewise.
66550         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66551         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66552         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66553         unconditionally.
66554         (HAVE_AUX_PAGESIZE): Likewise.
66555         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66556         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66557         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66559 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66561         [BZ #14307]
66562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66563         the temporary buffer used to invoke __gethostbyname2_r,
66564         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66565         host_data / struct gaih_addrtuple.
66566         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66567         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66568         header file nss/nsswitch.h.
66569         * nss/nsswitch.h (global scope): Add definition of implementation
66570         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66571         resolv/nss_dns/dns-host.c).
66573 2012-07-11  Andreas Jaeger  <aj@suse.de>
66575         * po/fr.po: Update from translation team.
66577         * po/sv.po: Update from translation team
66578         * po/fr.po: Another update from translation team.
66580 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66583         for subnormals or multiply small sinh result by itself.
66584         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66587 2012-07-11  David S. Miller  <davem@davemloft.net>
66589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66591 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66593         [BZ #14347]
66594         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66595         (INTERNAL_MARK): Shift it here.
66597 2012-07-10  Marek Polacek  <polacek@redhat.com>
66599         [BZ #14151]
66600         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66601         libc_cv_asm_global_directive with .globl.
66602         * configure: Regenerated.
66603         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66604         with .globl.
66605         * sysdeps/i386/configure: Regenerated.
66606         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66607         with .globl.
66608         * sysdeps/x86_64/configure: Regenerated.
66609         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66610         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66611         * elf/tst-unique2mod2.c: Likewise.
66612         * elf/tst-unique2mod1.c: Likewise.
66613         * elf/tst-unique1mod2.c: Likewise.
66614         * elf/tst-unique1mod1.c: Likewise.
66615         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66616         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66617         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66618         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66619         * sysdeps/mach/sysdep.h: Likewise.
66620         * sysdeps/i386/sysdep.h: Likewise.
66621         * sysdeps/i386/i386-mcount.S: Likewise.
66622         * sysdeps/x86_64/_mcount.S: Likewise.
66623         * sysdeps/x86_64/sysdep.h: Likewise.
66624         * sysdeps/sh/_mcount.S: Likewise.
66625         * sysdeps/sh/sysdep.h: Likewise.
66626         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66627         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66628         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66629         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66630         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66631         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66632         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66633         * locale/localeinfo.h: Likewise.
66634         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66635         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66637 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66639         [BZ #14336]
66640         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66641         system".
66642         * manual/message.texi (The Uniforum approach): Likewise.
66643         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66644         (glibc iconv Implementation): Likewise.
66646 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66648         [BZ #14337]
66649         * math/s_clog.c (__clog): Avoid scaling a value down where that
66650         could result in underflow.
66651         * math/s_clog10.c (__clog10): Likewise.
66652         * math/s_clog10f.c (__clog10f): Likewise.
66653         * math/s_clog10l.c (__clog10l): Likewise.
66654         * math/s_clogf.c (__clogf): Likewise.
66655         * math/s_clogl.c (__clogl): Likewise.
66656         * math/libm-test.inc (clog_test): Add more tests.
66657         (clog10_test): Likewise.
66658         * sysdeps/i386/fpu/libm-test-ulps: Update.
66659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66661 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66663         [BZ #14283]
66664         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66665         by 7 not 8 to examine high bit of fractional part.
66667         [BZ #14042]
66668         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66669         for call to __mcount_internal.
66670         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66671         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66672         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66674 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66676         [BZ #14154]
66677         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66678         approximation for values within 0x1p-13f of an odd multiple of
66679         pi/4.
66680         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66681         exception.  Add more tests.
66682         * sysdeps/i386/fpu/libm-test-ulps: Update.
66684         [BZ #6778]
66685         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66686         inputs and return -1 for them.  Do not check for +Inf in case not
66687         reachable for +Inf.
66688         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66689         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66690         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66691         and return -1 for them.  Do not check for +Inf in case not
66692         reachable for +Inf.
66693         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66694         define.
66695         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66696         and return -1 for them.  Do not check for +Inf in case not
66697         reachable for +Inf.
66698         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66699         spurious underflow.
66700         * sysdeps/i386/fpu/libm-test-ulps: Update.
66701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66703 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66705         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66707 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66709         [BZ #14157]
66710         [BZ #14331]
66711         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66712         could result in spurious underflow.  Scale down values above
66713         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66714         * math/s_csqrtf.c (__csqrtf): Likewise.
66715         * math/s_csqrtl.c (__csqrtl): Likewise.
66716         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66717         spurious underflow.
66718         * sysdeps/i386/fpu/libm-test-ulps: Update.
66719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66721 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66723         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66724         xopen-msg.sed.
66725         * catgets/xopen-msg.awk: New file.
66726         * catgets/xopen-msg.sed: Removed.
66728         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66729         po2text.sed.
66730         * intl/po2test.awk: New file.
66731         * intl/po2test.sed: Removed.
66733 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66735         [BZ #14328]
66736         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66737         or multiply small sinh result by itself.
66738         * math/s_ctanf.c (__ctanf): Likewise.
66739         * math/s_ctanh.c (__ctanh): Likewise.
66740         * math/s_ctanhf.c (__ctanhf): Likewise.
66741         * math/s_ctanhl.c (__ctanhl): Likewise.
66742         * math/s_ctanl.c (__ctanl): Likewise.
66743         * math/libm-test.inc (ctan_test_tonearest): New function.
66744         (ctan_test_towardzero): Likewise.
66745         (ctan_test_downward): Likewise.
66746         (ctan_test_upward): Likewise.
66747         (ctanh_test_tonearest): Likewise.
66748         (ctanh_test_towardzero): Likewise.
66749         (ctanh_test_downward): Likewise.
66750         (ctanh_test_upward): Likewise.
66751         (main): Call these new functions.
66752         * sysdeps/i386/fpu/libm-test-ulps: Update.
66753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66755 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66757         * .gitignore: Delete /ports entry.
66759 2012-07-03  Andreas Jaeger  <aj@suse.de>
66761         * po/bg.po: Update from translation team.
66762         * po/cs.po: Likewise.
66763         * po/de.po: Likewise.
66764         * po/hr.po: Likewise.
66765         * po/nl.pl: Likewise.
66766         * po/pl.po: Likewise.
66767         * po/vi.po: Likewise.
66769 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66771         * Makeconfig [!+link] (+link-before-libc): New variable.
66772         [!+link] (+link-after-libc): Likewise.
66773         [!+link] (+link-tests): Likewise.
66774         [!+link] (+link): Define in terms of $(+link-before-libc) and
66775         $(+link-after-libc).
66776         [!+link-static] (+link-static-before-libc): New variable.
66777         [!+link-static] (+link-static-after-libc): Likewise.
66778         [!+link-static] (+link-static-tests): Likewise.
66779         [!+link-static] (+link-static): Define in terms of
66780         $(+link-static-before-libc) and $(+link-static-after-libc).
66781         [build-shared] (link-libc-before-gnulib): New variable.
66782         [build-shared] (link-libc-tests): Likewise.
66783         [build-shared] (link-libc): Define in terms of
66784         $(link-libc-before-gnulib).
66785         [!build-shared] (link-libc-tests): New variable.
66786         (link-libc-static-tests): New variable.
66787         [!gnulib] (gnulib-arch): New variable.
66788         [!gnulib] (gnulib-tests): Likewise.
66789         [!gnulib] (static-gnulib-arch): Likewise.
66790         [!gnulib] (static-gnulib-tests): Likewise.
66791         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66792         Define with "=" instead of ":=".
66793         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66794         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66795         * Rules (binaries-all-notests): New variable.
66796         (binaries-all-tests): Likewise.
66797         (binaries-static-notests): Likewise.
66798         (binaries-static-tests): Likewise.
66799         (binaries-all): Define using $(binaries-all-notests) and
66800         $(binaries-all-tests).
66801         (binaries-static): Define using $(binaries-static-notests) and
66802         $(binaries-static-tests).
66803         (binaries-shared-tests): New variable.
66804         (binaries-shared-notests): Likewise.
66805         (binaries-shared): Remove variable.
66806         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66807         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66808         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66809         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66810         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66811         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66812         * elf/Makefile (sln-modules): New variable.
66813         (extra-objs): Add $(sln-modules:=.o).
66814         (ldconfig-modules): Add static-stubs.
66815         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66816         * elf/static-stubs.c: New file.
66818         [BZ #14283]
66819         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66820         by 7 not 8 to examine high bit of fractional part.  Use volatile
66821         variables when splitting into final array of floats if
66822         __FLT_EVAL_METHOD__ != 0.
66823         * math/libm-test.inc (cos_test): Add another test.
66824         (sin_test): Likewise.
66825         * sysdeps/i386/fpu/libm-test-ulps: Update.
66827         [BZ #14273]
66828         * math/libm-test.inc (cosh_test): Add more tests.
66830         * version.h (RELEASE): Set to "development".
66831         (VERSION): Set to "2.16.90".
66833 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66835         * NEWS: Update copyright. Remove last-updated date.
66836         Mention math library bug fixes and timezone data changes.
66837         * README: Mention GNU/Hurd, x32, and HPPA support status.
66839 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66841         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66843 2012-06-27  Andreas Jaeger  <aj@suse.de>
66845         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66847 2012-06-25  Andreas Jaeger  <aj@suse.de>
66849         * sysdeps/s390/fpu/libm-test-ulps: Update.
66851 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66852             Thomas Schwinge  <thomas@codesourcery.com>
66854         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66855         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66857         fanotify_mark.
66859 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66861         * sysdeps/mach/start.c: Remove file.
66862         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66863         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66864         * sysdeps/sh/init-first.c: Likewise.
66866         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66867         registers for frame unwinding purposes, add CFI directives.
66868         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66869         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66870         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66871         Likewise.
66873         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66874         __fortify_fail returning.
66875         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66877         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66878         sysdeps/sh/____longjmp_chk.S.
66879         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66880         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66881         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66882         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66884         * sysdeps/sh/abort-instr.h: New file.
66885         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66886         process in case exit returns.
66888         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66889         initialize the GOT register before use.
66891         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66892         calculation of ARGC > 4.
66894         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66895         meaningful names to some local labels.
66897 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66898             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66900         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66901         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66902         (__arch_compare_and_exchange_val_16_acq): Likewise.
66903         (__arch_compare_and_exchange_val_32_acq): Likewise.
66904         (atomic_exchange_and_add): Fix gUSA sequence.
66905         (atomic_add): Likewise.
66906         (atomic_add_negative): Likewise.
66907         (atomic_add_zero): Likewise.
66908         (atomic_bit_test_set): Likewise.
66910 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66912         [BZ #13579]
66913         * include/link.h (struct link_map): Add l_free_initfini.
66914         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66915         l_initfini.
66916         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66917         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66918         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66919         set.
66921 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66923         * configure.in: Use AC_LANG_SOURCE.
66924         * configure: Regenerate.
66926 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66928         * configure.in (libc_cv_localstatedir): New substituted variable.
66929         * configure: Regenerated.
66930         * config.make.in (localstatedir): New variable, substituted from
66931         libc_cv_localstatedir.
66932         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66933         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66934         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66935         * sysdeps/gnu/configure: Regenerated.
66937 2012-06-21  Jeff Law  <law@redhat.com>
66939         [BZ #14277]
66940         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66941         free.  Simplify list management for _LIBC case.
66943 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66945         [BZ #14273]
66946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66947         Clear sign bit of 64-bit integer value before comparing against
66948         overflow value.
66950         * sysdeps/mach/configure: Regenerated.
66952 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66954         [BZ #14278]
66955         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66957 2012-06-21  Jeff Law  <law@redhat.com>
66959         [BZ #13882]
66960         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66961         uint16_t for elements in the "seen" array to avoid char overflows.
66962         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66963         * elf/dl-open.c (dl_open_worker): Likewise.
66965 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66967         * scripts/list-sources.sh: Scan PORTS for translations.
66968         * po/libc.pot: Regenerated.
66970 2012-06-21  Andreas Jaeger  <aj@suse.de>
66972         [BZ #12194]
66973         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66974         warning.
66975         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66976         * bits/byteswap-16.h (__bswap_16): Likewise.
66977         * bits/byteswap.h (__bswap_constant_16): Likewise.
66979 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66981         [BZ #14117]
66982         * sysdeps/i386/fpu_control.h: Removed.
66983         * sysdeps/x86_64/fpu_control.h: Moved to ...
66984         * sysdeps/x86/fpu_control.h: Here.
66986         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66987         (_FPU_SETCW): Likewise.
66989 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66991         [BZ #14117]
66992         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66993         * sysdeps/x86/fpu/bits/mathinline.h: This.
66994         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66996         [BZ #14050]
66997         [BZ #14117]
66998         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66999         functions if __x86_64__ is defined.
67001 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67003         * string/endian.h: Add !__ASSEMBLER__ condition for including
67004         conversion interfaces.
67006 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67008         [BZ #14241]
67009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67010         of ABS(x) in calculating zero to negative powers other than odd
67011         integers.
67012         * math/libm-test.inc (pow_test): Add more tests.
67014 2012-06-15  Andreas Jaeger  <aj@suse.de>
67016         * manual/contrib.texi (Contributors): Update entry of Liubov
67017         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67018         Machado Filho.
67020 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67022         * string/string.h: Add __wur to GNU version of strerror_r.
67024 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67026         [BZ #14229]
67027         * string/Makefile (tests): Add tst-strtok_r.
67028         * string/tst-strtok_r.c: New file.
67029         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67030         RAX_LP/RDX_LP on SAVE_PTR.
67032 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67034         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67036 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67038         * libm_test.inc (csqrt_test): Allow more spurious underflow
67039         exceptions.
67040         (j0_test): Likewise.
67041         (j1_test): Likewise.
67042         (y0_test): Likewise.
67043         (y1_test): Likewise.
67045 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67047         * po/Makefile (libc.pot): Use UTF-8 charset.
67049 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67051         [BZ #14210]
67052         Suppress sign-conversion warning from FD_SET.
67053         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67054         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67055         not unsigned long int.
67056         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67058 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67060         [BZ #14050]
67061         [BZ #14117]
67062         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67063         __extern_always_inline instead of __extern_inline.
67064         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67065         (__signbit): Likewise.
67066         (__signbitl): Support C++ namespace.
67067         (lrintf): New inline function.
67068         (lrint): Likewise.
67069         (llrintf): Likewise.
67070         (llrint): Likewise.
67071         (fmaxf): Likewise.
67072         (fmax): Likewise.
67073         (fminf): Likewise.
67074         (fmin): Likewise.
67075         (rint): Likewise.
67076         (rintf): Likewise.
67077         (ceil): Likewise.
67078         (ceilf): Likewise.
67079         (floor): Likewise.
67080         (floorf): Likewise.
67081         (nearbyint): Likewise.
67082         (nearbyintf): Likewise.
67084 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67086         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67087         non-default versions.
67089 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67091         [BZ #14218]
67092         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67094 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67096         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67097         (FE_UPWARD, FE_DOWNWARD): Don't define.
67098         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67099         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67101         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67102         reading it.
67103         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67104         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67106 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67108         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67109         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67110         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67111         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67113 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67115         [BZ #14117]
67116         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67117         * sysdeps/i386/fpu/Implies: New file.
67118         * sysdeps/x86_64/fpu/Implies: Likewise.
67119         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67120         * sysdeps/x86/fpu/bits/fenv.h: This.
67122         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67123         __SSE_MATH__.
67125 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67127         [BZ #14134]
67128         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67129         character 0xffff that matches the last element of the
67130         conversion table.
67132 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67134         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67135         fmodl commit.
67137 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67139         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67140         values higher than 25.6283.
67142 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67145         subnormal exponent extraction and add some __builtin_expect.
67146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67147         Fix for subnormal mantissa calculation.
67149 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67151         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67152         cpu2 is -1 and errno is not ENOSYS.
67154 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67156         [BZ #14117]
67157         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67158         * sysdeps/x86/bits/string.h: This.
67159         * sysdeps/x86_64/bits/string.h: Removed.
67161         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67162         if not compiling for x86-64, but compiling for >= i486.
67164         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67165         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67167         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67168         New macro from Linux kernel 3.4.0.
67169         (FP_XSTATE_MAGIC2): Likewise.
67170         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67171         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67172         (struct _fpx_sw_bytes): New struct.
67173         (struct _xsave_hdr): Likewise.
67174         (struct _ymmh_state): Likewise.
67175         (struct _xstate): Likewise.
67177         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67178         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67179         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67180         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67181         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67182         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67184         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67185         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67186         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67187         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67188         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67189         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67191 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67193         [BZ #13743]
67194         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67195         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67196         (sysdep_headers): Include sys/platform/ppc.h.
67197         * sysdeps/powerpc/test-gettimebase.c: Test for
67198         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67199         * manual/Makefile (appendices): Include platform.texi.
67200         * manual/contrib.texi (Contributors): Update @node pointers.
67201         * manual/maint.texi (Maintenance): Likewise.
67202         (Platform): New node.
67203         * manual/platform.texi: New file.  Document the new features.
67205 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67206             Jakub Jelinek  <jakub@redhat.com>
67208         [BZ #14188]
67209         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67210         where __builtin_expect is unavailable.
67212 2012-06-03  David S. Miller  <davem@davemloft.net>
67214         * stdlib/longlong.h: Updated from GCC.
67216 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67218         [BZ #14042]
67219         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67220         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67221         __mcount_internal.
67222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67223         (GLIBC_2.16): Likewise.
67225 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67227         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67229 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67232         (default-abi): New variable.
67233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67234         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67235         variable.
67236         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67237         Likewise.
67238         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67239         Likewise.
67240         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67241         Likewise.
67243         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67244         definition.  Document in comment.
67246 2012-06-01  David S. Miller  <davem@davemloft.net>
67248         * stdlib/longlong.h: Updated from GCC.
67250 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67252         [BZ #14117]
67253         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67254         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67255         sys/debugreg.h sys/io.h here.
67256         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67257         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67258         sys/io.h.
67259         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67260         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67261         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67262         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67263         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67264         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67266         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67267         Define only if __x86_64__ is defined.
67269 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67271         [BZ #14048]
67272         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67273         Use int64_t for variable i.
67274         * math/libm-test.inc (fmod_test): Add more tests.
67276         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67277         z computation is not scheduled after fetestexcept.
67278         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67279         Use math_force_eval instead of asm to ensure calculation scheduled
67280         before exception test.
67281         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67282         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67284 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67287         computation is not scheduled after fetestexcept.
67289 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67291         [BZ #14117]
67292         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67293         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67295 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67297         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67298         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67300 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67302         [BZ #14117]
67303         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67304         <bits/wordsize.h>.
67305         (__WCHAR_MIN): Support __WORDSIZE == 64.
67306         (__WCHAR_MAX): Likewise.
67308         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67309         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67311         [BZ #14183]
67312         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67313         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67315         [BZ #14117]
67316         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67317         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67319         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67320         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67322         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67323         Defined to 1 if __x86_64__ isn't defined.
67324         (_STAT_VER_LINUX_OLD): New.
67325         (st_atime): Remove duplicate.
67326         (st_mtime): Likewise.
67327         (st_ctime): Likewise.
67329 2012-05-31  David S. Miller  <davem@davemloft.net>
67331         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67332         entries.
67334 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67336         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67337         gen-libm-test.pl.
67339         [BZ #14132]
67340         * elf/dl-reloc.c: Include <_itoa.h>.
67341         (_dl_reloc_bad_type): Remove use of INTUSE.
67342         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67343         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67344         * stdio-common/psiginfo.c (psiginfo): Likewise.
67345         * stdio-common/psignal.c (psignal): Likewise.
67346         * string/strsignal.c (strsignal): Likewise.
67347         * include/signal.h (_sys_siglist): Declare hidden proto.
67348         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67349         INTVARDEF with libc_hidden_data_def.
67350         * stdio-common/itoa-udigits.c: Likewise.
67351         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67352         (_itoa_lower_digits_internal): Remove declaration.
67353         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67354         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67355         (_sys_sigabbrev_internal): Remove aliases.
67356         (_sys_siglist): Define hidden alias.
67358 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67361         bits/sysctl.h.
67363 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67365         [BZ #14117]
67366         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67367         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67369         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67370         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67371         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67372         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67373         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67374         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67376         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67377         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67378         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67380         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67381         with __addr.
67382         (insw): Likewise.
67383         (insl): Likewise.
67384         (outsb): Likewise.
67385         (outsw): Likewise.
67386         (outsl): Likewise.
67388         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67389         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67390         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67392         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67393         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67394         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67395         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67396         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67397         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67399         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67400         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67402         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67403         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67407         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67409         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67410         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67411         to ...
67412         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67414         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67415         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67416         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67418         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67419         for x86-64.
67420         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67422 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67424         * math/math.h (M_El): Use two more decimal places.
67425         (M_LOG2El): Likewise.
67426         (M_LOG10El): Likewise.
67427         (M_LN2l): Likewise.
67428         (M_LN10l): Likewise.
67429         (M_PIl): Likewise.
67430         (M_PI_2l): Likewise.
67431         (M_PI_4l): Likewise.
67432         (M_1_PIl): Likewise.
67433         (M_2_PIl): Likewise.
67434         (M_2_SQRTPIl): Likewise.
67435         (M_SQRT2l): Likewise.
67436         (M_SQRT1_2l): Likewise.
67438 2012-05-31  David S. Miller  <davem@davemloft.net>
67440         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67441         values between float registers.
67442         * sysdeps/sparc/sparc64/memset.S: Likewise.
67443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67445 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67447         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67448         -D_FORTIFY_SOURCE=1.
67449         (CPPFLAGS-tst-longjmp_chk.c): Define.
67450         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67451         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67452         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67453         CFLAGS-tst-wchar-h.c.
67455 2012-05-31  Marek Polacek  <polacek@redhat.com>
67457         [BZ #14132]
67458         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67459         __endmntent_internal): Remove declaration.
67460         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67461         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67462         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67464 2012-05-30  David S. Miller  <davem@davemloft.net>
67466         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67467         (___Q_simulate_exceptions): Use real FP ops rather than writing
67468         into the %fsr.
67469         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67470         Likewise.
67472 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67474         [BZ #14117]
67475         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67476         * sysdeps/x86/bits/xtitypes.h: This.
67478         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67479         * sysdeps/x86/bits/wordsize.h: This.
67481         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67482         * sysdeps/x86/bits/huge_vall.h: This.
67484         * sysdeps/i386/bits/select.h: Removed.
67485         * sysdeps/x86_64/bits/select.h: Renamed to ...
67486         * sysdeps/x86/bits/select.h: This.
67488         * sysdeps/i386/bits/setjmp.h: Removed.
67489         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67490         * sysdeps/x86/bits/setjmp.h: This.
67492         * sysdeps/i386/bits/mathdef.h: Removed.
67493         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67494         * sysdeps/x86/bits/mathdef.h: This.
67496 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67498         [BZ #14132]
67499         * include/sys/socket.h (__connect_internal)
67500         (__libc_sa_len_internal): Remove declaration.
67501         (__connect, __libc_sa_len): Declare hidden_proto.
67502         (SA_LEN): Remove use of INTUSE.
67503         * socket/connect.c: Add libc_hidden_def.
67504         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67505         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67506         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67507         alias.
67508         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67509         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67510         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67511         of adding _internal alias.
67513 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67515         [BZ #14117]
67516         * sysdeps/i386/bits/link.h: Removed.
67517         * sysdeps/i386/bits/linkmap.h: Likewise.
67518         * sysdeps/x86_64/bits/link.h: Renamed to ...
67519         * sysdeps/x86/bits/link.h: This.
67520         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67521         * sysdeps/x86/bits/linkmap.h: This.
67523         * sysdeps/i386/bits/endian.h: Removed.
67524         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67525         * sysdeps/x86/bits/endian.h: This.
67527         * sysdeps/i386/bits/byteswap.h: Removed.
67528         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67529         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67530         * sysdeps/x86/bits/byteswap.h: This.
67531         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67532         * sysdeps/x86/bits/byteswap-16.h: This.
67533         * sysdeps/i386/Implies: Add x86.
67534         * sysdeps/x86_64/Implies: Likewise.
67536 2012-05-30  David S. Miller  <davem@davemloft.net>
67538         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67539         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67540         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67541         (FP_TRAPPING_EXCEPTIONS): Define.
67542         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67543         (FP_TRAPPING_EXCEPTIONS): Define.
67544         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67545         subnormals only when inexact has been signalled or underflow
67546         exceptions are enabled.
67547         (_FP_PACK_CANONICAL): Likewise.
67549 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67551         [BZ #14183]
67552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67553         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67555 2012-05-30  Richard Henderson  <rth@twiddle.net>
67557         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67558         with #ifndef NOT_IN_libc.
67560         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67561         marked to avoid plt entry.
67563 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67565         [BZ #14112]
67566         * Makeconfig (default-abi): New macro.
67567         (abi-includes): Likewise.
67568         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67569         $(abi-$(default-abi)-lib-soname) for soname if defined.
67570         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67571         abi-variants.
67572         * Makefile (installed-stubs): Likewise.
67573         * include/stubs-biarch.h: Removed.
67574         * scripts/lib-names.awk: Only handle one library at a time.
67575         * scripts/soversions.awk: Remove WORDSIZE support.
67576         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67577         entries.
67578         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67579         Removed.
67580         (syscall-list-default-condition): Likewise.
67581         (syscall-list-default-condition): Likewise.
67582         (syscall-list-includes): Likewise.
67583         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67584         syscall-list-* with abi-*.  Handle undefined abi-variants.
67585         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67586         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67587         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67588         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67589         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67590         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67591         Removed.
67592         (syscall-list-32-options): Likewise.
67593         (syscall-list-32-condition): Likewise.
67594         (syscall-list-64-options): Likewise.
67595         (syscall-list-64-condition): Likewise.
67596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67597         macro.
67598         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67599         Renamed to ...
67600         (abi-*): This.
67601         (abi-64-ld-soname): New macro.
67602         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67603         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67604         Renamed to ...
67605         (abi-*): This.
67606         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67607         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67609 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67611         * sysdeps/unix/sysv/linux/kernel-features.h
67612         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67613         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67614         include <kernel-features.h>.
67615         [!__NR_ftruncate64]: Remove conditional code.
67616         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67617         [__NR_ftruncate64]: Make code unconditional.
67618         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67619         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67620         include <kernel-features.h>.
67621         [!__NR_ftruncate64]: Remove conditional code.
67622         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67623         [__NR_ftruncate64]: Make code unconditional.
67624         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67626         include <kernel-features.h>.
67627         [!__NR_ftruncate64]: Remove conditional code.
67628         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67629         [__NR_ftruncate64]: Make code unconditional.
67630         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67632         include <kernel-features.h>.
67633         [!__NR_ftruncate64]: Remove conditional code.
67634         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67635         [__NR_ftruncate64]: Make code unconditional.
67636         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67638         * configure.in (libc_cv_fpie): Weaken to a compile test using
67639         LIBC_TRY_CC_OPTION.
67640         * configure: Regenerated.
67642 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67648         Refreshed.
67649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67655         Refreshed.
67657 2012-05-27  David S. Miller  <davem@davemloft.net>
67659         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67660         (___Q_zero): New.
67661         (__Q_simulate_exceptions): Return void.  Change to simulate
67662         exceptions by writing into the %fsr.
67663         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67664         (__Qp_handle_exceptions): Likewise.
67665         (numbers): Delete.
67666         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67667         __Qp_handle_exceptions.
67668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67669         __Qp_handle_exceptions.
67670         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67671         as unused and give dummy FP_RND_NEAREST initializer.
67672         (FP_INHIBIT_RESULTS): Define.
67673         (___Q_simulate_exceptions): Update declaration.
67674         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67675         formatting.
67676         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67677         as unused and give dummy FP_RND_NEAREST initializer.
67678         (__Qp_handle_exceptions): Update declaration.
67679         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67680         formatting.
67682 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67684         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67685         the temporary FPU control word.
67686         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67687         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67688         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67689         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67690         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67691         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67692         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67693         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67694         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67695         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67696         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67698 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67700         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67701         fields.
67703 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67705         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67706         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67707         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67708         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67709         Likewise.
67710         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67711         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67712         Likewise.
67714 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67716         * po/h.po: Update from translation team.
67718 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67720         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67722         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67723         handling of denormals.
67724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67725         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67726         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67727         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67731         Likewise.
67733 2012-05-26  Marek Polacek  <polacek@redhat.com>
67735         [BZ #14152]
67736         * math/libm-test.inc (fma_test): Don't always expect underflow
67737         exception.
67739 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67741         [BZ #12416]
67742         * elf/tst-execstack.c: Include stackinfo.h.
67743         (do_test): Adjust test case to ensure that pthread_getattr_np
67744         behaviour remains the same after marking stack executable.
67746 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67748         * sysdeps/unix/sysv/linux/kernel-features.h
67749         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67750         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67751         kernel-features.h.
67752         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67753         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67754         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67755         kernel-features.h.
67756         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67757         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67759 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67761         * configure.in: Define the default includes to being none.
67762         * configure: Regenerated.
67764 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67766         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67767         * sysdeps/x86_64/setjmp.S: Likewise.
67768         * sysdeps/i386/bsd-setjmp.S: Likewise.
67769         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67770         * sysdeps/i386/setjmp.S: Likewise.
67771         * sysdeps/i386/__longjmp.S: Likewise.
67772         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67773         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67775         * include/stap-probe.h: New file.
67776         * configure.in: Handle --enable-systemtap.
67777         * configure: Regenerated.
67778         * config.h.in (USE_STAP_PROBE): New #undef.
67779         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67780         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67781         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67783 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67785         [BZ #13717]
67786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67787         to 2.4.0 where earlier.
67788         * sysdeps/unix/sysv/linux/configure: Regenerated.
67789         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
67798         [__ASSUME_32BITUIDS]: Make code unconditional.
67799         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67800         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67801         <kernel-features.h>.
67802         [__ASSUME_32BITUIDS]: Make code unconditional.
67803         [!__ASSUME_32BITUIDS]: Remove conditional code.
67804         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67805         <kernel-features.h>.
67806         [__ASSUME_32BITUIDS]: Make code unconditional.
67807         [!__ASSUME_32BITUIDS]: Remove conditional code.
67808         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67809         <kernel-features.h>.
67810         [__ASSUME_32BITUIDS]: Make code unconditional.
67811         [!__ASSUME_32BITUIDS]: Remove conditional code.
67812         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67813         <kernel-features.h>.
67814         [__ASSUME_32BITUIDS]: Make code unconditional.
67815         [!__ASSUME_32BITUIDS]: Remove conditional code.
67816         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67817         <kernel-features.h>.
67818         [__ASSUME_32BITUIDS]: Make code unconditional.
67819         [!__ASSUME_32BITUIDS]: Remove conditional code.
67820         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67821         <kernel-features.h>.
67822         [__ASSUME_32BITUIDS]: Make code unconditional.
67823         [!__ASSUME_32BITUIDS]: Remove conditional code.
67824         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67825         <kernel-features.h>.
67826         [__ASSUME_32BITUIDS]: Make code unconditional.
67827         [!__ASSUME_32BITUIDS]: Remove conditional code.
67828         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67829         <kernel-features.h>.
67830         [__ASSUME_32BITUIDS]: Make code unconditional.
67831         [!__ASSUME_32BITUIDS]: Remove conditional code.
67832         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67833         <kernel-features.h>.
67834         [__ASSUME_32BITUIDS]: Make code unconditional.
67835         [!__ASSUME_32BITUIDS]: Remove conditional code.
67836         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67837         <kernel-features.h>.
67838         [__ASSUME_32BITUIDS]: Make code unconditional.
67839         [!__ASSUME_32BITUIDS]: Remove conditional code.
67840         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67841         <kernel-features.h>.
67842         [__NR_setresgid] (__setresgid): Do not declare.
67843         [__ASSUME_32BITUIDS]: Make code unconditional.
67844         [!__ASSUME_32BITUIDS]: Remove conditional code.
67845         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67846         <kernel-features.h>.
67847         [__NR_setresuid] (__setresuid): Do not declare.
67848         [__ASSUME_32BITUIDS]: Make code unconditional.
67849         [!__ASSUME_32BITUIDS]: Remove conditional code.
67850         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67851         <kernel-features.h>.
67852         [__ASSUME_32BITUIDS]: Make code unconditional.
67853         [!__ASSUME_32BITUIDS]: Remove conditional code.
67854         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67855         <kernel-features.h>.
67856         [__ASSUME_32BITUIDS]: Make code unconditional.
67857         [!__ASSUME_32BITUIDS]: Remove conditional code.
67858         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67859         <kernel-features.h>.
67860         [__ASSUME_32BITUIDS]: Make code unconditional.
67861         [!__ASSUME_32BITUIDS]: Remove conditional code.
67862         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67863         <kernel-features.h>.
67864         [__ASSUME_32BITUIDS]: Make code unconditional.
67865         [!__ASSUME_32BITUIDS]: Remove conditional code.
67866         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67867         <kernel-features.h>.
67868         [__ASSUME_32BITUIDS]: Make code unconditional.
67869         [!__ASSUME_32BITUIDS]: Remove conditional code.
67870         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67871         <kernel-features.h>.
67872         [__ASSUME_32BITUIDS]: Make code unconditional.
67873         [!__ASSUME_32BITUIDS]: Remove conditional code.
67874         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67875         <kernel-features.h>.
67876         [__ASSUME_32BITUIDS]: Make code unconditional.
67877         [!__ASSUME_32BITUIDS]: Remove conditional code.
67878         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67879         <kernel-features.h>.
67880         [__ASSUME_32BITUIDS]: Make code unconditional.
67881         [!__ASSUME_32BITUIDS]: Remove conditional code.
67882         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67883         <kernel-features.h>.
67884         [__ASSUME_32BITUIDS]: Make code unconditional.
67885         [!__ASSUME_32BITUIDS]: Remove conditional code.
67886         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67887         <kernel-features.h>.
67888         [__ASSUME_32BITUIDS]: Make code unconditional.
67889         [!__ASSUME_32BITUIDS]: Remove conditional code.
67890         * sysdeps/unix/sysv/linux/kernel-features.h
67891         (__ASSUME_SETRESUID_SYSCALL): Remove.
67892         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67893         (__ASSUME_32BITUIDS): Likewise.
67894         (__ASSUME_LDT_WORKS): Likewise.
67895         (__ASSUME_O_DIRECTORY): Likewise.
67896         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67897         architecture but not kernel version.
67898         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67899         (__ASSUME_MMAP2_SYSCALL): Likewise.
67900         (__ASSUME_STAT64_SYSCALL): Likewise.
67901         (__ASSUME_IPC64): Likewise.
67902         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67903         <kernel-features.h>.
67904         [__ASSUME_32BITUIDS]: Make code unconditional.
67905         [!__ASSUME_32BITUIDS]: Remove conditional code.
67906         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67907         <kernel-features.h>.
67908         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67909         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67910         132096]: Remove conditional code.
67911         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67912         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67913         <kernel-features.h>.
67914         [__ASSUME_32BITUIDS]: Make code unconditional.
67915         [!__ASSUME_32BITUIDS]: Remove conditional code.
67916         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67917         <kernel-features.h>.
67918         [__ASSUME_32BITUIDS]: Make code unconditional.
67919         [!__ASSUME_32BITUIDS]: Remove conditional code.
67920         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67921         <kernel-features.h>.
67922         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67923         unconditional.
67924         (__setresgid): Do not declare.
67925         [__ASSUME_32BITUIDS]: Make code unconditional.
67926         [!__ASSUME_32BITUIDS]: Remove conditional code.
67927         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67928         <kernel-features.h>.
67929         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67930         unconditional.
67931         (__setresuid): Do not declare.
67932         [__ASSUME_32BITUIDS]: Make code unconditional.
67933         [!__ASSUME_32BITUIDS]: Remove conditional code.
67934         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67935         <kernel-features.h>.
67936         [__ASSUME_32BITUIDS]: Make code unconditional.
67937         [!__ASSUME_32BITUIDS]: Remove conditional code.
67938         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67939         <kernel-features.h>.
67940         [__ASSUME_32BITUIDS]: Make code unconditional.
67941         [!__ASSUME_32BITUIDS]: Remove conditional code.
67943 2012-05-25  Richard Henderson  <rth@twiddle.net>
67945         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67946         dl_hwcap to ifunc resolver.
67947         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67948         elf_ifunc_invoke.
67949         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67950         dl_hwcap to ifunc resolver.
67951         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67953 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67955         [BZ #14153]
67956         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67957         for |x| <= 2**-26, not 2**-57.
67958         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67959         exception.
67961 2012-05-24  Jeff Law  <law@redhat.com>
67963         * stdio-common/Makefile (tests): Add bug25.
67964         * stdio-common/bug25.c: New test.
67966 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67968         [BZ #13576]
67969         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67970         multiple of MALLOC_ALIGNMENT in size.
67971         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67973 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67975         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67976         Require >= 256.
67977         (FILENAME_MAX): Use macro-int-constant.
67978         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67979         (_IOFBF): Use macro-int-constant.
67980         (_IOLBF): Likewise.
67981         (_IONBF): Likewise.
67982         (SEEK_CUR): Likewise.
67983         (SEEK_END): Likewise.
67984         (SEEK_SET): Likewise.
67985         (TMP_MAX): Likewise.
67986         (EOF): Use macro-int-constant.  Require < 0.
67987         (NULL): Use macro-constant.  Require == 0.
67988         (stdin): Require type to be FILE *.
67989         (stdout): Likewise.
67990         (stderr): Likewise.
67991         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67992         macro-int-constant.
67993         (EXIT_SUCCESS): Likewise.
67994         (NULL): Use macro-constant.  Require == 0.
67995         (RAND_MAX): Use macro-int-constant.
67996         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67997         [C99-based standards] (strtof): Require function.
67998         [C99-based standards] (strtold): Likewise.
67999         [C99-based standards] (strtoll): Likewise.
68000         [C99-based standards] (strtoull): Likewise.
68001         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68002         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68003         [ISO || ISO99 || ISO11] (math.h): Likewise.
68004         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68005         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68008 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68010         [BZ #14132]
68011         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68012         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68013         * intl/dgettext.c (DCGETTEXT): Likewise.
68014         * intl/gettext.c (DCGETTEXT): Likewise.
68015         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68016         * posix/regex_internal.h (gettext): Likewise.
68017         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68018         Remove declaration.
68019         * include/argz.h (__argz_count_internal)
68020         (__argz_stringify_internal): Remove declaration.
68021         (__argz_count, __argz_stringify): Declare hidden proto.
68022         * intl/dcgettext.c: Remove use of INTDEF.
68023         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68024         * string/argz-stringify.c: Likewise.
68025         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68026         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68027         Declare hidden proto.
68028         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68029         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68030         Declare hidden proto.
68031         * include/stdio.h (__asprintf_internal): Don't declare.
68032         (__asprintf): Don't define as macro.  Declare hidden proto.
68033         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68034         (__fsetlocking): Declare hidden proto.
68035         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68036         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68037         hidden proto.
68038         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68039         (_IO_setlinebuf): Remove use of INTUSE.
68040         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68041         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68042         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68043         Remove declaration.
68044         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68045         (_IO_do_flush): Remove use of INTUSE.
68046         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68047         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68048         (_IO_adjust_column, _IO_least_wmarker)
68049         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68050         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68051         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68052         (_IO_default_doallocate, _IO_wdefault_doallocate)
68053         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68054         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68055         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68056         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68057         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68058         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68059         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68060         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68061         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68062         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68063         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68064         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68065         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68066         proto.
68067         (_IO_flush_all_internal, _IO_adjust_column_internal)
68068         (_IO_default_uflow_internal, _IO_default_finish_internal)
68069         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68070         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68071         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68072         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68073         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68074         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68075         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68076         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68077         (_IO_file_close_internal, _IO_file_close_it_internal)
68078         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68079         (_IO_file_init_internal, _IO_file_attach_internal)
68080         (_IO_file_fopen_internal, _IO_file_read_internal)
68081         (_IO_file_sync_internal, _IO_file_seek_internal)
68082         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68083         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68084         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68085         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68086         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68087         (_IO_list_all_internal, _IO_link_in_internal)
68088         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68089         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68090         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68091         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68092         (_IO_do_write_internal, _IO_padn_internal)
68093         (_IO_getline_info_internal, _IO_getline_internal)
68094         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68095         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68096         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68097         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68098         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68099         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68100         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68101         with libc_hidden_ver, remove use of INTUSE.
68102         * libio/genops.c: Likewise.
68103         * libio/freopen.c: Likewise.
68104         * libio/freopen64.c: Likewise.
68105         * libio/iofclose.c: Likewise.
68106         * libio/iofdopen.c: Likewise.
68107         * libio/iofflush.c: Likewise.
68108         * libio/iofflush_u.c: Likewise.
68109         * libio/iofgets.c: Likewise.
68110         * libio/iofgets_u.c: Likewise.
68111         * libio/iofopen.c: Likewise.
68112         * libio/iofopncook.c: Likewise.
68113         * libio/iofread.c: Likewise.
68114         * libio/iofread_u.c: Likewise.
68115         * libio/ioftell.c: Likewise.
68116         * libio/iofwrite.c: Likewise.
68117         * libio/iogetline.c: Likewise.
68118         * libio/iogets.c: Likewise.
68119         * libio/iogetwline.c: Likewise.
68120         * libio/iopadn.c: Likewise.
68121         * libio/iopopen.c: Likewise.
68122         * libio/ioseekoff.c: Likewise.
68123         * libio/ioseekpos.c: Likewise.
68124         * libio/iosetbuffer.c: Likewise.
68125         * libio/iosetvbuf.c: Likewise.
68126         * libio/ioungetc.c: Likewise.
68127         * libio/ioungetwc.c: Likewise.
68128         * libio/iovdprintf.c: Likewise.
68129         * libio/iovsprintf.c: Likewise.
68130         * libio/iovsscanf.c: Likewise.
68131         * libio/memstream.c: Likewise.
68132         * libio/obprintf.c: Likewise.
68133         * libio/oldfileops.c: Likewise.
68134         * libio/oldiofclose.c: Likewise.
68135         * libio/oldiofdopen.c: Likewise.
68136         * libio/oldiofopen.c: Likewise.
68137         * libio/oldiopopen.c: Likewise.
68138         * libio/oldstdfiles.c: Likewise.
68139         * libio/putc.c: Likewise.
68140         * libio/setbuf.c: Likewise.
68141         * libio/setlinebuf.c: Likewise.
68142         * libio/stdfiles.c: Likewise.
68143         * libio/strops.c: Likewise.
68144         * libio/vasprintf.c: Likewise.
68145         * libio/vscanf.c: Likewise.
68146         * libio/vsnprintf.c: Likewise.
68147         * libio/vswprintf.c: Likewise.
68148         * libio/wfiledoalloc.c: Likewise.
68149         * libio/wfileops.c: Likewise.
68150         * libio/wgenops.c: Likewise.
68151         * libio/wmemstream.c: Likewise.
68152         * libio/wstrops.c: Likewise.
68153         * libio/__fpurge.c: Likewise.
68154         * libio/__fsetlocking.c: Likewise.
68155         * assert/assert.c: Likewise.
68156         * debug/fgets_chk.c: Likewise.
68157         * debug/fgets_u_chk.c: Likewise.
68158         * debug/fread_chk.c: Likewise.
68159         * debug/fread_u_chk.c: Likewise.
68160         * debug/gets_chk.c: Likewise.
68161         * debug/obprintf_chk.c: Likewise.
68162         * debug/vasprintf_chk.c: Likewise.
68163         * debug/vdprintf_chk.c: Likewise.
68164         * debug/vsnprintf_chk.c: Likewise.
68165         * debug/vsprintf_chk.c: Likewise.
68166         * malloc/mtrace.c: Likewise.
68167         * misc/error.c: Likewise.
68168         * misc/syslog.c: Likewise.
68169         * stdio-common/asprintf.c: Likewise.
68170         * stdio-common/fxprintf.c: Likewise.
68171         * stdio-common/getw.c: Likewise.
68172         * stdio-common/isoc99_fscanf.c: Likewise.
68173         * stdio-common/isoc99_scanf.c: Likewise.
68174         * stdio-common/isoc99_vfscanf.c: Likewise.
68175         * stdio-common/isoc99_vscanf.c: Likewise.
68176         * stdio-common/isoc99_vsscanf.c: Likewise.
68177         * stdio-common/printf-prs.c: Likewise.
68178         * stdio-common/printf_fp.c: Likewise.
68179         * stdio-common/printf_fphex.c: Likewise.
68180         * stdio-common/printf_size.c: Likewise.
68181         * stdio-common/putw.c: Likewise.
68182         * stdio-common/scanf.c: Likewise.
68183         * stdio-common/sprintf.c: Likewise.
68184         * stdio-common/tmpfile.c: Likewise.
68185         * stdio-common/vfprintf.c: Likewise.
68186         * stdio-common/vfscanf.c: Likewise.
68187         * stdlib/strfmon_l.c: Likewise.
68188         * sunrpc/openchild.c: Likewise.
68189         * sunrpc/xdr_stdio.c: Likewise.
68190         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68191         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68193 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68195         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68197         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68198         in the third column, to generate for the shared library an IFUNC
68199         that uses _dl_vdso_vsym.
68200         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68201         * Makeconfig (object-suffixes-noshared): New variable.
68203         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68204         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68205         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68206         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68208         [BZ #14132]
68209         * include/sys/time.h (__gettimeofday): Remove macro.
68210         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68211         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68212         Remove INTDEF.
68213         (__gettimeofday): Add libc_hidden_def.
68214         (gettimeofday): Add libc_hidden_weak.
68215         * sysdeps/mach/gettimeofday.c: Likewise.
68216         * sysdeps/posix/gettimeofday.c: Likewise.
68217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68218         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68220         (__gettimeofday_internal): Remove strong_alias.
68221         (__gettimeofday): Add libc_hidden_def.
68222         (gettimeofday): Add libc_hidden_weak.
68223         * sysdeps/unix/syscalls.list (gettimeofday):
68224         Remove __gettimeofday_internal alias.
68226 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68227             H.J. Lu  <hongjiu.lu@intel.com>
68229         [BZ #12495]
68230         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68231         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68232         (largebin_index_32_big): New.
68233         (largebin_index): Use it for 16-byte alignment.
68234         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68235         correction with front_misalign.
68237 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68241         Likewise.
68242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68243         Likewise.
68244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68245         Likewise.
68246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68247         Likewise.
68248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68249         Likewise.
68250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68251         Likewise.
68252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68253         Likewise.
68254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68255         Likewise.
68256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68257         Likewise.
68258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68259         Likewise.
68260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68261         Likewise.
68262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68263         Likewise.
68265         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68266         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68268 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68270         [BZ #10846]
68271         [BZ #14036]
68272         * math/libm-test.inc (exp_test): Add test from bug 14036.
68273         (pow_test): Add test from bug 10846.
68275         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68276         and other flags.
68277         (special_function): Do not include flags in test name.
68278         (parse_args): Likewise.
68279         * sysdeps/i386/fpu/libm-test-ulps: Update.
68280         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68281         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68285         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68286         exceptions.
68287         * math/libm-test.inc ("Philosophy"): Update comment about
68288         exception testing.
68289         (UNDERFLOW_EXCEPTION): New macro.
68290         (UNDERFLOW_EXCEPTION_OK): Likewise.
68291         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68292         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68293         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68294         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68295         (INVALID_EXCEPTION_OK): Update value.
68296         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68297         (OVERFLOW_EXCEPTION_OK): Likewise.
68298         (IGNORE_ZERO_INF_SIGN): Likewise.
68299         (test_exceptions): Handle underflow exceptions.
68300         (acos_test): Update for underflow exception expectations.
68301         (cexp_test): Likewise.
68302         (clog_test): Likewise.
68303         (clog10_test): Likewise.
68304         (csqrt_test): Likewise.
68305         (ctan_test): Likewise.
68306         (ctanh_test): Likewise.
68307         (exp_test): Likewise.
68308         (exp10_test): Likewise.
68309         (exp2_test): Likewise.
68310         (expm1_test): Likewise.
68311         (fma_test): Likewise.
68312         (j0_test): Likewise.
68313         (jn_test): Likewise.
68314         (nexttoward_test): Likewise.
68315         (pow_test): Likewise.
68316         (scalbn_test): Likewise.
68317         (scalbln_test): Likewise.
68318         (tan_test): Likewise.
68319         (y1_test): Likewise.
68320         * sysdeps/i386/fpu/libm-test-ulps: Update.
68321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68323 2012-05-23  David S. Miller  <davem@davemloft.net>
68325         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68326         (__libc_sigaction): Remove unused local variables.
68328 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68330         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68332 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68334         mktime: avoid signed integer overflow
68335         * time/mktime.c (__mktime_internal): Do not mishandle the case
68336         where diff == INT_MIN.
68338         mktime: simplify computation of average
68339         * time/mktime.c (ranged_convert): Use new time_t_avg function
68340         instead of rolling our own (probably-slower) code.
68342         mktime: do not assume signed right shift propagates sign bit
68343         * time/mktime.c (isdst_differ): New static function.
68344         (__mktime_internal): No need to normalize tm_isdst now.
68345         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68346         tm_isdst values.
68348         mktime: merge another wrapv change from gnulib
68349         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68350         from some compilers.
68352         mktime: remove incorrect attempt at unusual arithmetics
68353         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68354         The code didn't really work on such machines anyway.
68355         (TYPE_MINIMUM): Assume two's complement.
68356         (twos_complement_arithmetic): Verify that long_int and time_t
68357         are two's complement (or unsigned, in the latter case).
68359         mktime: check signed shifts on long_int and time_t, too
68360         * time/mktime.c (SHR): Check that shifts work as desired
68361         on the types long_int and time_t too, as SHR is used on
68362         such types.
68364         mktime: do not assume 'long' is wide enough
68365         * time/mktime.c (verify): Move decl up.
68366         (long_int): New type.
68367         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68368         to remove assumption in the code that 'long' is wide enough to
68369         store year values.  This assumption is not true on x32 and on
68370         some non-glibc platforms.
68372         mktime: merge wrapv change from gnulib
68373         * time/mktime.c (WRAPV): New macro.
68374         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68375         (guess_time_tm, __mktime_internal): Do not assume that signed
68376         integer overflow wraps around; modern compilers generate code
68377         where this assumption is no longer valid.
68379 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68381         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68382         Replace "jmp L(pseudo_end)" with "ret".
68383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68384         Likewise.
68386 2012-05-23  Andreas Jaeger  <aj@suse.de>
68388         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68389         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68391 2012-05-23  Andreas Jaeger  <aj@suse.de>
68392             Maximilian Attems  <max@stro.at>
68394         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68395         New macros.
68397 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68399         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68400         code so that pseudo_end is just ret and the stack pointer is
68401         correct also for static library in error case.
68403 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68405         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68406         move to syscalls.list.
68407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68412         * manual/install.texi (Running make install): Do not mention Linux
68413         kernel version for which pt_chown is not needed.
68414         (Linux): Do not mention problems with nscd with 2.0 kernels.
68415         * INSTALL: Regenerated.
68417 2012-05-23  Andreas Jaeger  <aj@suse.de>
68419         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68420         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68421         macro.
68422         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68423         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68424         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68425         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68426         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68427         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68428         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68429         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68430         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68431         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68432         * sysdeps/unix/sysv/linux/bits/in.h
68433         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68435 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68437         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68438         (PREPARE_VERSION): Just use assert instead, it will be elided
68439         under [NDEBUG] anyway.
68441 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68443         * sysdeps/unix/sysv/linux/Makefile: Include
68444         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68445         (sysdep_routines): Remove sysctl.
68446         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68447         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68448         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68449         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68450         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68452 2012-05-22  Andreas Jaeger  <aj@suse.de>
68454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68455         that pseudo_end is just ret and the stack pointer is correct also
68456         for static library in error case.
68458 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68460         [BZ #14122]
68461         * nss/nsswitch.c (defconfig_entries): New variable.
68462         (__nss_database_lookup): Don't leak defconfig entries.
68463         (nss_parse_service_list): Don't leak on error paths.
68464         (free_database_entries): New function.
68465         (free_defconfig): New function.
68466         (free_mem): Move common code to free_database_entries.
68468 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68470         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68471         Add arch_prctl.
68472         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68474         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68475         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68477         New macro.
68478         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68479         (INTERNAL_SYSCALL_TYPES): Likewise.
68480         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68481         (LOAD_REGS_TYPES_[1-6]): Likewise.
68482         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68483         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68485 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68487         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68488         copysignl for GLIBC_2_0.
68489         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68490         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68491         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68492         logbl for GLIBC_2_0.
68493         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68494         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68496 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68498         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68499         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68501         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68502         Use "neg %eax".
68504         * time/mktime.c: Update copyright years.
68506 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68508         mktime: merge comment-quoting-style change from gnulib
68509         * time/mktime.c: Quote 'like this' in comments.
68510         The GNU coding standards suggest that we no longer quote `like this',
68511         as "`" and "'" are typically rendered asymmetrically nowadays.
68512         The typical gnulib style is to quote 'like this' when quoting
68513         code, and "like this" when quoting English.
68515         * time/mktime.c (compile-command): Add "-I.".
68517         mktime: merge mktime-internal.h change from gnulib
68518         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68520         mktime: merge time_r change from gnulib
68521         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68523         mktime: merge DEBUG change from gnulib
68524         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68525         case system <time.h> has a #define.
68527         mktime: merge <sys/types.h> change from gnulib
68528         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68529         since <time.t> is now guaranteed to define time_t.
68531         mktime: merge HAVE_CONFIG_H change from gnulib
68532         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68534 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68537         Use "neg %eax".
68539         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68540         __rlim_t cast.
68541         (struct rusage): Use anonymous union to pad each field to
68542         __syscall_slong_t.
68544 2012-05-21  David S. Miller  <davem@davemloft.net>
68546         * Makefules (o-iterator): Remove .s cases.
68547         (compile-command.s): Delete.
68548         (COMPILE.s): Delete.
68549         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68551 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68553         * configure.in (libc_cv_predef_stack_protector): Only consider
68554         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68555         * configure: Regenerated.
68557 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68560         New macro.  Use R*LP on int and pointer.
68561         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68562         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68563         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68564         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68566         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68567         [__WORDSIZE_TIME64_COMPAT32] instead of
68568         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68569         (struct utmp): Likewise.
68570         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68571         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68572         Renamed to ...
68573         (__WORDSIZE_TIME64_COMPAT32): This.
68574         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68575         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68576         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68577         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68578         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68579         (__WORDSIZE_TIME64_COMPAT32): New macro.
68581 2012-05-21  Andreas Jaeger  <aj@suse.de>
68583         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68584         only if [SHARED]. Add prototype for __wcschr_ia32.
68586 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68588         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68589         of %rbp unmolested in the jmp_buf while mangling the low bits.
68590         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68591         unmolested high bits of %rbp while demangling the low bits.
68592         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68594 2012-05-21  Andreas Jaeger  <aj@suse.de>
68596         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68597         * sunrpc/svc_simple.c: Use it for registerrpc.
68598         * sunrpc/xcrypt.c: Use it for passwd2des.
68600         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68602 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68604         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68605         Don't define if [__SYSCALL_WORDSIZE != 32].
68606         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68607         New macro.
68609 2012-05-21  Bruno Haible  <bruno@clisp.org>
68610             Andreas Jaeger  <aj@suse.de>
68612         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68613         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68614         inptr and inend for must_buffer_ch.
68615         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68616         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68617         * stdio-common/Makefile (tests): Remove bug15.
68618         (bug15-ENV): Remove macro.
68619         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68620         anymore.
68622 2012-05-19  Andreas Jaeger  <aj@suse.de>
68623             Roland McGrath  <roland@hack.frob.com>
68625         * manual/contrib.texi: Completely rewritten. It contains now an
68626         alphabetical list of contributors and their contributions.
68628 2012-05-21  Richard Henderson  <rth@twiddle.net>
68630         * misc/getauxval.c (__getauxval): Use unsigned long int.
68631         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68632         (getauxval): Use unsigned long int.
68634 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68636         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68638 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68640         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68641         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68642         __alignof__ (long double).
68644 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68648 2012-05-20  Richard Henderson  <rth@twiddle.net>
68650         * misc/getauxval.c: New file.
68651         * misc/sys/auxv.h: New file.
68652         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68653         (routines): Add getauxval.
68654         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68655         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68656         * elf/dl-sysdep.c (_dl_auxv): Remove.
68657         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68658         * elf/dl-support.c (_dl_auxv): New variable.
68659         (_dl_aux_init): Initialize it.
68660         * manual/startup.texi (Auxiliary Vector): New node.
68661         * sysdeps/generic/bits/hwcap.h: New file.
68662         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68663         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68664         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68665         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68666         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68667         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68669         Update.
68670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68679 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68683 2012-05-19  David S. Miller  <davem@davemloft.net>
68685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68687 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68689         [BZ #14123]
68690         * math/s_ccosh.c: Include <float.h>
68691         (__ccosh): Avoid internal overflow calculating sinh and cosh
68692         values before multiplying by sin and cos values.
68693         * math/s_ccoshf.c: Likewise.
68694         * math/s_ccoshl.c: Likewise.
68695         * math/s_csin.c: Likewise.
68696         * math/s_csinf.c: Likewise.
68697         * math/s_csinl.c: Likewise.
68698         * math/s_csinh.c: Likewise.
68699         * math/s_csinhf.c: Likewise.
68700         * math/s_csinhl.c: Likewise.
68701         * math/libm-test.inc (ccos_test): Add more tests.
68702         (ccosh_test): Likewise.
68703         (csin_test): Likewise.
68704         (csinh_test): Likewise.
68705         * sysdeps/i386/fpu/libm-test-ulps: Update.
68706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68708 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68710         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68711         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68713         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68715 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68717         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68718         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68719         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68720         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68721         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68722         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68723         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68724         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68725         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68726         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68727         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68728         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68729         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68730         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68731         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68732         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68733         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68734         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68735         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68736         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68737         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68738         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68739         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68740         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68741         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68742         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68743         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68744         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68745         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68746         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68747         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68749 2012-05-18  Andreas Jaeger  <aj@suse.de>
68751         * csu/.gitignore: Delete.
68753 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68755         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68756         (timex): Use __syscall_slong_t.
68758 2012-05-18  Andreas Jaeger  <aj@suse.de>
68759             Carlos O'Donell  <carlos_odonell@mentor.com>
68761         * manual/install.texi (Configuring and compiling): Update
68762         description about files modified in the source directory.
68763         * INSTALL: Regenerated.
68765 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68767         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68768         value.  Use "or" to set return value to -1.
68769         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68770         negate return value.
68772 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68774         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68775         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68776         failure if the compiler has Graphite support disabled.
68777         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68778         Likewise.
68779         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68780         (CFLAGS-memmove.c): Likewise.
68781         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68782         Likewise.
68784 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68786         * sysdeps/x86_64/x32/_itoa.h: New file.
68788         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68789         getdents system call only if kernel and user dirents have the
68790         same d_ino and d_off.
68792         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68793         LLONG_MAX != LONG_MAX.
68794         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68795         (_fitoa_word): Likewise.
68797         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68798         years.
68799         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68800         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68801         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68803         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68804         include <bits/wordsize.h>.  Check __x86_64__ instead of
68805         __WORDSIZE.
68806         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68807         if __x86_64__ is defined.  Use anonymous union on fpstate.
68809         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68810         anonymous union.
68812 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68814         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68815         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68817         Refer to _rtld_local_ro instead of _rtld_global_ro.
68818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68819         Likewise.
68820         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68821         Likewise.
68822         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68823         Likewise.
68824         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68825         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68826         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68828         [BZ #10882]
68829         * sysdeps/powerpc/powerpc32/dl-machine.c
68830         (__elf_machine_runtime_setup) [PROF]: Don't reference
68831         _dl_prof_resolve.
68833 2012-05-18  Andreas Jaeger  <aj@suse.de>
68835         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68836         function only available for GCCs before 3.4 since GCC 3.4
68837         introduced a builtin.
68838         (lrint): Likewise.
68839         (llrintf): Likewise.
68840         (llrint): Likewise.
68841         (fmaxf): Likewise.
68842         (fmax): Likewise.
68843         (fminf): Likewise.
68844         (fmin): Likewise.
68845         (rint): Likewise.
68846         (rintf): Likewise.
68847         (nearbyint): Likewise.
68848         (nearbyintf): Likewise.
68849         (ceil): Likewise.
68850         (ceilf): Likewise.
68851         (floor): Likewise.
68852         (floorf): Likewise.
68854 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68856         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68857         on both fields and cast pointer to __syscall_ulong_t.
68859         * bits/types.h (__fsword_t): New type.
68860         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68861         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68863         (__FSWORD_T_TYPE): Likewise.
68864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68865         (__FSWORD_T_TYPE): Likewise.
68866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68867         (__FSWORD_T_TYPE): Likewise.
68868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68869         (__FSWORD_T_TYPE): Likewise.
68870         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68871         __SWORD_TYPE with __fsword_t.
68872         (statfs64): Likewise.
68874 2012-05-17  David S. Miller  <davem@davemloft.net>
68876         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68878 2012-05-17  Andreas Jaeger  <aj@suse.de>
68880         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68881         warning.
68883 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68885         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68887 2012-05-17  Andreas Jaeger  <aj@suse.de>
68889         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68890         when it is used.
68892 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68894         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68896 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68898         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68899         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68901 2012-05-17  Andreas Jaeger  <aj@suse.de>
68902             Carlos O'Donell  <carlos_odonell@mentor.com>
68904         [BZ #14059]
68905         * sysdeps/x86_64/multiarch/init-arch.h
68906         (bit_YMM_Usable): Rename to...
68907         (bit_AVX_Usable): ... this.
68908         (bit_FMA4_Usable): New macro.
68909         (bit_XMM_state): New macro.
68910         (bit_YMM_state): New macro.
68911         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68912         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68913         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68914         (CPUID_OSXSAVE): New macro.
68915         (CPUID_AVX): New macro.
68916         (CPUID_FMA4): New macro.
68917         (index_YMM_Usable): Rename to...
68918         (index_AVX_Usable): ... this.
68919         (HAS_AVX): Use HAS_ARCH_FEATURE.
68920         (HAS_FMA4): Likewise.
68921         (HAS_YMM_USABLE): Remove.
68922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68923         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68924         are present.
68925         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68926         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68927         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68928         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68929         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68931 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68933         * math/libm-test.c: Support platforms without multiple rounding modes.
68934         * math/bug-nextafter.c: Support platforms without FP exceptions.
68935         * math/bug-nexttoward.c: Likewise.
68936         * math/test-fenv.c: Likewise.
68937         * math/test-misc.c: Likewise.
68938         * stdlib/bug-getcontext.c: Likewise.
68940 2012-05-17  Andreas Jaeger  <aj@suse.de>
68942         * manual/examples/search.c (critter_cmp): Change signature to
68943         avoid warnings.
68944         * manual/string.texi (Collation Functions): Likewise.
68946 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68948         * bits/types.h: Fold copyright years.
68949         * bits/typesizes.h: Likewise.
68950         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68954         * time/time.h: Likewise.
68956 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68958         [BZ #208]
68959         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68960         in instead of returning them.  Return void.
68961         (__libc_mallinfo): Accumulate over all arenas.
68962         (__malloc_stats): Adjust for change in int_mallinfo interface.
68964 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68966         [BZ #10375]
68967         * configure.in (NM): Add AC_CHECK_TOOL for it.
68968         (libc_extra_cflags): New substituted variable.
68969         Check for -fstack-protector being used implicitly.
68970         * configure: Regenerated.
68971         * config.make.in (config-extra-cflags): New variable,
68972         gets @libc_extra_cflags@.
68973         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68975         [BZ #10375]
68976         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68977         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68978         * configure: Regenerated.
68979         * config.make.in (CPPUNDEFS): New substituted variable.
68980         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68981         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68982         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68986         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68987         (mq_attr): Use __syscall_slong_t.
68989 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68991         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68992         Check __x86_64__ instead of __WORDSIZE.
68993         (_STAT_VER_LINUX): Likewise.
68994         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68995         __syscall_ulong_t and __syscall_slong_t.
68996         (stat64): Likewise.
68998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69000         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69002 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69004         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69008         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69009         __syscall_ulong_t.
69011         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69012         include <bits/wordsize.h>.  Check __x86_64__ instead of
69013         __WORDSIZE.
69014         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69015         defined.
69016         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69019         include <bits/wordsize.h>.  Check __x86_64__ instead of
69020         __WORDSIZE.
69021         (user_regs_struct): Use "__extension__ unsigned long long"
69022         instead of "unsigned long" if __x86_64__ is defined.
69023         (user): Likewise.  Pad after pointer field if __ILP32__ is
69024         defined.
69026 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69028         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69029         versions 5 to 9.
69030         * configure: Regenerated.
69031         * manual/install.texi (texinfo): Increase version requirement to
69032         4.5 or later.
69033         * INSTALL: Regenerated.
69035         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69039         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69041         * sysdeps/x86_64/x32/ffs.c: New file.
69043         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69044         __syscall_ulong_t.
69045         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69046         defined.  Use __syscall_ulong_t.
69047         (shminfo): Use __syscall_ulong_t.
69048         (shm_info): Likewise.
69050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69051         __syscall_ulong_t.
69053         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69054         <bits/wordsize.h>.
69055         (msgqnum_t): Use __syscall_ulong_t.
69056         (msglen_t): Likewise.
69057         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69058         __syscall_ulong_t.
69060         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69061         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69063         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69065         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69066         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69068         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69069         __syscall_slong_t.
69071         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69072         include <bits/wordsize.h>.  Check __x86_64__ instead of
69073         __WORDSIZE.
69075         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69076         "unsigned long long int" if __x86_64__ is defined.
69077         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69079         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69080         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69081         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69083         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69084         <stdint.h>.
69085         (GET_PC): Cast to uintptr_t first.
69086         (GET_FRAME): Likewise.
69087         (GET_STACK): Likewise.
69089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69092         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69094         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69095         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69096         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69097         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69099         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69100         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69101         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69103         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69104         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69105         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69107         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69108         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69109         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69111         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69113         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69114         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69115         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69116         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69117         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69119 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69121         * Makerules (+depfiles): Also collect depfiles from .oS in
69122         $(extra-objs).
69123         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69124         .oS, $(libnldbl-routines)).
69126         * Makerules (native-compile-mkdep-flags): Define.
69127         * sunrpc/Makefile (extra-objs): Add $(addprefix
69128         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69129         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69130         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69131         calling $(make-target-directory).
69133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69135         * bits/types.h (__snseconds_t): Removed.
69136         * time/time.h (struct timespec): Replace __snseconds_t with
69137         __syscall_slong_t.
69138         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69139         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69140         Likewise.
69141         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69142         (__SNSECONDS_T_TYPE): Likewise.
69143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69144         (__SNSECONDS_T_TYPE): Likewise.
69145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69146         (__SNSECONDS_T_TYPE): Likewise.
69148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69150         * sysdeps/mach/hurd/bits/typesizes.h
69151         (__SYSCALL_SLONG_TYPE): New macro.
69152         (__SYSCALL_ULONG_TYPE): Likewise.
69154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69156         * bits/types.h (__syscall_slong_t): New type.
69157         (__syscall_ulong_t): Likewise.
69159         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69160         (__SYSCALL_ULONG_TYPE): Likewise.
69161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69162         (__SYSCALL_SLONG_TYPE): Likewise.
69163         (__SYSCALL_ULONG_TYPE): Likewise.
69164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69165         (__SYSCALL_SLONG_TYPE): Likewise.
69166         (__SYSCALL_ULONG_TYPE): Likewise.
69167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69168         (__SYSCALL_SLONG_TYPE): Likewise.
69169         (__SYSCALL_ULONG_TYPE): Likewise.
69171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69173         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69174         Add sigaltstack-offsets.sym.
69175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69176         <sigaltstack-offsets.h>.
69177         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69178         longjmp_msg pointer.
69179         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69180         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69181         signal stack.
69182         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69184 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69186         * elf/stackguard-macros.h: Remove file.
69187         * sysdeps/generic/stackguard-macros.h: New file.
69188         * sysdeps/i386/stackguard-macros.h: Likewise.
69189         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69190         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69191         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69192         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69193         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69194         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69195         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69196         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69197         <elf/stackguard-macros.h>.
69199         [BZ #14109]
69200         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69201         __aligned__ in attribute.
69202         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69203         (gregset_t): Likewise.
69205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69207         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69208         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69209         * sysdeps/x86_64/x32/Implies-after: New file.
69211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69213         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69214         and access return value for _dl_profile_fixup.  Use R10_LP to
69215         load frame size.
69217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69219         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69223         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69224         * sysdeps/x86_64/x32/sysdep.h: New file.
69226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69228         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69229         * sysdeps/x86_64/setjmp.S: Likewise.
69231 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69234         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69235         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69236         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69237         remove unused global constant.
69239 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69241         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69242         include of <not-cancel.h>.
69244 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69246         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69248 2012-05-15  Jeff Law  <law@redhat.com>
69249             Andreas Jaeger  <aj@suse.de>
69251         [BZ #13594]
69252         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69253         out from...
69254         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69255         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69256         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69257         code changing __hst_map_handle.map.
69259 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69261         * configure.in (sysnames): Look for Implies-before and Implies-after
69262         files.
69263         * configure: Regenerated.
69265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69267         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69268         8-byte data alignment with LP_SIZE alignment.
69270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69272         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69273         into R10_LP.
69275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69277         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69281         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69282         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69283         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69284         Likewise.
69285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69289         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69290         (stackinfo_sub_sp): Likewise.
69292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69295         RAX_LP.
69297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69299         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69300         into R*_LP.
69302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69304         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69305         sizes into R*_LP.
69307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69309         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69313         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69314         into R11_LP and load __x86_64_shared_cache_size_half into
69315         R8_LP.
69317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69320         R8_LP.
69322 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69324         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69325         logb for POWER7.
69326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69327         logbf for POWER7.
69328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69329         logbl for POWER7.
69330         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69331         powerpc32/power7/fpu/s_logb.c via #include.
69332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69333         powerpc32/power7/fpu/s_logbf.c via #include.
69334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69335         powerpc32/power7/fpu/s_logbl.c via #include.
69337 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69339         * README.libm: Remove file.
69341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69343         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69344         count for x32.  Use R*_LP and omit operand-size suffix.
69346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69348         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69349         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69350         * sysdeps/x86_64/x32/shlib-versions: New file.
69352 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69354         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69355         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69356         Use _dl_fatal_printf instead.
69358 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69360         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69361         set if not set by the user.  Do not allow for being unset.
69362         * sysdeps/unix/sysv/linux/configure: Regenerated.
69364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69366         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69367         the `q' suffix from lea and replace .quad with ASM_ADDR.
69369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69372         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69373         instead of $17.
69374         (PTR_DEMANGLE): Likewise.
69376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69378         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69379         (LP_OP): Likewise.
69380         (ASM_ADDR): Likewise.
69381         (RAX_LP): Likewise.
69382         (RBP_LP): Likewise.
69383         (RBX_LP): Likewise.
69384         (RCX_LP): Likewise.
69385         (RDI_LP): Likewise.
69386         (RSI_LP): Likewise.
69387         (RSP_LP): Likewise.
69388         (R8_LP): Likewise.
69389         (R9_LP): Likewise.
69390         (R10_LP): Likewise.
69391         (R10_LP): Likewise.
69392         (R11_LP): Likewise.
69393         (R12_LP): Likewise.
69394         (R13_LP): Likewise.
69395         (R14_LP): Likewise.
69396         (R15_LP): Likewise.
69398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69400         * sysdeps/x86_64/x32/dl-machine.h: New file.
69402 2012-05-14  Andreas Jaeger  <aj@suse.de>
69404         * manual/Makefile (subdir): Remove export of subdir.
69405         (all): Remove target.
69406         (.PHONY): Remove all from list.
69407         (mkinstalldirs): Remove.
69408         (.PHONY): Remove installdirs from list.
69409         ($(inst_infodir)/libc.info): Use make-target-directory.
69410         (installdirs): Remove.
69411         (subdir_%): Remove.
69412         (glibc-targets): Remove.
69413         (lib): Remove.
69414         (stubs): Remove.
69415         ($(objpfx)stubs ../po/manual.pot): Remove.
69416         ($(objpfx)stamp%): Remove.
69417         (make-target-directory): Remove.
69418         (subdir_install): Remove.
69419         (routines): Remove.
69420         (aux): Remove.
69421         (sources): Remove.
69422         (objects): Remove.
69423         (headers): Remove.
69425         [BZ #13750]
69426         * manual/.gitignore: Remove, it's not needed anymore.
69427         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69428         all files in it.
69429         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69430         directory.
69431         (texis): Renamed to $(objpfx)texis.
69432         (texis-path): New, contains path to generated files.
69433         (chapters.%): Use texis-path for complete path, add extra argument
69434         libc-texinfo.sh.
69435         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69436         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69437         (summary,texi, stamp-summary): Use complete path of
69438         files. Generate files in build dir.
69439         (dir-add.texi): Build in build dir.
69440         (libm-err.texi,stamp-libm-err): Likewise.
69441         (version.texi, stamp-version): Likewise.
69442         (.%c.texi): Likewise.
69443         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69444         (mostlyclean): Remove target.
69445         (realclean): Remove target.
69446         (generated): Add new variable with contents from mostlyclean and
69447         realclean, remove entries duplicated in common-mostlyclean, add
69448         stamp-libm-err and stamp-version.
69449         (generated-dirs): Add libc directory.
69450         ($(inst_infodir)/libc.info): Install files from build dir.
69452         * manual/install.texi (Configuring and compiling): Adjust since
69453         the info files are not part of the tar ball anymore.
69455 2012-05-14  Andreas Jaeger  <aj@suse.de>
69457         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69458         variable.
69460 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69462         [BZ #13717]
69463         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69464         to 2.2.0 where earlier.
69465         * sysdeps/unix/sysv/linux/configure: Regenerated.
69466         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69467         Remove conditional code.
69468         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69469         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69470         Remove conditional code.
69471         [!__NR_lchown]: Likewise.
69472         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69473         [__NR_lchown]: Likewise.
69474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69475         comment referencing __ASSUME_LCHOWN_SYSCALL.
69476         * sysdeps/unix/sysv/linux/i386/sigaction.c
69477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69479         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69480         Remove conditional code.
69481         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69482         (__protocol_available): Remove #if 0 code.
69483         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69484         conditional code.
69485         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69486         * sysdeps/unix/sysv/linux/kernel-features.h
69487         (__ASSUME_GETCWD_SYSCALL): Don't define.
69488         (__ASSUME_REALTIME_SIGNALS): Likewise.
69489         (__ASSUME_PREAD_SYSCALL): Likewise.
69490         (__ASSUME_PWRITE_SYSCALL): Likewise.
69491         (__ASSUME_POLL_SYSCALL): Likewise.
69492         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69493         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69494         non-SPARC.
69495         (__ASSUME_SIOCGIFNAME): Don't define.
69496         (__ASSUME_MSG_NOSIGNAL): Likewise.
69497         (__ASSUME_SENDFILE): Define unconditionally.
69498         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69499         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69500         conditional code.
69501         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69502         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69503         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69504         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69505         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69506         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69507         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69509         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69512         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69515         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69518         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69532         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69533         Remove conditional code.
69534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69535         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69536         Remove conditional code.
69537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69538         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69539         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69540         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69541         Remove conditional code.
69542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69543         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69544         Remove conditional code.
69545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69546         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69547         Remove conditional code.
69548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69549         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69550         Remove conditional code.
69551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69552         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69553         Remove conditional code.
69554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69555         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69558         * sysdeps/unix/sysv/linux/sigaction.c
69559         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69560         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69561         * sysdeps/unix/sysv/linux/sigpending.c
69562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69564         * sysdeps/unix/sysv/linux/sigprocmask.c
69565         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69566         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69567         * sysdeps/unix/sysv/linux/sigsuspend.c
69568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69570         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69571         (__libc_missing_rt_sigs): Remove.
69572         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69573         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69574         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69575         Remove conditional code.
69576         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69577         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69578         return 1.
69579         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69580         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69581         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69582         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69584 2012-05-14  Andreas Jaeger  <aj@suse.de>
69586         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69587         it's not used in glibc.
69588         (__coshm1): Likewise.
69589         (__acosh1p): Likewise.
69590         (__sgn): Likewise.
69592         * manual/string.texi (Copying and Concatenation): Add missing
69593         variable in concat example.
69594         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69598         [BZ #14103]
69599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69600         __builtin_clzl with __builtin_clzll.
69602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69604         [BZ #14104]
69605         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69606         libc_freeres_ptr.
69608 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69610         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69611         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69612         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69613         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69615 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69617         * NEWS: Update ia64 info.
69619 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69621         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69622         used as bcopy.
69624 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69626         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69627         * sysdeps/unix/syscalls.list (dup3): Likewise.
69628         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69629         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69631 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69633         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69634         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69636 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69638         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69639         thread pointer.
69640         (TLS_IE): Use mov/add instead of movq/addq to load thread
69641         pointer.
69642         (TLS_GD_PREFIX): New.
69643         (TLS_GD): Use it.
69645 2012-05-11  David S. Miller  <davem@davemloft.net>
69647         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69648         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69649         (_FPU_SETCW): Likewise.
69651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69653         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69654         is 32-byte aligned.
69656 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69658         [BZ #11837]
69659         * iconvdata/gb18030.c: Update tables.
69660         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69661         characters specially.
69662         (BODY for TO_LOOP): Add encoding of missing ranges.
69664 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69666         [BZ #13673]
69667         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69668         * sysdeps/mach/hurd/dup3.c: Likewise.
69669         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69670         * sysdeps/powerpc/memmove.c:: Likewise.
69672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69675         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69677 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69679         * elf/elf.h (R_X86_64_RELATIVE64): New.
69680         (R_X86_64_NUM): Updated.
69681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69682         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69683         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69684         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69685         tst-quad1pie tst-quad2pie
69686         (modules-names): Add tst-quadmod1 tst-quadmod2.
69687         ($(objpfx)tst-quad1): New dependency.
69688         ($(objpfx)tst-quad2): Likewise.
69689         ($(objpfx)tst-quad1pie): Likewise.
69690         ($(objpfx)tst-quad2pie): Likewise.
69691         * sysdeps/x86_64/tst-quad1.c: New file.
69692         * sysdeps/x86_64/tst-quad1pie.c: New file.
69693         * sysdeps/x86_64/tst-quad2.c: Likewise.
69694         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69695         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69696         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69697         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69698         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69702         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69703         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69704         * streams/stropts.h (t_scalar_t): Define type.
69706         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69707         (_PATH_PRESERVE): Set to "/var/lib".
69708         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69710         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69711         instead of int.
69713         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69714         if __dir_mkfile succeeded.
69716         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69717         checking for _hurd_dtablesize.  Unlock it right after having
69718         finished _hurd_dtable allocation.
69720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69722         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69723         * sysdeps/mach/hurd/configure: Regenerated.
69724         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69725         special-casing to...
69726         * sysdeps/gnu/configure.in: ... this new file.
69727         * sysdeps/unix/sysv/linux/configure: Regenerated.
69728         * sysdeps/gnu/configure: New generated file.
69730         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69731         for Linux: use nsec instead of usec, as well as:
69732         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69733         members of type struct timespec.
69734         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69735         New macros.
69736         (struct stat64): Likewise.
69737         (_STATBUF_ST_NSEC): New macro.
69738         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69740         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69741         __strtoul_internal rather than strtoul.
69743 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69745         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69746         and reject them.
69748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69750         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69751         which preserves existing values.
69752         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69754 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69756         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69757         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69758         greater than FD_SETSIZE.
69760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69762         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69763         allocated, call __vm_protect to finish enabling the existing space, and
69764         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69765         allocate the remainder.
69767 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69769         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69770         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69774         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69775         sysdeps/mach/hurd/readlink.c.
69777         * posix/tst-sysconf.c (posix_options): Only use
69778         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69779         _POSIX_SYNCHRONIZED_IO when they are defined
69780         * sysdeps/mach/hurd/bits/posix_opt.h:
69781         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69782         (_XOPEN_REALTIME): Undefine macro.
69783         (_XOPEN_REALTIME_THREADS): Undefine macro.
69784         (_XOPEN_SHM): Undefine macro.
69785         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69786         macro to -1.
69787         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69788         macro to -1.
69789         (_POSIX_ASYNC_IO): Undefine macro.
69790         (_POSIX_PRIORITIZED_IO): Undefine macro.
69791         (_POSIX_SPIN_LOCKS): Define macro to -1.
69793         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69794         SA_NODEFER, SA_RESETHAND.
69795         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69796         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69797         F_DUPFD_CLOEXEC.
69799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69801         * elf/Makefile (pldd-modules): Define unconditionally.
69803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69805         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69809         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69810         Return ENOENT when name is empty.
69811         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69815         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69817         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69821         Fix mlock in all cases except non-readable pages.
69822         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69823         instead of VM_PROT_ALL as parameter to __vm_wire function.
69825         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69826         (__mkdir): When path is `/', just fail with EEXIST.
69827         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69831         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69832         <sys/uio.h> (for writev).
69833         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69834         and <sys/param.h> (for MIN).
69836 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69838         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69839         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69840         if interrupted.
69842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69844         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69845         Depend on against $(link-rpcuserlibs).
69847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69849         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69850         (__libc_stack_end): Do not use attribute_relro.
69851         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69852         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69853         to libthread-provided value.
69854         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69855         attribute_relro.
69857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69859         [BZ #3748]
69860         * bits/libc-lock.h (__libc_once_get): New macro.
69861         * sysdeps/mach/bits/libc-lock.h: Likewise.
69862         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69864         instead of using implementation details.
69866         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69867         * libio/freopen.c: Likewise.
69868         * libio/freopen64.c: Likewise.
69869         * misc/syslog.c: Likewise.
69870         * nscd/connections.c: Likewise.
69871         * nscd/netgroupcache.c: Likewise.
69872         * sysdeps/posix/getcwd.c: Likewise.
69874 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69876         * math/w_ilogbf.c: Add #include <limits.h>.
69878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69880         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69881         path instead of returning without unlocking.
69883         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69884         immediate-write ioctls.
69885         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69889         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69890         __builtin_frame_address instead of making assumptions about the
69891         location of the return address relative to DATA.  Force early load of
69892         the return address.
69893         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69894         __builtin_frame_address.
69896         dup3 for GNU Hurd.
69897         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69898         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69899         implement dup3 and do some further code clean-ups.
69900         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69901         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69905         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69907         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69908         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69909         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69910         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69911         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69912         d->port.lock.
69914         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69915         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69916         when handler == SIG_ERR, not when handler != SIG_ERR.
69918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69920         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69921         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69922         definitions.
69924         accept4 for GNU Hurd.
69925         * include/sys/socket.h (__libc_accept4): New prototype.
69926         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69927         to implement __libc_accept4.
69928         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69929         __libc_accept4.
69930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69932         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69933         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69934         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69935         signal-defines.sym.
69937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69939         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69943         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69944         assertion on O_CLOEXEC flag.
69945         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69946         * hurd/intern-fd.c: Likewise.
69947         * hurd/port2fd.c: Likewise.
69949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69951         [BZ #3906]
69952         * bits/in.h (IPV6_PKTINFO): Define new macro.
69953         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69955 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69957         [BZ #13954]
69958         [BZ #13955]
69959         [BZ #13956]
69960         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69961         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69962         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69963         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69965         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69966         * math/libm-test.inc (logb_test) : Additional logb tests.
69968 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69969             Andreas Jaeger  <aj@suse.de>
69971         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69972         * configure: Regenerated.
69973         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69974         * config.make.in (link-obsolete-rpc): New substituted variable.
69975         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69976         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69977         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69978         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69979         so that libc.a contains the symbols.
69980         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69981         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69982         * sunrpc/auth_none.c: Likewise.
69983         * sunrpc/auth_unix.c: Likewise.
69984         * sunrpc/authdes_prot.c: Likewise.
69985         * sunrpc/authuxprot.c: Likewise.
69986         * sunrpc/clnt_gen.c: Likewise.
69987         * sunrpc/clnt_perr.c: Likewise.
69988         * sunrpc/clnt_raw.c: Likewise.
69989         * sunrpc/clnt_simp.c: Likewise.
69990         * sunrpc/clnt_tcp.c: Likewise.
69991         * sunrpc/clnt_udp.c: Likewise.
69992         * sunrpc/clnt_unix.c: Likewise.
69993         * sunrpc/des_crypt.c: Likewise.
69994         * sunrpc/des_soft.c: Likewise.
69995         * sunrpc/get_myaddr.c: Likewise.
69996         * sunrpc/key_call.c: Likewise.
69997         * sunrpc/key_prot.c: Likewise.
69998         * sunrpc/netname.c: Likewise.
69999         * sunrpc/pm_getmaps.c: Likewise.
70000         * sunrpc/pm_getport.c: Likewise.
70001         * sunrpc/pmap_clnt.c: Likewise.
70002         * sunrpc/pmap_prot.c: Likewise.
70003         * sunrpc/pmap_prot2.c: Likewise.
70004         * sunrpc/pmap_rmt.c: Likewise.
70005         * sunrpc/publickey.c: Likewise.
70006         * sunrpc/rpc_cmsg.c: Likewise.
70007         * sunrpc/rpc_common.c: Likewise.
70008         * sunrpc/rpc_dtable.c: Likewise.
70009         * sunrpc/rpc_prot.c: Likewise.
70010         * sunrpc/rpc_thread.c: Likewise.
70011         * sunrpc/rtime.c: Likewise.
70012         * sunrpc/svc.c: Likewise.
70013         * sunrpc/svc_auth.c: Likewise.
70014         * sunrpc/svc_raw.c: Likewise.
70015         * sunrpc/svc_run.c: Likewise.
70016         * sunrpc/svc_tcp.c: Likewise.
70017         * sunrpc/svc_udp.c: Likewise.
70018         * sunrpc/svc_unix.c: Likewise.
70019         * sunrpc/svcauth_des.c: Likewise.
70020         * sunrpc/xcrypt.c: Likewise.
70021         * sunrpc/xdr.c: Likewise.
70022         * sunrpc/xdr_array.c: Likewise.
70023         * sunrpc/xdr_float.c: Likewise.
70024         * sunrpc/xdr_intXX_t.c: Likewise.
70025         * sunrpc/xdr_mem.c: Likewise.
70026         * sunrpc/xdr_rec.c: Likewise.
70027         * sunrpc/xdr_ref.c: Likewise.
70028         * sunrpc/xdr_sizeof.c: Likewise.
70029         * sunrpc/xdr_stdio.c: Likewise.
70031 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70034         change.  Update copyright years.
70036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70038         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70040 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70041             Joseph Myers  <joseph@codesourcery.com>
70042             Paul Pluzhnikov  <ppluzhnikov@google.com>
70044         [BZ #14012]
70045         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70046         requiring rpcgen.
70047         [cross-compiling] (extra-libs): Likewise.
70048         [cross-compiling] (extra-libs-others): Likewise.
70049         [cross-compiling] (librpcsvc-routines): Likewise.
70050         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70051         [cross-compiling] (omit-deps): Likewise.
70052         (sunrpc-CPPFLAGS): New variable.
70053         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70054         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70055         (cross-rpcgen-objs): New variable.
70056         (extra-objs): Append $(cross-rpcgen-objs).
70057         ($(cross-rpcgen-objs)): New rule.
70058         ($(objpfx)cross-rpcgen): Likewise.
70059         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70060         comment.
70061         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70062         ($(objpfx)x%.stmp): Likewise.
70063         * sunrpc/proto.h [IS_IN_build] (_): Define.
70064         [IS_IN_build] (_libc_intl_domainname): Likewise.
70066 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70068         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70069         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70070         and R_X86_64_TPOFF64.
70072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70074         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70075         sysdeps/unix/sysv/syscalls.list.
70076         (stime): Likewise.
70077         (utime): Likewise.
70078         * sysdeps/unix/sysv/syscalls.list: Remove file.
70080 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70082         [BZ #3440]
70083         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70084         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70085         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70086         (__LC_IDENTIFICATION): Make these macros useful in #if
70087         expressions, as required by C99.
70089 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70091         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70092         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70093         after this.
70095 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70097         * stdlib/longlong.h: Updated from GCC.
70099 2012-05-09  Andreas Jaeger  <aj@suse.de>
70101         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70102         default is first entry.
70103         (run_mode): Set type.
70104         (main): Remove informal message about syslog.
70105         (options): Fix typo.
70107         [BZ #14053]
70108         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70109         to asm.
70110         (lrint): Likewise.
70111         (llrintf): Likewise.
70112         (llrint): Likewise.
70113         (rint): Likewise.
70114         (rintf): Likewise.
70115         (nearbyint): Likewise.
70116         (nearbyintf): Likewise.
70118 2012-05-09  Andreas Jaeger  <aj@suse.de>
70119             Pedro Alves  <palves@redhat.com>
70121         * nscd/nscd.c (run_mode): Use enum.
70122         (main): Cleanup coding style issue.
70124 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70125             Andreas Jaeger  <aj@suse.de>
70127         * nscd/nscd.c (go_background): Replaced with...
70128         (run_mode): ... this.
70129         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70130         (options): Add -F --foreground.
70131         (main): Implement it.
70132         (parse_opt): Parse it.
70134 2012-05-09  Andreas Jaeger  <aj@suse.de>
70136         [BZ #14083]
70137         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70138         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70139         -Wconversion warning.
70140         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70141         Likewise.
70143 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70145         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70146         == 0.
70147         (LC_ALL): Use macro-int-constant.
70148         (LC_COLLATE): Likewise.
70149         (LC_CTYPE): Likewise.
70150         (LC_MESSAGES): Likewise.
70151         (LC_MONETARY): Likewise.
70152         (LC_NUMERIC): Likewise.
70153         (LC_TIME): Likewise.
70154         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70155         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70157         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70158         Specify type.
70159         [C99-based standards] (float_t): Expect type.
70160         [C99-based standards] (double_t): Expect type.
70161         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70162         type.
70163         [C99-based standards] (HUGE_VALL): Likewise.
70164         [C99-based standards] (INFINITY): Likewise.
70165         [C99-based standards] (NAN): Likewise.
70166         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70167         [C99-based standards] (FP_NAN): Likewise.
70168         [C99-based standards] (FP_NORMAL): Likewise.
70169         [C99-based standards] (FP_SUBNORMAL): Likewise.
70170         [C99-based standards] (FP_ZERO): Likewise.
70171         [C99-based standards] (FP_FAST_FMA): Use
70172         optional-macro-int-constant.  Specify type.  Require == 1.
70173         [C99-based standards] (FP_FAST_FMAF): Likewise.
70174         [C99-based standards] (FP_FAST_FMAL): Likewise.
70175         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70176         [C99-based standards] (FP_ILOGBNAN): Likewise.
70177         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70178         Specify type.
70179         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70180         [C99-based standards] (math_errhandling): Specify type.
70181         [ISO99 || ISO11] (signgam): Do not allow.
70182         [non-C99-based standards] (copysignf): Do not allow.
70183         [non-C99-based standards] (exp2f): Likewise.
70184         [non-C99-based standards] (log2f): Likewise.
70185         [non-C99-based standards] (modff): Allow.
70186         [non-C99-based standards] (erff): Do not allow.
70187         [non-C99-based standards] (erfcf): Likewise.
70188         [non-C99-based standards] (gammaf): Likewise.
70189         [non-C99-based standards] (hypotf): Likewise.
70190         [non-C99-based standards] (j0f): Likewise.
70191         [non-C99-based standards] (j1f): Likewise.
70192         [non-C99-based standards] (jnf): Likewise.
70193         [non-C99-based standards] (lgammaf): Likewise.
70194         [non-C99-based standards] (tgammaf): Likewise.
70195         [non-C99-based standards] (y0f): Likewise.
70196         [non-C99-based standards] (y1f): Likewise.
70197         [non-C99-based standards] (ynf): Likewise.
70198         [non-C99-based standards] (isnanf): Likewise.
70199         [non-C99-based standards] (acoshf): Likewise.
70200         [non-C99-based standards] (asinhf): Likewise.
70201         [non-C99-based standards] (atanhf): Likewise.
70202         [non-C99-based standards] (cbrtf): Likewise.
70203         [non-C99-based standards] (expm1f): Likewise.
70204         [non-C99-based standards] (ilogbf): Likewise.
70205         [non-C99-based standards] (log1pf): Likewise.
70206         [non-C99-based standards] (logbf): Likewise.
70207         [non-C99-based standards] (nextafterf): Likewise.
70208         [non-C99-based standards] (remainderf): Likewise.
70209         [non-C99-based standards] (rintf): Likewise.
70210         [non-C99-based standards] (scalbf): Likewise.
70211         [non-C99-based standards] (copysignl): Likewise.
70212         [non-C99-based standards] (exp2l): Likewise.
70213         [non-C99-based standards] (log2l): Likewise.
70214         [non-C99-based standards] (modfl): Allow.
70215         [non-C99-based standards] (erfl): Do not allow.
70216         [non-C99-based standards] (erfcl): Likewise.
70217         [non-C99-based standards] (gammal): Likewise.
70218         [non-C99-based standards] (hypotl): Likewise.
70219         [non-C99-based standards] (j0l): Likewise.
70220         [non-C99-based standards] (j1l): Likewise.
70221         [non-C99-based standards] (jnl): Likewise.
70222         [non-C99-based standards] (lgammal): Likewise.
70223         [non-C99-based standards] (tgammal): Likewise.
70224         [non-C99-based standards] (y0l): Likewise.
70225         [non-C99-based standards] (y1l): Likewise.
70226         [non-C99-based standards] (ynl): Likewise.
70227         [non-C99-based standards] (isnanl): Likewise.
70228         [non-C99-based standards] (acoshl): Likewise.
70229         [non-C99-based standards] (asinhl): Likewise.
70230         [non-C99-based standards] (atanhl): Likewise.
70231         [non-C99-based standards] (cbrtl): Likewise.
70232         [non-C99-based standards] (expm1l): Likewise.
70233         [non-C99-based standards] (ilogbl): Likewise.
70234         [non-C99-based standards] (log1pl): Likewise.
70235         [non-C99-based standards] (logbl): Likewise.
70236         [non-C99-based standards] (nextafterl): Likewise.
70237         [non-C99-based standards] (remainderl): Likewise.
70238         [non-C99-based standards] (rintl): Likewise.
70239         [non-C99-based standards] (scalbl): Likewise.
70240         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70241         [non-C99-based standards] (FP_*): Do not allow.
70242         [C99-based standards] (FP_*): Change to
70243         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70244         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70245         allow.
70246         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70247         (SIG_ERR): Likewise.
70248         [X/Open-based standards] (SIG_HOLD): Likewise.
70249         (SIG_IGN): Likewise.
70250         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70251         positive value.
70252         (SIGFPE): Likewise.
70253         (SIGILL): Likewise.
70254         (SIGINT): Likewise.
70255         (SIGSEGV): Likewise.
70256         (SIGTER): Likewise.
70257         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70258         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70259         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70260         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70261         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70262         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70263         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70264         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70265         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70266         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70267         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70268         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70269         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70270         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70271         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70272         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70273         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70274         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70275         [X/Open-based standards] (SIGTRAP): Likewise.
70276         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70277         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70278         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70279         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70280         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70281         allow.
70283 2012-05-08  Ian Wienand  <ianw@vmware.com>
70285         [BZ #14080]
70286         * time/tzset.c (__tzset_parse_tz): Update default rules for
70287         daylight time changes in the Energy Policy Act of 2005.
70289 2012-05-09  Andreas Jaeger  <aj@suse.de>
70291         [BZ #13983]
70292         * elf/ldconfig.c (parse_conf): Change string to make clear that
70293         ldconfig only issued a warning if ld.so.conf does not exist.
70295 2012-05-08  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70298         movxtod instead of popping the value on the stack.
70300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70302 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70304         * config.h.in: Add HAVE_ARM_PCS_VFP.
70306 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70308         [BZ #13979]
70309         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70310         checking but the checks are disabled for any reason.
70312 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70314         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70315         and ELF64_R_TYPE with ELFW(R_TYPE).
70317 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70319         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70320         (ulimit): Likewise.
70322         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70323         (settimeofday): Likewise.
70325 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70327         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70328         a struct th_u2 inside the union, and move tu_block/tu_code into
70329         a new th_u3 union of tu_block/tu_code inside of that.  Move
70330         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70331         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70332         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70333         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70334         (th_stuff): Change to th_u1.tu_stuff.
70335         (th_data): Define.
70336         (th_msg): Change to th_u1.th_u2.tu_data.
70338 2012-05-07  David S. Miller  <davem@davemloft.net>
70340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70342         [BZ #14074]
70343         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70344         (SETUP_PIC_REG): Use it.
70345         (SETUP_PIC_REG_LEAF): Use it.
70347 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70349         [BZ #13885]
70350         [BZ #13923]
70351         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70352         USE_AS_EXPM1L.
70353         (EXPL_FINITE): Likewise.
70354         (FLDLOG): Likewise.
70355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70356         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70357         e_expl.S.
70358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70359         USE_AS_EXPM1L.
70360         (EXPL_FINITE): Likewise.
70361         (FLDLOG): Likewise.
70362         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70363         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70364         e_expl.S.
70365         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70366         test of -max_value argument for long double.
70367         * sysdeps/i386/fpu/libm-test-ulps: Update.
70368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70370 2012-05-06  David S. Miller  <davem@davemloft.net>
70372         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70373         quad soft-float symbols whose references which are compiler
70374         generated.
70375         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70377 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70379         [BZ #13884]
70380         [BZ #13914]
70381         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70382         USE_AS_EXP10L.
70383         (EXPL_FINITE): Likewise.
70384         (FLDLOG): Likewise.
70385         (c0): Likewise.
70386         (c1): Likewise.
70387         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70388         Adjust comments for base varying.
70389         (__expl_finite): Change alias to EXPL_FINITE.
70390         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70391         e_expl.S.
70392         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70393         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70394         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70395         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70396         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70397         USE_AS_EXP10L.
70398         (EXPL_FINITE): Likewise.
70399         (FLDLOG): Likewise.
70400         (c0): Likewise.
70401         (c1): Likewise.
70402         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70403         Adjust comments for base varying.
70404         (__expl_finite): Change alias to EXPL_FINITE.
70405         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70406         tests for bugs.
70407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70409         [BZ #14064]
70410         * math/libm-test.inc (check_float_internal): Correct ulp
70411         calculation for subnormal expected results.
70413 2012-05-06  Andreas Jaeger  <aj@suse.de>
70415         * Makeconfig (+math-flags): New, set to -frounding-math.
70416         (+cflags): Add +math-flags so that all of glibc gets compiled with
70417         it.
70419         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70421 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70423         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70424         Disable one test.
70426         [BZ #13787]
70427         [BZ #13922]
70428         [BZ #14036]
70429         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70430         (__ieee754_expl): Allow for and saturate large arguments.
70431         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70432         (u_threshold): Likewise.
70433         (__exp): Call __ieee754_exp before checking for overflow and
70434         underflow.
70435         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70436         (u_threshold): Likewise.
70437         (__expf): Call __ieee754_expf before checking for overflow and
70438         underflow.
70439         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70440         (u_threshold): Likewise.
70441         (__expl): Call __ieee754_expl before checking for overflow and
70442         underflow.
70443         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70444         (__ieee754_expl): Allow for and saturate large arguments.
70445         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70446         missing overflow exception on overflow.
70447         (expm1_test): Do not allow missing overflow exception on overflow.
70449         * sysdeps/i386/fpu/e_expl.c: Move to ...
70450         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70451         rather than using inline asm.
70452         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70453         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70454         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70456         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70457         (nice): Likewise.
70458         (poll): Likewise.
70459         (signal): Likewise.
70460         (time): Likewise.
70461         (times): Likewise.
70463 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70465         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70466         sysdeps/unix/common/syscalls.list.
70467         (fchmod): Likewise.
70468         (fchown): Likewise.
70469         (ftruncate): Likewise.
70470         (getrusage): Likewise.
70471         (gettimeofday): Likewise.
70472         (setpgid): Likewise.
70473         (setregid): Likewise.
70474         (setreuid): Likewise.
70475         (sigaction): Likewise.
70476         (truncate): Likewise.
70477         (vhangup): Likewise.
70478         * sysdeps/unix/common/syscalls.list: Remove file.
70479         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70480         * sysdeps/unix/sysv/linux/Implies: Likewise.
70482 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70484         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70486         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70487         Moved to ...
70488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70489         Here.
70490         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70491         to ...
70492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70493         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70494         to ...
70495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70496         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70497         to ...
70498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70499         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70500         to ...
70501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70502         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70503         to ...
70504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70505         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70506         to ...
70507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70508         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70509         to ...
70510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70511         Here.
70512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70513         to ...
70514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70515         Here.
70516         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70517         to ...
70518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70519         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70520         Moved to ...
70521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70522         Here.
70523         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70524         to ...
70525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70527 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70529         * sysdeps/unix/common/bits/dirent.h: Remove file.
70530         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70532         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70533         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70534         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70535         * sysdeps/unix/bsd/isatty.c: Likewise.
70536         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70537         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70538         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70540 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70542         [BZ #13563]
70543         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70544         long double comparison inaccuracies.
70545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70548 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70550         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70551         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70555         [BZ #14049]
70556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70557         nonzero digits before rounding a hex value.
70558         * stdlib/tst-strtod.c (tests): Add another test.
70560 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70562         * sysdeps/s390/fpu/libm-test-ulps: Update.
70564 2012-05-03  Andreas Jaeger  <aj@suse.de>
70566         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70567         does not get optimized out.
70568         (malloc_opt_barrier): New.
70570 2012-05-03  Andreas Jaeger  <aj@suse.de>
70571             Roland McGrath  <roland@hack.frob.com>
70573         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70574         intermediate file deletion.
70575         (generated): Add .symlist files.
70577 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70579         [BZ #13775]
70580         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70581         Redirect under this condition.
70582         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70583         [__USE_GNU] (__dprintf_chk): Not under this condition.
70584         [__USE_GNU] (__vdprintf_chk): Likewise.
70585         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70586         under this condition.
70587         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70588         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70589         [__USE_XOPEN2K8] (vdprintf): Likewise.
70590         [__USE_GNU] (__dprintf_chk): Not under this condition.
70591         [__USE_GNU] (__vdprintf_chk): Likewise.
70592         [__USE_GNU] (dprintf): Likewise.
70593         [__USE_GNU] (vdprintf): Likewise.
70595 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70597         * elf/Makefile (common-generated): Set this instead of generated for
70598         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70599         $(all-built-dso)-derived lists.
70601 2012-05-03  Andreas Jaeger  <aj@suse.de>
70603         * sysdeps/i386/fpu/libm-test-ulps: Update.
70605         * FAQ: Removed.
70606         * FAQ.in: Likewise.
70607         * scripts/gen-FAQ.pl: Likewise.
70608         * manual/install.texi (Installation): Point to online location of
70609         FAQ.
70610         * Makefile (files-for-dist): Remove FAQ.
70611         (FAQ): Remove.
70613 2012-05-02  Allan McRae  <allan@archlinux.org>
70615         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70616         (LDFLAGS-reldepmod5.so): Likewise.
70617         (LDFLAGS-reldep6mod1.so): Likewise.
70618         (LDFLAGS-reldep6mod4.so): Likewise.
70619         (LDFLAGS-reldep8mod3.so): Likewise.
70620         (LDFLAGS-unload4mod1.so): Likewise.
70621         (LDFLAGS-unload4mod2.so): Likewise.
70622         (LDFLAGS-tst-initorder): Likewise.
70623         (LDFLAGS-tst-initordera2.so): Likewise.
70624         (LDFLAGS-tst-initordera3.so): Likewise.
70625         (LDFLAGS-tst-initordera4.so): Likewise.
70626         (LDFLAGS-tst-initorderb2.so): Likewise.
70627         (LDFLAGS-noload): Likewise.
70628         (LDFLAGS-next): Likewise.
70629         (LDFLAGS-order2mod1.so): Likewise.
70630         (LDFLAGS-order2mod2.so): Likewise.
70631         (LDFLAGS-tst-initorder2): Likewise.
70632         (LDFLAGS-tst-initorder2a.so): Likewise.
70633         (LDFLAGS-tst-initorder2b.so): Likewise.
70634         (LDFLAGS-tst-initorder2c.so): Likewise.
70635         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70637 2012-05-02  David S. Miller  <davem@davemloft.net>
70639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70641 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70643         [BZ #14055]
70644         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70646 2012-05-02  Andreas Jaeger  <aj@suse.de>
70648         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70649         since we manipulate rounding mode.
70650         (CPPFLAGS-test-idouble.c): Likewise.
70651         (CPPFLAGS-test-ifloat.c): Likewise.
70652         (CFLAGS-test-ldouble.c): Likewise.
70653         (CFLAGS-test-double.c): Likewise.
70654         (CFLAGS-test-float.c): Likewise.
70655         (CFLAGS-test-misc.c): Likewise.
70656         (CFLAGS-test-test-fenv.c): Likewise.
70658 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70660         [BZ #2550]
70661         [BZ #2570]
70662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70663         comparisons to determine direction to adjust input.
70665 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70667         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70668         output to the target.
70670         * scripts/localplt.awk: New file.
70671         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70672         (check-localplt-CFLAGS): Variable removed.
70673         ($(all-built-dso:=.jmprel)): New static pattern rule.
70674         (generated): Add those targets.
70675         (localplt-built-dso): New variable.
70676         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70678         * elf/check-localplt.c: File removed.
70680         * scripts/check-execstack.awk: New file.
70681         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70682         (check-execstack-CFLAGS): Variable removed.
70683         ($(objpfx)check-execstack.h): Target removed.
70684         ($(objpfx)execstack-default): New target.
70685         (generated): Add that instead of check-execstack.h.
70686         ($(all-built-dso:=.phdr)): New static pattern rule.
70687         (generated): Add those targets.
70688         * elf/check-execstack.c: File removed.
70690         * scripts/check-textrel.awk: New file.
70691         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70692         (check-textrel-CFLAGS): Variable removed.
70693         (all-built-dso): Use := to define.o
70694         ($(all-built-dso:=.dyn)): New static pattern rule.
70695         (generated): Add those targets.
70696         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70697         * config.make.in (READELF): New substituted variable.
70698         * elf/check-textrel.c: File removed.
70700 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70702         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70703         allow.
70704         * conform/data/ctype.h-data [C99-based standards] (isblank):
70705         Expect function.
70706         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70707         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70709         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70710         Specify type.  Require positive value.
70711         (EILSEQ): Likewise.
70712         (ERANGE): Likewise.
70713         [ISO || POSIX] (EILSEQ): Do not expect.
70714         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70715         Specify type.  Require positive value.
70716         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70717         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70718         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70719         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70720         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70721         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70722         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70723         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70724         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70725         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70726         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70727         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70728         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70729         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70730         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70731         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70732         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70733         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70734         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70735         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70736         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70737         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70738         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70739         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70740         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70741         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70742         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70743         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70744         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70745         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70746         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70747         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70748         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70749         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70750         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70751         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70752         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70754         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70755         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70756         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70757         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70758         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70759         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70760         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70761         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70762         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70763         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70764         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70765         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70766         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70767         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70768         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70769         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70770         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70771         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70772         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70773         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70774         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70775         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70776         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70777         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70778         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70779         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70780         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70781         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70782         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70783         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70784         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70785         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70786         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70787         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70788         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70789         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70790         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70791         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70792         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70793         Require >= 2.
70794         (FLT_ROUNDS): Expect as macro, not constant.
70795         (FLT_MANT_DIG): Use macro-int-constant.
70796         (DBL_MANT_DIG): Likewise.
70797         (LDBL_MANT_DIG): Likewise.
70798         (FLT_DIG): Likewise.
70799         (DBL_DIG): Likewise.
70800         (LDBL_DIG): Likewise.
70801         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70802         (DBL_MIN_EXP): Likewise.
70803         (LDBL_MIN_EXP): Likewise.
70804         (FLT_MAX_EXP): Use macro-int-constant.
70805         (DBL_MAX_EXP): Likewise.
70806         (LDBL_MAX_EXP): Likewise.
70807         (FLT_MAX_10_EXP): Likewise.
70808         (DBL_MAX_10_EXP): Likewise.
70809         (LDBL_MAX_10_EXP): Likewise.
70810         (FLT_MAX): Use macro-constant.
70811         (DBL_MAX): Likewise.
70812         (LDBL_MAX): Likewise.
70813         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70814         (DBL_EPSILON): Likewise.
70815         (LDBL_EPSILON): Likewise.
70816         (FLT_MIN): Likewise.
70817         (DBL_MIN): Likewise.
70818         (LDBL_MIN): Likewise.
70819         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70820         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70821         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70822         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70823         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70824         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70825         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70826         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70827         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70828         [ISO11] (FLT_TRUE_MIN): Likewise.
70829         [ISO11] (LDBL_TRUE_MIN): Likewise.
70830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70831         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70832         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70833         (SCHAR_MAX): Likewise.
70834         (UCHAR_MAX): Likewise.
70835         (CHAR_MIN): Likewise.
70836         (CHAR_MAX): Likewise.
70837         (MB_LEN_MAX): Use macro-int-constant.
70838         (SHRT_MIN): Use macro-int-constant.  Specify type.
70839         (SHRT_MAX): Likewise.
70840         (USHRT_MAX): Likewise.
70841         (INT_MAX): Likewise.
70842         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70843         bound negative.
70844         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70845         bound with "U".
70846         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70847         bound with "L".
70848         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70849         bound negative.  Suffix upper bound with "L".
70850         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70851         bound with "UL".
70852         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70853         Specify type.
70854         [C99-based standards] (LLONG_MAX): Likewise.
70855         [C99-based standards] (ULLONG_MAX): Likewise.
70856         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70857         == 0.
70858         [ISO11] (max_align_t): Require type.
70859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70861         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70862         from $CFLAGS, without defining away __attribute__ calls.
70863         (checknamespace): Use $CFLAGS_namespace.
70865         * conform/conformtest.pl (@keywords): Only include C99 keywords
70866         for standards based on C99 or C11.
70868         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70869         Disable tests.
70870         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70871         UNIX98]: Likewise.
70873         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70874         usability of symbols in #if.
70876         * conform/conformtest.pl: If macro or constant types start
70877         "promoted:", expect the symbol to be of the following type
70878         promoted by the integer promotions.
70880         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70881         in one place.  Also handle "macro-constant".
70883         * conform/conformtest.pl: Only accept expected macro values with
70884         "==".  Parse all "macro" lines in one place.
70885         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70887         * conform/conformtest.pl: Handle braced types on "constant" lines
70888         instead of handling "typed-constant".
70889         * conform/data/signal.h-data: Use "constant" instead of
70890         "typed-constant".
70892         * conform/conformtest.pl: Handle "optional-" at start of lines in
70893         one place rather than duplicating several cases.  Handle each
70894         format of "macro" line with initial "optional-".
70896         * conform/conformtest.pl: Only accept expected constant or
70897         optional-constant values with "==".  Parse all "constant" lines in
70898         one place.  Parse all "optional-constant" lines in one place.
70899         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70900         * conform/data/fmtmsg.h-data: Likewise.
70901         * conform/data/netinet/in.h-data: Likewise.
70902         * conform/data/tar.h-data: Likewise.
70903         * conform/data/limits.h-data: Use "==" form on "constant" and
70904         "optional-constant" lines.
70906         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70907         Use -std=c99 for XOPEN2K.
70908         (@knownproblems): Remove.
70909         (newtoken): Don't check %isknown.
70911         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70912         Do not expect macro.
70913         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70919         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70920         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70923         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70924         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70925         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70926         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70927         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70930         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70931         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70932         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70943         [XPG3] (acosh): Likewise.
70944         [XPG3] (asinh): Likewise.
70945         [XPG3] (atanh): Likewise.
70946         [XPG3] (cbrt): Likewise.
70947         [XPG3] (expm1): Likewise.
70948         [XPG3] (ilogb): Likewise.
70949         [XPG3] (log1p): Likewise.
70950         [XPG3] (logb): Likewise.
70951         [XPG3] (nextafter): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70954         [XPG3] (remainder): Likewise.
70955         [XPG3] (rint): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70963         [UNIX98 || XOPEN2K] (scalb): Expect.
70964         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70965         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70985         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70986         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70987         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70988         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70989         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70990         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70991         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70992         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70993         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70996         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70997         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71005         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71006         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71007         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71008         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71009         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71010         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71011         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71012         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71013         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71014         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71015         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71016         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71017         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71018         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71019         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71020         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71021         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71022         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71023         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71024         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71025         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71026         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71027         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71028         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71029         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71030         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71031         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71032         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71033         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71034         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71035         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71036         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71037         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71038         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71039         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71040         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71041         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71042         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71043         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71044         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71045         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71046         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71047         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71048         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71049         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71050         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71051         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71052         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71053         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71054         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71055         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71056         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71057         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71058         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71059         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71060         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71061         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71062         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71063         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71064         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71065         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71066         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71067         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71068         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71069         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71070         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71071         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71072         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71073         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71074         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71075         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71076         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71077         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71078         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71079         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71080         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71081         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71082         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71083         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71084         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71085         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71086         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71087         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71088         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71089         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71090         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71091         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71092         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71093         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71094         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71095         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71096         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71097         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71098         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71099         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71100         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71102         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71103         _XOPEN_SOURCE_EXTENDED for XPG4.
71105         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71107         * Makeconfig (localtime): Remove variable.
71108         (inst_localtime-file): Likewise.
71110 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71113         Update.
71114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71115         Update.
71116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71117         Update.
71118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71119         Update.
71120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71121         Update.
71122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71123         Update.
71124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71125         Update.
71126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71127         Update.
71128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71129         Update.
71131 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71133         [BZ #2550]
71134         [BZ #2570]
71135         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71136         comparisons to determine direction to adjust input.
71137         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71138         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71139         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71140         Likewise.
71141         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71142         Likewise.
71143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71144         Likewise.
71145         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71146         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71147         Likewise.
71148         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71149         Likewise.
71150         * math/libm-test.inc (nexttoward_test): Add more tests.
71152 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71154         [BZ #14040]
71155         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71156         in version GLIBC_2.1, not GLIBC_2.0.
71157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71158         Likewise.
71160 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71162         [BZ #13942]
71163         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71164         (1 - x) * (1 + x).
71165         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71166         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71167         * math/libm-test.inc (acos_test): Add more tests.
71168         (asin_test): Likewise.
71169         * sysdeps/i386/fpu/libm-test-ulps: Update.
71170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71172         [BZ #14034]
71173         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71174         of square root.
71175         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71176         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71177         * math/libm-test.inc (acos_test_tonearest): New function.
71178         (acos_test_towardzero): Likewise.
71179         (acos_test_downward): Likewise.
71180         (acos_test_upward): Likewise.
71181         (asin_test_tonearest): Likewise.
71182         (asin_test_towardzero): Likewise.
71183         (asin_test_downward): Likewise.
71184         (asin_test_upward): Likewise.
71185         (main): Call the new functions.
71186         * sysdeps/i386/fpu/libm-test-ulps: Update.
71187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71189         [BZ #13884]
71190         [BZ #13924]
71191         * math/e_exp10.c: Include <float.h>.
71192         (__ieee754_exp10): Handle underflow here rather than multiplying
71193         large negative argument by M_LN10.
71194         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71195         of __ieee754_expf.
71196         * math/e_exp10l.c: Include <float.h>.
71197         (__ieee754_exp10l): Handle underflow here rather than multiplying
71198         large negative argument by M_LN10l.
71199         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71200         spurious overflow exception on underflow.
71202 2012-04-29  Marek Polacek  <polacek@redhat.com>
71204         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71205         (__fortify_function): New macro.
71206         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71207         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71208         __extern_always_inline.
71209         * libio/bits/stdio2.h: Likewise.
71210         * libio/bits/stdio.h: Likewise.
71211         * string/string.h: Likewise.
71212         * string/bits/string3.h: Likewise.
71213         * include/stdio.h: Likewise.
71214         * stdlib/bits/stdlib.h: Likewise.
71215         * stdlib/stdlib.h: Likewise.
71216         * rt/bits/mqueue2.h: Likewise.
71217         * rt/mqueue.h: Likewise.
71218         * posix/bits/unistd.h: Likewise.
71219         * posix/unistd.h: Likewise.
71220         * io/bits/poll2.h: Likewise.
71221         * io/bits/fcntl2.h: Likewise.
71222         * io/fcntl.h: Likewise.
71223         * io/sys/poll.h: Likewise.
71224         * misc/bits/syslog.h: Likewise.
71225         * misc/bits/syslog-ldbl.h: Likewise.
71226         * misc/sys/syslog.h: Likewise.
71227         * socket/bits/socket2.h: Likewise.
71228         * socket/sys/socket.h: Likewise.
71229         * debug/tst-chk1.c: Likewise.
71230         * wcsmbs/bits/wchar2.h: Likewise.
71231         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71232         * wcsmbs/wchar.h: Likewise.
71234 2012-04-29  Andreas Jaeger  <aj@suse.de>
71236         * Makerules (tests): Remove enable-check-abi protection.
71237         (check-abi-warn): Remove.
71238         (check-abi-%): Remove check-abi-warn usage.
71240         * configure.in: Remove check-abi configure option.
71241         * configure: Regenerated.
71242         * config.make.in (enable-check-abi): Remove.
71244 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71246         [BZ #14033]
71247         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71248         double functions to double *_finite functions.
71250         [BZ #13941]
71251         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71252         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71253         LDBL_MIN_EXP.
71254         * stdio-common/Makefile (tests): Add tst-sprintf3.
71255         * stdio-common/tst-sprintf3.c: New file.
71257         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71258         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71260 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71262         * conform/conformtest.pl: Remove duplicate typed-constant
71263         handling.
71265 2012-04-28  David S. Miller  <davem@davemloft.net>
71267         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71268         (check-abi-%): Remove AWK script prerequisite and explicit
71269         abilist directory.
71270         (check-abi): Rewrite to just diff the symlist with the abilist.
71271         (config-tls, config-abi-config): Delete, no longer used.
71272         (update-abi-%): Remove AWK script and explicit abilist directory.
71273         (update-abi): Rewrite to simply compare and conditionally copy the
71274         symlist and the sysdep abilist file.  Remove update-abi-config
71275         checks.
71276         * abilist/ld.abilist: Remove.
71277         * abilist/libBrokenLocale.abilist: Remove.
71278         * abilist/libanl.abilist: Remove.
71279         * abilist/libcrypt.abilist: Remove.
71280         * abilist/libdl.abilist: Remove.
71281         * abilist/librt.abilist: Remove.
71282         * abilist/libthread_db.abilist: Remove.
71283         * abilist/libutil.abilist: Remove.
71284         * scripts/extract-abilist.awk: Remove.
71285         * scripts/merge-abilist.awk: Remove.
71286         * sysdeps/generic/libcidn.abilist: New file.
71287         * sysdeps/generic/libnss_compat.abilist: New file.
71288         * sysdeps/generic/libnss_db.abilist: New file.
71289         * sysdeps/generic/libnss_dns.abilist: New file.
71290         * sysdeps/generic/libnss_files.abilist: New file.
71291         * sysdeps/generic/libnss_hesiod.abilist: New file.
71292         * sysdeps/generic/libnss_nis.abilist: New file.
71293         * sysdeps/generic/libnss_nisplus.abilist: New file.
71294         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71295         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71296         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71297         file.
71298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71299         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71300         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71301         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71302         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71303         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71304         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71305         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71306         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71307         file.
71308         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71309         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71310         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71311         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71312         file.
71313         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71314         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71315         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71316         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71317         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71318         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71319         file.
71320         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71321         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71322         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71323         file.
71324         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71326         New file.
71327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71328         New file.
71329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71330         New file.
71331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71332         New file.
71333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71334         New file.
71335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71336         New file.
71337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71338         New file.
71339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71340         New file.
71341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71342         New file.
71343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71344         New file.
71345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71346         New file.
71347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71348         New file.
71349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71350         New file.
71351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71352         file.
71353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71354         New file.
71355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71356         New file.
71357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71358         file.
71359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71360         New file.
71361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71362         New file.
71363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71364         file.
71365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71366         New file.
71367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71368         New file.
71369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71370         New file.
71371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71372         New file.
71373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71374         New file.
71375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71376         New file.
71377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71379         file.
71380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71381         New file.
71382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71383         file.
71384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71385         file.
71386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71387         file.
71388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71389         file.
71390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71391         file.
71392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71393         New file.
71394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71395         file.
71396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71397         file.
71398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71399         New file.
71400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71401         file.
71402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71404         file.
71405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71406         New file.
71407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71408         file.
71409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71410         file.
71411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71412         file.
71413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71414         file.
71415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71416         file.
71417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71418         New file.
71419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71420         file.
71421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71422         file.
71423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71424         New file.
71425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71426         file.
71427         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71428         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71429         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71430         file.
71431         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71432         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71433         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71434         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71435         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71436         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71437         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71439         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71440         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71443         file.
71444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71445         New file.
71446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71447         file.
71448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71449         file.
71450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71451         file.
71452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71453         file.
71454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71455         file.
71456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71457         New file.
71458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71459         New file.
71460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71461         file.
71462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71463         New file.
71464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71465         file.
71466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71468         file.
71469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71470         New file.
71471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71472         file.
71473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71474         file.
71475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71476         file.
71477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71478         file.
71479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71480         file.
71481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71482         New file.
71483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71484         New file.
71485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71486         file.
71487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71488         New file.
71489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71490         file.
71492 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71494         * conform/conformtest.pl: Fix typo in handling typed-constant from
71495         allow-header.
71497 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71499         * README: Cut down references to pre-2.6 Linux kernels and
71500         Linuxthreads.  Update lists of configurations in libc and ports
71501         and sort alphabetically.  Say "or newer" with Linux kernel version
71502         requirements.
71504         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71506 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71508         [BZ #887]
71509         * math/libm-test.inc (logb_test_downward): New test to expose
71510         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71511         rounding mode.
71513 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71515         [BZ #14027]
71516         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71517         to be done.
71518         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71519         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71521 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71523         * sysdeps/unix/i386/brk.S: Remove file.
71524         * sysdeps/unix/i386/dl-brk.S: Likewise.
71525         * sysdeps/unix/i386/pipe.S: Likewise.
71526         * sysdeps/unix/i386/sigreturn.S: Likewise.
71527         * sysdeps/unix/i386/syscall.S: Likewise.
71528         * sysdeps/unix/i386/vfork.S: Likewise.
71529         * sysdeps/unix/i386/wait.S: Likewise.
71531         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71532         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71534         * configure.in (arm*-none*): Do not allow without
71535         --enable-hacker-mode.
71536         (netbsd*): Remove case setting base_os.
71537         (386bsd*): Likewise.
71538         (freebsd*): Likewise.
71539         (bsdi*): Likewise.
71540         (osf*): Likewise.
71541         (sunos*): Likewise.
71542         (ultrix*): Likewise.
71543         (newsos*): Likewise.
71544         (dynix*): Likewise.
71545         (*bsd*): Likewise.
71546         (sysv*): Likewise.
71547         (isc*): Likewise.
71548         (esix*): Likewise.
71549         (sco*): Likewise.
71550         (minix*): Likewise.
71551         (irix4*): Likewise.
71552         (irix6*): Likewise.
71553         (solaris[2-9]*): Likewise.
71554         (none): Likewise.
71555         * configure: Regenerated.
71557 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71559         [BZ #11521]
71560         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71561         overflow or cancellation in calculating denominator.
71562         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71563         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71564         down expression to avoid unexpected rounding in newer GCCs.
71565         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71567 2012-04-26  David S. Miller  <davem@davemloft.net>
71569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71570         long-double compat symbols.
71571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71585 2012-04-25  David S. Miller  <davem@davemloft.net>
71587         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71588         HWCAP_* values only after the memory barriers have been defined.
71589         (atomic_full_barrier): Define.
71590         (atomic_read_barrier): Define.
71591         (atomic_write_barrier): Define.
71593 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71595         * shlib-versions: Add libgcc_s version information.
71596         * sysdeps/generic/libgcc_s.h: Remove.
71597         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71598         libgcc_s.h.
71599         * sysdeps/gnu/unwind-resume.c: Likewise.
71600         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71602 2012-04-25  David S. Miller  <davem@davemloft.net>
71604         * sysdeps/unix/sparc/brk.S: Delete.
71605         * sysdeps/unix/sparc/dl-brk.S: Delete.
71606         * sysdeps/unix/sparc/pipe.S: Delete.
71607         * sysdeps/unix/sparc/sysdep.S: Delete.
71608         * sysdeps/unix/sparc/sysdep.h: Delete.
71609         * sysdeps/unix/sparc/vfork.S: Delete.
71610         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71611         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71612         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71613         (ret_ERRVAL, r0, r1, MOVE): Define.
71614         (JUMPTARGET): Remove.
71615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71616         sysdeps/unix/sparc/sysdep.h
71617         (ENTRY, END): Remove.
71618         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71620 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71622         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71623         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71624         -DIS_IN_build.
71626         * timezone/README: Update upstream location and email address for
71627         tzcode and tzdata.
71628         * timezone/zdump.c: Update from tzcode 2012b.
71629         * timezone/zic.c: Likewise.
71631         * configure.in (libc_cv_as_needed): Remove test.
71632         * configure: Regenerated.
71633         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71634         conditional definition.
71635         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71636         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71637         * config.make.in (have-as-needed): Remove variable.
71639 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71640             Paul Pluzhnikov  <ppluzhnikov@google.com>
71642         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71643         strings correctly.
71645 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71647         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71648         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71649         * sysdeps/sh/strlen.S: Likewise.
71651 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71653         * sysdeps/unix/fork.S: Remove file.
71654         * sysdeps/unix/i386/fork.S: Likewise.
71655         * sysdeps/unix/sparc/fork.S: Likewise.
71657         * sysdeps/unix/system.c: Remove file.
71658         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71660         * sysdeps/unix/getegid.S: Remove file.
71661         * sysdeps/unix/geteuid.S: Likewise.
71663 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71665         * scripts/check-localplt.awk: New file.
71666         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71667         of diff.
71668         * scripts/data/localplt-generic.data: Add a comment.
71670         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71671         NODE when __dir_mkfile failed.
71672         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71673         Reported by Ludovic Courtès <ludo@gnu.org>.
71675 2012-04-24  Andreas Jaeger  <aj@suse.de>
71677         * Makerules (common-clean): Also remove gen-as-const-headers
71678         files.
71680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71682         * Makerules (native-compile): Do not change working directory for
71683         build.  Use $(OUTPUT_OPTION) in command.
71684         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71686 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71688         [BZ #13886]
71689         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71690         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71691         * math/libm-test.inc (floor_test): Add more tests.
71692         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71696         * sysdeps/unix/getdents.c: Remove file.
71697         * sysdeps/unix/sysv/getdents.c: Likewise.
71698         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71700         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71701         sysdeps/unix/mman/syscalls.list.
71702         (mmap): Likewise.
71703         (mprotect): Likewise.
71704         (msync): Likewise.
71705         (munmap): Likewise.
71706         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71707         * sysdeps/unix/mman/syscalls.list: Remove.
71708         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71710         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71711         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71712         * configure: Regenerated.
71713         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71714         $(libgcc_s_suffix).
71715         * config.make.in (libgcc_s_suffix): Remove variable.
71717 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71719         * sysdeps/unix/sysv/gethostname.c: Move to ...
71720         * sysdeps/posix/gethostname.c: ... here.
71722         * sysdeps/unix/execve.S: Remove file.
71724         * sysdeps/unix/_exit.S: Remove file.
71726 2012-04-23  Andreas Jaeger  <aj@suse.de>
71728         [BZ #13739]
71729         * manual/Makefile: Remove make dist support, there's no
71730         need for a stand-alone documentation tar ball.
71731         (TEXI2DVI): Define always, it's not in Makeconfig.
71732         (dist): Removed.
71733         (tar-it): Removed.
71734         (edition): Removed.
71735         (glibc-doc-$(edition).tar): Removed
71736         (%.Z): Removed.
71737         (%.gz): Removed.
71738         (%.uu): Removed.
71739         (ETAGS): Remove, it's in Makeconfig.
71740         (move-if-change): Remove, it's in Makeconfig.
71742 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71744         [BZ #13970]
71745         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71746         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71747         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71748         (strtod_l, strtof_l, strtold_l): Remove __wur.
71749         It is not necessarily an error to ignore strtol's return value.
71750         One can reliably look at the stored endptr to decide whether
71751         the number had valid syntax.
71753 2012-04-21  Andreas Jaeger  <aj@suse.de>
71755         [BZ #13739]
71756         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71758 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71760         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71761         * sysdeps/unix/sysv/Versions: Remove file.
71763 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71765         [BZ #13927]
71766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71768 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71770         [BZ #7064]
71771         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71772         version from __vm86.
71774 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71776         * sysdeps/unix/common/lxstat.c: Remove file.
71777         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71779         * sysdeps/unix/sysv/Makefile: Remove file.
71781         * sysdeps/unix/sysv/direct.h: Remove file.
71783         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71784         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71785         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71786         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71787         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71788         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71789         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71791         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71793         * sysdeps/unix/xmknod.c: Remove file.
71794         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71796         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71798         * sysdeps/unix/sysv/i386/time.S: Remove file.
71800         * sysdeps/unix/fxstat.c: Remove file.
71801         * sysdeps/unix/xstat.c: Likewise.
71802         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71804         * sysdeps/unix/sysv/sigaction.c: Remove file.
71806         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71807         (sysdep_headers): Remove variable.
71808         [termio.h not in sysdep_headers] (generated): Likewise.
71809         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71810         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71811         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71812         * sysdeps/unix/sysv/tcflow.c: Likewise.
71813         * sysdeps/unix/sysv/tcflush.c: Likewise.
71814         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71815         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71816         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71817         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71818         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71820         * sysdeps/unix/siglist.c: Remove file.
71822         * sysdeps/unix/getppid.S: Remove file.
71824         * sysdeps/unix/mkdir.c: Remove file.
71825         * sysdeps/unix/rmdir.c: Likewise.
71827 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71829         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71830         ERR_MAX value.
71831         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71832         errlist-compat value.
71834 2012-04-18  David S. Miller  <davem@davemloft.net>
71836         * sysdeps/generic/memcopy.h (reg_char): Delete.
71837         * debug/strcat_chk.c: Use char, not reg_char.
71838         * debug/strcpy_chk.c: Likewise.
71839         * debug/strncat_chk.c: Likewise.
71840         * debug/strncpy_chk.c: Likewise.
71841         * string/memchr.c: Likewise.
71842         * string/memrchr.c: Likewise.
71843         * string/rawmemchr.c: Likewise.
71844         * string/strcat.c: Likewise.
71845         * string/strchr.c: Likewise.
71846         * string/strchrnul.c: Likewise.
71847         * string/strcmp.c: Likewise.
71848         * string/strcpy.c: Likewise.
71849         * string/strncat.c: Likewise.
71850         * string/strncmp.c: Likewise.
71851         * string/strncpy.c: Likewise.
71853 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71855         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71856         __builtin_memcopy is called when src and dest ranges are known to not
71857         overlap.
71859 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71861         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71862         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71863         fwd_align_merge macro call.
71864         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71865         bwd_align_merge macro call.
71866         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71870         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71871         bwd_align_merge macros.
71872         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71873         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71874         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71876 2012-04-18  David S. Miller  <davem@davemloft.net>
71878         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71880 2012-04-18  Andreas Jaeger  <aj@suse.de>
71882         [BZ# 6794]
71883         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71884         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71885         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71888         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71889         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71891         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71892         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71893         Adjust for changed ldbl-128 files.
71895         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71896         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71897         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71899 2012-04-17  David S. Miller  <davem@davemloft.net>
71901         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71903 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71905         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71906         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71907         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71908         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71909         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71910         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71912 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71914         [BZ #6794]
71915         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71916         * math/libm-test.inc: Add ilogb errno and exception tests.
71917         * math/w_ilogb.c: New file: ilogb wrapper.
71918         * math/w_ilogbf.c: New file: ilogbf wrapper.
71919         * math/w_ilogbl.c: New file: ilogbl wrapper.
71920         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71921         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71922         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71923         exception being thrown with 0.0 as argument.
71924         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71925         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71926         exception being thrown with 0.0 as argument.
71927         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71928         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71929         exception being thrown with 0.0 as argument.
71930         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71931         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71932         exception being thrown with 0.0 as argument.
71933         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71934         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71935         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71936         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71938         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71939         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71940         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71941         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71943 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71945         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71946         with altivec.
71948 2012-04-16  Marek Polacek  <polacek@redhat.com>
71950         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71952 2012-04-16  Marek Polacek  <polacek@redhat.com>
71954         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71955         operands of fdivp instruction.
71957 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71959         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71960         * elf/tst-auditmod3b.c: Likewise.
71961         * elf/tst-auditmod4b.c: Likewise.
71962         * elf/tst-auditmod5b.c: Likewise.
71963         * elf/tst-auditmod6b.c: Likewise.
71964         * elf/tst-auditmod6c.c: Likewise.
71965         * elf/tst-auditmod7b.c: Likewise.
71966         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71967         * sysdeps/x86_64/preconfigure.in: Likewise.
71968         * sysdeps/x86_64/preconfigure: Regenerated.
71970 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71972         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71973         __ILP32__.
71975 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71978         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71980 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71982         [BZ #13973]
71983         * locale/iso-639.def: Fix gl language name. Spotted by
71984         Yaron Shahrabani.
71986 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71988         [BZ #2074]
71989         * libio/libio.h (__io_write_fn): Update comment.
71991 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71993         [BZ #2074]
71994         * stdio.texi (Hook Functions): The user provided writer function
71995         is not allowed to return -1.
71997 2012-04-11  David S. Miller  <davem@davemloft.net>
71999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72001 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72003         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72004         Add a leading slash to rtkaio.
72006 2012-04-11  Jim Meyering  <meyering@redhat.com>
72008         [BZ #11959]
72009         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72010         It is not necessarily an error to ignore fwrite's return
72011         value.  One can reliably use ferror to test for errors after
72012         the fact.
72014 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72016         * bits/types.h (__snseconds_t): New type.
72017         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72019         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72021         (__SNSECONDS_T_TYPE): Likewise.
72022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72023         (__SNSECONDS_T_TYPE): Likewise.
72024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72025         (__SNSECONDS_T_TYPE): Likewise.
72027 2012-04-10  Andreas Jaeger  <aj@suse.de>
72029         [BZ #2636]
72030         * manual/time.texi (Processor Time): Return type of times is
72031         elapsed real time since an arbitrary point in the past.
72032         (CPU Time): Move CLK_TCK from here...
72033         (Processor Time): ...to here.  Correct description.
72034         * manual/conf.texi (Constants for Sysconf): Correct description of
72035         _SC_CLK_TCK.
72037 2012-04-10  David S. Miller  <davem@davemloft.net>
72039         [BZ #13967]
72040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72041         where the is a gap between DT_REL(A) and DT_JMPREL.
72043 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72045         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72046         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72047         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72049 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72051         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72052         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72053         (dl_main): Handle --inhibit-cache.
72054         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72055         _dl_inhibit_cache.
72056         * elf/dl-load.c (_dl_map_object): Use it.
72057         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72059 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72061         [BZ #13872]
72062         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72063         (__ieee754_powl): Saturate large exponents rather than testing for
72064         overflow of y*log2(x).
72065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72066         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72067         exceptions.
72069         [BZ #11521]
72070         * math/s_ctan.c: Include <float.h>.
72071         (__ctan): Avoid internal overflow or cancellation in calculating
72072         denominator.
72073         * math/s_ctanf.c: Likewise.
72074         * math/s_ctanl.c: Likewise.
72075         * math/s_ctanh.c: Likewise.
72076         * math/s_ctanhf.c: Likewise.
72077         * math/s_ctanhl.c: Likewise.
72078         * math/libm-test.inc (ctan_test): Add more tests.
72079         (ctanh_test): Likewise.
72080         * sysdeps/i386/fpu/libm-test-ulps: Update.
72081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72083 2012-04-09  Andreas Jaeger  <aj@suse.de>
72085         [BZ #6894]
72086         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72087         is an optional BSD extension.
72089         [BZ #10254]
72090         * manual/stdio.texi (Opening Streams): Document additional fopen
72091         parameters.
72093 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72095         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72096         %eax without telling the compiler.
72098 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72100         [BZ # 13963]
72101         * manual/install.texi: Use sourceware.org.
72103 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72105         [BZ #13873]
72106         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72107         (__ieee754_pow): Generate overflow and underflow using huge*huge
72108         and tiny*tiny rather than just returning constant infinity or zero
72109         for large exponents.
72110         * math/libm-test.inc (pow_test): Require overflow exceptions for
72111         applicable cases of large exponents.
72113         [BZ #706]
72114         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72115         (__ieee754_pow): Use iterative multiplication algorithm only for
72116         integer exponents with absolute value below 1024.  Check for odd
72117         integer exponents when using algorithm for real exponents.
72118         * math/libm-test.inc (pow_test): Add more tests.
72119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72121 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72123         [BZ #13705]
72124         * math/libm-test.inc (exp_test): Do not allow overflow exception
72125         on underflow test.
72127 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72129         [BZ #13705]
72130         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72131         instead of __kernel_standard_f.
72133 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72135         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72136         * sysdeps/x86_64/memset_chk.S: Likewise.
72138 2012-04-08  Andreas Jaeger  <aj@suse.de>
72140         [BZ #10153]
72141         * manual/startup.texi (Environment Access): Describe return value
72142         for putenv and setenv.
72144         [BZ #6895]
72145         * manual/filesys.texi (Directory Entries): Add description for
72146         DT_LNK.
72148         [BZ #6890]
72149         * manual/filesys.texi (Directory Entries): Clarify that it's file
72150         system not operating system in the description of DT_UNKNOWN.
72152         [BZ #6578]
72153         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72155 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72157         [BZ #6649]
72158         * manual/llio.texi (Opening and Closing Files): Add cross
72159         reference to explain mode argument.
72161 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72163         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72164         * sysdeps/x86_64/memset_chk.S: Likewise.
72166 2012-04-07  David S. Miller  <davem@davemloft.net>
72168         * elf/elf.h (R_SPARC_WDISP10): Define.
72169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72170         R_SPARC_SIZE32.
72171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72172         R_SPARC_SIZE64 and R_SPARC_H34.
72174 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72176         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72177         conditions and remove no longer applicable assertion.
72179 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72181         * bits/byteswap.h: Include <features.h>.
72182         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72183         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72185 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72187         * bits/byteswap.h (__bswap_16): Removed.
72188         Include <bits/byteswap-16.h> to get __bswap_16.
72189         * sysdeps/i386/bits/byteswap.h: Likewise.
72190         * sysdeps/s390/bits/byteswap.h: Likewise.
72191         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72192         * bits/byteswap-16.h: New file.
72193         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72194         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72195         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72196         * string/Makefile (headers): Add bits/byteswap-16.h.
72198 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72200         [BZ #13895]
72201         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72202         extra indirection.
72203         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72204         * nss/tst-nss-static.c: New.
72206 2012-04-06  Robert Millan  <rmh@gnu.org>
72208         [BZ #6486]
72209         * manual/llio.texi (File Position Primitive): lseek
72210         refers to WHENCE when it really means OFFSET.
72212 2012-04-06  Andreas Jaeger  <aj@suse.de>
72214         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72215         strncmp declarations.
72217         * abilist/libc.abilist: Add __poll and __ppoll.
72219 2012-04-05  David S. Miller  <davem@davemloft.net>
72221         * scripts/check-local-headers.sh: Accept a host triplet in the
72222         path matched by the exclude regexp.
72224         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72225         definition.
72226         * sysdeps/powerpc/powerpc32/dl-machine.h
72227         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72228         * sysdeps/s390/s390-32/dl-machine.h
72229         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72230         * sysdeps/sparc/sparc32/dl-machine.h
72231         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72232         * sysdeps/sparc/sparc64/dl-machine.h
72233         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72235         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72236         lazy binding.
72237         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72238         undefined symbol errors.
72240         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72241         DT_NEEDED entries.
72243 2012-04-05  Michael Matz  <matz@suse.de>
72245         [BZ #13592]
72246         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72248 2012-04-05  Andreas Jaeger  <aj@suse.de>
72250         [BZ #13908]
72251         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72252         comment.
72254 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72256         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72257         which ROUND is no valid rounding mode.
72259 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72262         read again.
72263         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72265 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72268         an exception using FPU order intentionally.
72270 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72272         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72273         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72274         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72275         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72277 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72279         [BZ #12340]
72280         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72281         EINVAL when BUFLEN is too smal.
72283 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72285         [BZ #13553]
72286         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72287         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72289 2012-04-03  Andreas Jaeger  <aj@suse.de>
72291         [BZ #13938]
72292         * manual/setjmp.texi (System V contexts): Fix sentence.
72294         [BZ #13926]
72295         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72296         New macro for this case.
72297         [!__GNUC__] (__bswap_64): New inline function for this case.
72298         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72299         * bits/byteswap.h: Likewise.
72300         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72301         ull, guard with __GLIBC_HAVE_LONG_LONG.
72303         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72304         __GLIBC_HAVE_LONG_LONG.
72306         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72307         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72309 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72311         [BZ #13691]
72312         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72313         inptr and inend, rather than using last_ch.
72315 2012-04-02  David S. Miller  <davem@davemloft.net>
72317         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72318         * stdio-common/printf-parse.h (read_int): Change return type to
72319         'int', return -1 on INT_MAX overflow.
72320         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72321         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72322         overflows INT_MAX.  Check for overflow of in-format-string precision
72323         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72324         SIZE_MAX not INT_MAX for integer overflow test.
72325         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72326         skip the construct in the format string but do not record anything.
72327         * stdio-common/bug22.c: Adjust to test both width/prevision
72328         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72329         explicitly for proper errno values.
72331 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72333         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72334         CHAR_MAX.
72335         * string/test-strcmp.c [! WIDE]: Likewise.
72336         * time/tst-mktime2.c: Likewise for INT_MAX.
72337         * string/test-string.h: #include <sys/param.h> for MIN.
72339         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72340         * sysdeps/i386/init-first.c (init): Likewise.
72341         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72342         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72343         * sysdeps/sh/init-first.c (init): Likewise.
72345 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72347         * po/ru.po: Update from translation team.
72348         * po/vi.po: Likewise.
72350 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72352         * resolv/nss_dns/dns-host.c: Merge copyright years.
72354 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72357         Optimize memcpy with prefetch if
72358         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72359         src, dst pointers have unequal 16 byte alignments.
72361 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72363         [BZ #13928]
72364         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72365         from a CNAME entry and return the minimum ttl for the query.
72366         (gaih_getanswer_slice): Likewise.
72368 2012-03-30  Jeff Law  <law@redhat.com>
72370         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72371         due to long keys.
72372         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72373         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72375         * resolv/nss_dns/dns-host.c: Update copyright year.
72377 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72379         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72380         requests to save a system call.  Fix check that all bytes are sent.
72382         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72383         comments for sendmmsg.
72385 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72387         [BZ #13691]
72388         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72389         with only 1 character between 0x0041 and 0x01b0.
72390         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72391         * wcsmbs/tst-mbsnrtowcs.c: New file.
72393 2012-03-29  David S. Miller  <davem@davemloft.net>
72395         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72396         small copies by hand.
72398 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72400         [BZ #13761]
72401         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72402         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72403         group memberships.
72405 2012-03-28  David S. Miller  <davem@davemloft.net>
72407         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72408         that branches into memcpy.
72409         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72411         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72412         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72414         bits.
72415         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72416         implementation too.
72417         * sysdeps/sparc/mempcpy.S: New file.
72419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72420         the IFUNC routine in the libc case.
72421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72423         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72424         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72425         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72426         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72427         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72428         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72429         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72430         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72432         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72433         loop to 256 bytes instead of 64 bytes and fix test signedness.
72435         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72436         * sysdeps/sparc/sparc32/Makefile: rather than here...
72437         * sysdeps/sparc/sparc64/Makefile: and here.
72439 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72441         * malloc/mallocbug.c: Avoid warnings about unused variables.
72443 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72445         [BZ #13760]
72446         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72447         in the right place. Discard and retry query if response is
72448         larger than input buffer size.
72450 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72452         [BZ #369]
72453         [BZ #2678]
72454         [BZ #3866]
72455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72456         x for large integer exponent.
72457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72458         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72459         sign of result as needed afterwards.
72460         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72461         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72462         result for underflowing pow the same as for overflow.
72463         (__kernel_standard_l): Handle powl overflow and underflow here
72464         rather than calling __kernel_standard.
72465         * math/libm-test.inc (pow_test): Add more tests.
72467         [BZ #3868]
72468         [BZ #13879]
72469         [BZ #13910]
72470         [BZ #13911]
72471         [BZ #13912]
72472         [BZ #13913]
72473         [BZ #13915]
72474         [BZ #13916]
72475         [BZ #13917]
72476         [BZ #13918]
72477         [BZ #13919]
72478         [BZ #13920]
72479         [BZ #13921]
72480         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72481         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72482         (__kernel_standard_l): New function.
72483         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72484         __kernel_standard.
72485         * math/w_acosl.c (__acosl): Likewise.
72486         * math/w_asinl.c (__asinl): Likewise.
72487         * math/w_atan2l.c (__atan2l): Likewise.
72488         * math/w_atanhl.c (__atanhl): Likewise.
72489         * math/w_coshl.c (__coshl): Likewise.
72490         * math/w_exp10l.c (__exp10l): Likewise.
72491         * math/w_exp2l.c (__exp2l): Likewise.
72492         * math/w_fmodl.c (__fmodl): Likewise.
72493         * math/w_hypotl.c (__hypotl): Likewise.
72494         * math/w_j0l.c (__j0l, __y0l): Likewise.
72495         * math/w_j1l.c (__j1l, __y1l): Likewise.
72496         * math/w_jnl.c (__jnl, __ynl): Likewise.
72497         * math/w_lgammal.c (__lgammal): Likewise.
72498         * math/w_log10l.c (__log10l): Likewise.
72499         * math/w_log2l.c (__log2l): Likewise.
72500         * math/w_logl.c (__logl): Likewise.
72501         * math/w_powl.c (__powl): Likewise.
72502         * math/w_remainderl.c (__remainderl): Likewise.
72503         * math/w_scalbl.c (sysv_scalbl): Likewise.
72504         * math/w_sinhl.c (__sinhl): Likewise.
72505         * math/w_sqrtl.c (__sqrtl): Likewise.
72506         * math/w_tgammal.c (__tgammal): Likewise.
72507         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72508         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72509         * math/libm-test.inc (acos_test): Add more tests.
72510         (acosh_test): Likewise.
72511         (asin_test): Likewise.
72512         (atanh_test): Likewise.
72513         (exp_test): Likewise.
72514         (exp10_test): Likewise.
72515         (exp2_test): Likewise.
72516         (expm1_test): Likewise.
72517         (lgamma_test): Likewise.
72518         (log_test): Likewise.
72519         (log10_test): Likewise.
72520         (log1p_test): Likewise.
72521         (log2_test): Likewise.
72522         (pow_test): Do not allow some spurious overflow exceptions.
72523         (sqrt_test): Add more tests.
72524         (tgamma_test): Likewise.
72525         (y0_test): Likewise.
72526         (y1_test): Likewise.
72527         (yn_test): Likewise.
72529 2012-03-27  Anton Blanchard  <anton@samba.org>
72531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72532         MAP_HUGETLB.
72533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72534         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72537 2012-03-27  David S. Miller  <davem@davemloft.net>
72539         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72541         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72542         have-as-vis3 check.
72544 2012-03-27  Andreas Jaeger  <aj@suse.de>
72546         * sysdeps/x86_64/elf/configure.in: Moved to ...
72547         * sysdeps/x86_64/configure.in: ... here.
72548         * sysdeps/x86_64/elf/start.S: Moved to ...
72549         * sysdeps/x86_64/start.S: ... here.
72550         * sysdeps/x86_64/elf/configure: Delete.
72552         * sysdeps/x86_64/configure.in: Merge contents from
72553         sysdeps/i386/configure.in (without i686 check).
72555         * sysdeps/i386/elf/Versions: Merge into ...
72556         * sysdeps/i386/Versions: ... this.
72557         * sysdeps/i386/elf/Versions: Delete file.
72558         * sysdeps/i386/elf/start.S: Moved to ...
72559         * sysdeps/i386/start.S: ...here.
72560         * sysdeps/i386/elf/configure.in: Merge into...
72561         * sysdeps/i386/configure.in: ...here.
72562         * sysdeps/i386/elf/configure.in: Delete file.
72563         * sysdeps/i386/elf/configure: Delete file.
72565         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72566         * debug/backtracesyms.c: ... here.
72567         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72568         * debug/backtracesymsfd.c: ... here.
72569         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72570         * sysdeps/generic/ifunc-sel.h: ... here.
72572         * sysdeps/unix/i386/start.c: Delete file.
72573         * sysdeps/unix/sparc/start.c: Delete file.
72574         * sysdeps/unix/start.c: Delete file.
72576         * sysdeps/sh/elf/configure.in: Moved to ...
72577         * sysdeps/sh/configure.in: ... here.
72578         * sysdeps/sh/elf/start.S: Moved to ...
72579         * sysdeps/sh/start.S: ... here.
72580         * sysdeps/sh/elf/configure: Delete file.
72582         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72583         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72584         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72585         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72586         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72587         * sysdeps/powerpc/powerpc64/start.S: here.
72588         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72589         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72590         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72591         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72592         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72594         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72595         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72596         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72597         * sysdeps/powerpc/powerpc32/start.S: ... here.
72598         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72599         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72600         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72602         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72603         * sysdeps/powerpc/ifunc-sel.h: ... here.
72604         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72605         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72607         * sysdeps/sparc/elf/configure.in: Moved to ...
72608         * sysdeps/sparc/configure.in: ... here.
72609         * sysdeps/sparc/elf/configure: Delete file.
72610         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72611         * sysdeps/sparc/sparc32/start.S: ... here.
72612         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72613         * sysdeps/sparc/sparc64/start.S: ... here.
72614         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72615         * sysdeps/sparc/sparc32/Makefile: ... this.
72616         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72617         * sysdeps/sparc/sparc64/Makefile: ... this.
72619         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72620         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72621         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72622         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72623         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72624         * sysdeps/s390/s390-32/setjmp.S: ... here.
72625         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72626         * sysdeps/s390/s390-32/configure.in: ... here.
72627         * sysdeps/s390/s390-32/elf/configure: Delete file.
72628         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72629         * sysdeps/s390/s390-32/start.S: ... here.
72631         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72632         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72633         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72634         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72635         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72636         * sysdeps/s390/s390-64/setjmp.S: ... here.
72637         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72638         * sysdeps/s390/s390-64/configure.in: ... here
72639         * sysdeps/s390/s390-64/elf/configure: Delete file.
72640         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72641         * sysdeps/s390/s390-64/start.S: ... here.
72642         * sysdeps/s390/s390-64/elf/configure: Delete.
72644         * configure.in: Remove support for elf directories in sysdeps.
72646         * configure: Regenerated.
72647         * sysdeps/i386/configure: Regenerated.
72648         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72649         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72650         * sysdeps/s390/s390-32/configure: Regenerated.
72651         * sysdeps/s390/s390-64/configure: Regenerated.
72652         * sysdeps/sh/configure: Regenerated.
72653         * sysdeps/sparc/configure: Regenerated.
72654         * sysdeps/x86_64/configure: Regenerated.
72656 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72661         denormal result into account.
72663 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72665         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72666         Reported by Allan McRae <allan@archlinux.org>.
72668 2012-03-23  Jeff Law  <law@redhat.com>
72670         * nss/getnssent.c (__nss_getent): Fix typo.
72672 2012-03-23  David S. Miller  <davem@davemloft.net>
72674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72676 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72678         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72679         to pad to uint64_t for each field.
72680         (dl_tls_index): Replace unsigned long with uint64_t.
72682 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72683         Paul Pluzhnikov  <ppluzhnikov@google.com>
72685         [BZ #6528]
72686         * grp/Makefile (otherlibs): Don't set it.
72687         * inet/Makefile (otherlibs): Likewise.
72688         * login/Makefile (otherlibs): Likewise.
72689         * nscd/Makefile (otherlibs): Likewise.
72690         * posix/Makefile (otherlibs): Likewise.
72691         * pwd/Makefile (otherlibs): Likewise.
72692         * rt/Makefile (otherlibs): Likewise.
72693         * sunrpc/Makefile (otherlibs): Likewise.
72694         * nss/Makefile (otherlibs): Likewise.
72695         Add libnss_files to routines and static-only-routines.
72696         ($(objpfx)getent): Remove rule.
72697         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72698         static-only-routines.
72700 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72702         [BZ #13892]
72703         * math/s_cexp.c: Include <float.h>.
72704         (__cexp): Handle exp result overflowing not necessarily
72705         overflowing both real and imaginary parts of result.
72706         * math/s_cexpf.c: Likewise.
72707         * math/s_cexpl.c: Likewise.
72708         * math/libm-test.inc (cexp_test): Add more tests.
72709         * sysdeps/i386/fpu/libm-test-ulps: Update.
72710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72714         * include/link.h (ELFW): New macro.
72715         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72716         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72718 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72720         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72721         with uint64_t.
72723 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72725         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72726         declaration.
72727         (struct La_x32_retval): Likewise.
72729 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72731         * sysdeps/x86_64/preconfigure.in: New file.
72732         * sysdeps/x86_64/preconfigure: New generated file.
72734 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72736         [BZ #13824]
72737         * math/e_exp2l.c: Include <float.h>.
72738         (__ieee754_exp2l): Handle overflow and underflow cases
72739         separately.  Only pass fractional part of argument to
72740         __ieee754_expl.
72741         * math/libm-test.inc (exp2_test): Add more tests.
72743         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72744         negating x to take absolute value.
72745         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72746         Likewise.
72747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72749         Likewise.
72750         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72751         computing low part if x was negated.
72752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72754 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72756         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72757         la_x32_gnu_pltexit.
72758         (pltexit): Cast int_retval to ptrdiff_t.
72759         * elf/tst-auditmod3b.c: Likewise.
72760         * elf/tst-auditmod4b.c: Likewise.
72761         * elf/tst-auditmod5b.c: Likewise.
72762         * elf/tst-auditmod6b.c: Likewise.
72763         * elf/tst-auditmod6c.c: Likewise.
72764         * elf/tst-auditmod7b.c: Likewise.
72766         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72767         and x32_gnu_pltexit.
72769         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72770         __ELF_NATIVE_CLASS.
72771         (La_x32_regs): New macro.
72772         (La_x32_retval): Likewise.
72773         (la_x32_gnu_pltenter): New function prototype.
72774         (la_x32_gnu_pltexit): Likewise.
72776 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72779         exponent.
72781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72783         * configure.in (libc_cv_cc_nofma): Check for option to disable
72784         generation of FMA instructions.
72785         * configure: Regenerate.
72786         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72787         * sysdeps/ieee754/dbl-64/Makefile: New file.
72788         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72789         Remove brandred-fma4.
72790         (CFLAGS-brandred-fma4.c): Remove.
72791         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72793         define.
72794         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72795         define.
72797 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72799         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72800         LLONG_MAX != LONG_MAX.
72801         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72802         (_fitoa_word): Likewise.
72803         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72804         LLONG_MAX != LONG_MAX.
72805         * stdio-common/_itowa.h: Include <_itoa.h>.
72806         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72807         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72808         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72809         only if not defined.
72810         (_ITOA_WORD_TYPE): Likewise.
72811         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72812         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72814 2012-03-21  David S. Miller  <davem@davemloft.net>
72816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72818 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72820         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72821         of x86_64 when setting libc_cv_slibdir, libdir and
72822         libc_cv_localedir.
72823         * sysdeps/unix/sysv/linux/configure: Regenerated.
72825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72827         * manual/lang.texi (Old Varargs): Remove section.
72828         (How Variadic): Update menu.
72829         (va_start): Do not mention varargs.h.
72831 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72832             Joseph Myers  <joseph@codesourcery.com>
72834         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72835         link test.
72836         * configure: Regenerated.
72838 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72840         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72841         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72842         conformtest.pl
72844 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72846         * NOTES: Remove.
72847         * Makefile (files-for-dist): Remove NOTES.
72848         (NOTES): Remove rule.
72849         * README: Don't refer to NOTES.
72850         * manual/creature.texi: Don't include macros.texi.
72851         * manual/intro.texi (creature.texi): Remove comment referring to
72852         NOTES.
72854         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72855         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72856         * configure: Regenerated.
72857         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72858         LIBC_TRY_CC_OPTION.
72859         (libc_cv_as_i686): Likewise.
72860         (libc_cv_cc_avx): Likewise.
72861         (libc_cv_cc_sse2avx): Likewise.
72862         (libc_cv_cc_fma4): Likewise.
72863         (libc_cv_cc_novzeroupper): Likewise.
72864         * sysdeps/i386/configure: Regenerated.
72866         [BZ #13883]
72867         * sysdeps/i386/fpu/s_cexp.S: Remove.
72868         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72870         * math/libm-test.inc (cexp_test): Add more tests.
72871         * sysdeps/i386/fpu/libm-test-ulps: Update.
72872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72874 2012-03-21  Allan McRae  <allan@archlinux.org>
72876         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72880         [BZ #13871]
72881         * math/w_exp2.c: Do not include <float.h>.
72882         (o_threshold, u_threshold): Remove.
72883         (__exp2): Calculate result before checking finiteness and calling
72884         __kernel_standard.
72885         * math/w_exp2f.c: Likewise.
72886         * math/w_exp2l.c: Likewise.
72887         * math/libm-test.inc (exp2_test): Require overflow exception for
72888         1e6 input.
72890         [BZ #3866]
72891         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72892         range of signed 64-bit integers before using fistpll.  Remove
72893         checks for whether integers fit in mantissa bits.
72894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72895         the range of signed 32-bit integers before using fistpl.  Remove
72896         checks for whether integers fit in mantissa bits.
72897         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72898         (__ieee754_powl): Test for y outside the range of signed 64-bit
72899         integers before using fistpll.  Reduce 64-bit values to 63-bit
72900         ones as needed.
72901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72902         divide-by-zero is raised for zero to large negative powers.
72903         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72904         (__ieee754_powl): Test for y outside the range of signed 64-bit
72905         integers before using fistpll.  Reduce 64-bit values to 63-bit
72906         ones as needed.
72907         * math/libm-test.inc (pow_test): Add more tests.
72909 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72911         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72912         <stdio-common/_itoa.h>.
72913         * debug/segfault.c: Likewise.
72914         * elf/dl-cache.c: Likewise.
72915         * elf/dl-minimal.c: Likewise.
72916         * elf/dl-misc.c: Likewise.
72917         * elf/dl-sysdep.c: Likewise.
72918         * elf/dl-version.c: Likewise.
72919         * elf/rtld.c: Likewise.
72920         * hurd/hurdsock.c: Likewise.
72921         * hurd/lookup-retry.c: Likewise.
72922         * malloc/malloc.c: Likewise.
72923         * malloc/mtrace.c: Likewise.
72924         * nscd/nscd_getgr_r.c: Likewise.
72925         * nscd/nscd_getpw_r.c: Likewise.
72926         * nscd/nscd_getserv_r.c: Likewise.
72927         * posix/getopt_init.c: Likewise.
72928         * posix/wordexp.c: Likewise.
72929         * stdio-common/_itoa.c: Likewise.
72930         * stdio-common/printf_fphex.c: Likewise.
72931         * stdio-common/vfprintf.c: Likewise.
72932         * string/_strerror.c: Likewise.
72933         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72934         * sysdeps/i386/i686/hp-timing.h: Likewise.
72935         * sysdeps/mach/_strerror.c: Likewise.
72936         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72937         * sysdeps/mach/hurd/sethostid.c: Likewise.
72938         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72939         * sysdeps/mach/xpg-strerror.c: Likewise.
72940         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72942         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72943         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72945         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72946         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72947         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72948         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72949         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72950         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72951         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72952         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72953         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72954         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72955         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72956         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72957         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72958         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72959         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72960         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72962         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72964         * stdio-common/_itoa.h: Moved to ...
72965         * sysdeps/generic/_itoa.h: Here.
72967         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72969         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72970         instead of "_itoa.h" and "_itowa.h".
72971         * stdio-common/vfprintf.: Likewise.
72973 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72975         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72976         <bits/wordsize.h>.
72977         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72978         (__signbit): Likwise.
72979         (llrintf): Likwise.
72980         (llrint): Likwise.
72982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72984         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72985         __WORDSIZE != 64.
72987 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72989         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72990         OVERFLOW_EXCEPTION_OK.
72991         * math/libm-test.inc ("Philosophy"): Update comment about
72992         exception testing.
72993         (OVERFLOW_EXCEPTION): Define.
72994         (OVERFLOW_EXCEPTION_OK): Likewise.
72995         (INVALID_EXCEPTION_OK): Renumber.
72996         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72997         (IGNORE_ZERO_INF_SIGN): Likewise.
72998         (test_exceptions): Handle FE_OVERFLOW.
72999         (exp10_test): Expect overflow exceptions.
73000         (exp2_test): Likewise.
73001         (expm1_test): Likewise.
73002         (nextafter_test): Likewise.
73003         (pow_test): Likewise.
73004         (scalbn_test): Likewise.
73005         (scalbln_test): Likewise.
73007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73009         * sysdeps/x86_64/bits/atomic.h
73010         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73011         64bit integer.
73012         (atomic_exchange_acq): Likewise.
73013         (__arch_exchange_and_add_body): Likewise.
73014         (__arch_add_body): Likewise.
73015         (atomic_add_negative): Likewise.
73016         (atomic_add_zero): Likewise.
73018 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73020         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73021         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73025         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73026         Check __x86_64__ instead of __WORDSIZE.
73028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73030         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73032 2012-03-19  David S. Miller  <davem@davemloft.net>
73034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73036         * sysdeps/sparc/fpu/fenv_private.h: New file.
73037         * sysdeps/sparc/fpu/math_private.h: Use it.
73038         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73039         Remove.
73040         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73041         (libc_feholdexcept_setroundl): Remove.
73042         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73043         Remove.
73044         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73045         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73049         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73050         int64_t instead of long int.
73051         (INSERT_WORDS64): Likwise.
73053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73055         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73056         _Unwind_GetCFA return to _Unwind_Ptr first.
73058 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73060         [BZ #13629]
73061         * math/s_clog.c: Include <float.h>.
73062         (__clog): Scale large or subnormal inputs.
73063         * math/s_clogf.c: Likewise.
73064         * math/s_clogl.c: Likewise.
73065         * math/s_clog10.c: Include <float.h>.
73066         (M_LOG10_2): Define.
73067         (__clog10): Scale large or subnormal inputs.
73068         * math/s_clog10f.c: Likewise.
73069         * math/s_clog10l.c: Likewise.
73070         * math/libm-test.inc (clog_test): Add more tests.
73071         (clog10_test): Likewise.
73072         * sysdeps/i386/fpu/libm-test-ulps: Update.
73073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73075         [BZ #11451]
73076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73077         x and y.
73078         * math/libm-test.inc (atan2_test): Add another test.
73080         * Makerules (common-objdir-compile): Remove.
73081         * sysdeps/unix/Makefile (config-generated): Do not add
73082         $(unix-generated) to variable.
73083         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73084         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73085         Remove rule.
73086         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73087         Likewise.
73088         [generic bits/local_lim.h] (before-compile): Do not append to
73089         variable.
73090         [generic bits/local_lim.h] (common-generated): Likewise.
73091         [generic sys/param.h] (before-compile): Do not append to variable.
73092         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73093         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73094         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73095         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73096         include.
73097         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73098         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73099         [generic sys/param.h] ($(addprefix
73100         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73101         [generic sys/param.h] (common-generated): Do not append to
73102         variable.
73103         [generic sys/param.h] (sysdep_headers): Likewise.
73104         [generic bits/errno.h] (before-compile): Do not append to
73105         variable.
73106         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73107         rule.
73108         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73109         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73110         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73111         [generic bits/errno.h] (common-generated): Do not append to
73112         variable.
73113         [generic bits/ioctls.h] (before-compile): Do not append to
73114         variable.
73115         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73116         rule.
73117         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73118         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73119         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73120         rule.
73121         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73122         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73123         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73124         [generic bits/ioctls.h] (common-generated): Do not append to
73125         variable.
73126         [generic sys/syscall.h] (syscall.h): Remove variable.
73127         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73128         rule.
73129         [generic sys/syscall.h] (before-compile): Do not append to
73130         variable.
73131         [generic sys/syscall.h] (common-generated): Likewise.
73132         * sysdeps/unix/errnos-tmpl.c: Remove file.
73133         * sysdeps/unix/errnos.awk: Likewise.
73134         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73135         * sysdeps/unix/ioctls.awk: Likewise.
73136         * sysdeps/unix/mk-local_lim.c: Likewise.
73137         * sysdeps/unix/snarf-ioctls: Likewise.
73139 2012-03-19  Richard Henderson  <rth@twiddle.net>
73141         * sysdeps/i386/fpu/fenv_private.h: New file.
73142         * sysdeps/i386/fpu/math_private.h: Use it.
73143         (math_opt_barrier, math_force_eval): Remove.
73144         (libc_feholdexcept_setround_53bit): Remove.
73145         (libc_feupdateenv_53bit): Remove.
73146         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73147         (math_opt_barrier, math_force_eval): Remove.
73148         (libc_feholdexcept): Remove.
73149         (libc_feholdexcept_setround): Remove.
73150         (libc_fetestexcept, libc_fesetenv): Remove.
73151         (libc_feupdateenv_test): Remove.
73152         (libc_feupdateenv, libc_feholdsetround): Remove.
73153         (libc_feresetround): Remove.
73155         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73156         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73158         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73159         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73160         (libc_feupdateenv_testl): New.
73161         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73162         (libc_feupdateenv_testf): New.
73163         (libc_feupdateenv): Use libc_feupdateenv_test.
73164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73165         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73167         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73168         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73169         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73170         (libc_feresetround_noex): New.
73171         (libc_feresetround_noexf): New.
73172         (libc_feresetround_noexl): New.
73173         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73174         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73175         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73176         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73177         SET_RESTORE_ROUND.
73178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73180         (__cos): Likewise.
73181         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73183         SET_RESTORE_ROUND_NOEX.
73184         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73185         SET_RESTORE_ROUND_NOEXF.
73186         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73187         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73188         (libc_feholdsetroundf): New.
73189         (libc_feresetround, libc_feresetroundf): New.
73191         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73192         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73193         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73195         * sysdeps/generic/math_private.h: Include <fenv.h>.
73196         (default_libc_feholdexcept): New.
73197         (default_libc_feholdexcept_setround): New.
73198         (default_libc_fesetenv, default_libc_feupdateenv): New.
73199         (libc_feholdexcept): Only define if undefined.
73200         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73201         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73202         (libc_feholdexcept_setroundl): Likewise.
73203         (libc_feholdexcept_setround_53bit): Likewise.
73204         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73205         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73206         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73207         (libc_feupdateenv_53bit): Likewise.
73208         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73209         (libc_feholdexcept): Convert from macro to inline function.
73210         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73211         (libc_fesetenv, libc_feupdateenv): Likewise.
73213         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73214         not previously defined.
73215         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73216         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73217         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73218         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73219         * sysdeps/ieee754/flt-32/math_private.h: New file.
73220         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73221         math_private.h below SET_FLOAT_WORD.
73222         (__isnan, __isinf_ns, __finite): Remove.
73223         (__isnanf, __isinf_nsf, __finitef): Remove.
73225 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73229 2012-03-17  David S. Miller  <davem@davemloft.net>
73231         [BZ #6471]
73232         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73233         for 2.16.
73235 2012-03-16  David S. Miller  <davem@davemloft.net>
73237         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73238         warnings.
73240         [BZ #6471]
73241         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73242         properly.
73243         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73244         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73245         sysdep_routines when subdir is sysvipc.
73246         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73247         __getshmlba helper.
73249         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73253         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73254         [__LP64__].
73256 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73258         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73259         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73260         (__lround): Renamed to ...
73261         (__llround): This.  Replace long int with long long int.
73262         Define lround functions as aliases of llround functions.
73263         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73267         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73268         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73269         adresses to uintptr_t.  Replace "long int" and "unsigned long
73270         int" with "greg_t" on va_arg.
73272 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73274         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73275         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73277         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73278         Move e_machine check before EI_CLASS check.  Handle x32
73279         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73280         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73281         SKIP_EM_IA_64 and include
73282         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73284         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73285         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73286         (add_system_dir): New macro.
73288         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73289         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73291 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73293         [BZ #2551]
73294         [BZ #2552]
73295         [BZ #2553]
73296         [BZ #2554]
73297         [BZ #2562]
73298         [BZ #2563]
73299         [BZ #2565]
73300         [BZ #2566]
73301         [BZ #2576]
73302         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73303         (y0): Likewise.
73304         * math/w_j0f.c (j0f): Likewise.
73305         (y0f): Likewise.
73306         * math/w_j0l.c (__j0l): Likewise.
73307         (__y0l): Likewise.
73308         * math/w_j1.c (j1): Likewise.
73309         (y1): Likewise.
73310         * math/w_j1f.c (j1f): Likewise.
73311         (y1f): Likewise.
73312         * math/w_j1l.c (__j1l): Likewise.
73313         (__y1l): Likewise.
73314         * math/w_jn.c (jn): Likewise.
73315         (yn): Likewise.
73316         * math/w_jnf.c (jnf): Likewise.
73317         (ynf): Likewise.
73318         * math/w_jnl.c (__jnl): Likewise.
73319         (__ynl): Likewise.
73320         * math/libm-test.inc (j0_test): Add more tests.
73321         (j1_test): Likewise.
73322         (jn_test): Likewise.  Add trailing semicolon to existing test.
73323         (y0_test): Likewise.
73324         (y1_test): Likewise.
73325         * sysdeps/i386/fpu/libm-test-ulps: Update.
73326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73328         [BZ #13851]
73329         [BZ #13854]
73330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73331         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73332         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73333         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73334         (__tanl): Set errno for infinite argument.
73335         * sysdeps/i386/fpu/mptan.c: Remove.
73336         * sysdeps/i386/fpu/s_tan.S: Likewise.
73337         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73338         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73339         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73340         * math/libm-test.inc (tan_test): Add more tests and enable more
73341         tests for double and long double.
73342         * sysdeps/i386/fpu/libm-test-ulps: Update.
73343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73345 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73347         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73348         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73350 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73352         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73353         * configure.in: Use it for both main tree and add-ons.
73354         * configure: Regenerated.
73356 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73358         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73360 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73362         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73363         in comment.
73365         [BZ #13851]
73366         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73367         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73368         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73369         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73370         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73371         infinite argument.
73372         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73374         != 0 for prec == 2.
73375         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73376         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73377         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73378         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73379         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73380         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73381         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73382         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73383         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73384         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73385         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73386         * math/libm-test.inc (cos_test): Add more tests and enable more
73387         tests for long double.
73388         (sin_test): Likewise.
73389         (sincos_test): Likewise.
73390         * sysdeps/i386/fpu/libm-test-ulps: Update.
73391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73393 2012-03-16  David S. Miller  <davem@davemloft.net>
73395         * sysdeps/sparc/fpu/math_private.h: New file.
73397 2012-03-15  David S. Miller  <davem@davemloft.net>
73399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73400         file.
73401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73403         file.
73404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73410         sysdep routines.
73411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73413         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73414         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73416         * sysdeps/sparc/sparc-ifunc.h: New file.
73417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73418         sparc-ifunc.h
73419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73421         Likewise.
73422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73423         Likewise.
73424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73428         Likewise.
73429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73434         Likewise.
73435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73436         Likewise.
73437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73456         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73458         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73459         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73460         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73462 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73464         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73465         scaling.
73466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73468 2012-03-15  Andreas Jaeger  <aj@suse.de>
73470         [BZ #13852]
73471         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73472         ieee754/flt-32 implementation for sin, cos and sincos.
73473         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73474         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73475         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73476         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73477         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73478         ieee754/flt-32 implementation for tan.
73480         * math/libm-test.inc (cos_test): Enable some large input tests for
73481         float as well
73482         (sin_test): Likewise.
73483         (sincos_test): Likewise.
73484         (tan_test): Add tests for large input.
73486         * sysdeps/i386/fpu/libm-test-ulps: Update.
73488 2012-03-15  Andreas Jaeger  <aj@suse.de>
73490         [BZ #13658]
73491         * math/libm-test.inc (cos_test): Add more test cases.
73492         (sin_test): Likewise.
73493         (sincos_test): Likewise.
73495 2012-03-15  Andreas Jaeger  <aj@suse.de>
73497         [BZ #13837]
73498         * math/libm-test.inc (cos_test): Add a test case for large input
73499         value.
73500         (sin_test): Likewise.
73501         (sincos_test): Likewise.
73503 2012-03-15  Andreas Jaeger  <aj@suse.de>
73504             Joseph Myers  <joseph@codesourcery.com>
73506         [BZ #13658]
73507         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73508         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73509         * sysdeps/i386/fpu/branred.c: Likewise.
73510         * sysdeps/i386/fpu/dosincos.c: Likewise.
73511         * sysdeps/i386/fpu/mpa.c: Likewise.
73512         * sysdeps/i386/fpu/s_cos.S: Likewise.
73513         * sysdeps/i386/fpu/s_sin.S: Likewise.
73514         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73515         * sysdeps/i386/fpu/sincos32.c: Likewise.
73517         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73518         Define.
73519         (libc_feupdateenv_53bit): Define.
73520         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73521         Define.
73522         (libc_feupdateenv_53bit): Define.
73524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73525         53 bit (without extend i386 double precision).
73527         * math/libm-test.inc (sincos_test): Add tests for large input.
73528         (sin): Likewise.
73529         (cos): Likewise.
73531         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73533 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73537 2012-03-15  David S. Miller  <davem@davemloft.net>
73539         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73540         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73541         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73542         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73555         file.
73556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73558         file.
73559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73561         file.
73562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73564         file.
73565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73567         fmin/fmax sysdep routines.
73568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73570 2012-03-14  David S. Miller  <davem@davemloft.net>
73572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73576         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73577         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73578         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73579         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73585         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73586         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73587         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73594         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73595         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73596         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73597         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73599         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73601         routines.
73602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73603         file.
73604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73606         file.
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73609         file.
73610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73612         file.
73613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73615         file.
73616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73618         file.
73619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73620         file.
73621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73622         file.
73623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73624         file.
73625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73626         New file.
73627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73628         file.
73629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73630         file.
73631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73633         file.
73634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73636         file.
73637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73639         file.
73640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73642         VIS3 routines.
73644         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73645         New file.
73647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73649         * sysdeps/sparc/configure.in: New file.
73650         * sysdeps/sparc/configure: Generate.
73651         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73652         * configure: Regenerate.
73653         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73654         * config.make.in (have-as-vis3): New.
73655         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73656         available use -Av9d instead of -Av9a.
73657         * sysdeps/sparc/sparc64/Makefile: Likewise.
73658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73660         New file.
73661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73662         file.
73663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73664         New file.
73665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73666         file.
73667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73673         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73674         fzeros/fnegs to load 0x80000000 into a float register instead of
73675         using the stack.
73676         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73678 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73681         bits/syscall.h.
73682         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73683         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73684         ($(inst_includedir)/bits/syscall.h): Remove rule.
73685         ($(objpfx)bits/syscall.d): Include instead of
73686         $(objpfx)syscall-list.d.
73687         (generated): Change syscall-list.h and syscall-list.d to
73688         bits/syscall.h and bits/syscall.d.
73690 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73692         [BZ #13846]
73693         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73695 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73697         [BZ #13841]
73698         * math/s_csqrt.c: Include <float.h>.
73699         (__csqrt): Scale large or subnormal inputs.
73700         * math/s_csqrtf.c: Likewise.
73701         * math/s_csqrtl.c: Likewise.
73702         * math/libm-test.inc (csqrt_test): Add more tests.
73703         * sysdeps/i386/fpu/libm-test-ulps: Update.
73704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73706         [BZ #13840]
73707         * math/libm-test.inc (hypot_test): Add more tests.
73709 2012-03-13  David S. Miller  <davem@davemloft.net>
73711         [BZ #13840]
73712         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73713         double-precision for the calculation instead of scaling.
73715 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73717         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73718         manipulate bits before adding and subtracting TWO52[sx].
73719         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73720         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73721         Likewise.
73722         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73724 2012-03-13  David S. Miller  <davem@davemloft.net>
73726         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73727         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73729         rtld-global-offsets.h
73730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73732         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73733         large parameters.
73735         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73737         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73738         'err' in the ifdef scope in which it is actually used.
73740         * nss/nss_db/db-init.c: Include string.h
73742 2012-03-12  David S. Miller  <davem@davemloft.net>
73744         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73745         masking out of the most significant byte of random value used.
73746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73747         Fix coding style in previous change.
73749         * sysdeps/unix/sysv/linux/kernel-features.h
73750         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73751         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73752         expression.
73753         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73754         later.
73756 2012-03-11  David S. Miller  <davem@davemloft.net>
73758         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73759         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73761         for 'resultvar' otherwise things get truncated on 64-bit.
73763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73764         Fix masking out of the most significant byte of random value used.
73766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73768 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73772 2012-03-09  David S. Miller  <davem@davemloft.net>
73774         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73775         variables with appropriate CPP guards.
73776         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73777         from the frame pointer, not the stack pointer.  Correct layout
73778         comments.  Fix test on resulting framesize and the management of
73779         the outregs buffer for pltexit.  Preserve floating point return
73780         values across _dl_call_pltexit call.
73781         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73782         framesize and the management of the outregs buffer for pltexit.
73783         Preserve floating point return values across _dl_call_pltexit
73784         call.
73785         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73786         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73787         (la_sparc64_gnu_pltexit): New functions.
73788         (print_exit): Fix format string for return register value.
73790 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73792         * sunrpc/Makefile (others): Add rpcgen.
73793         ($(objpfx)rpcgen): Remove special build rule and dependency on
73794         libc.
73795         * sunrpc/rpcgen.c: New file.
73797 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73799         [BZ #13673]
73800         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73801         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73802         * sysdeps/i386/crti.S: Likewise.
73803         * sysdeps/i386/crtn.S: Likewise.
73804         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73805         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73806         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73807         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73808         * sysdeps/sh/crti.S: Likewise.
73809         * sysdeps/sh/crtn.S: Likewise.
73810         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73812         [BZ #13673]
73813         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73814         with URL.
73815         * locale/programs/locfile-kw.gperf: Likewise.
73816         * locale/programs/charmap-kw.h: Regenerated.
73817         * locale/programs/locfile-kw.h: Likewise.
73819         [BZ #13673]
73820         * intl/plural.y: Replace FSF snail mail address with URL.
73821         * intl/plural.c: Regenerated.
73823 2012-03-09  Richard Henderson  <rth@twiddle.net>
73825         * include/math_private.h: Remove file.
73826         * math/math_private.h: Move file ...
73827         * sysdeps/generic/math_private.h: ... here.
73829         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73830         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73831         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73833         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73834         and <math_private.h>.
73835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73840         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73843         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73844         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73846         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73856         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73857         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73859         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73861         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73864         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73866         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73867         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73868         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73869         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73870         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73871         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73872         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73873         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73874         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73875         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73877         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73878         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73881         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73896         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73898         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73899         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73900         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73901         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73902         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73903         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73904         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73905         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73906         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73907         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73908         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73909         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73912         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73913         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73914         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73915         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73918         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73922         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73923         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73924         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73925         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73926         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73927         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73928         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73929         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73930         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73931         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73932         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73935         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73936         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73937         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73938         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73939         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73940         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73941         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73942         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73943         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73944         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73945         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73946         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73947         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73948         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73949         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73950         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73951         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73952         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73953         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73954         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73955         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73956         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73957         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73958         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73959         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73961         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73962         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73964         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73965         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73966         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73968         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73969         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73970         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73971         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73973         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73974         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73976         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73977         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73978         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73979         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73980         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73981         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73982         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73983         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73984         * sysdeps/ieee754/k_standard.c: Likewise.
73985         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73988         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73989         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73992         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73993         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73994         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73995         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73997         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73998         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73999         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74002         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74004         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74011         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74012         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74016         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74017         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74018         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74021         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74067         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74070         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74071         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74073         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74075         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74076         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74077         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74078         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74081         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74084         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74089         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74090         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74091         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74092         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74093         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74094         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74096         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74097         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74098         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74099         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74100         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74101         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74102         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74103         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74106         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74107         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74108         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74109         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74110         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74112         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74113         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74118         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74119         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74120         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74121         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74122         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74124         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74125         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74126         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74127         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74128         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74129         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74130         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74131         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74132         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74133         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74134         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74135         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74136         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74137         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74139         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74140         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74141         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74142         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74143         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74144         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74145         * sysdeps/ieee754/s_lib_version.c: Likewise.
74146         * sysdeps/ieee754/s_matherr.c: Likewise.
74147         * sysdeps/ieee754/s_signgam.c: Likewise.
74148         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74150         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74151         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74152         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74153         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74154         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74155         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74156         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74157         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74158         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74159         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74160         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74161         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74162         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74163         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74164         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74165         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74166         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74170 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74172         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74173         * sunrpc/rpc_main.c: Likewise.
74174         * sunrpc/rpc_svcout.c: Likewise.
74176 2012-03-09  David S. Miller  <davem@davemloft.net>
74178         * include/math_private.h: New file.
74180 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74182         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74183         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74184         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74185         from <bits/socket_type.h>.
74186         (enum __socket_type): Don't define here.
74187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74189         bits/socket_type.h.
74191         [BZ #13566]
74192         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74193         checking __USE_GNU.
74195         * Makerules ($(inst_includedir)/%.h): New rule.
74196         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74197         (install-others): Remove variable setting.
74198         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74200 2012-03-08  Richard Henderson  <rth@twiddle.net>
74202         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74203         from macro to inline function; merge with the
74204         !__LIBC_INTERNAL_MATH_INLINES version.
74205         (__ieee754_sqrtf): Likewise.
74207         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74208         to inline function.
74209         (__rintf, __floor, __floorf): Likewise.
74211         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74212         macro to inline function.
74213         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74216         not <math/math_private.h>.
74218 2012-03-08  David S. Miller  <davem@davemloft.net>
74220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74221         copyright year.
74222         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74224 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74226         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74227         normalization.
74228         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74229         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74231 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74233         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74234         be defined individually, they must be defined as a block.  Define
74235         S for printing a string instead of hidint the different by using a
74236         macro for adding the 'l'.
74237         * stdio-common/tst-fphex-wide.c: Adjust.
74239 2012-03-07  Marek Polacek  <polacek@redhat.com>
74241         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74243 2012-03-08  Marek Polacek  <polacek@redhat.com>
74245         [BZ #13806]
74246         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74247         * stdio-common/tst-fphex.c: Define a few macros to make the
74248         test reusable.  Use them.
74249         * stdio-common/tst-fphex-wide.c: New file.
74251 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74253         [BZ #6911]
74254         * manual/macros.texi (gnusystems): New macro.
74255         (nongnusystems): Likewise.
74256         (gnulinuxhurdsystems): Likewise.
74257         (gnuhurdsystems): Likewise..
74258         (gnulinuxsystems): Likewise.
74259         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74260         variants of the GNU system, not "GNU system".
74261         * manual/conf.texi: Likewise.
74262         * manual/errno.texi: Likewise.  Update example of errno macro
74263         expansion.
74264         * manual/filesys.texi: Likewise.
74265         (getumask): Document as specific to GNU/Hurd.
74266         * manual/install.texi: Likewise.  Reword some references to
74267         GNU/Linux.
74268         * manual/intro.texi: Likewise.
74269         * manual/io.texi: Likewise.
74270         (File Name Portability): Detail which constraints are inapplicable
74271         to all GNU systems and which are only inapplicable to GNU/Hurd.
74272         * manual/job.texi: Likewise.
74273         * manual/llio.texi: Likewise.
74274         (O_NOCTTY): Document as present on GNU/Linux.
74275         * manual/maint.texi: Likewise.
74276         * manual/memory.texi: Likewise.
74277         * manual/pattern.texi: Likewise.
74278         * manual/pipe.texi: Likewise.
74279         * manual/process.texi: Likewise.
74280         * manual/resource.texi: Likewise.
74281         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74282         child on GNU/Hurd.
74283         * manual/setjmp.texi: Likewise.
74284         * manual/signal.texi: Likewise.
74285         * manual/startup.texi: Likewise.
74286         * manual/stdio.texi: Likewise.
74287         * manual/terminal.texi: Likewise.
74288         (ONLCR): Document as POSIX.
74289         (OXTABS): Document availability on GNU/Linux as XTABS.
74290         (ONOEOT): Document availability separately from other bits.
74291         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74292         * manual/time.texi: Likewise.
74293         * manual/users.texi: Likewise.
74294         * INSTALL: Regenerated.
74295         * sysdeps/gnu/errlist.c: Regenerated.
74297         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74298         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74299         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74300         puts.
74301         * configure: Regenerated.
74303 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74305         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74306         default includes instead of AC_HEADER_CHECK.
74307         * sysdeps/i386/configure: Regenerated.
74309         [BZ #10716]
74310         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74311         * math/s_cacoshf.c (__cacoshf): Likewise.
74312         * math/s_cacoshl.c (__cacoshl): Likewise.
74313         * math/s_casinh.c (__casinh): Set signs of result from argument.
74314         * math/s_casinhf.c (__casinhf): Likewise.
74315         * math/s_casinhl.c (__casinhl): Likewise.
74316         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74317         (casinh_test): Add more tests.
74318         * sysdeps/i386/fpu/libm-test-ulps: Update.
74319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74321 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74323         * po/zh_TW.po: Update from translation team.
74325         * login/Makefile (distribute): Remove variable.
74326         * catgets/Makefile: Likewise.
74327         * mach/Makefile: Likewise.
74328         * malloc/Makefile: Likewise.
74329         * misc/Makefile: Likewise.
74330         * iconv/Makefile: Likewise.
74331         * nscd/Makefile: Likewise.
74332         * hurd/Makefile: Likewise.
74333         * manual/Makefile: Likewise.
74334         * locale/Makefile: Likewise.
74335         * intl/Makefile: Likewise.
74336         * conform/Makefile: Likewise.
74337         * nss/Makefile: Likewise.
74338         * time/Makefile: Likewise.
74339         * soft-fp/Makefile: Likewise.
74340         * dirent/Makefile: Likewise.
74341         * gmon/Makefile: Likewise.
74342         * po/Makefile: Likewise.
74343         * rt/Makefile: Likewise.
74344         * socket/Makefile: Likewise.
74345         * math/Makefile: Likewise.
74346         * signal/Makefile: Likewise.
74347         * debug/Makefile: Likewise.
74348         * elf/Makefile: Likewise.
74349         * timezone/Makefile: Likewise.
74350         * stdlib/Makefile: Likewise.
74351         * iconvdata/Makefile: Likewise.
74352         * sunrpc/Makefile: Likewise.
74353         * io/Makefile: Likewise.
74354         * argp/Makefile: Likewise.
74355         * inet/Makefile: Likewise.
74356         * hesiod/Makefile: Likewise.
74357         * grp/Makefile: Likewise.
74358         * csu/Makefile: Likewise.
74359         * wctype/Makefile: Likewise.
74360         * crypt/Makefile: Likewise.
74361         * libio/Makefile: Likewise.
74362         * string/Makefile: Likewise.
74363         * nis/Makefile: Likewise.
74364         * resolv/Makefile: Likewise.
74365         * stdio-common/Makefile: Likewise.
74366         * wcsmbs/Makefile: Likewise.
74367         * dlfcn/Makefile: Likewise.
74368         * posix/Makefile: Likewise.
74370         [BZ #6959]
74371         * timezone/Makefile: Don't install timezone files, just the programs
74372         and scripts.
74374 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74376         * nss/databases.def: Add missing gshadow entry.
74378         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74380 2012-03-06  Marek Polacek  <polacek@redhat.com>
74382         [BZ #13726]
74383         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74384         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74385         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74386         * stdio-common/tst-long-dbl-fphex.c: New file.
74388 2012-03-06  David S. Miller  <davem@davemloft.net>
74390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74391         (set_obp_int): New function.
74392         (get_obp_int): New function.
74393         (__get_clockfreq_via_dev_openprom): Likewise.
74394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74395         Avoid unused variable warnings on 'val' and use builtin_expect.
74396         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74397         __builtin_expect.
74398         (INLINE_CLONE_SYSCALL): Likewise.
74400 2012-03-05  David S. Miller  <davem@davemloft.net>
74402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74404 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74409         only for |x| >= 40.
74410         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74412 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74415         Replace gettimeofday with __vdso_gettimeofday.
74417         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74418         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74419         __vdso_clock_gettime and __vdso_getcpu.
74421         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74422         time with __vdso_time.
74424 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74426         * manual/lang.texi (size_t): Note types to which size_t may be
74427         equivalent with the GNU C Library, but do not describe when
74428         differences between them are significant.
74430 2012-03-05  Andreas Jaeger  <aj@suse.de>
74432         * sysdeps/i386/fpu/libm-test-ulps: Update.
74434 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74436         [BZ #3976]
74437         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74438         (__ieee754_pow): Save and restore rounding mode and use
74439         round-to-nearest for main computations.
74440         * math/libm-test.inc (pow_test_tonearest): New function.
74441         (pow_test_towardzero): Likewise.
74442         (pow_test_downward): Likewise.
74443         (pow_test_upward): Likewise.
74444         (main): Call the new functions.
74445         * sysdeps/i386/fpu/libm-test-ulps: Update.
74446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74448         [BZ #3976]
74449         * math/libm-test.inc (cosh_test_tonearest): New function.
74450         (cosh_test_towardzero): Likewise.
74451         (cosh_test_downward): Likewise.
74452         (cosh_test_upward): Likewise.
74453         (sinh_test_tonearest): Likewise.
74454         (sinh_test_towardzero): Likewise.
74455         (sinh_test_downward): Likewise.
74456         (sinh_test_upward): Likewise.
74457         (main): Call the new functions.
74458         * sysdeps/i386/fpu/libm-test-ulps: Update.
74459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74461 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74463         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74464         default stack guard is set in last bytes.
74465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74467 2012-03-05  Kees Cook  <keescook@chromium.org>
74469         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74471         [BZ #13656]
74472         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74473         possibly allocate from heap instead of stack.
74474         * stdio-common/bug-vfprintf-nargs.c: New file.
74475         * stdio-common/Makefile (tests): Add nargs overflow test.
74477 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74481 2012-03-03  Marek Polacek  <polacek@redhat.com>
74483         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74484         * math/math_private.h: Likewise.
74485         * stdlib/tst-strtod.c: Likewise.
74486         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74487         * sysdeps/x86_64/bits/atomic.h: Likewise.
74489 2012-03-02  David S. Miller  <davem@davemloft.net>
74491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74495         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74496         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74497         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74498         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74500 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74502         [BZ #13792]
74503         * manual/examples/README: New file, says the example source files
74504         can be used under GPL>=2.
74505         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74506         line containing just "*/".
74507         * manual/examples/add.c: Add copyright header (GPL>=2).
74508         * manual/examples/argp-ex1.c: Likewise.
74509         * manual/examples/argp-ex2.c: Likewise.
74510         * manual/examples/argp-ex3.c: Likewise.
74511         * manual/examples/argp-ex4.c: Likewise.
74512         * manual/examples/atexit.c: Likewise.
74513         * manual/examples/db.c: Likewise.
74514         * manual/examples/dir.c: Likewise.
74515         * manual/examples/dir2.c: Likewise.
74516         * manual/examples/execinfo.c: Likewise.
74517         * manual/examples/filecli.c: Likewise.
74518         * manual/examples/filesrv.c: Likewise.
74519         * manual/examples/fmtmsgexpl.c: Likewise.
74520         * manual/examples/genpass.c: Likewise.
74521         * manual/examples/inetcli.c: Likewise.
74522         * manual/examples/inetsrv.c: Likewise.
74523         * manual/examples/isockad.c: Likewise.
74524         * manual/examples/longopt.c: Likewise.
74525         * manual/examples/memopen.c: Likewise.
74526         * manual/examples/memstrm.c: Likewise.
74527         * manual/examples/mkfsock.c: Likewise.
74528         * manual/examples/mkisock.c: Likewise.
74529         * manual/examples/mygetpass.c: Likewise.
74530         * manual/examples/pipe.c: Likewise.
74531         * manual/examples/popen.c: Likewise.
74532         * manual/examples/rprintf.c: Likewise.
74533         * manual/examples/search.c: Likewise.
74534         * manual/examples/select.c: Likewise.
74535         * manual/examples/setjmp.c: Likewise.
74536         * manual/examples/sigh1.c: Likewise.
74537         * manual/examples/sigusr.c: Likewise.
74538         * manual/examples/stpcpy.c: Likewise.
74539         * manual/examples/strdupa.c: Likewise.
74540         * manual/examples/strftim.c: Likewise.
74541         * manual/examples/strncat.c: Likewise.
74542         * manual/examples/subopt.c: Likewise.
74543         * manual/examples/swapcontext.c: Likewise.
74544         * manual/examples/termios.c: Likewise.
74545         * manual/examples/testopt.c: Likewise.
74546         * manual/examples/testpass.c: Likewise.
74547         * manual/examples/timeval_subtract.c: Likewise.
74549         [BZ #13792]
74550         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74551         function to ...
74552         * manual/timeval_subtract.c.texi: ... here, new file.
74554 2012-03-02  David S. Miller  <davem@davemloft.net>
74556         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74558 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74560         [BZ #3976]
74561         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74562         (__sin): Save and restore rounding mode and use round-to-nearest
74563         for all computations.
74564         (__cos): Save and restore rounding mode and use round-to-nearest
74565         for all computations.
74566         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74567         <fenv.h>.
74568         (tan): Save and restore rounding mode and use round-to-nearest for
74569         all computations.
74570         * math/libm-test.inc (cos_test_tonearest): New function.
74571         (cos_test_towardzero): Likewise.
74572         (cos_test_downward): Likewise.
74573         (cos_test_upward): Likewise.
74574         (sin_test_tonearest): Likewise.
74575         (sin_test_towardzero): Likewise.
74576         (sin_test_downward): Likewise.
74577         (sin_test_upward): Likewise.
74578         (tan_test_tonearest): Likewise.
74579         (tan_test_towardzero): Likewise.
74580         (tan_test_downward): Likewise.
74581         (tan_test_upward): Likewise.
74582         (main): Call the new functions.
74583         * sysdeps/i386/fpu/libm-test-ulps: Update.
74584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74586         [BZ #10135]
74587         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74588         small n, then large n, before computing and testing k+n.
74589         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74591         Likewise.
74592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74593         Likewise.
74594         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74595         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74596         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74597         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74598         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74599         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74600         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74602         * math/libm-test.inc (scalbn_test): Add more tests.
74603         (scalbln_test): Likewise.
74605         * manual/filesys.texi (mode_t): Describe constraints on size and
74606         signedness, not exact equivalence to a particular type.
74607         (ino_t): Likewise.
74608         (ino64_t): Likewise.
74609         (dev_t): Likewise.
74610         (nlink_t): Likewise.
74611         (blkcnt_t): Likewise.
74612         (blkcnt64_t): Likewise.
74613         * manual/llio.texi (off_t): Likewise.
74615         [BZ #3976]
74616         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74617         (__ieee754_exp): Save and restore rounding mode and use
74618         round-to-nearest for all computations.
74619         * math/libm-test.inc (exp_test_tonearest): New function.
74620         (exp_test_towardzero): Likewise.
74621         (exp_test_downward): Likewise.
74622         (exp_test_upward): Likewise.
74623         (main): Call the new functions.
74624         * sysdeps/i386/fpu/libm-test-ulps: Update.
74625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74627 2012-03-01  Chris Demetriou  <cgd@google.com>
74629         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74630         have predictable order.
74632 2012-03-01  David S. Miller  <davem@davemloft.net>
74634         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74636         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74637         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74638         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74639         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74641         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74642         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74643         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74645         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74646         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74647         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74648         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74649         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74654         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74655         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74657         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74658         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74659         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74660         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74661         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74662         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74663         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74664         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74665         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74666         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74667         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74668         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74670         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74671         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74673         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74674         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74675         * sysdeps/sparc/elf/configure: Regenerated.
74677 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74679         * configure.in (AS, LD): Require binutils 2.20 or later.
74680         * configure: Regenerated.
74681         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74682         as required minimum version.
74683         * INSTALL: Regenerated.
74685         [BZ #2541]
74686         [BZ #4108]
74687         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74688         before squaring exponent.
74689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74690         bottom long double and 27 bits of top long double before squaring
74691         exponent.
74692         * math/libm-test.inc (erfc_test): Add more tests.
74693         * sysdeps/i386/fpu/libm-test-ulps: Update.
74694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74697 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74699         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74700         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74701         containing bit-fields.
74702         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74703         * soft-fp/single.h (_FP_UNION_S): Likewise.
74704         * soft-fp/double.h (_FP_UNION_D): Likewise.
74706 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74708         [BZ #13786]
74709         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74710         not include ../strcmp.S.
74711         [USE_AS_STRNCASECMP_L]: Likewise.
74712         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74713         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74714         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74715         (__strncasecmp_l_ia32): Define as alias to
74716         __strncasecmp_l_nonascii.
74718         [BZ #5794]
74719         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74720         * sysdeps/i386/fpu/libm-test-ulps: Update.
74721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74723         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74726 2012-02-29  Jeff Law  <law@redhat.com>
74728         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74729         out of bounds read.
74731 2012-02-29  Marek Polacek  <polacek@redhat.com>
74733         [BZ #13706]
74734         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74735         * elf/Makefile: Add rules to run tst-unused-dep.out.
74737 2012-02-28  David S. Miller  <davem@davemloft.net>
74739         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74740         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74741         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74742         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74743         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74744         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74746 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74748         * math/libm-test.inc (llround_test): Move one test from
74749         lround_test.  Use TEST_f_L in moved test.
74750         (lround_test): Move misplaced test to llround_test.  Add testcase
74751         from bug 2561.
74753 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74755         * sysdeps/x86_64/fpu/e_expf.S: New file.
74756         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74758 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74760         [BZ #13637]
74761         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74762         of remain_len that may cause incomplete multi-byte character and
74763         false match.
74764         * posix/bug-regex33.c: New file.
74765         * posix/Makefile (tests): Add bug-regex33.
74767 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74769         * manual/macros.texi: New file.
74770         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74771         * manual/libc.texinfo: Include macros.texi.
74772         * manual/creatute.texi: Likewise.
74773         * manual/install.texi: Likewise.
74774         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74775         @glibcadj{} in references to the GNU C Library.
74776         * manual/charset.texi: Likewise.
74777         * manual/conf.texi: Likewise.
74778         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74779         when not using those macros.
74780         * manual/creature.texi: Likewise.
74781         * manual/crypt.texi: Likewise.
74782         * manual/errno.texi: Likewise.
74783         * manual/filesys.texi: Likewise.
74784         * manual/header.texi: Likewise.
74785         * manual/install.texi: Likewise.
74786         * manual/intro.texi: Likewise.
74787         * manual/io.texi: Likewise.
74788         * manual/job.texi: Likewise.
74789         * manual/lang.texi: Likewise.
74790         * manual/libc.texiinfo: Likewise.
74791         * manual/llio.texi: Likewise.
74792         * manual/locale.texi: Likewise.
74793         * manual/maint.texi: Likewise.
74794         * manual/math.texi: Likewise.
74795         * manual/memory.texi: Likewise.
74796         * manual/message.texi: Likewise.
74797         * manual/nss.texi: Likewise.
74798         * manual/pattern.texi: Likewise.
74799         * manual/process.texi: Likewise.
74800         * manual/resource.texi: Likewise.
74801         * manual/search.texi: Likewise.
74802         * manual/setjmp.texi: Likewise.
74803         * manual/signal.texi: Likewise.
74804         * manual/socket.texi: Likewise.
74805         * manual/startup.texi: Likewise.
74806         * manual/stdio.texi: Likewise.
74807         * manual/string.texi: Likewise.
74808         * manual/sysinfo.texi: Likewise.
74809         * manual/syslog.texi: Likewise.
74810         * manual/terminal.texi: Likewise.
74811         * manual/time.texi: Likewise.
74812         * manual/users.texi: Likewise.
74813         * INSTALL: Regenerated.
74814         * NOTES: Regenerated.
74815         * sysdeps/gnu/errlist.c: Regenerated.
74817 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74819         * include/dirent.h: Include <dirstream.h> before
74820         <dirent/dirent.h>.
74822 2012-02-28  David S. Miller  <davem@davemloft.net>
74824         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74825         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74826         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74827         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74829 2012-02-27  David S. Miller  <davem@davemloft.net>
74831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74833         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74834         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74837         frame pointer instead of stack pointer relative arg slot.
74838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74839         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74840         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74842 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74844         [BZ #3992]
74845         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74847 2012-02-27  David S. Miller  <davem@davemloft.net>
74849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74855         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74856         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74858 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74860         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74861         later.  Allow versions 5-9.
74862         * configure: Regenerated.
74863         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74864         required minimum version and 4.6 as recommended version.  Do not
74865         mention bugs in GCC 2.7 and 2.8.
74866         * INSTALL: Regenerated.
74868 2012-02-27  David S. Miller  <davem@davemloft.net>
74870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74876         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74877         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74880         manipulate bits before adding and subtracting TWO112[sx].
74881         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74883 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74885         [BZ #13775]
74886         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74887         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74888         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74889         being in POSIX, because they are in 1003.1-2008.
74891         * rt/tst-aio.c: Include <fcntl.h>.
74892         * rt/tst-aio7.c: Likewise.
74893         * rt/tst-aio64.c: Likewise.
74895         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74897 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74899         * manual/install.texi (--with-headers): Describe headers as
74900         interface headers, not private headers.
74901         (Specific advice for GNU/Linux systems): Describe use of headers
74902         from "make headers_install", not private headers from older
74903         kernels.
74904         * INSTALL: Regenerated.
74905         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74906         Change to 2.6.19.
74907         * sysdeps/unix/sysv/linux/configure: Regenerated.
74909         * manual/llio.texi (fclean): Remove documentation.
74911         * manual/Makefile (libc-texi-generated): New variable.  Include
74912         version.texi.
74913         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74914         $(libc-texi-generated), not duplicated list of files.
74915         (version.texi, stamp-version): New rules.
74916         (realclean): Remove $(libc-texi-generated), not individual files
74917         from that list.  Do not remove dir-add.texinfo.
74918         * manual/libc.texinfo: Comment out uses of edition numbers and
74919         references to printed manual.  Remove last-updated dates.
74920         (EDITION): Comment out.
74921         (ISBN): Likewise.
74922         (VERSION, UPDATED): Remove.
74923         (version.texi): Include.
74925 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74927         * sysdeps/posix/spawni.c: Include <signal.h>.
74928         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74929         * sysdeps/pthread/aio_fsync.c: Likewise.
74931 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74933         * conform/Makefile (tests): Run only when not cross-compiling and
74934         when fast-check is not defined.
74936         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74937         * conform/data/limits.h-data: Fixes for POSIX2008.
74938         * conform/run-conformtest.sh: Run all tests.
74939         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74940         headers.
74941         * include/bits/dlfcn.h: Likewise.
74942         * include/langinfo.h: Likewise.
74943         * include/monetary.h: Likewise.
74944         * include/sys/poll.h: Likewise.
74946         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74947         for __USE_GNU.
74948         * posix/spawn.h: Define __need_sigset_t.
74949         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74950         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74951         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74952         to get sigevent_t only.
74953         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74954         only for __USE_GNU.
74955         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74956         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74957         process_vm_writev only for __USE_GNU.
74958         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74960         * conform/Makefile: For now ignore errors from run-conformtest.
74961         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74962         POSIX to avoid namespace pollution.  Don't prepend headers.
74963         * conform/data/aio.h-data: Fixes for POSIX testing.
74964         * conform/data/fcntl.h-data: Likewise.
74965         * conform/data/glob.h-data: Likewise.
74966         * conform/data/grp.h-data: Likewise.
74967         * conform/data/pthread.h-data: Likewise.
74968         * conform/data/pwd.h-data: Likewise.
74969         * conform/data/signal.h-data: Likewise.
74970         * conform/data/spawn.h-data: Likewise.
74971         * conform/data/stdio.h-data: Likewise.
74972         * conform/data/stdlib.h-data: Likewise.
74973         * conform/data/stropts.h-data: Likewise.
74974         * conform/data/sys/mman.h-data: Likewise.
74975         * conform/data/sys/stat.h-data: Likewise.
74976         * conform/data/sys/types.h-data: Likewise.
74977         * conform/data/sys/wait.h-data: Likewise.
74978         * conform/data/time.h-data: Likewise.
74979         * conform/data/unistd.h-data: Likewise.
74980         * conform/data/utime.h-data: Likewise.
74982         * io/sys/stat.h: fchmod was always in POSIX.
74983         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74984         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74985         * rt/aio.h: Define __need_timespec before including <time.h>.
74986         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74987         struct.  Add forward declaration of pthread_attr_t and use it in
74988         sigevent.
74989         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74991         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74992         always remove CLK_TCK definition.
74994 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74996         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74998 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75000         * conform/run-conformtest.sh: New file.
75001         * conform/Makefile: Run run-conformtest for tests.
75002         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75003         support.
75005         * conform/data/uchar.h-data: New file.
75006         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75007         * conform/data/arpa/inet.h-data: Likewise.
75008         * conform/data/assert.h-data: Likewise.
75009         * conform/data/complex.h-data: Likewise.
75010         * conform/data/cpio.h-data: Likewise.
75011         * conform/data/ctype.h-data: Likewise.
75012         * conform/data/dirent.h-data: Likewise.
75013         * conform/data/dlfcn.h-data: Likewise.
75014         * conform/data/errno.h-data: Likewise.
75015         * conform/data/fcntl.h-data: Likewise.
75016         * conform/data/float.h-data: Likewise.
75017         * conform/data/fmtmsg.h-data: Likewise.
75018         * conform/data/fnmatch.h-data: Likewise.
75019         * conform/data/ftw.h-data: Likewise.
75020         * conform/data/glob.h-data: Likewise.
75021         * conform/data/grp.h-data: Likewise.
75022         * conform/data/iconv.h-data: Likewise.
75023         * conform/data/inttypes.h-data: Likewise.
75024         * conform/data/langinfo.h-data: Likewise.
75025         * conform/data/libgen.h-data: Likewise.
75026         * conform/data/limits.h-data: Likewise.
75027         * conform/data/locale.h-data: Likewise.
75028         * conform/data/math.h-data: Likewise.
75029         * conform/data/monetary.h-data: Likewise.
75030         * conform/data/mqueue.h-data: Likewise.
75031         * conform/data/ndbm.h-data: Likewise.
75032         * conform/data/net/if.h-data: Likewise.
75033         * conform/data/netdb.h-data: Likewise.
75034         * conform/data/netinet/in.h-data: Likewise.
75035         * conform/data/nl_types.h-data: Likewise.
75036         * conform/data/poll.h-data: Likewise.
75037         * conform/data/pthread.h-data: Likewise.
75038         * conform/data/pwd.h-data: Likewise.
75039         * conform/data/regex.h-data: Likewise.
75040         * conform/data/sched.h-data: Likewise.
75041         * conform/data/search.h-data: Likewise.
75042         * conform/data/semaphore.h-data: Likewise.
75043         * conform/data/setjmp.h-data: Likewise.
75044         * conform/data/signal.h-data: Likewise.
75045         * conform/data/spawn.h-data: Likewise.
75046         * conform/data/stdarg.h-data: Likewise.
75047         * conform/data/stdio.h-data: Likewise.
75048         * conform/data/stdlib.h-data: Likewise.
75049         * conform/data/string.h-data: Likewise.
75050         * conform/data/strings.h-data: Likewise.
75051         * conform/data/stropts.h-data: Likewise.
75052         * conform/data/sys/ipc.h-data: Likewise.
75053         * conform/data/sys/mman.h-data: Likewise.
75054         * conform/data/sys/msg.h-data: Likewise.
75055         * conform/data/sys/resource.h-data: Likewise.
75056         * conform/data/sys/select.h-data: Likewise.
75057         * conform/data/sys/sem.h-data: Likewise.
75058         * conform/data/sys/shm.h-data: Likewise.
75059         * conform/data/sys/socket.h-data: Likewise.
75060         * conform/data/sys/stat.h-data: Likewise.
75061         * conform/data/sys/statvfs.h-data: Likewise.
75062         * conform/data/sys/time.h-data: Likewise.
75063         * conform/data/sys/timeb.h-data: Likewise.
75064         * conform/data/sys/times.h-data: Likewise.
75065         * conform/data/sys/types.h-data: Likewise.
75066         * conform/data/sys/uio.h-data: Likewise.
75067         * conform/data/sys/un.h-data: Likewise.
75068         * conform/data/sys/utsname.h-data: Likewise.
75069         * conform/data/sys/wait.h-data: Likewise.
75070         * conform/data/syslog.h-data: Likewise.
75071         * conform/data/tar.h-data: Likewise.
75072         * conform/data/termios.h-data: Likewise.
75073         * conform/data/utime.h-data: Likewise.
75074         * conform/data/utmpx.h-data: Likewise.
75075         * conform/data/varargs.h-data: Likewise.
75076         * conform/data/wchar.h-data: Likewise.
75077         * conform/data/wctype.h-data: Likewise.
75078         * conform/data/wordexp.h-data: Likewise.
75080         * include/stropts.h: New file.
75081         * include/uchar.h: New file.
75082         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75083         * include/assert.h: Likewise.
75084         * include/ctype.h: Likewise.
75085         * include/dirent.h: Likewise.
75086         * include/dlfcn.h: Likewise.
75087         * include/fcntl.h: Likewise.
75088         * include/fnmatch.h: Likewise.
75089         * include/glob.h: Likewise.
75090         * include/grp.h: Likewise.
75091         * include/libio.h: Likewise.
75092         * include/locale.h: Likewise.
75093         * include/math.h: Likewise.
75094         * include/net/if.h: Likewise.
75095         * include/netdb.h: Likewise.
75096         * include/netinet/in.h: Likewise.
75097         * include/pthread.h: Likewise.
75098         * include/pwd.h: Likewise.
75099         * include/regex.h: Likewise.
75100         * include/sched.h: Likewise.
75101         * include/search.h: Likewise.
75102         * include/setjmp.h: Likewise.
75103         * include/signal.h: Likewise.
75104         * include/stdio.h: Likewise.
75105         * include/stdlib.h: Likewise.
75106         * include/string.h: Likewise.
75107         * include/sys/cdefs.h: Likewise.
75108         * include/sys/mman.h: Likewise.
75109         * include/sys/msg.h: Likewise.
75110         * include/sys/resource.h: Likewise.
75111         * include/sys/select.h: Likewise.
75112         * include/sys/socket.h: Likewise.
75113         * include/sys/stat.h: Likewise.
75114         * include/sys/statvfs.h: Likewise.
75115         * include/sys/time.h: Likewise.
75116         * include/sys/times.h: Likewise.
75117         * include/sys/uio.h: Likewise.
75118         * include/sys/utsname.h: Likewise.
75119         * include/sys/wait.h: Likewise.
75120         * include/termios.h: Likewise.
75121         * include/time.h: Likewise.
75122         * include/ulimit.h: Likewise.
75123         * include/unistd.h: Likewise.
75124         * include/utime.h: Likewise.
75125         * include/wchar.h: Likewise.
75126         * include/wctype.h: Likewise.
75127         * include/wordexp.h: Likewise.
75129         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75131         * time/time.h: TIME_UTC must be a macro.
75132         Make timespec_get available for ISO C11 only as well.
75134 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75136         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75137         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75139 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75141         * configure.in: Use -o not -a in test for unsupported multi-arch.
75143 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75145         * manual/texinfo.tex: Update to version 2012-01-19.16.
75147 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75149         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75151 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75153         [BZ #13738]
75154         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75155         * manual/fdl-1.3.texi: New file.
75156         * manual/fdl-1.1.texi: File removed.
75158         [BZ #13738]
75159         * manual/libc.texinfo (FDL_VERSION): New @set.
75160         Use it for mention of FDL in cover text.
75161         (Documentation License): Use it in @include file name.
75163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75164             Roland McGrath  <roland@hack.frob.com>
75166         [BZ #5461]
75167         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75168         (not LONG_LONG_MAX and LONG_LONG_MIN.
75169         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75170         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75171         name.
75172         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75176         [BZ #2547]
75177         [BZ #11365]
75178         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75179         manipulate bits before adding and subtracting TWO23[sx].
75180         * math/libm-test.inc (nearbyint_test): Add more tests.
75182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75184         [BZ #2548]
75185         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75186         bits before adding and subtracting TWO23[sx].
75187         * math/libm-test.inc (rint_test): Add more tests.
75188         (rint_test_tonearest): Likewise.
75189         (rint_test_towardzero): Likewise.
75190         (rint_test_downward): Likewise.
75191         (rint_test_upward: Likewise.
75193 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75195         [BZ #10110]
75196         * include/stdc-predef.h: New file.  Extracted from features.h.
75197         * include/features.h: Include stdc-predef.h.
75198         * Makefile (headers): Add stdc-predef.h.
75199         * CONFORMANCE (Compiler limitations): Update.
75201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75203         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75205 2012-02-21  David S. Miller  <davem@davemloft.net>
75207         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75208         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75210 2012-02-20  David S. Miller  <davem@davemloft.net>
75212         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75213         using a normal save/restore sequence, rather than allocating a
75214         dummy stack frame just to store a frame pointer and restore.
75215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75219         * manual/install.texi: Fix stray word in line-wrapped comment.
75221 2012-02-20  David S. Miller  <davem@davemloft.net>
75223         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75224         both binutils and gcc support GOTDATA.
75226         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75227         "rd %pc" in the PIC register setup sequences.
75229         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75230         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75231         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75232         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75233         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75235         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75237         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75238         (SYSCALL_ERROR_HANDLER): Likewise.
75239         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75240         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75242         (SYSCALL_ERROR_HANDLER): Likewise.
75244         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75245         (HAVE_GCC_GOTDATA): New.
75246         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75247         relocation support in both binutils and gcc.
75248         * sysdeps/sparc/elf/configure: Regenerate.
75250         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75251         * sysdeps/sparc/sparc32/elf/configure: Delete.
75252         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75253         * sysdeps/sparc/sparc64/elf/configure: Delete.
75254         * sysdeps/sparc/elf/configure.in: New file.
75255         * sysdeps/sparc/elf/configure: Generate.
75257         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75258         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75259         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75260         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75261         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75263 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75265         * manual/install.texi: Do not mention specific glibc version
75266         numbers.
75267         * manual/libc.texinfo (VERSION, UPDATED): Update.
75268         (@copying): Use @copyright{} and range of years.
75270 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75272         [BZ #13695]
75273         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75274         [crti.S not in sysdirs] (generated): Do not append.
75275         [crti.S not in sysdirs] (omit-deps): Likewise.
75276         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75277         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75278         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75279         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75280         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75281         Likewise.
75282         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75283         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75284         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75285         * csu/defs.awk: Remove file.
75286         * sysdeps/generic/initfini.c: Likewise.
75287         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75288         variable.
75289         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75290         Likewise.
75292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75294         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75295         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75296         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75297         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75299         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75300         <bits/epoll.h>.
75301         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75302         (__EPOLL_PACKED): Define to empty if not defined by
75303         <bits/epoll.h>.
75304         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75306         bits/epoll.h.
75308 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75310         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75311         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75312         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75313         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75314         <bits/timerfd.h>.
75315         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75317         bits/timerfd.h.
75319 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75321         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75322         in C locale.
75323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75324         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75325         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75328 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75331         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75333 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75335         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75336         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75337         defined.
75338         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75339         Likewise.
75340         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75341         entry for 2.16.
75343 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75345         * math/w_acos.c: Use non-signaling floating-point comparisons.
75346         * math/w_acosf.c: Likewise.
75347         * math/w_acosh.c: Likewise.
75348         * math/w_acoshf.c: Likewise.
75349         * math/w_acoshl.c: Likewise.
75350         * math/w_acosl.c: Likewise.
75351         * math/w_asin.c: Likewise.
75352         * math/w_asinf.c: Likewise.
75353         * math/w_asinl.c: Likewise.
75354         * math/w_atanh.c: Likewise.
75355         * math/w_atanhf.c: Likewise.
75356         * math/w_atanhl.c: Likewise.
75357         * math/w_exp2.c: Likewise.
75358         * math/w_exp2f.c: Likewise.
75359         * math/w_exp2l.c: Likewise.
75360         * math/w_j0.c: Likewise.
75361         * math/w_j0f.c: Likewise.
75362         * math/w_j0l.c: Likewise.
75363         * math/w_j1.c: Likewise.
75364         * math/w_j1f.c: Likewise.
75365         * math/w_j1l.c: Likewise.
75366         * math/w_jn.c: Likewise.
75367         * math/w_jnf.c: Likewise.
75368         * math/w_log.c: Likewise.
75369         * math/w_log10.c: Likewise.
75370         * math/w_log10f.c: Likewise.
75371         * math/w_log10l.c: Likewise.
75372         * math/w_log2.c: Likewise.
75373         * math/w_log2f.c: Likewise.
75374         * math/w_log2l.c: Likewise.
75375         * math/w_logf.c: Likewise.
75376         * math/w_logl.c: Likewise.
75377         * math/w_sqrt.c: Likewise.
75378         * math/w_sqrtf.c: Likewise.
75379         * math/w_sqrtl.c: Likewise.
75380         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75381         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75382         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75383         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75384         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75386 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75388         [BZ #9739]
75389         * manual/string.texi (strnlen): Use correct parameter name in
75390         equivalent expression.
75392 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75394         [BZ #11174]
75395         * manual/users.texi (seteuid): Consistently use neweuid for
75396         argument name.
75398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75400         [BZ #13704]
75401         * manual/nss.texi (Services in the NSS configuration): Correct
75402         list of services in example configuration file.
75404 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75406         [BZ #11322]
75407         * manual/arith.texi: Remove statements about negative zero
75408         behaving identically to zero.
75410 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75412         [BZ #5993]
75413         * manual/install.texi: Do not document upgrading from libc5.
75415 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75417         [BZ #4596]
75418         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75420 2012-02-18  David S. Miller  <davem@davemloft.net>
75422         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75423         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75424         %o7 across the call.
75425         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75426         instead.
75427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75428         SETUP_PIC_REG_LEAF.
75429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75430         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75431         * sysdeps/sparc/crtn.S: Likewise.
75433 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75435         * aout/Makefile: Remove.
75437 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75439         [BZ #13058]
75440         * manual/examples/argp-ex1.c (main): Format definition in GNU
75441         style.
75442         * manual/examples/argp-ex2.c (main): Likewise.
75443         * manual/examples/argp-ex3.c (main): Likewise.
75444         * manual/examples/argp-ex4.c (main): Likewise.
75445         * manual/examples/longopt.c (main): Use new-style prototype
75446         definition.
75447         * manual/examples/strncat.c (main): Specify return type and use
75448         (void) for arguments.
75449         * manual/examples/subopt.c (main): Use char **argv argument.
75451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75453         [BZ #5077]
75454         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75455         rounding modes.
75457 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75459         [BZ #6907]
75460         * manual/string.texi (strchr): Change when strchrnul is
75461         recommended.
75463 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75465         [BZ #174]
75466         * manual/locale.texi (setlocale): Document LOCPATH.
75468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75470         [BZ #10210]
75471         * manual/process.texi (execle): Move @dots{} before last argument.
75473 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75475         [BZ #12047]
75476         * manual/charset.texi (Generic Charset Conversion): Fix typo
75477         (LC_TYPE -> LC_CTYPE).
75479 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75481         [BZ #5805]
75482         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75483         (scalbnf): Likewise.
75484         (scalbnl): Likewise.
75485         (scalbln): Likewise.
75486         (scalblnf): Likewise.
75487         (scalblnl): Likewise.
75488         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75489         (vwarnx): Likewise.
75490         (verr): Likewise.
75491         (verrx): Likewise.
75492         * manual/filesys.texi (telldir): Use braces around return type.
75493         * manual/llio.texi (mmap): Add space after comma.
75494         (mmap64): Likewise.
75495         * manual/math.texi (jn): Use @var{} on parameter names.
75496         (jnf): Likewise.
75497         (jnl): Likewise.
75498         (yn): Likewise.
75499         (ynf): Likewise.
75500         (ynl): Likewise.
75501         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75502         line.
75503         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75504         "...".
75505         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75506         (sched_get_priority_max): Likewise.
75507         * manual/signal.texi (sigvec): Add space after comma.
75508         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75509         names.
75510         (if_indextoname): Likewise.
75511         (if_freenameindex): Likewise.
75512         (sendto): Use ',' instead of '.' in prototype.
75513         * manual/startup.texi (syscall): Use @dots{} instead of literal
75514         "...".
75515         * manual/stdio.texi (__fpending): Separate initial words of
75516         paragraph from @deftypefun line.
75517         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75518         "...".
75519         (vsyslog): Use @var{} on parameter names.
75520         * manual/terminal.texi (stty): Use @var{} on parameter names.
75521         * manual/users.texi (getutmp): Use @var{} on parameter names.
75522         (getutmpx): Likewise.
75524 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75526         [BZ #6884]
75527         * manual/stdio.texi (fopen): Fix typos in description of
75528         ",ccs=STRING".
75530 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75532         [BZ #4026]
75533         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75534         get clock_id definition.
75536 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75538         [BZ #4822]
75539         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75540         (madvise): Cast every argument to void on its own.
75542 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75544         [BZ #9902]
75545         * manual/startup.texi (Exit Status): Fix typo.
75547 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75549         [BZ #10140]
75550         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75551         * manual/examples/argp-ex2.c: Likewise.
75552         * manual/examples/argp-ex3.c: Likewise.
75554 2012-02-16  Richard Henderson  <rth@redhat.com>
75556         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75557         * sysdeps/s390/s390-32/initfini.c: Remove.
75558         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75559         * sysdeps/s390/s390-64/initfini.c: Remove.
75561 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75563         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75564         compiler output for sysdeps/generic/initfini.c.
75565         * sysdeps/sh/elf/initfini.c: Remove file.
75567 2012-02-16  David S. Miller  <davem@davemloft.net>
75569         [BZ #11494]
75570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75572         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75573         * sysdeps/sparc/crti.S: New file.
75574         * sysdeps/sparc/crtn.S: New file.
75575         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75576         * sysdeps/sparc/sparc64/Makefile: Likewise.
75578 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75580         [BZ #3335]
75581         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75583 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75585         [BZ #4822]
75586         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75588         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75589         (write, read, close): Likewise.
75590         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75592 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75594         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75595         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75596         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75597         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75598         <bits/signalfd.h>.
75599         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75601         bits/signalfd.h.
75603 2012-02-14  Marek Polacek  <polacek@redhat.com>
75605         * sysdeps/x86_64/crti.S: New file.
75606         * sysdeps/x86_64/crtn.S: New file.
75607         * sysdeps/x86_64/elf/initfini.c: Remove file.
75609 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75611         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75612         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75613         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75614         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75615         <bits/inotify.h>.
75616         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75618         bits/inotify.h.
75620 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75622         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75623         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75624         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75625         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75626         <bits/eventfd.h>.
75627         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75629         bits/eventfd.h.
75631 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75633         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75634         __feraiseexcept instead of feraiseexcept.
75636         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75637         nanosleep invocations.
75638         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75639         strings, and add error checking for a nanosleep invocations.
75641 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75643         Replace FSF snail mail address with URLs, as per GNU coding standards.
75644         Most of the snail mail addresses were wrong anyway, and omitting
75645         them makes the source code easier to maintain.  Almost all of the
75646         changes are to license notices and to locale LC_IDENTIFICATION
75647         addresses, except for this one:
75648         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75649         not its snail mail address.
75651 2012-02-09  Richard Henderson  <rth@twiddle.net>
75653         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75654         of kernel-features.h.
75656         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75658 2012-02-08  Marek Polacek  <polacek@redhat.com>
75660         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75661         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75662         * sysdeps/gnu/_G_config.h: Likewise.
75663         * sysdeps/generic/_G_config.h: Likewise.
75665 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75667         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75668         tests.
75669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75671         * sysdeps/powerpc/powerpc32/crti.S: New file.
75672         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75673         * sysdeps/powerpc/powerpc64/crti.S: New file.
75674         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75676         * Makeconfig (have-initfini): Don't set.
75677         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75678         * configure.in (nopic_initfini): Don't substitute.
75679         * config.h.in (HAVE_INITFINI): Don't #undef.
75680         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75681         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75683 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75685         Support crti.S and crtn.S provided directly by architectures.
75686         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75687         [crti.S in sysdirs] (omit-deps): Likewise.
75688         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75689         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75690         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75691         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75692         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75693         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75694         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75695         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75696         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75697         compiler output for sysdeps/generic/initfini.c.
75698         * sysdeps/i386/elf/Makefile: Remove file.
75699         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75701 2012-02-07  Marek Polacek  <polacek@redhat.com>
75703         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75704         * sysdeps/gnu/_G_config.h: Likewise.
75705         * sysdeps/mach/hurd/_G_config.h: Likewise.
75707 2012-02-07  Marek Polacek  <polacek@redhat.com>
75709         * math/Makefile (tests): Add tst-CMPLX2.
75710         * math/tst-CMPLX2.c: New file.
75712 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75714         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75716         * math/libm-test.inc (jn_test): Add missing L suffix.
75718 2012-02-06  Marek Polacek  <polacek@redhat.com>
75720         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75721         * sysdeps/i386/fpu/e_powf.S: Likewise.
75722         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75723         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75724         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75725         * sysdeps/i386/fpu/e_pow.S: Likewise.
75726         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75727         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75728         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75729         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75730         * sysdeps/i386/fpu/e_log2.S: Likewise.
75731         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75732         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75733         * sysdeps/i386/fpu/e_powl.S: Likewise.
75734         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75735         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75736         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75737         * sysdeps/i386/fpu/e_logl.S: Likewise.
75738         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75739         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75740         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75741         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75744         * sysdeps/i386/fpu/e_log.S: Likewise.
75745         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75747         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75748         * sysdeps/i386/fpu/e_logf.S: Likewise.
75749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75750         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75751         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75752         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75753         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75754         * sysdeps/i386/fpu/e_log10.S: Likewise.
75755         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75756         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75757         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75758         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75759         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75760         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75761         * sysdeps/i386/asm-syntax.h: Likewise.
75762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75764         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75765         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75766         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75768         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75769         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75771         * sysdeps/powerpc/sysdep.h: Likewise.
75772         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75773         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75775 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75777         [BZ #411]
75778         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75780 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75782         * sysdeps/i386/sysdep.h: Include <features.h>.
75783         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75784         version.
75786 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75788         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75789         Define.
75790         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75791         LOAD_PIC_REG_STR.
75793 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75795         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75796         (SETUP_PIC_REG): Use GET_PC_THUNK.
75797         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75798         macro.
75800 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75802         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75803         for non-PIC compilation.
75804         (SETUP_PIC_REG): Add .p2align directive.
75805         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75806         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75807         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75811         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75812         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75813         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75814         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75815         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75816         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75817         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75818         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75819         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75820         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75821         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75822         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75823         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75824         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75825         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75826         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75829         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75830         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75831         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75833         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75834         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75835         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75836         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75840         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75841         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75842         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75843         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75844         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75845         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75847 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75849         * math/tst-CMPLX.c: Include <stdio.h>.
75851 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75853         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75854         float.
75855         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75856         * sysdeps/sparc/bits/mathdef.h: Likewise.
75858 2012-01-31  Marek Polacek  <polacek@redhat.com>
75860         * libio/libio.h: Don't define _PARAMS.
75861         * locale/programs/config.h: Don't define PARAMS.
75862         * stdlib/strtol_l.c: Likewise.
75863         (__strtol_l): Remove PARAMS from the prototype.
75865 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75867         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75868         names.  Just use the correct names.  Remove unnecessary wrapper
75869         functions.
75870         * malloc/arena.c: Likewise.
75871         * malloc/hooks.c: Likewise.
75873         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75874         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75875         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75877 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75879         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75880         into tail calls.
75881         (update_get_addr): New function.
75882         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75883         GET_ADDR_MODULE parameter.
75885 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75887         * crypt/cert.c: Remove __STDC__ conditionals.
75888         * crypt/crypt-entry.c: Likewise.
75889         * crypt/crypt_util.c: Likewise.
75890         * libio/filedoalloc.c: Likewise.
75891         * libio/fileops.c: Likewise.
75892         * libio/genops.c: Likewise.
75893         * libio/iofclose.c: Likewise.
75894         * libio/iofdopen.c: Likewise.
75895         * libio/iofopen.c: Likewise.
75896         * libio/iofopen64.c: Likewise.
75897         * libio/iogetdelim.c: Likewise.
75898         * libio/iopopen.c: Likewise.
75899         * libio/obprintf.c: Likewise.
75900         * libio/oldfileops.c: Likewise.
75901         * libio/oldiofclose.c: Likewise.
75902         * libio/oldiofdopen.c: Likewise.
75903         * libio/oldiofopen.c: Likewise.
75904         * libio/oldiopopen.c: Likewise.
75905         * libio/wfiledoalloc.c: Likewise.
75906         * libio/wgenops.c: Likewise.
75907         * locale/programs/xmalloc.c: Likewise.
75908         * misc/syslog.c: Likewise.
75909         * stdio-common/xbug.c: Likewise.
75910         * string/memchr.c: Likewise.
75911         * string/memcmp.c: Likewise.
75912         * string/memrchr.c: Likewise.
75913         * string/rawmemchr.c: Likewise.
75914         * sysdeps/posix/getcwd.c: Likewise.
75915         * time/strftime_l.c: Likewise.
75917 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75919         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75920         * config.make.in (config-cflags-sse2avx): Define.
75921         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75922         Fix typo.
75924 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75926         * scripts/config.guess: Update from upstream config git repository.
75927         * scripts/config.sub: Likewise.
75929 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75931         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75932         (EM_NUM): Update.
75933         (R_TILEPRO_*, R_TILEGX_*): New macros.
75935         * scripts/firstversions.awk: Fix bug in version range handling.
75937         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75941         * include/sys/epoll.h: New file.
75942         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75943         libc_hidden_def.
75945 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75947         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75948         Avoid unnecessary __WORDSIZE == 64 test.
75949         (fmaxf): Use VEX format if possible.
75950         (fmax): Likewise.
75951         (fminf): Likewise.
75952         (fmin): Likewise.
75954         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75955         * math/math_private.h: Remove libc_fegetround* and
75956         libc_fesetround*.
75957         * sysdeps/i386/configure.in: Check for -msse2avx.
75958         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75959         also if SSE2AVX is defined.
75960         Remove libc_fegetround* and libc_fesetround*.
75961         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75962         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75964         of HAS_YMM_USABLE.
75965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75966         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75969         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75971         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75973 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75975         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75976         size is not set.
75977         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75979 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75981         [BZ #13618]
75982         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75983         relocation.
75984         * Makeconfig (libm): Define.
75985         * elf/Makefile: Add rules to build and run tst-relsort1.
75986         * elf/tst-relsort1.c: New file.
75987         * elf/tst-relsort1mod1.c: New file.
75988         * elf/tst-relsort1mod2.c: New file.
75990 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75992         * math/s_ldexp.c: Remove __STDC__ conditionals.
75993         * math/s_ldexpf.c: Likewise.
75994         * math/s_ldexpl.c: Likewise.
75995         * math/s_nextafter.c: Likewise.
75996         * math/s_nexttowardf.c: Likewise.
75997         * math/s_significand.c: Likewise.
75998         * math/s_significandf.c: Likewise.
75999         * math/s_significandl.c: Likewise.
76000         * math/w_jnl.c: Likewise.
76001         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76002         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76003         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76004         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76005         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76007         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76008         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76009         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76010         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76011         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76012         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76014         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76015         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76016         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76017         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76018         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76020         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76021         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76022         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76023         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76025         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76026         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76027         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76028         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76029         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76030         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76031         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76032         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76033         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76034         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76035         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76036         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76037         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76038         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76039         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76040         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76041         * sysdeps/ieee754/k_standard.c: Likewise.
76042         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76043         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76044         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76045         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76046         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76047         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76049         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76050         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76051         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76052         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76053         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76054         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76056         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76057         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76058         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76060         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76061         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76064         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76065         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76067         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76073         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76074         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76075         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76077         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76078         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76081         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76082         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76084         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76085         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76087         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76091         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76092         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76095         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76096         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76097         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76098         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76099         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76100         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76101         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76103         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76104         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76105         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76106         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76107         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76108         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76109         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76110         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76111         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76112         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76113         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76114         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76117         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76118         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76119         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76120         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76121         * sysdeps/ieee754/s_matherr.c: Likewise.
76122         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76123         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76125         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76127 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76129         * crypt/md5.h: Remove __STDC__ conditionals.
76130         * libio/libioP.h: Likewise.
76131         * locale/programs/config.h: Likewise.
76132         * sysdeps/generic/sysdep.h: Likewise.
76133         * sysdeps/i386/asm-syntax.h: Likewise.
76134         * sysdeps/s390/asm-syntax.h: Likewise.
76135         * sysdeps/unix/sysdep.h: Likewise.
76136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76141         * libio/libio.h: Remove __STDC__ conditionals.
76142         * malloc/obstack.h: Likewise.
76143         * math/complex.h: Likewise.
76144         * math/math.h: Likewise.
76145         * sysdeps/generic/_G_config.h: Likewise.
76146         * sysdeps/gnu/_G_config.h: Likewise.
76147         * sysdeps/mach/hurd/_G_config.h: Likewise.
76148         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76149         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76150         * sysdeps/sparc/bits/mathdef.h: Likewise.
76152 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76154         [BZ #13583]
76155         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76156         Clean up HAS_* macros.
76157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76158         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76159         possible.
76160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76161         HAS_AVX.
76162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76168 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76170         * elf/tst-unique3.cc (gets): Remove declaration.
76171         * elf/tst-unique3lib.cc (gets): Likewise.
76172         * elf/tst-unique3lib2.cc (gets): Likewise.
76173         * elf/tst-unique4.cc (gets): Likewise.
76175 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76177         * include/stdio.h: Add C++ protection.  Add gets declarations and
76178         definitions.
76179         * debug/tst-chk1.c: Don't declare gets here.
76180         * stdio-common/tst-gets.c: Likewise.
76182 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76184         * posix/glob: Remove directory.
76186 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76188         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76190 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76192         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76193         of the non-standard EPFNOSUPPORT.
76195 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76197         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76198         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76199         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76201 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76203         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76205 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76207         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76208         transient errors.
76209         * nscd/grpcache.c (cache_addgr): Likewise.
76210         * nscd/hstcache.c (cache_addhst): Likewise.
76211         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76212         * nscd/pwdcache.c (cache_addpw): Likewise.
76213         * nscd/servicescache.c (cache_addserv): Likewise.
76215 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76217         * malloc/malloc.c: Various cleanups.
76218         * malloc/hooks.c: Likewise.
76220         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76221         * stdlib/bug-fmtmsg1.c: New file.
76223         * stdlib/fmtmsg.c (init): Add missing unlock.
76224         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76226 2012-01-12  Marek Polacek  <polacek@redhat.com>
76228         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76229         and _GNU_SOURCE.
76231 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76233         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76234         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76235         macro to ensure uniqueness of label name.
76236         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76237         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76239 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76241         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76243         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76244         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76245         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76248 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76250         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76252         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76253         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76254         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76256         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76259         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76260         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76263         * math/bits/math-finite.h: Add ldexp support.
76265 2012-01-10  Marek Polacek  <polacek@redhat.com>
76267         * locale/programs/localedef.h (show_archive_content): Add noreturn
76268         attribute.
76270 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76274 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76276         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76278         * io/Makefile (headers): Add bits/poll2.h.
76280 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76283         typo #include statement.
76285 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76287         * include/sys/cdefs.h: Define __attribute_alloc_size.
76288         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76289         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76290         * elf/pldd.c: Likewise.
76291         * iconv/iconv_charmap.c: Likewise.
76292         * iconv/iconvconfig.c: Likewise.
76293         * iconv/strtab.c: Likewise.
76294         * locale/programs/locale.c: Likewise.
76295         * locale/programs/localedef.h: Likewise.
76296         * locale/programs/simple-hash.c: Likewise.
76297         * nscd/nscd.h: Likewise.
76298         * nss/makedb.c: Likewise.
76299         * sysdeps/generic/ldconfig.h: Likewise.
76300         * locale/programs/localedef.c: Remove xmalloc prototype.
76301         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76303 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76306         appropriate.
76308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76310         * math/Makefile (tests): Add tst-CMPLX.
76311         * math/tst-CMPLX.c: New file.
76313         * math/complex.h (CMPLXL): Fix typo.
76315         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76316         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76317         GLIBC_2.16.
76318         * debug/tst-chk1.c: Add poll and ppoll tests.
76319         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76320         * include/sys/poll.h: Add hidden proto for ppoll.
76321         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76322         * sysdeps/mach/hurd/ppoll.c: Likewise.
76323         * io/ppoll.c: Likewise.
76324         * debug/poll_chk.c: New file.
76325         * debug/ppoll_chk.c: New file.
76326         * include/bits/poll2.h: New file.
76327         * io/bits/poll2.h: New file.
76329         [BZ #1350]
76330         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76332         * configure.in: static is always set to yes.  Remove.
76333         * config.make.in: Don't set build-static.
76334         * Makeconfig: Remove use of build-static.
76335         * dlfcn/Makefile: Likewise.
76336         * elf/Makefile: Likewise.
76337         * math/Makefile: Likewise.
76338         * misc/Makefile: Likewise.
76339         * nptl/Makefile: Likewise.
76340         * sysdeps/mach/hurd/Makefile: Likewise.
76342         * configure.in: PWD_P is not used anymore.
76343         * config.make.in: Remove PWD_P entry.
76345         * configure.in: Remove last remnants of RANLIB.
76346         No need to check for signed size_t anymore.
76347         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76348         and IA-64.
76349         Remove __builtin_expect test because we require at least gcc 3.4.
76350         * aclocal.m4: Likewise.
76352         * wcsmbs/mbrtoc16.c: Implement using towc function.
76353         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76354         * wcsmbs/wcsmbsload.c: Likewise.
76355         * iconv/gconv_simple.c: Likewise.
76356         * iconv/gconv_int.h: Likewise.
76357         * iconv/gconv_builtin.h: Likewise.
76358         * iconv/iconv_prog.c: Remove CHAR16 handling.
76360         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76362         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76364         * configure.in: Remove --with-elf and --enable-bounded options.
76365         Dont set base_machine for ia64.  More non-ELF conditions removed.
76366         Remove testing and setting of leading underscore information.
76367         * config.make.in (build-bounded): Set to no.
76368         * config.h.in: Remove NO_UNDERSCORES entry.
76369         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76370         them.
76371         * csu/start.c: Remove !NO_UNDERSCORE code.
76372         * locale/localeinfo.h: Likewise.
76373         * sysdeps/generic/machine-gmon.h: Likewise.
76374         * sysdeps/generic/sysdep.h: Likewise.
76375         * sysdeps/i386/sysdep.h: Likewise.
76376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76377         * sysdeps/mach/sysdep.h: Likewise.
76378         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76379         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76380         * sysdeps/sh/sysdep.h: Likewise.
76381         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76382         * sysdeps/unix/i386/sysdep.S: Likewise.
76383         * sysdeps/unix/sparc/start.c: Likewise.
76384         * sysdeps/unix/sparc/sysdep.S: Likewise.
76385         * sysdeps/unix/sparc/sysdep.h: Likewise.
76386         * sysdeps/unix/start.c: Likewise.
76387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76388         * sysdeps/x86_64/sysdep.h: Likewise.
76390 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76392         [BZ #13553]
76393         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76394         for non-gcc.
76395         * argp/argp-fmtstream.h: Use const instead __const.
76396         * argp/argp.h: Likewise.
76397         * assert/assert.h: Likewise.
76398         * bits/fenv.h: Likewise.
76399         * bits/sched.h: Likewise.
76400         * bits/sigset.h: Likewise.
76401         * bits/sigthread.h: Likewise.
76402         * catgets/nl_types.h: Likewise.
76403         * conform/data/pthread.h-data: Likewise.
76404         * crypt/crypt-private.h: Likewise.
76405         * crypt/crypt.h: Likewise.
76406         * crypt/crypt_util.c: Likewise.
76407         * ctype/ctype.h: Likewise.
76408         * debug/execinfo.h: Likewise.
76409         * debug/mbsnrtowcs_chk.c: Likewise.
76410         * debug/mbsrtowcs_chk.c: Likewise.
76411         * debug/wcsnrtombs_chk.c: Likewise.
76412         * debug/wcsrtombs_chk.c: Likewise.
76413         * debug/wcstombs_chk.c: Likewise.
76414         * dirent/dirent.h: Likewise.
76415         * dlfcn/dlfcn.h: Likewise.
76416         * elf/neededtest4.c: Likewise.
76417         * grp/grp.h: Likewise.
76418         * gshadow/gshadow.h: Likewise.
76419         * iconv/gconv.h: Likewise.
76420         * iconv/gconv_int.h: Likewise.
76421         * iconv/gconv_simple.c: Likewise.
76422         * iconv/iconv.h: Likewise.
76423         * iconv/loop.c: Likewise.
76424         * iconv/skeleton.c: Likewise.
76425         * include/aio.h: Likewise.
76426         * include/aliases.h: Likewise.
76427         * include/argz.h: Likewise.
76428         * include/arpa/inet.h: Likewise.
76429         * include/assert.h: Likewise.
76430         * include/dirent.h: Likewise.
76431         * include/dlfcn.h: Likewise.
76432         * include/execinfo.h: Likewise.
76433         * include/fcntl.h: Likewise.
76434         * include/fenv.h: Likewise.
76435         * include/glob.h: Likewise.
76436         * include/grp.h: Likewise.
76437         * include/libintl.h: Likewise.
76438         * include/mntent.h: Likewise.
76439         * include/netdb.h: Likewise.
76440         * include/pwd.h: Likewise.
76441         * include/rpc/netdb.h: Likewise.
76442         * include/sched.h: Likewise.
76443         * include/search.h: Likewise.
76444         * include/shadow.h: Likewise.
76445         * include/signal.h: Likewise.
76446         * include/stdio.h: Likewise.
76447         * include/stdlib.h: Likewise.
76448         * include/string.h: Likewise.
76449         * include/sys/socket.h: Likewise.
76450         * include/sys/stat.h: Likewise.
76451         * include/sys/statfs.h: Likewise.
76452         * include/sys/statvfs.h: Likewise.
76453         * include/sys/syslog.h: Likewise.
76454         * include/sys/time.h: Likewise.
76455         * include/sys/uio.h: Likewise.
76456         * include/time.h: Likewise.
76457         * include/unistd.h: Likewise.
76458         * include/utmp.h: Likewise.
76459         * include/wchar.h: Likewise.
76460         * include/wctype.h: Likewise.
76461         * inet/aliases.h: Likewise.
76462         * inet/arpa/inet.h: Likewise.
76463         * inet/netinet/ether.h: Likewise.
76464         * inet/netinet/in.h: Likewise.
76465         * intl/libintl.h: Likewise.
76466         * io/bits/fcntl2.h: Likewise.
76467         * io/fcntl.h: Likewise.
76468         * io/ftw.h: Likewise.
76469         * io/sys/poll.h: Likewise.
76470         * io/sys/stat.h: Likewise.
76471         * io/sys/statfs.h: Likewise.
76472         * io/sys/statvfs.h: Likewise.
76473         * io/utime.h: Likewise.
76474         * libio/bits/stdio.h: Likewise.
76475         * libio/bits/stdio2.h: Likewise.
76476         * libio/libio.h: Likewise.
76477         * libio/libioP.h: Likewise.
76478         * libio/stdio.h: Likewise.
76479         * locale/lc-ctype.c: Likewise.
76480         * locale/locale.h: Likewise.
76481         * login/utmp.h: Likewise.
76482         * malloc/arena.c: Likewise.
76483         * malloc/malloc.c: Likewise.
76484         * malloc/malloc.h: Likewise.
76485         * malloc/mcheck.c: Likewise.
76486         * malloc/mtrace.c: Likewise.
76487         * math/bits/mathcalls.h: Likewise.
76488         * math/fenv.h: Likewise.
76489         * math/math_private.h: Likewise.
76490         * misc/bits/error.h: Likewise.
76491         * misc/bits/syslog.h: Likewise.
76492         * misc/err.h: Likewise.
76493         * misc/error.h: Likewise.
76494         * misc/fstab.h: Likewise.
76495         * misc/mntent.h: Likewise.
76496         * misc/regexp.h: Likewise.
76497         * misc/search.h: Likewise.
76498         * misc/sgtty.h: Likewise.
76499         * misc/sys/mman.h: Likewise.
76500         * misc/sys/syslog.h: Likewise.
76501         * misc/sys/uio.h: Likewise.
76502         * misc/sys/xattr.h: Likewise.
76503         * misc/ttyent.h: Likewise.
76504         * nis/rpcsvc/ypclnt.h: Likewise.
76505         * nss/nss.h: Likewise.
76506         * posix/bits/unistd.h: Likewise.
76507         * posix/fnmatch.h: Likewise.
76508         * posix/glob.h: Likewise.
76509         * posix/sched.h: Likewise.
76510         * posix/spawn.h: Likewise.
76511         * posix/sys/wait.h: Likewise.
76512         * posix/unistd.h: Likewise.
76513         * posix/wordexp.h: Likewise.
76514         * pwd/pwd.h: Likewise.
76515         * resolv/netdb.h: Likewise.
76516         * resource/sys/resource.h: Likewise.
76517         * rt/aio.h: Likewise.
76518         * rt/bits/mqueue2.h: Likewise.
76519         * rt/mqueue.h: Likewise.
76520         * shadow/shadow.h: Likewise.
76521         * signal/signal.h: Likewise.
76522         * socket/send.c: Likewise.
76523         * socket/sendto.c: Likewise.
76524         * socket/sys/socket.h: Likewise.
76525         * stdio-common/printf.h: Likewise.
76526         * stdlib/bits/stdlib.h: Likewise.
76527         * stdlib/fmtmsg.h: Likewise.
76528         * stdlib/monetary.h: Likewise.
76529         * stdlib/stdlib.h: Likewise.
76530         * stdlib/ucontext.h: Likewise.
76531         * streams/stropts.h: Likewise.
76532         * string/argz.h: Likewise.
76533         * string/bits/string2.h: Likewise.
76534         * string/string.h: Likewise.
76535         * string/strings.h: Likewise.
76536         * sunrpc/rpc/auth.h: Likewise.
76537         * sunrpc/rpc/auth_des.h: Likewise.
76538         * sunrpc/rpc/clnt.h: Likewise.
76539         * sunrpc/rpc/netdb.h: Likewise.
76540         * sunrpc/rpc/pmap_clnt.h: Likewise.
76541         * sunrpc/rpc/xdr.h: Likewise.
76542         * sysdeps/generic/inttypes.h: Likewise.
76543         * sysdeps/generic/net/if.h: Likewise.
76544         * sysdeps/generic/sys/swap.h: Likewise.
76545         * sysdeps/gnu/net/if.h: Likewise.
76546         * sysdeps/gnu/utmpx.h: Likewise.
76547         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76548         * sysdeps/i386/i486/bits/string.h: Likewise.
76549         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76550         * sysdeps/s390/bits/string.h: Likewise.
76551         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76552         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76553         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76554         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76555         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76556         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76557         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76558         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76559         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76560         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76561         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76562         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76563         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76564         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76565         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76566         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76567         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76572         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76573         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76574         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76575         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76576         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76577         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76579         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76580         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76581         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76582         * sysvipc/sys/ipc.h: Likewise.
76583         * sysvipc/sys/msg.h: Likewise.
76584         * sysvipc/sys/sem.h: Likewise.
76585         * sysvipc/sys/shm.h: Likewise.
76586         * termios/termios.h: Likewise.
76587         * time/sys/time.h: Likewise.
76588         * time/time.h: Likewise.
76589         * wcsmbs/bits/wchar2.h: Likewise.
76590         * wcsmbs/uchar.h: Likewise.
76591         * wcsmbs/wchar.h: Likewise.
76592         * wctype/wctype.h: Likewise.
76594         [BZ #13551]
76595         * Makeconfig: Remove all but ELF support including AIX support.
76596         * Makerules: Likewise.
76597         * config.h.in: Likewise.
76598         * config.make.in: Likewise.
76599         * configure: Likewise.
76600         * configure.in: Likewise.
76601         * csu/Makefile: Likewise.
76602         * csu/version.c: Likewise.
76603         * debug/Makefile: Likewise.
76604         * dlfcn/Makefile: Likewise.
76605         * elf/Makefile: Likewise.
76606         * extra-lib.mk: Likewise.
76607         * iconv/Makefile: Likewise.
76608         * include/libc-symbols.h: Likewise.
76609         * include/shlib-compat.h: Likewise.
76610         * resolv/Makefile: Likewise.
76611         * resolv/res_libc.c: Likewise.
76612         * rt/Makefile: Likewise.
76613         * sysdeps/i386/asm-syntax.h: Likewise.
76614         * sysdeps/i386/sysdep.h: Likewise.
76615         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76616         * sysdeps/mach/sysdep.h: Likewise.
76617         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76618         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76619         * sysdeps/s390/asm-syntax.h: Likewise.
76620         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76621         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76622         * sysdeps/sh/sysdep.h: Likewise.
76623         * sysdeps/unix/sparc/sysdep.h: Likewise.
76624         * sysdeps/wordsize-32/divdi3.c: Likewise.
76625         * sysdeps/x86_64/sysdep.h: Likewise.
76627         * argp/Versions: Remove _argp_unlock_xxx.
76629         [BZ #13559]
76630         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76631         * abilist/libBrokenLocale.abilist: Likewise.
76632         * abilist/libanl.abilist: Likewise.
76633         * abilist/libc.abilist: Likewise.
76634         * abilist/libcrypt.abilist: Likewise.
76635         * abilist/libdl.abilist: Likewise.
76636         * abilist/libm.abilist: Likewise.
76637         * abilist/libnsl.abilist: Likewise.
76638         * abilist/libpthread.abilist: Likewise.
76639         * abilist/libresolv.abilist: Likewise.
76640         * abilist/librt.abilist: Likewise.
76641         * abilist/libthread_db.abilist: Likewise.
76642         * abilist/libutil.abilist: Likewise.
76643         * abilist/libnss_db.abilist: New file.
76645         * scripts/abilist.awk: Add support for indirect functions.
76647         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76649         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76651         * shlib-versions: Remove entries for ports architectures.
76653         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76654         files in ports.
76655         * elf/stackguard-macros.h: Remove support for IA-64.
76656         * elf/tst-auditmod1.c: Likewise.
76657         * sysdeps/generic/ldsodefs.h: Likewise.
76659         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76660         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76661         configure files.
76663         [BZ #13552]
76664         * configure.in: Remove --enable-omitfp support.
76665         * FAQ.in: Adjust.
76666         * config.make.in: Likewise.
76667         * Makeconfig: Likewise.
76668         * manual/install.texi: Likewise.
76670         In case anyone cares, the IA-64 architecture could move to ports.
76671         * sysdeps/ia64/*: Removed.
76672         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76673         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76675         [BZ #13555]
76676         * configure.in: Remove entries for unsupported architectures.
76678         [BZ #13533]
76679         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76680         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76681         routines.
76682         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76683         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76684         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76685         fall back to using wcrtomb.
76686         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76687         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76688         renaming.
76689         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76690         * wcsmbs/tst-c16c32-1.c: New file.
76692         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76693         local variable.
76695         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76697         * elf/tst-unique3.cc: Add explicit declaration of gets.
76698         * elf/tst-unique3lib.cc: Likewise.
76699         * elf/tst-unique3lib2.cc: Likewise.
76700         * elf/tst-unique4.cc: Likewise.
76702         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76704 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76706         [BZ #13566]
76707         * assert/assert.h (static_assert): Don't define for C++.
76708         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76709         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76711 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76713         * iconv/loop.c (single loop): Fix assertion in storing of
76714         remaining bytes.
76716         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76718 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76720         * posix/getconf.c: Update copyright year.
76721         * nss/getent.c: Likewise.
76722         * nss/makedb.c: Likewise.
76723         * iconv/iconvconfig.c: Likewise.
76724         * iconv/iconv_prog.c: Likewise.
76725         * elf/ldconfig.c: Likewise.
76726         * elf/pldd.c: Likewise.
76727         * elf/sotruss.ksh: Likewise.
76728         * catgets/gencat.c: Likewise.
76729         * csu/version.c: Likewise.
76730         * elf/ldd.bash.in: Likewise.
76731         * elf/sprof.c (print_version): Likewise.
76732         * locale/programs/locale.c: Likewise.
76733         * locale/programs/localedef.c: Likewise.
76734         * login/programs/pt_chown.c: Likewise.
76735         * nscd/nscd.c (print_version): Likewise.
76736         * debug/xtrace.sh: Likewise.
76737         * malloc/memusage.sh: Likewise.
76738         * malloc/mtrace.pl: Likewise.
76739         * debug/catchsegv.sh: Likewise.
76741 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76743         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76744         pure attribute.
76746 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76748         [BZ #13533]
76749         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76750         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76751         transformations.
76752         * iconv/gconv_int.h: Likewise.
76753         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76754         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76755         from libc for GLIBC_2.16.
76756         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76757         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76758         * wcsmbs/uchar.h: Really define mbstate_t.
76759         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76760         * wcsmbs/c16rtomb.c: New file.
76761         * wcsmbs/mbrtoc16.c: New file.
76762         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76763         for C/POSIX locale.
76764         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76765         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76767         * wcsmbs/wchar.h: Add missing __restrict.
76769 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76771         [BZ #13532]
76772         * time/Makefile (routines): Add timespec_get.
76773         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76774         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76775         timespec for ISO C11.
76776         * time/timespec_get.c: New file.
76777         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76778         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76780         [BZ #13531]
76781         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76782         * stdlib/stdlib.h: Declare aligned_alloc.
76783         * Versions.def: Add GLIBC_2.16 for libc.
76784         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76786         [BZ 13527]
76787         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76788         ISO C11.
76790         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76791         code.
76793         [BZ #13528]
76794         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76796         [BZ #13529]
76797         * assert/assert.h (static_assert): Define.
76799         * version.h: Update for 2.16 development version.
76801         [BZ #13526]
76802         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76803         _ISOC11_SOURCE.
76805         * version.h (RELEASE): Bump for 2.15 release.
76806         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76808         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76809         Patch by Marek Polacek <mpolacek@redhat.com>.
76811         * bits/byteswap.h: Protect long long constants with __extension__.
76812         * sysdeps/i386/bits/byteswap.h: Likewise.
76813         * sysdeps/ia64/bits/byteswap.h: Likewise.
76814         * sysdeps/s390/bits/byteswap.h: Likewise.
76815         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76817 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76819         [BZ #13540]
76820         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76821         destination buffer.
76822         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76824 2011-12-23  Marek Polacek  <polacek@redhat.com>
76826         * elf/dl-addr.c (determine_info): Add inline keyword.
76827         * elf/tst-auditmod4b.c (check_avx): Likewise.
76828         * elf/tst-auditmod6b.c (check_avx): Likewise.
76829         * elf/tst-auditmod6c.c (check_avx): Likewise.
76830         * elf/tst-auditmod7b.c (check_avx): Likewise.
76832 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76834         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76835         !__SSE_MATH__.
76837 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76839         [BZ #13540]
76840         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76841         processing for last bytes.
76843 2011-08-06  Bruno Haible  <bruno@clisp.org>
76845         [BZ #13061]
76846         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76847         U+0385, not to U+1FEE.
76849         [BZ #13062]
76850         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76851         entry for U+00A5 U+0301.
76853 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76855         [BZ #13166]
76856         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76857         buffer for the output is too small.
76859         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76860         optimization.
76862         [BZ #13185]
76863         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76864         SSE flags if possible.
76866 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76868         [BZ #13540]
76869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76870         processing for last bytes.
76872 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76874         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76875         (syscall-list-default-options, syscall-list-default-condition)
76876         (syscall-list-includes): Define.
76877         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76878         list of ABIs and options and #if conditions for each ABI.  Do not
76879         handle common syscalls between ABIs specially.
76880         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76881         Remove.
76882         (syscall-list-variants, syscall-list-32bit-options)
76883         (syscall-list-32bit-condition, syscall-list-64bit-options)
76884         (syscall-list-64bit-condition): Define.
76885         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76886         (syscall-list-variants, syscall-list-32bit-options)
76887         (syscall-list-32bit-condition, syscall-list-64bit-options)
76888         (syscall-list-64bit-condition): Define.
76889         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76890         Remove.
76891         (syscall-list-variants, syscall-list-32bit-options)
76892         (syscall-list-32bit-condition, syscall-list-64bit-options)
76893         (syscall-list-64bit-condition): Define.
76894         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76895         Remove.
76896         (syscall-list-variants, syscall-list-32bit-options)
76897         (syscall-list-32bit-condition, syscall-list-64bit-options)
76898         (syscall-list-64bit-condition): Define.
76900 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76902         * locale/iso-639.def: Add brx entry.
76904         [BZ #13328]
76905         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76906         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76908         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76909         __feraiseexcept_renamed.
76911 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76913         [BZ #13538]
76914         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76915         EPOLLET with unsigned values.
76916         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76917         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76919         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76920         to large cancellation.
76921         * math/s_cacoshf.c: Likewise.
76922         * math/s_cacoshl.c: Likewise.
76924 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76926         [BZ #13305]
76927         [BZ #12786]
76928         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76929         * math/s_cacoshf.c: Likewise.
76930         * math/s_cacoshl.c: Likewise.
76932 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76934         [BZ #13439]
76935         * iconv/gconv.h: Define __GCONV_SWAP.
76936         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76937         * iconvdata/utf-16.c: Likewise.
76938         * iconvdata/utf-32.c: Likewise.
76940 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76942         [BZ #13524]
76943         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76944         numerator after shifting it by one limb.
76946 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76948         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76949         under [__USE_EXTERN_INLINES].
76951 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76953         [BZ #13446]
76954         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76956 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76958         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76959         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76960         optimized code.
76961         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76962         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76963         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76964         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76965         for strncasecmp/strncasecmp_l compilation.
76966         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76967         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76969 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76971         [BZ #13484]
76972         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76973         of __asm__.
76975 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76977         [BZ #13506]
76978         * time/tzfile.c (__tzfile_read): Check values from file header.
76980 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76982         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76983         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76984         * powerpc/powerpc32/dl-start.S: Likewise.
76985         * powerpc/powerpc32/elf/start.S: Likewise.
76986         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76987         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76988         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76989         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76990         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76991         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76992         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76993         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76994         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76995         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76996         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76997         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76998         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76999         * powerpc/powerpc32/memset.S: Likewise.
77000         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77001         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77002         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77003         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77004         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77005         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77006         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77007         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77008         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77009         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77010         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77011         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77012         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77014 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77016         * math/libm-test.inc: Added more nearbyint tests.
77017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77019         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77022 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77024         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77025         FD_CLOEXEC.
77027 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77029         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77030         Add wcscpy-ssse3 wcscpy-c.
77031         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77032         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77033         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77034         * sysdeps/x86_64/wcschr.S: New file.
77035         * sysdeps/x86_64/wcsrchr.S: New file.
77036         * string/test-strcmp.c: Remove checking of wcscmp function for
77037         wrong alignments.
77038         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77039         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77040         wcsrchr-sse2 wcsrchr-c.
77041         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77042         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77043         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77044         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77045         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77046         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77047         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77048         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77049         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77050         * wcsmbc/wcschr.c (WCSCHR): New macro.
77052 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77054         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77055         * wcsmbs/test-wcsrchr.c: New file.
77056         * string/test-strrchr.c: Add wcsrchr support.
77057         (WIDE): New macro.
77058         * wcsmbs/test-wcscpy.c: New file.
77059         * string/test-strcpy.c: Add wcscpy support.
77060         (WIDE): New macro.
77062 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77064         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77065         the inner loop.
77067 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77069         [BZ #13472]
77070         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77072 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77074         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77075         Minor optimizations.
77077         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77078         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77079         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77081 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77083         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77084         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77085         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77086         for gcc to avoid warnings.
77087         * inet/Makefile (tests): Add tst-checks.
77088         * inet/tst-checks.c: New file.
77090         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77091         warning.
77093         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77094         __wmemcmp_sse2.
77096         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77097         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77099         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77101 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77103         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77104         problem.
77106         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77108 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77110         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77111         conditional on GCC version.
77112         (__arch_compare_and_exchange_val_8_acq)
77113         (__arch_compare_and_exchange_val_16_acq)
77114         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77115         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77116         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77118 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77120         * sysdeps/sh/backtrace.c: New file.
77122 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77124         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77125         parenthesis.
77127 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77129         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77130         falling back to utime.
77132 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77134         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77135         expectations for float.
77137 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77139         * locale/weight.h (findidx): Add parameter len.
77140         * locale/weightwc.h (findidx): Likewise.
77141         * posix/fnmatch_loop.c (FCT): Adjust caller.
77142         * posix/regcomp.c (build_equiv_class): Likewise.
77143         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77144         * posix/regexec.c (check_node_accept_bytes): Likewise.
77145         * string/strcoll_l.c (STRCOLL): Likewise.
77146         * string/strxfrm_l.c (STRXFRM): Likewise.
77148 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77150         * Makefile.in: Remove CVSOPT handling.
77151         * configure.in: Remove use of AC_REVISION.
77152         * iconvdata/Makefile (distribute): No need to filter out CVS.
77153         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77154         handling.
77156 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77159         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77160         [USE_AS_STRNCASECMP_L]: Likewise.
77161         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77162         NO_TLS_DIRECT_SEG_REFS.
77163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77164         Fix argument offsets for non-PIC.
77165         [USE_AS_STRNCASECMP_L]: Likewise.
77166         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77167         NO_TLS_DIRECT_SEG_REFS.
77169 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77171         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77172         O_CLOEXEC.
77173         * locale/loadlocale.c (_nl_load_locale): Likewise.
77175 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77178         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77179         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77180         (SYSCALL_GETTIME): Set errno on error.
77182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77183         count references to noai6ai_cached.
77185 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77187         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77189         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77190         FD_CLOEXEC for /proc/self/maps.
77192         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77193         FD_CLOEXEC for /proc/meminfo.
77195         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77196         gai.conf.
77198         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77199         FD_CLOEXEC for given file.
77201         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77203         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77204         FD_CLOEXEC for /etc/hosts.
77205         (_gethtent): Likewise.
77207         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77209         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77210         cancellation and set FD_CLOEXEC for /etc/netgroup.
77212         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77213         reading /etc/publickey.
77215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77216         allow cancellation when reading /etc/group.
77218         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77219         cancellation.
77220         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77222         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77223         when using data file.
77225         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77227         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77228         (write_nis_obj): Use "c" and "e" in fopen.
77230         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77232         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77234         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77236         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77238         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77239         locale.alias.
77241         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77243         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77245         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77247         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77248         file parsing and set FD_CLOEXEC.
77250 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77252         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77254 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77256         * malloc/arena.c (arena_get2): Don't call reused_arena when
77257         _int_new_arena failed.
77259 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77261         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77262         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77263         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77264         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77267         to compile strcasecmp and strncasecmp.
77268         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77269         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77273 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77275         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77276         locale-defines.sym to gen-as-const-headers.
77277         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77278         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77280         to compile strcasecmp and strncasecmp.
77281         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77282         strcasecmp_l and strncasecmp_l.
77283         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77284         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77285         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77286         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77287         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77288         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77289         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77290         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77291         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77292         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77293         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77295 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77297         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77298         result of SYSDEP_GETTIME_CPU to retval.
77299         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77300         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77302         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77303         variable.
77305         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77306         mantissa words.
77307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77309         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77310         from unused variable.
77312         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77313         DWARF definitions.
77314         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77315         for assembling.
77317         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77318         over namespaces.
77320         * sunrpc/rpc_prot.c (rejected): Fix case value.
77322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77323         unsigned long long int to avoid warnings in shift.
77325         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77326         of use of trans.
77327         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77328         variable tmp.
77330         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77331         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77332         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77334         * nis/nis_table.c (nis_list): Use variable of correct type for
77335         result of __follow_path call.
77337 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77339         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77340         of math functions ceil, trunc, floor, round, and sqrt, when
77341         avaliable on the platform.
77342         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77343         name clash.
77344         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77346         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77348 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77350         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77353 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77355         * include/unistd.h: Fix __readlink return type.
77356         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77358 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77360         * stdlib/ucontext.h: Undo last change for makecontext.
77362 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77364         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77366         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77367         * setjmp/setjmp.h: Mark functions as non-leaf.
77368         * setjmp/bits/setjmp2.h: Likewise.
77369         * stdlib/ucontext.h: Likewise.
77371 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77373         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77374         (reused_arena): Don't check arena limit.
77375         (arena_get2): Atomically check arena limit.
77377 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77379         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77380         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77383         instructions.
77385 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77387         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77388         handler when locking.
77390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77391         Fix size of allocated buffer.
77393 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77395         [BZ #10103]
77396         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77397         declarations for long double functions.
77398         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77400         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77402 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77404         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77405         installed.
77407         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77408         is disabled.
77410 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77412         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77414 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77416         * include/alloca.h (stackinfo_alloca_round): Define.
77417         (extend_alloca): Use it.
77418         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77419         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77420         here.
77422         * scripts/check-local-headers.sh: Ignore libaudit.h.
77424         * nscd/Makefile (extra-objs): Make recursively expanded.
77426 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77428         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77429         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77431         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77432         * posix/tst-rfc3484-2.c: Likewise.
77433         * posix/tst-rfc3484-3.c: Likewise.
77435         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77436         process_vm_writev.
77437         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77438         process_vm_writev.
77439         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77440         process_vm_writev from libc using GLIBC_2.15 version.
77442         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77444 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77446         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77447         stack usage.
77449 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77451         [BZ #13367]
77452         * nss/getent.c (initgroups_keys): Show error message in case no group
77453         names are given.
77455         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77456         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77457         __bump_nl_timestamp.
77458         * nscd/connections (nscd_init): When host database is served open
77459         netlink socket and request notification about configuration changes.
77460         (main_loop_poll): Track netlink file descriptor and bump timestamp
77461         in case data becomes available.
77462         (main_loop_epoll): Likewise.
77463         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77464         (database_pers_head): Add extra_data fileds.
77465         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77466         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77467         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77468         Adjust caller.
77469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77470         in6ai data, call __free_in6ai.
77471         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77472         Add -DHAVE_NETLINK.
77473         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77474         interface information.  Reuse previous data if netlink timestamp
77475         is not changed.
77476         (__bump_nl_timestamp): New function.
77477         (__free_in6ai): New function.
77479 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77482         close_not_cancel_no_status here.
77483         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77485 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77487         [BZ #13276]
77488         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77489         return value.
77491         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77492         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77493         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77495 2011-07-03  Andreas Jaeger  <aj@suse.de>
77497         [BZ #10709]
77498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77499         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77500         * math/libm-test.inc (sin_test): Add test case.
77502 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77504         [BZ #13337]
77505         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77506         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77508         * elf/chroot_canon.c (chroot_canon): Cleanups.
77510         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77512         [BZ #13335]
77513         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77514         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77516         * string/test-strchr.c: Make usable for strchrnul testing.
77517         * string/test-strchrnul.c: New file.
77518         * string/Makefile (strop-tests): Add strchrnul.
77520         * po/it.po: Update from translation team.
77521         * po/es.po: Likewise.
77523 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77526         the three constants needed as parameters.  Drop the others.
77527         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77528         __m128i_strloadu_tolower.
77529         Create and initialize variable zero and use it in all the places
77530         where _mm_setzero_si128 was used.
77532         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77533         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77534         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77535         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77536         anymore.
77537         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77538         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77539         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77540         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77541         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77542         __mpranred, __mptan.
77543         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77544         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77545         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77546         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77547         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77548         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77550         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77551         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77553 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77555         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77556         redefine if SHARED.
77557         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77560         wide char related routines to wcsmbs subdir.
77562 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77564         [BZ #13344]
77565         * misc/sys/cdefs.h (__THROWNL): Define.
77566         * posix/unistd.h: Use __THREADNL instead of __THREAD
77567         for memory synchronization functions.
77569 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77571         [BZ #13349]
77572         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77573         doesn't exist.
77574         * manual/stdio.texi (Obstack Streams): Node removed.
77576 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77578         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77579         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77582         * math/math_private.h (math_force_eval): Allow non-addressable
77583         arguments.
77584         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77586 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77588         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77589         file is not needed.
77591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77594         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77596         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77598         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77599         Add AVX variants.
77600         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77601         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77602         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77603         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77604         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77605         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77606         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77607         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77608         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77609         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77610         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77611         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77613         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77614         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77615         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77616         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77617         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77618         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77620         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77621         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77623         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77624         place.  Use VEX encoding when compiling for AVX.
77626 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77628         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77629         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77631         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77633 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77635         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77636         useless if() expression.
77637         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77638         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77639         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77641         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77642         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77643         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77644         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77646         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77647         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77648         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77649         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77651         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77654         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77655         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77657         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77659 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77661         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77662         condition.
77663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77665 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77667         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77668         .text section.  Avoid duplicate constants.
77669         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77677         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77678         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77680         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77681         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77682         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77683         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77684         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77685         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77686         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77689         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77690         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77691         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77692         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77693         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77694         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77695         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77696         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77697         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77698         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77699         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77700         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77702         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77703         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77704         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77705         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77706         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77707         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77708         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77709         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77710         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77711         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77712         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77713         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77715 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77717         * sysdeps/x86_64/dla.h: Move to ...
77718         * sysdeps/x86_64/fpu/dla.h: ...here.
77719         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77720         situations.  Use __builtin_fma only for gcc 4.6 and up.
77722         * config.make.in: Add have-mfma4 entry.
77723         * configure.in: Substitute libc_cv_cc_fma4.
77724         * math/Makefile (dbl-only-routines): Add sincostab.
77725         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77726         Use __sincostab not sincos.
77727         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77728         name is a macro.
77729         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77731         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77733         using __copysign.
77734         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77735         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77736         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77737         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77738         and __inv.
77739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77740         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77741         __copysign.
77742         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77743         define aliases when function name is a macro.
77744         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77745         sysdeps/ieee754/dbl-64/sincos.tbl.
77746         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77747         fma4-enabled routines.
77748         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77749         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77750         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77751         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77753         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77755         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77756         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77757         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77758         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77759         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77760         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77761         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77762         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77763         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77764         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77765         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77766         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77767         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77768         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77769         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77770         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77771         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77773         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77775         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77776         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77777         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77779         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77780         rename.
77781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77782         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77790 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77792         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77794 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77798         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77799         prediction.
77800         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77802         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77803         Remove unused variable magic_bits.
77804         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77806         * string/strnlen.c: Define and use STRNLEN macro.
77807         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77808         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77810         * wcsmbs/wcslen.c: Define and use WCSLEN.
77811         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77812         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77813         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77814         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77815         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77816         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77817         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77819 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77822         strnlen-sse2-no-bsf.
77823         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77824         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77825         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77826         Add strnlen support.
77827         (USE_AS_STRNLEN): New macro.
77828         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77829         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77830         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77831         * sysdeps/x86_64/wcslen.S: New file.
77833 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77835         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77836         XMM-moves are used for copying on small sizes.
77838 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77840         * wcsmbs/Makefile (strop-tests): Add wcschr.
77841         * wcsmbs/test-wcschr.c: New file.
77842         * string/test-strchr.c: Update.
77843         Add wcschr support.
77844         (WIDE): New macro.
77846 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77848         * wcsmbs/Makefile (strop-tests): Add wcslen.
77849         * wcsmbs/test-wcslen.c: New file.
77850         * string/test-strlen.c: Update.
77851         Add wcslen support.
77852         (WIDE): New macro.
77854 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77856         * po/it.po: Update from translation team.
77858 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77860         * sysdeps/x86_64/wcscmp.S: Update.
77861         Fix wrong comparison semantics.
77862         wcscmp shall use signed comparison not unsigned.
77863         Don't use substraction to avoid overflow bug.
77864         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77865         * wcsmbc/wcscmp.c: Likewise.
77866         * string/test-strcmp.c: Likewise.
77867         Add new tests to check cases with negative values.
77869 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77871         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77872         * sysdeps/x86_64/dla.h: ...here.  New file.
77873         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77878         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77879         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77883 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77886         __ynl_finite aliases.
77888 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77892         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77893         define DLA_FMA.
77894         [DLA_FMA] (EMULV): Use DLA_FMA.
77895         [DLA_FMA] (MUL12): Use EMULV.
77896         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77897         that are not needed.
77898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77906 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77908         * math/s_nan.c: Undef __nan.
77909         * math/s_nanf.c: Undef __nanf.
77910         * math/s_nanl.c: Undef __nanl.
77911         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77912         "math_private.h".
77914 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77916         * math/s_catan.c: Add branch predictions.
77917         * math/s_catanf.c: Likewise.
77918         * math/s_catanh.c: Likewise.
77919         * math/s_catanhf.c: Likewise.
77920         * math/s_catanhl.c: Likewise.
77921         * math/s_catanl.c: Likewise.
77922         * math/s_cexp.c: Likewise.
77923         * math/s_cexpf.c: Likewise.
77924         * math/s_cexpl.c: Likewise.
77925         * math/s_clog.c: Likewise.
77926         * math/s_clog10.c: Likewise.
77927         * math/s_clog10f.c: Likewise.
77928         * math/s_clog10l.c: Likewise.
77929         * math/s_clogf.c: Likewise.
77930         * math/s_clogl.c: Likewise.
77931         * math/s_csqrt.c: Likewise.
77932         * math/s_csqrtf.c: Likewise.
77933         * math/s_csqrtl.c: Likewise.
77934         * math/s_ctanf.c: Likewise.
77935         * math/s_ctanh.c: Likewise.
77936         * math/s_ctanhf.c: Likewise.
77937         * math/s_ctanhl.c: Likewise.
77938         * math/s_ctanl.c: Likewise.
77940         * math/math_private.h: Define __nan, __nanf, __nanl.
77941         * math/s_cacosh.c: Include <math_private.h>.
77942         * math/s_cacoshl.c: Likewise.
77943         * math/s_casinh.c: Likewise.
77944         * math/s_casinhf.c: Likewise.
77945         * math/s_casinhl.c: Likewise.
77946         * math/s_ccos.c: Rely entire on ccosh.
77947         * math/s_ccosf.c: Rely entire on ccoshf.
77948         * math/s_ccosl.c: Rely entirely on ccoshl.
77949         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77950         Remove tests for FE_INVALID.
77951         * math/s_ccoshf.c: Likewise.
77952         * math/s_ccoshl.c: Likewise.
77953         * math/s_csin.c: Likewise.
77954         * math/s_csinf.c: Likewise.
77955         * math/s_csinh.c Likewise.
77956         * math/s_csinhf.c: Likewise.
77957         * math/s_csinhl.c: Likewise.
77958         * math/s_csinl.c: Likewise.
77959         * math/s_ctan.c: Likewise.
77960         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77961         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77964 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77967         compilation problems.
77969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77970         __builtin_expect.
77972 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77974         * sysdeps/i386/configure.in: Test for -mfma4 option.
77975         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77976         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77977         COMMON_CPUID_INDEX_80000001.
77978         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77979         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77980         use it if FMA3 is not supported.
77981         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77983         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77984         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77986 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77988         [BZ #12892]
77989         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77990         it would create a cycle with a link time dependency.
77992 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77994         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77995         instruction.
77996         * string/Makefile (strop-tests): Add rawmemchr.
77997         * string/test-rawmemchr.c: New file.
77999         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78000         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78001         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78002         when compiling str{,n}casecmp and when AVX is available.  Hook up
78003         new optimized code in initializers.
78005 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78007         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78008         __feraiseexcept instead of feraiseexcept.
78010 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78012         * math/math_private.h: Define defaults for libc_fetestexcept and
78013         libc_feupdateenv.
78014         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78015         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78016         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78017         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78018         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78020         libc_fetestexcept and libc_feupdateenv.
78022         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78023         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78024         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78025         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78026         libc_feholdexcept_setround.
78028         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78029         Add s_nearbyint-c and s_nearbyintf-c.
78030         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78031         nearbyintf inlines.
78032         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78033         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78034         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78035         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78037         * math/math_private.h: Define defaults for libc_fegetround,
78038         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78039         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78040         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78041         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78042         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78043         standard functions.
78044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78045         Remove comments and hacks for old compiler versions.
78046         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78047         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78048         libc_feholdexceptl.
78050 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78052         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78053         (__feraiseexcept_renamed): Add __NTH.
78054         (feraiseexcept): Add __NTH.  Rename local variables to fix
78055         namespace violations.
78057 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78059         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78061         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78063         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78064         recently added interfaces.
78065         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78067         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78068         about macro parameter expansion.
78070         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78071         __NO_MATH_INLINES is defined.  Cleanups.
78073         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78074         and __floorf is target has SSE4.1.
78075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78076         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78077         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78078         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78080         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78081         name.
78082         (floorf): Likewise.
78084         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78086 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78088         * misc/sys/cdefs.h: Fix last change.
78090         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78091         database lookup.
78093 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78095         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78097         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78099         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78100         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78102         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78103         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78104         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78105         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78106         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78107         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78108         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78109         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78110         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78111         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78112         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78113         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78114         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78115         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78116         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78117         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78118         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78120         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78121         ceil, ceilf, floor, floorf.
78123         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78124         Perform IRELATIVE relocations last.
78126         * elf/do-rel.h: Add another parameter nrelative, replacing the
78127         local variable with the same name.  Change name of the function
78128         to end in Rel or Rela (uppercase).
78129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78130         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78131         elf_dynamic_do_##reloc function.
78133 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78135         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78136         is sufficient, at least on modern CPUs.
78138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78140         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78141         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78143         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78144         __expl_finite.
78145         * math/bits/math-finite.h: Add entries for exp.
78146         * math/e_expl.c: Add __*_finite alias.
78147         * sysdeps/i386/fpu/e_exp.S: Likewise.
78148         * sysdeps/i386/fpu/e_expf.S: Likewise.
78149         * sysdeps/i386/fpu/e_expl.c: Likewise.
78150         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78151         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78152         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78153         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78154         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78155         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78156         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78158         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78159         is sufficient, at least on modern CPUs.
78161         * ctype/ctype-info.c (__ctype_init): Define.
78162         * include/ctype.h (__ctype_init): Declare.
78163         (__ctype_b_loc): The variable is always initialized.
78164         (__ctype_toupper_loc): Likewise.
78165         (__ctype_tolower_loc): Likewise.
78166         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78167         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78169 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78171         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78173         * configure.in: Also look in $cxxmachine/include for C++ system
78174         headers.
78176 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78178         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78179         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78180         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78181         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78182         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78183         (USE_AS_WMEMCMP): New macro.
78184         Fixing indents.
78185         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78186         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78187         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78188         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78190         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78191         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78192         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78193         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78194         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78195         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78196         (USE_AS_WMEMCMP): New macro.
78197         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78198         * sysdeps/string/test-memcmp.c: Update.
78199         Fix simple_wmemcmp.
78200         Add new tests.
78201         * wcsmbs/wmemcmp.c: Update.
78202         (WMEMCMP): New macro.
78203         Fix overflow bug.
78205 2011-10-12  Andreas Jaeger  <aj@suse.de>
78207         [BZ #13268]
78208         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78210 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78212         * libio/iofwide.c (do_length): Avoid warning.
78214         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78216 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78218         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78220         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78221         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78222         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78223         * sysdeps/i386/i686/fpu/e_log.S: New file.
78224         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78225         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78227         * ctype/ctype.h: Add support for inlined isXXX functions when
78228         compiling C++ code.
78230 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78232         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78234         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78236 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78238         [BZ #13291]
78239         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78241 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78243         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78244         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78245         feraiseexcept.
78247         * sysdeps/x86_64/memrchr.S: Check for zero size.
78249         * string/stratcliff.c: Add memrchr tests.
78251 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78253         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78254         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78255         rawmemchr-sse2 rawmemchr-sse2-bsf.
78256         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78257         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78258         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78259         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78260         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78261         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78262         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78263         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78264         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78265         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78266         * string/memrchr.c (MEMRCHR): New macro.
78268 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78270         Add integration with gcc's -ffinite-math-only and optimize wrapper
78271         functions in libm.
78272         * Versions.def: Define GLIBC_2.15 version for libm.
78273         * math/Makefile (headers): Add bits/math-finite.h.
78274         * math/bits/math-finite.h: New file.
78275         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78276         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78277         * math/e_acoshl.c: Add __*_finite alias.
78278         * math/e_acosl.c: Likewise.
78279         * math/e_asinl.c: Likewise.
78280         * math/e_atan2l.c: Likewise.
78281         * math/e_atanhl.c: Likewise.
78282         * math/e_coshl.c: Likewise.
78283         * math/e_exp10.c: Likewise.
78284         * math/e_exp10f.c: Likewise.
78285         * math/e_exp10l.c: Likewise.
78286         * math/e_exp2l.c: Likewise.
78287         * math/e_fmodl.c: Likewise.
78288         * math/e_gammal_r.c: Likewise.
78289         * math/e_hypotl.c: Likewise.
78290         * math/e_j0l.c: Likewise.
78291         * math/e_j1l.c: Likewise.
78292         * math/e_jnl.c: Likewise.
78293         * math/e_lgammal_r.c: Likewise.
78294         * math/e_log10l.c: Likewise.
78295         * math/e_log2l.c: Likewise.
78296         * math/e_logl.c: Likewise.
78297         * math/e_powl.c: Likewise.
78298         * math/e_sinhl.c: Likewise.
78299         * math/e_sqrtl.c: Likewise.
78300         * math/e_scalb.c: Completely rewritten and optimized.
78301         * math/e_scalbf.c: Likewise.
78302         * math/e_scalbl.c: Likewise.
78303         * math/w_acos.c: Likewise.
78304         * math/w_acosf.c: Likewise.
78305         * math/w_acosl.c: Likewise.
78306         * math/w_acosh.c: Likewise.
78307         * math/w_acoshf.c: Likewise.
78308         * math/w_acoshl.c: Likewise.
78309         * math/w_asin.c: Likewise.
78310         * math/w_asinf.c: Likewise.
78311         * math/w_asinl.c: Likewise.
78312         * math/w_atan2.c: Likewise.
78313         * math/w_atan2f.c: Likewise.
78314         * math/w_atan2l.c: Likewise.
78315         * math/w_atanh.c: Likewise.
78316         * math/w_atanhf.c: Likewise.
78317         * math/w_atanhl.c: Likewise.
78318         * math/w_exp10.c: Likewise.
78319         * math/w_exp10f.c: Likewise.
78320         * math/w_exp10l.c: Likewise.
78321         * math/w_fmod.c: Likewise.
78322         * math/w_fmodf.c: Likewise.
78323         * math/w_fmodl.c: Likewise.
78324         * math/w_j0.c: Likewise.
78325         * math/w_j0f.c: Likewise.
78326         * math/w_j0l.c: Likewise.
78327         * math/w_j1.c: Likewise.
78328         * math/w_j1f.c: Likewise.
78329         * math/w_j1l.c: Likewise.
78330         * math/w_jn.c: Likewise.
78331         * math/w_jnf.c: Likewise.
78332         * math/w_log.c: Likewise.
78333         * math/w_logf.c: Likewise.
78334         * math/w_logl.c: Likewise.
78335         * math/w_log10.c: Likewise.
78336         * math/w_log10f.c: Likewise.
78337         * math/w_log10l.c: Likewise.
78338         * math/w_log2.c: Likewise.
78339         * math/w_log2f.c: Likewise.
78340         * math/w_log2l.c: Likewise.
78341         * math/w_pow.c: Likewise.
78342         * math/w_powf.c: Likewise.
78343         * math/w_powl.c: Likewise.
78344         * math/w_remainder.c: Likewise.
78345         * math/w_remainderf.c: Likewise.
78346         * math/w_remainderl.c: Likewise.
78347         * math/w_scalb.c: Likewise.
78348         * math/w_scalbf.c: Likewise.
78349         * math/w_scalbl.c: Likewise.
78350         * math/w_sqrt.c: Likewise.
78351         * math/w_sqrtf.c: Likewise.
78352         * math/w_sqrtl.c: Likewise.
78353         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78354         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78355         used.
78356         * math/math_private.h: Declare __kernel_standard_f.
78357         * math/w_cosh.c: Remove cruft and optimize a bit.
78358         * math/w_coshf.c: Likewise.
78359         * math/w_coshl.c: Likewise.
78360         * math/w_exp2.c: Likewise.
78361         * math/w_exp2f.c: Likewise.
78362         * math/w_exp2l.c: Likewise.
78363         * math/w_hypot.c: Likewise.
78364         * math/w_hypotf.c: Likewise.
78365         * math/w_hypotl.c: Likewise.
78366         * math/w_lgamma.c: Likewise.
78367         * math/w_lgamma_r.c: Likewise.
78368         * math/w_lgammaf.c: Likewise.
78369         * math/w_lgammaf_r.c: Likewise.
78370         * math/w_lgammal.c: Likewise.
78371         * math/w_lgammal_r.c: Likewise.
78372         * math/w_sinh.c: Likewise.
78373         * math/w_sinhf.c: Likewise.
78374         * math/w_sinhl.c: Likewise.
78375         * math/w_tgamma.c: Likewise.
78376         * math/w_tgammaf.c: Likewise.
78377         * math/w_tgammal.c: Likewise.
78378         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78380         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78381         Minor optimizations.  Pretty printing.  Remove cruft.
78382         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78384         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78385         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78386         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78387         * sysdeps/i386/fpu/e_asin.S: Likewise.
78388         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78389         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78390         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78391         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78392         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78393         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78394         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78395         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78396         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78397         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78398         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78399         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78400         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78401         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78402         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78403         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78404         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78405         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78406         * sysdeps/i386/fpu/e_log.S: Likewise.
78407         * sysdeps/i386/fpu/e_log10.S: Likewise.
78408         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78409         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78410         * sysdeps/i386/fpu/e_log2.S: Likewise.
78411         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78412         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78413         * sysdeps/i386/fpu/e_logf.S: Likewise.
78414         * sysdeps/i386/fpu/e_logl.S: Likewise.
78415         * sysdeps/i386/fpu/e_pow.S: Likewise.
78416         * sysdeps/i386/fpu/e_powf.S: Likewise.
78417         * sysdeps/i386/fpu/e_powl.S: Likewise.
78418         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78419         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78420         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78421         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78422         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78423         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78424         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78425         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78426         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78427         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78428         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78430         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78431         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78432         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78433         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78434         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78435         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78437         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78440         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78441         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78443         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78444         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78445         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78447         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78448         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78451         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78452         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78453         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78454         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78455         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78456         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78457         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78458         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78459         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78460         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78461         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78462         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78463         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78464         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78465         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78466         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78467         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78468         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78469         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78470         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78472         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78473         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78474         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78475         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78476         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78477         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78486         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78487         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78491         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78495         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78497         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78498         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78501         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78503         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78504         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78505         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78506         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78508         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78509         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78510         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78511         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78512         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78514         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78515         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78516         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78517         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78518         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78519         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78520         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78521         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78522         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78523         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78524         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78525         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78526         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78527         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78528         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78529         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78530         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78531         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78532         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78533         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78534         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78535         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78536         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78537         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78538         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78539         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78540         (__isnanf): Likewise.
78541         (__isinf_ns): Likewise.
78542         (__isinf_nsf): Likewise.
78543         (__finite): Likewise.
78544         (__finitef): Likewise.
78545         (__ieee754_sqrt): Define as macro.
78546         (__ieee754_sqrtf): Define as macro.
78547         (__ieee754_sqrtl): Define as macro.
78548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78549         inlined copy.
78550         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78551         __FINITE_MATH_ONLY__ consistent.
78552         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78554 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78556         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78557         of rawmemchr.
78559         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78561 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78563         * po/ja.po: Update from translation team.
78565 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78567         * locale/programs/locarchive.c (prepare_address_space): New function.
78568         (create_archive, enlarge_archive, open_archive): Use it.
78570         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78571         inside [SHARED], where it is used.
78573         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78575         * nss/getent.c (netgroup_keys): Remove unused variable.
78576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78578 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78580         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78583         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78584         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78585         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78586         * math/Makefile (libm-calls): Add s_isinf_ns.
78587         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78588         * math/multc3.c: Likewise.
78589         * math/s_casin.c: Likewise.
78590         * math/s_casinf.c: Likewise.
78591         * math/s_casinl.c: Likewise.
78592         * math/s_ccos.c: Likewise.
78593         * math/s_ccosf.c: Likewise.
78594         * math/s_ccosl.c: Likewise.
78595         * math/s_ctan.c: Likewise.
78596         * math/s_ctanf.c: Likewise.
78597         * math/s_ctanh.c: Likewise.
78598         * math/s_ctanhf.c: Likewise.
78599         * math/s_ctanhl.c: Likewise.
78600         * math/s_ctanl.c: Likewise.
78601         * math/w_fmod.c: Likewise.
78602         * math/w_fmodf.c: Likewise.
78603         * math/w_fmodl.c: Likewise.
78604         * math/w_remainder.c: Likewise.
78605         * math/w_remainderf.c: Likewise.
78606         * math/w_remainderl.c: Likewise.
78607         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78608         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78611         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78612         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78613         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78614         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78616         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78617         of the number.
78618         * stdio-common/printf_fphex.c: Likewise.
78619         * stdio-common/printf_size.c: Likewise.
78621         * math/e_exp10.c: Include math_private.h using <...> not "...".
78622         * math/e_exp10f.c: Likewise.
78623         * math/e_exp10l.c: Likewise.
78624         * math/e_exp2l.c: Likewise.
78625         * math/e_j0l.c: Likewise.
78626         * math/e_j1l.c: Likewise.
78627         * math/e_jnl.c: Likewise.
78628         * math/e_lgammal_r.c: Likewise.
78629         * math/e_rem_pio2l.c: Likewise.
78630         * math/e_scalb.c: Likewise.
78631         * math/e_scalbf.c: Likewise.
78632         * math/e_scalbl.c: Likewise.
78633         * math/k_cosl.c: Likewise.
78634         * math/k_sinl.c: Likewise.
78635         * math/k_tanl.c: Likewise.
78636         * math/s_cacoshf.c: Likewise.
78637         * math/s_catan.c: Likewise.
78638         * math/s_catanf.c: Likewise.
78639         * math/s_catanh.c: Likewise.
78640         * math/s_catanhf.c: Likewise.
78641         * math/s_catanhl.c: Likewise.
78642         * math/s_catanl.c: Likewise.
78643         * math/s_ccosh.c: Likewise.
78644         * math/s_ccoshf.c: Likewise.
78645         * math/s_ccoshl.c: Likewise.
78646         * math/s_cexp.c: Likewise.
78647         * math/s_cexpf.c: Likewise.
78648         * math/s_cexpl.c: Likewise.
78649         * math/s_clog.c: Likewise.
78650         * math/s_clog10.c: Likewise.
78651         * math/s_clog10f.c: Likewise.
78652         * math/s_clog10l.c: Likewise.
78653         * math/s_clogf.c: Likewise.
78654         * math/s_clogl.c: Likewise.
78655         * math/s_csin.c: Likewise.
78656         * math/s_csinf.c: Likewise.
78657         * math/s_csinh.c: Likewise.
78658         * math/s_csinhf.c: Likewise.
78659         * math/s_csinhl.c: Likewise.
78660         * math/s_csinl.c: Likewise.
78661         * math/s_csqrt.c: Likewise.
78662         * math/s_csqrtf.c: Likewise.
78663         * math/s_csqrtl.c: Likewise.
78664         * math/s_ctan.c: Likewise.
78665         * math/s_ctanf.c: Likewise.
78666         * math/s_ctanh.c: Likewise.
78667         * math/s_ctanhf.c: Likewise.
78668         * math/s_ctanhl.c: Likewise.
78669         * math/s_ctanl.c: Likewise.
78670         * math/s_ldexp.c: Likewise.
78671         * math/s_ldexpf.c: Likewise.
78672         * math/s_ldexpl.c: Likewise.
78673         * math/s_significand.c: Likewise.
78674         * math/s_significandf.c: Likewise.
78675         * math/s_significandl.c: Likewise.
78676         * math/w_acos.c: Likewise.
78677         * math/w_acosf.c: Likewise.
78678         * math/w_acosh.c: Likewise.
78679         * math/w_acoshf.c: Likewise.
78680         * math/w_acoshl.c: Likewise.
78681         * math/w_acosl.c: Likewise.
78682         * math/w_asin.c: Likewise.
78683         * math/w_asinf.c: Likewise.
78684         * math/w_asinl.c: Likewise.
78685         * math/w_atan2.c: Likewise.
78686         * math/w_atan2f.c: Likewise.
78687         * math/w_atan2l.c: Likewise.
78688         * math/w_atanh.c: Likewise.
78689         * math/w_atanhf.c: Likewise.
78690         * math/w_atanhl.c: Likewise.
78691         * math/w_cosh.c: Likewise.
78692         * math/w_coshf.c: Likewise.
78693         * math/w_coshl.c: Likewise.
78694         * math/w_dremf.c: Likewise.
78695         * math/w_exp10.c: Likewise.
78696         * math/w_exp10f.c: Likewise.
78697         * math/w_exp10l.c: Likewise.
78698         * math/w_exp2.c: Likewise.
78699         * math/w_exp2f.c: Likewise.
78700         * math/w_fmod.c: Likewise.
78701         * math/w_fmodf.c: Likewise.
78702         * math/w_fmodl.c: Likewise.
78703         * math/w_hypot.c: Likewise.
78704         * math/w_hypotf.c: Likewise.
78705         * math/w_hypotl.c: Likewise.
78706         * math/w_j0.c: Likewise.
78707         * math/w_j0f.c: Likewise.
78708         * math/w_j0l.c: Likewise.
78709         * math/w_j1.c: Likewise.
78710         * math/w_j1f.c: Likewise.
78711         * math/w_j1l.c: Likewise.
78712         * math/w_jn.c: Likewise.
78713         * math/w_jnf.c: Likewise.
78714         * math/w_jnl.c: Likewise.
78715         * math/w_lgamma.c: Likewise.
78716         * math/w_lgamma_r.c: Likewise.
78717         * math/w_lgammaf.c: Likewise.
78718         * math/w_lgammaf_r.c: Likewise.
78719         * math/w_lgammal.c: Likewise.
78720         * math/w_lgammal_r.c: Likewise.
78721         * math/w_log.c: Likewise.
78722         * math/w_log10.c: Likewise.
78723         * math/w_log10f.c: Likewise.
78724         * math/w_log10l.c: Likewise.
78725         * math/w_log2.c: Likewise.
78726         * math/w_log2f.c: Likewise.
78727         * math/w_log2l.c: Likewise.
78728         * math/w_logf.c: Likewise.
78729         * math/w_logl.c: Likewise.
78730         * math/w_pow.c: Likewise.
78731         * math/w_powf.c: Likewise.
78732         * math/w_powl.c: Likewise.
78733         * math/w_remainder.c: Likewise.
78734         * math/w_remainderf.c: Likewise.
78735         * math/w_remainderl.c: Likewise.
78736         * math/w_scalb.c: Likewise.
78737         * math/w_scalbf.c: Likewise.
78738         * math/w_scalbl.c: Likewise.
78739         * math/w_sinh.c: Likewise.
78740         * math/w_sinhf.c: Likewise.
78741         * math/w_sinhl.c: Likewise.
78742         * math/w_sqrt.c: Likewise.
78743         * math/w_sqrtf.c: Likewise.
78744         * math/w_sqrtl.c: Likewise.
78745         * math/w_tgamma.c: Likewise.
78746         * math/w_tgammaf.c: Likewise.
78747         * math/w_tgammal.c: Likewise.
78749         * po/ja.po: Update from translation team.
78751 2011-09-29  Andreas Jaeger  <aj@suse.de>
78753         [BZ #13179]
78754         * sunrpc/netname.c (netname2host): Fix logic.
78756         [BZ #6779]
78757         [BZ #6783]
78758         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78759         correctly.
78760         * math/w_remainder.c (__remainder): Likewise.
78761         * math/w_remainderf.c (__remainderf): Likewise.
78762         * math/libm-test.inc (remainder_test): Add test cases.
78764 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78766         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78767         sdiv_qrnnd.
78769 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78771         * string/test-memcmp.c: Avoid unncessary #defines.
78772         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78774 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78776         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78777         Use new sse2 version for core i3 - i7 as it's faster
78778         than sse42 version.
78779         (bit_Prefer_PMINUB_for_stringop): New.
78780         * sysdeps/x86_64/rawmemchr.S: Update.
78781         Replace with faster SSE2 version.
78782         * sysdeps/x86_64/memrchr.S: New file.
78783         * sysdeps/x86_64/memchr.S: Update.
78784         Replace with faster SSE2 version.
78786 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78788         * elf/dl-load.c (lose): Add cast to avoid warning.
78790 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78792         * po/ca.po: Update from translation team.
78794         * inet/getnetgrent_r.c: Hook up nscd.
78795         * nscd/Makefile (routines): Add nscd_netgroup.
78796         (nscd-modules): Add netgroupcache.
78797         (CFLAGS-netgroupcache.c): Define.
78798         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78799         (cache_search): Add const to second parameter.
78800         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78801         INNETGR.
78802         (dbs): Add netgrdb entry.
78803         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78804         (verify_persistent_db): Handle netgrdb.
78805         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78806         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78807         GETFDNETGR.
78808         (netgroup_response_header): Define.
78809         (innetgroup_response_header): Define.
78810         (datahead): Add netgroup_response_header and innetgroup_response_header
78811         elements.
78812         * nscd/nscd.conf: Add entries for netgroup cache.
78813         * nscd/nscd.h (dbtype): Add netgrdb.
78814         (_PATH_NSCD_NETGROUP_DB): Define.
78815         (netgroup_iov_disabled): Declare.
78816         (xmalloc, xcalloc, xrealloc): Move declarations here.
78817         (cache_search): Adjust prototype.
78818         Add netgroup-related prototypes.
78819         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78820         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78821         (__nscd_innetgr): Declare.
78822         * nscd/selinux.c (perms): Use access_vector_t as element type and
78823         add netgroup-related initializers.
78824         * nscd/netgroupcache.c: New file.
78825         * nscd/nscd_netgroup.c: New file.
78826         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78827         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78828         For four parameters use innetgr.
78829         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78830         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78831         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78832         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78834         * nscd/connections.c (register_traced_file): Don't register file
78835         for disabled databases.
78837 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78839         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78841         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78842         from tree and freeing node.
78844 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78846         * nss/nsswitch.c (__nss_database_lookup): Handle
78847         nss_parse_service_list out of memory case.
78849 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78851         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78852         out of memory case.
78854 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78856         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78857         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78858         pass it down.
78859         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78860         elf_machine_rela, elf_machine_lazy_rel.
78861         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78862         (ELF_DYNAMIC_DO_REL): Likewise.
78863         (ELF_DYNAMIC_DO_RELA): Likewise.
78864         (ELF_DYNAMIC_RELOCATE): Likewise.
78865         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78866         to ELF_DYNAMIC_DO_REL.
78867         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78868         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78869         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78870         elf_machine_rela.
78871         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78872         skip_ifunc, don't call ifunc function if non-zero.
78873         (elf_machine_rela): Likewise.
78874         (elf_machine_lazy_rel): Likewise.
78875         (elf_machine_lazy_rela): Likewise.
78876         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78877         (elf_machine_lazy_rel): Likewise.
78878         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78879         Likewise.
78880         (elf_machine_lazy_rel): Likewise.
78881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78882         Likewise.
78883         (elf_machine_lazy_rel): Likewise.
78884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78885         (elf_machine_lazy_rel): Likewise.
78886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78887         (elf_machine_lazy_rel): Likewise.
78888         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78889         (elf_machine_lazy_rel): Likewise.
78890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78891         (elf_machine_lazy_rel): Likewise.
78892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78893         (elf_machine_lazy_rel): Likewise.
78894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78895         (elf_machine_lazy_rel): Likewise.
78897 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78899         * nss/nss_files/files-init.c (_nss_files_init): Use static
78900         initialization for all the *_traced_file variables.
78902 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78904         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78906 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78908         [BZ #13226]
78909         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78911 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78914         Reread the line before reparsing it.
78916 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78918         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78920 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78921             Maxim Kuvyrkov  <maxim@codesourcery.com>
78922             Joseph Myers  <joseph@codesourcery.com>
78924         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78925         if needed for __stack_chk_guard.
78927 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78929         * sysdeps/posix/spawni.c (script_execute): Always define it.
78930         It will be optimized away if unused.
78931         (maybe_script_execute): New function.
78932         (__spawni): Call it.
78934         * Makerules: Don't include tls.make.
78935         (config-tls): Always set to thread.
78936         * tls.make.c: File removed.
78938 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78940         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78941         * config.make.in (CPPFLAGS-config): New substituted variable.
78943 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78947         [BZ #13192]
78948         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78949         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78951 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78953         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78954         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78956         (CALL_FAIL): Likewise.
78957         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78958         (CALL_FAIL): Macro removed.
78959         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78961 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78963         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78964         for __FINITE_MATH_ONLY__ == 1.
78966 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78968         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78969         __ieee754_sqrt instead of sqrt.
78970         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78971         __ieee754_sqrtf instead of sqrtf.
78972         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78973         __floorf instead of floorf.
78974         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78975         __floorf, __truncf instead of floorf, truncf.
78977 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78979         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78981         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78982         __extern_always_inline.
78983         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78984         32-bit.
78986 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78988         * elf/rtld.c (dl_main): Also relocate in dependency order when
78989         doing symbol dependency testing.
78991 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78994         Always define `refsym'.
78996 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78998         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78999         (__FD_ELT): Renamed from __FDELT.
79000         * misc/bits/select2.h (__FD_ELT): Likewise.
79001         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79002         __FD_MASK instead of __FDELT, __FDMASK.
79003         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79004         Likewise.
79005         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79006         Likewise.
79008         * elf/Makefile (gen-ldd): Fix pattern.
79010         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79011         (init_tls): Likewise.
79013 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79015         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79017 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79020         `struct cmsghdr *' instead of `void *'.
79021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79022         Likewise.
79024 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79026         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79027         if non-absolute.
79028         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79029         ldd_rewrite_script.
79031 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79033         * configure.in: Remove --with-tls option.
79034         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79035         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79036         out in case it is missing.
79037         * sysdeps/ia64/elf/configure.in: Likewise.
79038         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79039         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79040         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79041         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79042         * sysdeps/sh/elf/configure.in: Likewise.
79043         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79044         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79045         * sysdeps/x86_64/elf/configure.in: Likewise.
79046         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79047         * sysdeps/mach/hurd/tls.h: Likewise.
79049         [BZ #13067]
79050         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79052         [BZ #13090]
79053         * configure.in: Fix use of AC_INIT.
79055         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79057 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79059         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79060         __set_errno.
79061         * malloc/hooks.c: Likewise.
79063         [BZ #11929]
79064         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79065         variables statically.
79066         (narenas): Initialize.
79067         (list_lock): Initialize.
79068         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79069         initializtion of main_arena and list_lock.  Small cleanups.
79070         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79071         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79072         Add initializers to main_arena and mp_.
79073         (malloc_state): Remove pagesize member.  Change all users to use
79074         GLRO(dl_pagesize).
79076         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79077         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79078         is always initialized.
79080         * malloc/malloc.c: Removed unused configurations and dead code.
79081         * malloc/arena.c: Likewise.
79082         * malloc/hooks.c: Likewise.
79083         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79085         * include/tls.h: Removed.  USE___THREAD must always be defined.
79086         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79087         * elf/dl-libc.c: Likewise.
79088         * elf/dl-tsd.c: Likewise.
79089         * include/errno.h: Likewise.
79090         * include/netdb.h: Likewise.
79091         * include/resolv.h: Likewise.
79092         * inet/herrno-loc.c: Likewise.
79093         * inet/herrno.c: Likewise.
79094         * malloc/arena.c: Likewise.
79095         * malloc/hooks.c: Likewise.
79096         * malloc/malloc.c: Likewise.
79097         * resolv/res-state.c: Likewise.
79098         * resolv/res_libc.c: Likewise.
79099         * sysdeps/i386/dl-machine.h: Likewise.
79100         * sysdeps/ia64/dl-machine.h: Likewise.
79101         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79102         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79103         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79104         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79105         * sysdeps/sh/dl-machine.h: Likewise.
79106         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79107         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79108         * sysdeps/unix/i386/sysdep.S: Likewise.
79109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79115         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79119         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79120         * sysdeps/x86_64/dl-machine.h: Likewise.
79121         * tls.make.c: Likewise.
79123         * configure.in: Remove --with-__thread option.  Make tests for
79124         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79125         tls_model attribute fail if no support is available.  Remove
79126         USE_IN_LIBIO.
79127         * Makeconfig: Adjust for dropped configure option.  All features are
79128         now mandatory.
79129         * Makerules: Likewise.
79130         * Versions.def: Likewise.
79131         * argp/argp-fmtstream.c: Likewise.
79132         * argp/argp-fmtstream.h: Likewise.
79133         * argp/argp-help.c: Likewise.
79134         * assert/assert.c: Likewise.
79135         * config.h.in: Likewise.
79136         * config.make.in: Likewise.
79137         * configure: Likewise.
79138         * configure.in: Likewise.
79139         * csu/Versions: Likewise.
79140         * csu/init.c: Likewise.
79141         * elf/tst-audit2.c: Likewise.
79142         * elf/tst-tls10.c: Likewise.
79143         * elf/tst-tls10.h: Likewise.
79144         * elf/tst-tls11.c: Likewise.
79145         * elf/tst-tls12.c: Likewise.
79146         * elf/tst-tls14.c: Likewise.
79147         * elf/tst-tlsmod11.c: Likewise.
79148         * elf/tst-tlsmod12.c: Likewise.
79149         * elf/tst-tlsmod13.c: Likewise.
79150         * elf/tst-tlsmod13a.c: Likewise.
79151         * elf/tst-tlsmod14a.c: Likewise.
79152         * elf/tst-tlsmod15b.c: Likewise.
79153         * elf/tst-tlsmod16a.c: Likewise.
79154         * elf/tst-tlsmod16b.c: Likewise.
79155         * elf/tst-tlsmod7.c: Likewise.
79156         * elf/tst-tlsmod8.c: Likewise.
79157         * elf/tst-tlsmod9.c: Likewise.
79158         * gmon/gmon.c: Likewise.
79159         * grp/fgetgrent_r.c: Likewise.
79160         * grp/putgrent.c: Likewise.
79161         * hurd/fopenport.c: Likewise.
79162         * include/libc-symbols.h: Likewise.
79163         * include/tls.h: Likewise.
79164         * intl/gettextP.h: Likewise.
79165         * intl/loadinfo.h: Likewise.
79166         * locale/global-locale.c: Likewise.
79167         * locale/localeinfo.h: Likewise.
79168         * mach/devstream.c: Likewise.
79169         * malloc/arena.c: Likewise.
79170         * malloc/set-freeres.c: Likewise.
79171         * misc/err.c: Likewise.
79172         * misc/getttyent.c: Likewise.
79173         * misc/mntent_r.c: Likewise.
79174         * posix/getopt.c: Likewise.
79175         * posix/wordexp.c: Likewise.
79176         * pwd/fgetpwent_r.c: Likewise.
79177         * resolv/Versions: Likewise.
79178         * resolv/res_hconf.c: Likewise.
79179         * shadow/fgetspent_r.c: Likewise.
79180         * shadow/putspent.c: Likewise.
79181         * stdio-common/printf_fphex.c: Likewise.
79182         * stdio-common/tmpfile.c: Likewise.
79183         * stdlib/abort.c: Likewise.
79184         * stdlib/fmtmsg.c: Likewise.
79185         * sunrpc/auth_unix.c: Likewise.
79186         * sunrpc/clnt_perr.c: Likewise.
79187         * sunrpc/clnt_tcp.c: Likewise.
79188         * sunrpc/clnt_udp.c: Likewise.
79189         * sunrpc/clnt_unix.c: Likewise.
79190         * sunrpc/openchild.c: Likewise.
79191         * sunrpc/svc_simple.c: Likewise.
79192         * sunrpc/svc_tcp.c: Likewise.
79193         * sunrpc/svc_udp.c: Likewise.
79194         * sunrpc/svc_unix.c: Likewise.
79195         * sunrpc/xdr.c: Likewise.
79196         * sunrpc/xdr_array.c: Likewise.
79197         * sunrpc/xdr_rec.c: Likewise.
79198         * sunrpc/xdr_ref.c: Likewise.
79199         * sunrpc/xdr_stdio.c: Likewise.
79201 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79203         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79205 2011-07-03  Andreas Jaeger  <aj@suse.de>
79207         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79208         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79209         regenerate with gen-libm-tests.pl.
79211 2010-05-12  Petr Baudis  <pasky@suse.cz>
79213         [BZ #11589]
79214         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79215         around j0() zero points by switching to j1().
79216         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79217         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79221 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79223         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79224         instead of 0.
79225         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79226         instead of 0.
79227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79228         Patch in part by Pavel Roskin <proski@gnu.org>.
79230         [BZ #13138]
79231         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79232         realloc.
79233         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79234         Free memory block if necessary.
79236         [BZ #12847]
79237         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79238         be NULL.  Don't lock in this case.
79240 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79242         * elf/elf.h (ELFOSABI_GNU): New macro.
79243         (ELFOSABI_LINUX): Define to that.
79245 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79247         * string/strncat.c (strncat): Undef the symbol in case it has been
79248         defined in bits/string.h.
79250 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79252         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79254         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79255         link map.
79257 2011-08-17  Andreas Jaeger  <aj@suse.de>
79259         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79261 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79262             Ian Lance Taylor  <iant@google.com>
79264         * math/libm-test.inc (lround_test): New testcase.
79265         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79267 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79269         * Makefile: Remove support for automatic cvs check-ins.
79270         * Makerules: Likewise.
79271         * config.make.in: Likewise.
79272         * configure.in: Likewise.
79273         * intl/Makefile: Likewise.
79274         * locale/Makefile: Likewise.
79275         * po/Makefile: Likewise.
79276         * posix/Makefile: Likewise.
79277         * sysdeps/gnu/Makefile: Likewise.
79278         * sysdeps/mach/hurd/Makefile: Likewise.
79279         * sysdeps/sparc/sparc32/Makefile: Likewise.
79281         [BZ #13118]
79282         * posix/Makefile (bug-regex32-ENV): Define.
79283         Patch by John Stanley <jpsinthemix@verizon.net>.
79285         * misc/Makefile (headers): Add bits/select2.h.
79286         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79287         * misc/bits/select2.h: New file.
79288         * include/bits/select2.h: New file.
79289         * debug/Makefile (routines): Add fdelt_chk.
79290         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79291         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79292         FD_ISSET.
79293         * debug/fdelt_chk.c: New file.
79295         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79296         * wcsmbs/test-wmemcmp.c: Likewise.
79297         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79298         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79300 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79302         * string/Makefile (strop-tests): Add memcmp.
79303         * string/test-wmemcmp.c: New file.
79304         * string/test-memcmp.c: Add wmemcmp support.
79306 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79308         [BZ #13153]
79309         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79310         2011-07-19 change.
79312         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79313         garbage value in a __mach_port_mod_refs call in the cases of the
79314         task-self and thread-self ports.
79316 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79318         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79320 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79322         * elf/dl-load.c (lose): Check for non-null L.
79324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79326         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79328         * elf/dl-libc.c (dlerror_run): Pass back error code from
79329         dl_catch_error.
79331         [BZ #13123]
79332         * elf/dl-load.c (lose): Free l_origin if it is valid.
79334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79335         names.
79336         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79337         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79338         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79340         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79341         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79343 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79345         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79346         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79347         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79349         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79350         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79351         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79352         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79353         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79354         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79356 2011-08-15  Alan Modra  <amodra@gmail.com>
79358         [BZ #13092]
79359         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79360         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79361         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79362         ppc_mcount to static-only-routines.
79363         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79364         __mcount_internal.
79365         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79366         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79368 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79370         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79371         for finite and infinity parameters.
79373 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79375         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79376         and add nop instructions for throughput optimization.
79377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79379 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79382         aligned copy for power7 with vector-scalar instructions.
79383         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79385 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79388         AVX check.
79390 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79392         [BZ #13144]
79393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79394         last change.
79396 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79399         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79400         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79402         clock_gettime.
79404 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79406         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79407         Forgot to demangle the pointer.
79409         * sysdeps/i386/sysdep.h: Define atom_text_section.
79410         * sysdeps/x86_64/sysdep.h: Likewise.
79411         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79412         section with atom_text_section.
79413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79414         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79415         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79417         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79419         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79420         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79421         already be defined.  Change to take two parameters and don't assign
79422         result to variable.  Adjust all users.
79423         Define INTERNAL_GETTIME if not already defined.
79424         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79425         call.
79426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79427         HAVE_CLOCK_GETTIME_VSYSCALL.
79428         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79431         gettimeofday vsyscall, just use time.
79433 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79436         <errno.h>.
79438 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79440         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79441         syscall on x86-64.
79442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79443         syscall.
79444         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79446         syscall if possible.
79448 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79450         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79451         e_ident.  Don't pass to find_mapsXX.
79452         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79454 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79457         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79458         * sysdeps/x86_64/multiarch/strchr.S: Update.
79459         Check bit_slow_BSF bit.
79460         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79461         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79462         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79464 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79466         [BZ #13134]
79467         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79468         before glibc 2.15.
79469         (tryshell): Define.
79470         (__spawni): Change last parameter to be flag.  Test
79471         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79472         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79473         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79474         * posix/spawni.c: Likewise.
79475         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79476         * posix/spawnp.c: Likewise.  Change normal version to use
79477         SPAWN_XFLAGS_USE_PATH.
79478         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79479         SPAWN_XFLAGS_TRY_SHELL.
79481         [BZ #13150]
79482         * posix/glob.h: Remove gcc 1.x support.
79484         [BZ #13068]
79485         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79487 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79490         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79491         strrchr-sse2-bsf
79492         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79493         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79494         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79495         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79496         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79499 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79501         * sysdeps/x86_64/wcscmp.S: New file.
79503         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79504         wcscmp-c wcscmp-sse2
79505         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79506         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79507         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79508         * wcsmbs/wcscmp.c: Allow renaming.
79510 2011-09-05  David S. Miller  <davem@davemloft.net>
79512         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79513         stack slot, rather than the struct return pointer slot.
79514         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79515         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79517         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79519 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79521         * po/ja.po: Update from translation team.
79523         [BZ #13144]
79524         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79525         kernel in 64-bit binaries.
79527 2011-09-01  David S. Miller  <davem@davemloft.net>
79529         * elf/elf.h (HWCAP_SPARC_*): Move to..
79530         * sysdeps/sparc/sysdep.h: this new file and add new values.
79531         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79532         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79533         _DL_HWCAP_COUNT to 24.
79534         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79535         entries.
79536         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79537         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79538         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79540         instead of magic constants.
79541         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79543 2011-08-31  David S. Miller  <davem@davemloft.net>
79545         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79547         Reimplement to do errno handling inline.
79548         (SYSCALL_ERROR_HANDLER): New macro.
79549         (__SYSCALL_STRING): Do not do errno handling in asm.
79550         (__CLONE_SYSCALL_STRING): Delete.
79551         (__INTERNAL_SYSCALL_STRING): Delete.
79552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79553         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79554         (PSEUDO): Reimplement to do errno handling inline.
79555         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79556         (SYSCALL_ERROR_HANDLER): New macro.
79557         (__SYSCALL_STRING): Do not do errno handling in asm.
79558         (__CLONE_SYSCALL_STRING): Delete.
79559         (__INTERNAL_SYSCALL_STRING): Delete.
79560         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79561         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79562         i386.
79563         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79564         (inline_syscall*): Add 'err' argument.
79565         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79566         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79567         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79568         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79570         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79571         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79573 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79575         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79577 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79579         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79580         directive.
79582 2011-08-24  David S. Miller  <davem@davemloft.net>
79584         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79586 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79588         * elf/Makefile: Add rules to build and run unload8 test.
79589         * elf/unload8.c: New file.
79590         * elf/unload8mod1.c: New file.
79591         * elf/unload8mod1x.c: New file.
79592         * elf/unload8mod2.c: New file.
79593         * elf/unload8mod3.c: New file.
79595         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79596         it wasn't used.
79598 2011-08-23  David S. Miller  <davem@davemloft.net>
79600         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79601         subtract stack bias.
79602         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79603         %sp not %fp in calculations.
79604         (_JMPBUF_UNWINDS_ADJ): Likewise.
79606         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79607         (aio_suspend): Call it to force an exception region around the
79608         AIO_MISC_WAIT() invocation.
79610 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79612         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79613         backslash.
79615 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79617         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79618         protection macro.
79619         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79620         and <dl-machine.h>.
79621         (Elf64_FuncDesc): Remove.
79623 2011-08-22  David S. Miller  <davem@davemloft.net>
79625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79626         sigaltstack check, add missing cfi directives.
79627         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79628         missing cfi directives, and sigaltstack handling.
79630 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79632         [BZ #11724]
79633         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79634         object is seen twice.
79635         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79637         * elf/Makefile (distribute): Add tst-initorder2.c.
79638         (tests): Add tst-initorder2.
79639         (modules-names): Add tst-initorder2a tst-initorder2b
79640         tst-initorder2c tst-initorder2d.  Add rules to build them.
79641         ($(objpfx)tst-initorder2.out): New rule.
79642         * elf/tst-initorder2.c: New file.
79643         * elf/tst-initorder2.exp: New file.
79645 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79649         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79650         dependencies back to end of function.
79652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79653         $(elfobjdir)/ld.so.
79655 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79657         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79658         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79660         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79661         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79662         of __vdso_gettimeofday.
79663         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79664         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79665         attribute_hidden.
79666         (_libc_vdso_platform_setup): Remove initialization of
79667         __vdso_gettimeofday and __vdso_time.
79669 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79671         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79672         and fgetc_unlocked.
79673         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79674         getc_unlocked.
79676         * elf/dl-open.c (add_to_global): Report additions to the global scope
79677         for LD_DEBUG=scopes.
79678         (dl_open_worker): Also print scope of newly loaded dependencies.
79679         (_dl_show_scope): Indicate if there is no scope.
79681         [BZ #13114]
79682         * stdio-common/Makefile (tests): Add bug24.
79683         * stdio-common/bug24.c: New file.
79685 2011-08-19  Andreas Jaeger  <aj@suse.de>
79687         [BZ #13114]
79688         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79689         non-existant file when using close-on-exec mode.
79691 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79694         the very first instruction.
79696         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79697         the CFI state in the end.
79698         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79699         inclusion of dl-trampoline.h.
79700         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79702 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79704         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79705         expectations for long double.
79707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79708         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79710 2011-08-14  David S. Miller  <davem@davemloft.net>
79712         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79713         artificual limit depends upon the system page size.
79715 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79717         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79718         * resolv/Makefile: Define CFLAGS-libresolv.
79720 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79722         * nss/makedb.c (compute_tables): Make variables used in nested
79723         function static.
79725 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79727         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79728         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79729         if buffer was too small.
79731         * elf/pldd.c (main): Attach to all threads in the process.
79732         Rewrite /proc handling to use *at functions.
79734 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79736         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79737         specifies first scope to show.
79738         (dl_open_worker): Update callers.  Move printing scope of new
79739         object to before the relocation.
79740         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79741         * sysdeps/generic/ldsodefs.h: Update declaration.
79743         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79744         string for the scope number.
79746 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79748         * nscd/servicescache.c (cache_addserv): Make sure written is always
79749         initialized.
79751 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79753         * sysdeps/i386/i486/bits/atomic.h
79754         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79755         statement expression, so as to suppress "set but not used" warning.
79756         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79758         * string/strncat.c (STRNCAT): Use prototype definition.
79760         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79761         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79762         -Iprograms here.
79763         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79764         (localedef-modules): Add localedef.
79765         (locale-modules): Add locale.
79767         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79768         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79769         to avoid a warning.
79771 2011-08-14  David S. Miller  <davem@davemloft.net>
79773         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79774         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79776 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79778         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79779         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79780         * elf/rtld.c (dl_main): Set l_name of vDSO.
79781         Call _dl_show_scope when DL_DEBUG_SCOPES.
79782         (process_dl_debug): Recognize scopes flag and also set it for all.
79783         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79784         Declare _dl_show_scope.
79786         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79787         (do_dlopen): Pass caller_dlopen to dl_open.
79788         (__libc_dlopen_mode): Initialize caller_dlopen.
79790         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79791         of libc.  Make tolower call locale-independent.  Optimize a bit by
79792         using isdigit instead of isalnum.
79793         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79795 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79797         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79798         was a dependency or dynamically loaded.
79800 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79802         * intl/l10nflist.c: Allow architecture-specific pop function.
79803         * sysdeps/x86_64/l10nflist.c: New file.
79805         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79806         classification.
79808 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79810         * include/dirent.h: Add libc_hidden_proto for scandirat and
79811         scandirat64.  Don't declare __scandirat64.
79812         * dirent/scandirat.c: Add libc_hidden_def.
79813         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79814         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79816 2011-08-10  David S. Miller  <davem@davemloft.net>
79818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79819         enum.
79820         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79824 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79826         * Versions.def [libc]: Add GLIBC_2.15.
79827         * dirent/Makefile (routines): Add scandirat and scandirat64.
79828         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79829         GLIBC_2.15.
79830         * dirent/dirent.h: Declare scandirat and scandirat64.
79831         * dirent/scandirat.c: New file.
79832         * dirent/scandirat64.c: New file.
79833         * sysdeps/wordsize-64/scandirat.c: New file.
79834         * sysdeps/wordsize-64/scandirat64.c: New file.
79835         * dirent/opendir.c: Define opendirat.
79836         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79837         using scandirat.
79838         * dirent/scandir64.c: Adjust for scandir.c change.
79839         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79840         __scandirat64, and __scandir_cancel_handler.
79841         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79842         additional parameter and use openat instead of open (outside of ld.so).
79843         Add new __opendir as wrapper around __opendirat.
79844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79845         here without requiring old scandirat implementation.
79847 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79849         * dirent/scandir.c (cancel_handler): Renamed to
79850         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79851         defined.  Adjust users.
79852         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79855 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79857         * string/test-string.h (IMPL): Use __STRING to expand name and then
79858         stringify it.
79860         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79861         of cleanups.
79863 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79865         * string/Makefile: Update.
79866         (strop-tests): Append strncat.
79867         * string/test-wcscmp.c: New file.
79868         New comprehensive test for wcscmp.
79869         * string/test-strcmp.c: Update.
79870         (WIDE): New define.
79872 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79874         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79875         line.
79877 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79880         encoding to ACE if AI_IDN.
79882 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79885         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79887 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79889         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79890         Fix overflow bug in strncat.
79891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79893         * string/test-strncat.c: Update.
79894         Add new tests for checking overflow bugs.
79896 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79899         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79900         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79901         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79902         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79903         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79904         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79905         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79906         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79909         (USE_AS_STRCAT): Define.
79910         Add strcat and strncat support.
79911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79913 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79915         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79916         __n bigger than INT_MAX+1.
79917         (__strncmp_g): Likewise.
79919 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79921         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79922         * libio/stido.h: Likewise.
79924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79925         (AF_NFC): Define.
79926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79927         (AF_NFC): Define.
79929         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79930         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79932         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79933         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79935         [BZ #13021]
79936         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79937         installed.
79939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79940         typo.
79941         (_dl_x86_64_save_sse): Likewise.
79943 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79946         OSXSAVE.
79947         (_dl_x86_64_save_sse): Likewise.
79949         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79951         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79953 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79956         change.
79957         (_dl_x86_64_save_sse): Use correct AVX check.
79959 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79962         bug in strncpy/strncat.
79963         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79965 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79967         * string/tester.c (test_strcat): Add tests for different alignments
79968         of source and destination.
79969         (test_strncat): Likewise.
79971 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79973         [BZ #12852]
79974         * posix/glob.c (glob): Check passed in values before using them in
79975         expressions to avoid some overflows.
79976         (glob_in_dir): Likewise.
79978         [BZ #13007]
79979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79980         check for AVX enablement so that we don't crash with old kernels and
79981         new hardware.
79982         * elf/tst-audit4.c: Add same checks here.
79983         * elf/tst-audit6.c: Likewise.
79985         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79987 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79989         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79991 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79993         * po/cs.po: Update from translation team.
79994         * po/bg.po: Likewise.
79996 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79998         * misc/sys/cdefs.h: Add support for const attribute.
79999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80000         to gnu_dev_{major,minor,makedev} functions.
80002 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80004         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80006 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80008         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80009         strlen results.
80011 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80014         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80015         register in order to avoid conflicts with the soft frame pointer
80016         being held in r11 when necessary.
80017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80018         (INTERNAL_VSYSCALL_NCS): Likewise.
80020 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80022         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80023         * elf/dl-fini.c (_dl_fini): Adjust caller.
80024         * elf/dl-close.c (_dl_close_worker): Likewise.
80025         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80029         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80030         "aux_cache->nlibs < 0".
80032         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80033         in the reload-count case.
80035 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80038         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80039         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80041         * sysdeps/x86_64/multiarch/strcat.S: New file.
80042         * sysdeps/x86_64/multiarch/strncat.S: New file.
80043         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80044         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80045         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80046         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80047         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80048         (USE_AS_STRCAT): Define.
80049         Add strcat and strncat support.
80050         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80052         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80053         * string/strncat.c: Update.
80054         (USE_AS_STRNCAT): Define.
80055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80056         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80057         and i7.
80058         * sysdeps/x86_64/multiarch/init-arch.h
80059         (bit_Prefer_PMINUB_for_stringop): New.
80060         (index_Prefer_PMINUB_for_stringop): Likewise.
80061         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80062         bit_Prefer_PMINUB_for_stringop.
80064 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80066         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80067         buffer64.
80068         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80069         of casting of buffer.
80070         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80071         buffer32 and buffer64.
80072         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80073         writes instead of casting of buffer.
80074         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80075         buffer32.
80076         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80077         casting of buffer.
80079 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80081         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80083 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80085         * nscd/nscd.c (termination_handler): Don't do anything for a database
80086         if it has not yet been initialized.
80088 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80090         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80092 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80094         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80096 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80098         * po/nl.po: Update from translation team.
80099         * po/sv.po: Likewise.
80101 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80103         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80104         now disallowed by GCC.
80106         * configure.in (use-default-link): Default to yes if a test -shared
80107         link meets our qualifications.
80108         * configure: Regenerated.
80110         * config.make.in (output-format): New variable.
80111         * configure.in: Check for ld --print-output-format support.
80112         * configure: Regenerated.
80113         * Makerules ($(common-objpfx)format.lds)
80114         [$(output-format) != unknown]: Just use $(output-format),
80115         instead of the linker-script munging.
80117 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80119         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80120         of $(common-objpfx)shlib.lds.
80121         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80123         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80124         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80126         * configure.in (-z relro check): Adjust test code to add a large
80127         writable data section after it.
80128         * configure: Regenerated.
80130 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80132         * configure.in (-z relro check): Fix test code to make the variable
80133         truly const.
80134         * configure: Regenerated.
80136 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80138         * nscd/nscd.h (struct traced_file): Define.
80139         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80140         elements.  Add traced_files.
80141         (inotify_fd): Declare.
80142         (register_traced_file): Declare.
80143         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80144         (inotify_fd): Export.
80145         (resolv_conf_descr): Remove.
80146         (nscd_init): Move inotify descriptor creation to main.
80147         Don't register files for notification here.
80148         (register_traced_file): New function.
80149         (invalidate_cache): Don't use reset_res to determine whether to call
80150         res_init, go through the list of registered files.
80151         (main_loop_poll): The inotify descriptors are now stored in the
80152         structures for the traced files.
80153         (main_loop_epoll): Likewise.
80154         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80155         to __nss_disable_nscd.
80156         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80157         for a database anymore.  Check the records for all the registered
80158         files instead.
80159         * nss/Makefile (libnss_files-routines): Add files-init.
80160         (libnss_db-routines): Add db-init.
80161         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80162         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80163         * nss/nss_db/db-init.c: New file.
80164         * nss/nss_files/files-init.c: New file.
80165         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80166         __nss_lookup_function.
80167         (__nss_lookup_function): Call nss_load_library.
80168         (nss_load_all_libraries): New function.
80169         (__nss_disable_nscd): Take parameter with callback function for files
80170         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80171         used for the cached services.
80172         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80173         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80174         options for features to all the files in nscd.
80176         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80178 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80180         * csu/elf-init.c (__libc_csu_init): Comment typo.
80182 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80184         * po/pl.po: Update from translation team.
80185         * po/ja.po: Likewise.
80186         * po/ru.po: Likewise.
80187         * po/ko.po: Likewise.
80188         * po/fr.po: Likewise.
80190 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80192         * configure.in (.ctors/.dtors header and trailer check):
80193         Use an empirical test on a built program.
80194         * configure: Regenerated.
80196         * configure.in (-z relro check): Use an empirical test on a built DSO.
80197         Detect, but do not require, on ia64.
80198         * configure: Regenerated.
80200         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80201         Update tests that use readelf to use $READELF instead.
80202         * configure: Regenerated.
80204 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80206         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80207         if the result is not used.
80209 2011-07-05  Andreas Jaeger  <aj@suse.de>
80211         [BZ#9696]
80212         * stdlib/tst-strtod.c: Add testcase.
80214 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80216         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80217         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80218         The latter has a higher limit.  Take additional parameter to pass to
80219         the new function.
80220         (__pathconf): Pass file to __statfs_link_max.
80221         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80222         __statfs_link_max.
80223         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80224         __statfs_link_max.
80226         [BZ #12868]
80227         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80228         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80229         Handle Lustre.
80230         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80231         (__statfs_filesize_max): Likewise.
80232         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80234 2011-07-05  Andreas Jaeger  <aj@suse.de>
80236         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80238 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80240         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80241         `status' variable.
80242         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80243         Likewise.
80245 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80247         * Makefile (strop-tests): Add strncat.
80248         * string/test-strncat.c: New file.
80250 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80252         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80254 2011-06-21  Andreas Jaeger  <aj@suse.de>
80256         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80257         Copy rule from iconvdata/Makefile.
80259 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80261         [BZ #12922]
80262         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80263         but no long options are defined, just return 'W'.
80265 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80267         [BZ #9696]
80268         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80270 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80272         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80273         netgroups to read.
80274         (innetgr): Likewise.
80276 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80278         * config.make.in (install_root): Default to $(DESTDIR).
80280 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80282         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80284 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80286         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80288         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80289         containing directory rather than embedding absolute directory names.
80291         * scripts/check-local-headers.sh: Rewritten using awk.
80292         Match by word, not by line.  Print error messages for matches.
80293         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80295         * Makerules [shlib-lds-flags empty]:
80296         ($(common-objpfx)libc_pic.opts): New target.
80297         ($(common-objpfx)libc_pic.os.clean): New target.
80298         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80300         * config.make.in (OBJCOPY): New variable.
80301         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80302         * configure: Regenerated.
80304         * config.make.in (use-default-link): New variable.
80305         * configure.in (use_default_link): Grok --with-default-link to set it.
80306         * configure: Regenerated.
80307         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80308         (shlib-lds, shlib-lds-flags): Define to empty.
80310         * Makerules (shlib-lds): New variable.
80311         (shlib-lds-flags): New variable.
80312         (build-shlib, build-moduile, build-module-asneeded): Use it.
80313         ($(common-objpfx)libc.so): Use $(shlib-lds).
80314         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80315         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80317         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80318         DT_FLAGS/DT_FLAGS_1 with zero flags.
80320         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80321         linker script munging.
80323 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80325         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80326         as 128-bit value.
80327         * crypt/sha512.c (sha512_process_block): Perform total addition using
80328         128-bit if possible.
80329         (__sha512_finish_ctx): Likewise.
80330         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80331         as 64-bit value.
80332         * crypt/sha256.c (SWAP64): Define.
80333         (sha256_process_block): Perform total addition using 64-bit if
80334         possible.
80335         (__sha256_finish_ctx): Likewise.
80337 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80339         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80341         * nscd/hstcache.c (cache_addhst): Likewise.
80342         * nscd/grpcache.c (cache_addgr): Likewise.
80343         * nscd/aicache.c (addhstaiX): Likewise.
80344         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80346 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80348         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80350         * nscd/hstcache.c (cache_addhst): Likewise.
80351         * nscd/grpcache.c (cache_addgr): Likewise.
80352         * nscd/aicache.c (addhstaiX): Likewise.
80354 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80356         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80357         domain only when needed.
80359 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80362         is always restored.
80364 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80366         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80367         are re-adding the entry.
80368         * nscd/servicescache.c (cache_addserv): Likewise.
80370 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80372         * sysdeps/generic/dl-irel.h: fix protection against multiple
80373         inclusions.
80374         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80376 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80378         [BZ #12935]
80379         * malloc/memusage.sh: Fix quoting in message.
80380         * debug/xtrace.sh: Likewise.
80382         * configure.in: Remove support for --experimental-malloc option, make
80383         it the default.
80384         * config.make.in: Likewise.
80385         * malloc/Makefile: Likewise.
80387 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80389         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80390         two-byte characters.
80392 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80394         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80395         AC_CACHE_CHECK invocation.
80396         * configure: Regenerated.
80398         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80400 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80402         [BZ #12350]
80403         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80404         bit from old_res_options.
80406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80408         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80409         value type for setfct.
80411 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80413         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80414         __gettimeofday instead of gettimeofday.
80416 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80418         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80420 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80422         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80424         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80425         info.
80427 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80430         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80431         strcpy-sse2-unaligned strncpy-sse2-unaligned
80432         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80433         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80434         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80435         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80436         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80438         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80439         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80440         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80441         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80442         (STRCPY): Support SSE2 and SSSE3 versions.
80444 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80446         [BZ #12874]
80447         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80448         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80449         kernels which artificially limit size of requests.
80451 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80454         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80455         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80456         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80457         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80458         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80459         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80460         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80462         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80463         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80464         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80465         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80466         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80467         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80469         Enable unaligned load optimization for Intel Core i3, i5 and i7
80470         processors.
80471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80472         Define.
80473         (index_Fast_Unaligned_Load): Define.
80474         (HAS_FAST_UNALIGNED_LOAD): Define.
80476 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80478         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80480 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80482         [BZ #12907]
80483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80484         until it is clear that the information is realy needed.
80485         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80487 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80491 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80494         /sys/devices/system/cpu/online if it is usable.
80496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80497         reading the information from the /proc filesystem to once a second.
80499 2011-06-21  Andreas Jaeger  <aj@suse.de>
80501         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80502         NULL after inclusion of kernel headers.
80504 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80506         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80507         calls to internal_setent.
80509         [BZ #12885]
80510         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80511         addresses using gethostbyname4_r ignore IPv4 addresses.
80513         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80514         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80516         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80518 2011-06-20  David S. Miller  <davem@davemloft.net>
80520         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80521         inclusions.
80522         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80524         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80525         (elf_irel): Use it.
80526         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80527         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80528         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80529         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80530         * sysdeps/x86_64/dl-irel.h: Likewise.
80532         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80533         * elf/dl-sym.c: Likewise.
80535 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80537         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80538         need to dereference resplen2.
80540 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80542         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80544 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80546         * Makeconfig: Define vardbdir and inst_vardbdir.
80547         * nss/Makefile: Add rules to install db-Makefile.
80549         * nss/nss_db/db-XXX.c: Cleanup.
80551         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80552         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80553         GLIBC_PRIVATE.
80554         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80555         * nss/makedb.c: Implement -g option to specify that value strings
80556         are generated and should not be added to table iterated over for
80557         get*ent calls.
80558         * nss/nss_db/db-initgroups.c: New file.
80560         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80561         interface.
80563         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80564         (internal_getgrouplist): Adjust to name change.
80565         Update use_initgroups_entry if this is not the first call.
80566         * nss/databases.def: Add initgroups entry.
80568         * nss/makedb.c (compute_tables): Check result of multiple hash table
80569         sizes to minimize maximum chain length.
80571 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80573         * Versions.def: Add entry for libnss_db.
80574         * shlib-versions: Likewise.
80575         * nss/Makefile: Add rules to build libnss_db.
80576         * nss/Versions: Add libnss_db information.  Organize libnss_files
80577         entries better.
80578         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80579         makedb progra.  Some minor improvements to generate smaller files.
80580         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80581         here from...
80582         * nss/makedb.c: ...here.
80583         Improve database format to be smaller and require less memory at
80584         runtime.
80585         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80586         db anymore.
80587         * nss/nss_db/db-netgrp.c: Likewise.
80588         * nss/nss_db/db-open.c: Likewise.
80589         * nss/nss_files/flies-XXX.x: Adjust comments.
80590         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80591         * nss/nss_files/files-grp.c: Likewise.
80592         * nss/nss_files/files-hosts.c: Likewise.
80593         * nss/nss_files/files-network.c: Likewise.
80594         * nss/nss_files/files-proto.c: Likewise.
80595         * nss/nss_files/files-pwd.c: Likewise.
80596         * nss/nss_files/files-rpc.c: Likewise.
80597         * nss/nss_files/files-service.c: Likewise.
80598         * nss/nss_files/files-sgrp.c: Likewise.
80599         * nss/nss_files/files-spwd.c: Likewise.
80600         * nss/nss_db/db-alias.c: Removed.
80601         * nss/nss_db/dummy-db.h: Removed.
80603 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80605         * nss/makedb.c: Rewritten to not use database library.
80606         * nss/Makefile: Update to build new makedb program.
80608 2011-06-14  Andreas Jaeger  <aj@suse.de>
80610         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80611         memset declaration.
80613 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80616         tmpbuf.
80618 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80620         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80621         * elf/Makefile ($(objpfx)ld.so): Likewise.
80623         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80624         Don't list ld.so twice in dependencies.
80626         * posix/bug-regex31.c: Include <stdlib.h>.
80628         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80630         * nis/nss_compat/compat-spwd.c
80631         (getspent_next_nss_netgr): Remove unused variable.
80632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80634         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80635         nonmembers" output to use the right array.
80637         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80639         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80641         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80642         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80643         * catgets/gencat.c (read_input_file): Likewise.
80644         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80647         variable definition inside #if's controlling its use.
80649         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80651         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80653         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80655         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80656         unreachable code.
80658         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80660         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80661         * configure: Regenerated.
80663         * Makerules: Revert last change.
80664         * elf/Makefile: Likewise.
80666 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80668         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80669         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80670         (reloc-link): Likewise.
80672 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80674         * elf/Makefile: Add rules to build pldd.
80675         * elf/pldd.c: New file.
80676         * elf/pldd-xx.c: New file.
80678 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80680         * version.h: Update for 2.15 development version.
80682 2011-06-07  David S. Miller  <davem@davemloft.net>
80684         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80685         ifuncs.
80686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80687         elf_machine_lazy_rel): Likewise.
80688         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80690         elf_machine_lazy_rel): Likewise.
80691         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80692         dl_hwcap via passed in argument.
80693         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80694         Likewise.
80696 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80698         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80700 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80702         [BZ #12849]
80703         * manual/fdl-1.1.texi: New file, verbatim from:
80704         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80705         * manual/lgpl-2.1.texi: New file, verbatim from:
80706         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80707         * manual/Makefile (licenses): New variable, list those new file names.
80708         (texis): Use it.
80709         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80711         * manual/fdl.texi: File removed.
80712         * manual/lesser.texi: File removed.
80713         * manual/libc.texinfo (Copying, Documentation License):
80714         Use new @include file names, put @appendix directive before @include.
80716 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80718         [BZ #12841]
80719         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80720         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80721         (mq_open): Add __NTH.
80723 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80726         Assume Intel Core i3/i5/i7 processor if AVX is available.
80728 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80730         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80731         typo.
80733 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80735         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80736         memory.  Use alloca_account.  Fix memory leak when retrying.
80738 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80740         * version.h (RELEASE): Bump for 2.14 release.
80741         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80743         * config.make.in (RANLIB): Remove entry.
80745 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80747         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80748         (libc.pot): Work around missing support for .ksh extension in xgettext.
80750         [BZ #12684]
80751         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80752         if both request failed.
80753         (send_dg): In case of server errors clear resplen or *resplen2.
80755         [BZ #12454]
80756         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80757         when there are multiple maps.
80758         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80759         (_dl_fini): Remove test here.
80761         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80763 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80765         [BZ #12350]
80766         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80767         bit from old_res_options.
80768         (gaih_inet): Likewise.
80770         [BZ #11099]
80771         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80772         as signed.
80774         * resolv/res_init.c (res_setoptions): Make the code more compact.
80776         [BZ #11558]
80777         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80778         set RES_USEVC.
80780         [BZ #11634]
80781         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80783         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80785         [BZ #11781]
80786         * malloc/malloc.h: Declare malloc hook variables as volatile.
80788         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80789         in last patch.
80791         [BZ #11799]
80792         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80793         raise in the comment.
80794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80796         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80798 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80800         [BZ #12811]
80801         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80802         grow the buffers more if it already has to be sufficient.
80803         (build_wcs_upper_buffer): Likewise.
80804         * posix/regexec.c (check_matching): Likewise.
80805         (clean_state_log_if_needed): Likewise.
80806         (extend_buffers): Don't enlarge buffers beyond size of the input
80807         buffer.
80808         Patches mostly by Emil Wojak <emil@wojak.eu>.
80809         * posix/bug-regex32.c: New file.
80810         * posix/Makefile (tests): Add bug-regex32.
80812         * locale/findlocale.c (_nl_find_locale): Return right away if
80813         _nl_explode_name failed.
80814         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80816         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80818         * debug/xtrace.sh: Unify messages.
80819         * malloc/memusage.sh: Likewise.
80821         [BZ #12813]
80822         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80823         time symbol from vDSO.  Substitute with vsyscall if not available.
80824         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80825         __vdso_time.
80827         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80828         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80829         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80830         Add sendmmsg and internal_sendmmsg.
80831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80832         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80833         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80835         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80836         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80837         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80839 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80841         [BZ #12813]
80842         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80843         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80844         available.
80845         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80846         __vdso_getcpu.
80848         [BZ #12814]
80849         * iconvdata/Makefile (tests): Add bug-iconv9.
80850         * iconvdata/bug-iconv9.c: New file.
80852 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80854         [BZ #12814]
80855         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80857 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80860         (struct user_regs_struct): Change intcs field back to cs.
80862 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80864         * po/ja.po: Update from translation team.
80866 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80868         [BZ #12795]
80869         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80870         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80872 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80874         * stdlib/longlong.h: Update from GCC.
80876 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80878         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80879         parameter name.
80880         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80881         Add parameter name.
80882         (__sysconf): Pass it down.
80884 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80886         [BZ #12671]
80887         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80888         some situations.
80889         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80890         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80891         add in in __libc_use_alloca calls.  Adjust callers.
80892         (glob): Use malloc in some situations.
80894         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80895         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80896         pltexit.
80898 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80900         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80901         and CLOCK_BOOTTIME_ALARM.
80903         [BZ #12782]
80904         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80905         is returned.
80907         * string/_strerror.c (__strerror_r): Print negative errors as signed
80908         numbers.
80910         [BZ #12777]
80911         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80912         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80913         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80915         * configure.in: Fix typo in redirection and correct removal of test
80916         files in two cases.
80918         [BZ #12788]
80919         * locale/setlocale.c (new_composite_name): Fix test to check for
80920         identical name of all categories.
80922         [BZ #12792]
80923         * libio/filedoalloc.c (local_isatty): New function.
80924         (_IO_file_doallocate): Use local_isatty.
80925         * stdio-common/perror.c (perror): In case a new stream is used
80926         forward the stream error.
80927         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80928         error flag.
80930 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80932         [BZ #11884]
80933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80934         alloca.
80935         * include/alloca.h (extend_alloca_account): Define.
80937         [BZ #11857]
80938         * posix/regex.h: Fix comments with documentation of user-accessible
80939         fields after compilation and describe correct free'ing of pattern
80940         after re_compile_pattern.
80941         Patch by Reuben Thomas <rrt@sc3d.org>.
80943 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80945         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80946         and -mno-altivec to prevent the compiler from using Altivec and/or
80947         VSX instructions when the corresponding registers are not available.
80949 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80951         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80953 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80955         * libio/freopen.c (freopen): Use __dup2, not dup2.
80956         * libio/freopen64.c (freopen64): Likewise.
80958 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80960         [BZ #12775]
80961         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80962         * math/Makefile (tests): Add test-powl.
80963         (CFLAGS-test-powl.c): Define.
80964         * math/test-powl.c: New file.
80966 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80968         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80970 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80972         [BZ #11837]
80973         * iconvdata/gb18030.c: Update to GB18020-2005.
80975 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80977         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80978         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80979         Patch by Aharon Robbins <arnold@skeeve.com>.
80981         [BZ #11892]
80982         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80983         on the stack.
80985         [BZ #11895]
80986         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80987         through underflows.
80989         [BZ #12766]
80990         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80991         point to strings before performing equality test for error_one_per_line
80992         mode.
80994         [BZ #11697]
80995         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80997         [BZ #11820]
80998         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80999         (struct user_fpregs_struct): Avoid __uint*_t types.
81001         [BZ #6420]
81002         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81003         symbol info.  Use it instead of calling _dl_addr locally.
81004         (lock_and_info): New function.
81005         (tr_freehook): Call lock_and_info and pass symbol info as additional
81006         parameter to tr_where.
81007         (tr_mallochook): Likewise.
81008         (tr_reallochook): Likewise.
81009         (tr_memalignhook): Likewise.
81011         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81012         used and couldn't be at all thread-safe.
81014 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81016         * libio/freopen.c (freopen): Don't close old file descriptor
81017         before the new one is opened.  Instead dup the new file descriptor
81018         to the old one after the new stream is created.
81019         * libio/freopen64.c (freopen64): Likewise.
81020         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81021         * libio/fileops.c (_IO_new_file_close_it): Handle new
81022         _IO_FLAGS2_NOCLOSE flag.
81023         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81024         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81025         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81026         _IO_FLAGS2_NOCLOSE flag.
81027         * include/unistd.h: Add hidden_proto for dup3.
81028         Define __have_dup3.
81029         * io/dup3.c: Define hidden symbol.
81030         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81032         [BZ #7101]
81033         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81034         when an incomplete long option is used.
81035         * posix/tst-getopt_long1.c: New file.
81036         * posix/Makefile (tests): Add tst-getopt_long1.
81038         [BZ #10138]
81039         * scripts/config.guess: Update from autoconf-2.68.
81040         * scripts/config.sub: Likewise.
81042         [BZ #10157]
81043         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81044         tests into ...
81045         (has_cpuclock): ...this.  New function.
81046         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81047         macro here based on has_cpuclock code.
81049         [BZ #10149]
81050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81051         First byte (not low byte) is now always NUL.
81052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81055         Use non-cancelable interfaces.
81057         [BZ #9809]
81058         * locale/iso-639.def: Add entry for Sorani.
81060         [BZ #11901]
81061         * include/stdlib.h: Move include protection to the right place.
81062         Define abort_msg_s.  Declare __abort_msg with it.
81063         * stdlib/abort.c (__abort_msg): Adjust type.
81064         * assert/assert.c (__assert_fail_base): New function.  Majority
81065         of code from __assert_fail.  Allocate memory for __abort_msg with
81066         mmap.
81067         (__assert_fail): Now call __assert_fail_base.
81068         * assert/assert-perr.c: Remove bulk of implementation.  Use
81069         __assert_fail_base.
81070         * include/assert.hL Declare __assert_fail_base.
81071         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81072         mmap.
81073         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81075 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81077         [BZ #11952]
81078         [BZ #12453]
81079         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81080         until all modules are registered in the DTV.
81081         * elf/Makefile: Add rules to build and run tst-tls19.
81082         * elf/tst-tls19.c: New file.
81083         * elf/tst-tls19mod1.c: New file.
81084         * elf/tst-tls19mod2.c: New file.
81085         * elf/tst-tls19mod3.c: New file.
81086         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81088         [BZ #12083]
81089         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81090         correctly.
81092         [BZ #12601]
81093         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81094         two-byte sequence errors.
81095         * iconvdata/Makefile (tests): Add bug-iconv8.
81096         * iconvdata/bug-iconv8.c: New file.
81098         [BZ #12626]
81099         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81100         buf2 definition.
81102         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81104         [BZ #12432]
81105         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81106         (dummy_getcfa): New function.
81107         (init): Get _Unwind_GetCFA address, use dummy if not found.
81108         (backtrace_helper): In recursion check, also check whether CFA changes.
81109         (__backtrace): Completely initialize arg.
81111         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81112         storing incomplete byte sequence in state object.  Avoid testing for
81113         guaranteed too small input if we know there is enough data available.
81115 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81117         * Makeconfig (+link-pie): Indent.
81118         * Rules (binaries-pie): Define if $(have-fpie) and
81119         $(build-shared).
81120         (binaries-shared): Also filter out $(binaries-pie).
81121         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81122         * nscd/Makefile (others-pie): Add nscd.
81123         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81124         ($(objpfx)nscd): Remove command override.
81125         * login/Makefile (others-pie): Add pt_chown.
81126         ($(objpfx)pt_chown): Remove command override.
81127         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81128         remove command overrides.
81130 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81132         * libio/tst_putwc.c: Fix error messages.
81134         [BZ #12724]
81135         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81136         currently writing and seek to current position when not.
81137         * libio/Makefile (tests): Add bug-fclose1.
81138         * libio/bug-fclose1.c: New file.
81140 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81142         [BZ #12511]
81143         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81144         don't set DF_1_NODELETE here.
81145         (do_lookup_x): When entering new entry test for copy relocation
81146         and if necessary set DF_1_NODELETE flag.
81147         * elf/tst-unique4.cc: New file.
81148         * elf/tst-unique4.h: New file.
81149         * elf/tst-unique4lib.cc: New file.
81150         * elf/Makefile: Add rules to build and run tst-unique4.
81151         Patch by Piotr Bury <pbury@goahead.com>.
81153 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81155         [BZ #12052]
81156         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81158         [BZ #12625]
81159         * misc/mntent_r.c (addmntent): Flush the stream after the output
81161         [BZ #12393]
81162         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81163         (is_trusted_path_normalize): Skip initial colon.  Append slash
81164         to empty buffer.  Duplicate is_trusted_path code but allow
81165         constructed patch to be prefix.
81166         (is_dst): Allow $ORIGIN followed by /.
81167         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81168         Correct testing of result of is_trusted_path_normalize
81169         (decompose_rpath): Fix warning.
81171 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81173         [BZ #11257]
81174         * grp/initgroups.c (internal_getgrouplist): When we found the service
81175         list through the initgroups entry in nsswitch.conf do not always
81176         continue on a successful lookup.  Don't always use the
81177         __nss_group_database value if it is set.
81178         * nss/nsswitch.conf (initgroups): Change action for successful db
81179         lookup to continue for compatibility.
81181 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81183         [BZ #11532]
81184         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81185         and CP774 modules.
81186         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81187         and CP774 modules.
81188         * iconvdata/tst-tables.sh: Likewise.
81189         * iconvdata/cp770.c: New file.
81190         * iconvdata/cp771.c: New file.
81191         * iconvdata/cp772.c: New file.
81192         * iconvdata/cp773.c: New file.
81193         * iconvdata/cp774.c: New file.
81194         * iconvdata/testdata/CP770: New file.
81195         * iconvdata/testdata/CP770..UTF8: New file.
81196         * iconvdata/testdata/CP771: New file.
81197         * iconvdata/testdata/CP771..UTF8: New file.
81198         * iconvdata/testdata/CP772: New file.
81199         * iconvdata/testdata/CP772..UTF8: New file.
81200         * iconvdata/testdata/CP773: New file.
81201         * iconvdata/testdata/CP773..UTF8: New file.
81202         * iconvdata/testdata/CP774: New file.
81203         * iconvdata/testdata/CP774..UTF8: New file.
81205         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81206         END CHARMAP line.
81207         * iconvdata/gen-8bit-gap.sh: Likewise.
81208         * iconvdata/gen-8bit.sh: Likewise.
81210         * locale/iso-639.def: Add ary entry.
81212         [BZ #11258]
81213         * locale/C-translit.h.in: Add U20A1 transliteration.
81215         [BZ #12178]
81216         * locale/iso-639.def: Add wae entry.
81217         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81219         [BZ #12545]
81220         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81221         for n.
81223         [BZ #12711]
81224         * locale/C-translit.h.in: Add entry for U20B9.
81225         Patch by pravin.d.s@gmail.com.
81227 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81229         [BZ #12713]
81230         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81231         ENAMETOOLONG use generic getcwd.
81232         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81233         in rtld.  Use *stat64.
81234         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81235         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81236         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81237         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81238         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81239         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81240         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81241         __fstatat64 macros.
81242         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81243         * dirent/rewinddir.c: Add libc_hidden_def.
81244         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81245         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81247         * include/dirent.h (__alloc_dir): Add flags parameter.
81248         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81249         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81250         __alloc_dir.
81251         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81252         from fdopendir if O_CLOEXEC is already set.
81254 2011-03-15  Alan Modra  <amodra@gmail.com>
81256         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81257         l_tls_firstbyte_offset non-zero.  Save padding offset in
81258         l_tls_firstbyte_offset for later use.
81259         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81260         freeing static tls block.
81262 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81264         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81265         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81266         being defined by the kernel headers.
81268 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81270         [BZ #12734]
81271         * resolv/resolv.h: Define RES_NOTLDQUERY.
81272         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81273         no-tld-query and set RES_NOTLDQUERY.
81274         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81275         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81276         modern BIND to search name as TLD unless forbidden.
81278 2011-05-07  Petr Baudis  <pasky@suse.cz>
81279             Ulrich Drepper  <drepper@gmail.com>
81281         [BZ #12393]
81282         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81283         (is_trusted_path): ...to here.
81284         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81285         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81286         using is_trusted_path_normalize() in setuid scripts.
81288 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81291         __BEGIN/__END_DECLS.
81293 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81296         NSS_STATUS_NOTFOUND if no record was found.
81298 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81300         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81301         (headers-not-in-tirpc): Remove rpc/netdb.h
81302         * resolv/netdb.h: Revert last change.
81304 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81306         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81307         circular dependency between libgcc.a and libc.a.
81309 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81311         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81312         * nis/Makefile: Don't install rpcsvc/*.
81313         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81314         instead of <rpc/types.h>.
81315         (MAXHOSTNAMELEN): Define.
81317 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81319         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81321 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81323         [BZ #12714]
81324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81325         gethostbyname4_r when IPv6 results are possible.
81327 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81329         [BZ #12723]
81330         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81331         _PC_PIPE_BUF handling.
81333 2011-04-30  Bruno Haible  <bruno@clisp.org>
81335         [BZ #12717]
81336         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81337         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81338         to 'int'.
81339         * inet/getnameinfo.c (getnameinfo): Likewise.
81341 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81343         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81344         to groups setting in database lookup.
81345         * nss/nsswitch.conf: Add initgroups entry.
81347 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81349         [BZ #12685]
81350         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81351         mode string.
81352         Patch by Eric Blake <eblake@redhat.com>.
81354 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81356         * sunrpc/Makefile (need-export-routines): Add svc_run.
81357         (routines): Remove svc_run.
81358         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81359         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81360         * sunrpc/svc_run.c (svc_run): Likewise.
81361         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81363 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81366         problem in reallocation in last patch.
81368 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81370         * sunrpc/Makefile: Move inclusion of Rules.
81372 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81374         * nss/nss_files/files-initgroups.c: New file.
81375         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81376         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81377         _nss_files_initgroups_dyn.
81379 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81381         * elf/elf.h (R_ARM_IRELATIVE): Define.
81383 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81385         * po/ru.po: Update from translation team.
81387 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81389         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81390         dependencies.
81392 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81394         [BZ #12653]
81395         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81396         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81397         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81401 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81403         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81404         differing bytes.
81405         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81407         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81409 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81411         [BZ #12420]
81412         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81413         storing it.
81414         * stdlib/bug-getcontext.c: New file.
81415         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81417 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81419         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81420         instructions into .machine "z9-109".
81421         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81422         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81424 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81426         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81427         between environment variables and auxiliary vector.
81429 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81431         * Makefile: Add rules to build linkobj/libc.so.
81432         * include/libc-symbols.h: Define libc_hidden_nolink.
81433         * include/rpc/auth.h: Mark functions which are to be hidden.
81434         * include/rpc/auth_des.h: Likewise.
81435         * include/rpc/auth_unix.h: Likewise.
81436         * include/rpc/clnt.h: Likewise.
81437         * include/rpc/des_crypt.h: Likewise.
81438         * include/rpc/key_prot.h: Likewise.
81439         * include/rpc/pmap_clnt.h: Likewise.
81440         * include/rpc/pmap_prot.h: Likewise.
81441         * include/rpc/pmap_rmt.h: Likewise.
81442         * include/rpc/rpc_msg.h: Likewise.
81443         * include/rpc/svc.h: Likewise.
81444         * include/rpc/svc_auth.h: Likewise.
81445         * include/rpc/xdr.h: Likewise.
81446         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81447         * nss/Makefile: Likewise.
81448         * sunrpc/Makefile: Don't install headers.  Build library with normal
81449         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81450         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81451         for the compat linking library.  Remove use of INTDEF/INTUSE.
81452         * sunrpc/auth_none.c: Likewise.
81453         * sunrpc/auth_unix.c: Likewise.
81454         * sunrpc/authdes_prot.c: Likewise.
81455         * sunrpc/authuxprot.c: Likewise.
81456         * sunrpc/clnt_gen.c: Likewise.
81457         * sunrpc/clnt_perr.c: Likewise.
81458         * sunrpc/clnt_raw.c: Likewise.
81459         * sunrpc/clnt_simp.c: Likewise.
81460         * sunrpc/clnt_tcp.c: Likewise.
81461         * sunrpc/clnt_udp.c: Likewise.
81462         * sunrpc/clnt_unix.c: Likewise.
81463         * sunrpc/des_crypt.c: Likewise.
81464         * sunrpc/des_soft.c: Likewise.
81465         * sunrpc/get_myaddr.c: Likewise.
81466         * sunrpc/key_call.c: Likewise.
81467         * sunrpc/key_prot.c: Likewise.
81468         * sunrpc/netname.c: Likewise.
81469         * sunrpc/pm_getmaps.c: Likewise.
81470         * sunrpc/pm_getport.c: Likewise.
81471         * sunrpc/pmap_clnt.c: Likewise.
81472         * sunrpc/pmap_prot.c: Likewise.
81473         * sunrpc/pmap_prot2.c: Likewise.
81474         * sunrpc/pmap_rmt.c: Likewise.
81475         * sunrpc/publickey.c: Likewise.
81476         * sunrpc/rpc_cmsg.c: Likewise.
81477         * sunrpc/rpc_common.c: Likewise.
81478         * sunrpc/rpc_dtable.c: Likewise.
81479         * sunrpc/rpc_prot.c: Likewise.
81480         * sunrpc/rpc_thread.c: Likewise.
81481         * sunrpc/rtime.c: Likewise.
81482         * sunrpc/svc.c: Likewise.
81483         * sunrpc/svc_auth.c: Likewise.
81484         * sunrpc/svc_authux.c: Likewise.
81485         * sunrpc/svc_raw.c: Likewise.
81486         * sunrpc/svc_run.c: Likewise.
81487         * sunrpc/svc_simple.c: Likewise.
81488         * sunrpc/svc_tcp.c: Likewise.
81489         * sunrpc/svc_udp.c: Likewise.
81490         * sunrpc/svc_unix.c: Likewise.
81491         * sunrpc/svcauth_des.c: Likewise.
81492         * sunrpc/xcrypt.c: Likewise.
81493         * sunrpc/xdr.c: Likewise.
81494         * sunrpc/xdr_array.c: Likewise.
81495         * sunrpc/xdr_float.c: Likewise.
81496         * sunrpc/xdr_intXX_t.c: Likewise.
81497         * sunrpc/xdr_mem.c: Likewise.
81498         * sunrpc/xdr_rec.c: Likewise.
81499         * sunrpc/xdr_ref.c: Likewise.
81500         * sunrpc/xdr_sizeof.c: Likewise.
81501         * sunrpc/xdr_stdio.c: Likewise.
81503 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81505         [BZ #12650]
81506         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81507         * sysdeps/ia64/dl-tls.h: Likewise.
81508         * sysdeps/powerpc/dl-tls.h: Likewise.
81509         * sysdeps/s390/dl-tls.h: Likewise.
81510         * sysdeps/sh/dl-tls.h: Likewise.
81511         * sysdeps/sparc/dl-tls.h: Likewise.
81512         * sysdeps/x86_64/dl-tls.h: Likewise.
81513         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81515 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81517         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81518         rpath element also skip the following colon.
81519         (expand_dynamic_string_token): Add is_path parameter and pass
81520         down to DL_DST_REQUIRED and _dl_dst_substitute.
81521         (decompose_rpath): Call expand_dynamic_string_token with
81522         non-zero is_path.  Ignore empty rpaths.
81523         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81524         with zero is_path.
81526 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81529         Make cancelable.
81531 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81533         [BZ #12655]
81534         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81535         Patch by Filipe David Manana <fdmanana@apache.org>.
81537 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81540         Maintain aligned stack.
81541         (CHECK_RSP): Remove unused macro.
81543 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81545         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81548 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81550         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81552         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81554 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81556         [BZ #12518]
81557         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81558         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81559         * sysdeps/x86_64/memmove.c: New file.
81560         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81561         (memcpy): Renamed to ...
81562         (__new_memcpy): This.
81563         (memcpy): Provide GLIBC_2_14 memcpy.
81564         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81565         (memcpy): Provide GLIBC_2_2_5 memcpy.
81567 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81569         [BZ #12631]
81570         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81572 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81574         * misc/syncfs.c: New file.
81575         * misc/Makefile (routines): Add syncfs.
81576         * posix/unistd.h: Declare syncfs.
81577         * sysdeps/unix/syscalls.list: Add syncfs.
81579 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81581         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81582         open_by_handle_at.
81583         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81584         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81588         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81591 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81595         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81597         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81601         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81602         sync_file_range.c with -fexceptions.
81603         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81604         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81605         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81606         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81607         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81608         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81610         sync_file_range as cancellation point
81611         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81612         now a wrapper around __call_sync_file_range with cancellation handling.
81613         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81614         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81615         function name to __call_sync_file_range.
81616         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81617         Add call_sync_file_range.
81619 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81622         bits/timex.h.
81624 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81626         * iconv/iconv.h: Fix typo in comment.
81627         * io/fcntl.h: Likewise.
81628         * libio/stdio.h: Likewise.
81629         * posix/spawn.h: Likewise.
81630         * posix/unistd.h: Likewise.
81631         * stdlib/stdlib.h: Likewise.
81632         * time/time.h: Likewise.
81633         * wcsmbs/wchar.h: Likewise.
81635         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81636         open_by_handle): Add.
81637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81638         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81639         Augment a few comments.
81640         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81642         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81645         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81646         open_by_handle.
81648         * io/fcntl.h (AT_EMPTY_PATH): Define.
81650 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81652         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81653         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81654         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81655         to...
81656         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81657         * Versions.def: Add GLIBC_2.14.
81658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81659         Export.
81661 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81663         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81664         round counter.
81665         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81667 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81669         [BZ #12597]
81670         * string/test-strncmp.c (do_page_test): New function.
81671         (check2): Likewise.
81672         (test_main): Call check2.
81673         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81675 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81677         [BZ #12587]
81678         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81679         Handle cache information in CPU leaf 4.
81680         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81682 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81684         [BZ #12583]
81685         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81686         character representation.
81687         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81689 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81691         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81692         END(__isnan) to END(__isnanf) to match function entry point/label
81693         EALIGN(__isnanf,...).
81695 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81697         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81699 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81701         [BZ #12510]
81702         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81703         copy from the symbol referenced in the relocation to initialize the
81704         used variable.
81705         Patch by Piotr Bury <pbury@goahead.com>.
81706         * elf/Makefile: Add rules to build and tst-unique3.
81707         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81708         * elf/tst-unique3.cc: New file.
81709         * elf/tst-unique3.h: New file.
81710         * elf/tst-unique3lib.cc: New file.
81711         * elf/tst-unique3lib2.cc: New file.
81713         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81715 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81717         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81718         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81719         to _start.
81721 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81723         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81724         to-be-loaded object along a path to loader is ld.so.
81726 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81727             Ulrich Drepper  <drepper@gmail.com>
81729         * sysdeps/x86_64/memset.S: After aligning destination, code
81730         branches to different locations depending on the value of
81731         misalignment, when multiarch is enabled. Fix this.
81733 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81735         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81736         Set _x86_64_preferred_memory_instruction for AMD processsors.
81737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81738         Set bit_Prefer_SSE_for_memop for AMD processors.
81740 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81742         * libio/fmemopen.c (fmemopen): Optimize a bit.
81744 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81746         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81748 2011-03-03  Roland McGrath  <roland@redhat.com>
81750         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81752 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81754         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81755         __bzero_ultra1 instead of __memset_ultra1.
81757 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81758             Ulrich Drepper  <drepper@gmail.com>
81760         [BZ #12509]
81761         * include/link.h (struct link_map): Add l_orig_initfini.
81762         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81763         returning unsuccessfully.
81764         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81765         close of a file loaded at startup, restore the original l_initfini
81766         list.
81767         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81768         list, store the pointer.
81769         * elf/Makefile ($(objpfx)noload-mem): New rule.
81770         (noload-ENV): Define.
81771         (tests): Add $(objpfx)noload-mem.
81772         * elf/noload.c: Include <memcheck.h>.
81773         (main): Call mtrace.  Close all opened handles.
81775 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81777         [BZ #12454]
81778         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81779         dependencies are missing.
81781 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81783         Fix __if_freereq crash: Unlike the generic version which uses free,
81784         Hurd needs munmap.
81785         * sysdeps/mach/hurd/ifreq.h: New file.
81787 2011-01-27  Petr Baudis  <pasky@suse.cz>
81788             Ulrich Drepper  <drepper@gmail.com>
81790         [BZ 12445]#
81791         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81792         to extend_alloca().
81793         * stdio-common/bug23.c: New file.
81794         * stdio-common/Makefile (tests): Add bug23.
81796 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81797             Ulrich Drepper  <drepper@gmail.com>
81799         [BZ #12489]
81800         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81801         before performing relro protection.  At old place add assertion
81802         to make sure nothing changed.
81804 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81805             Glauber de Oliveira Costa  <glommer@gmail.com>
81807         * elf/elf.h: Add new ARM TLS relocs.
81809 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81812         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81813         cast from r3.
81814         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81815         'tests' variable.
81816         * sysdeps/wordsize-64/tst-writev.c: New file.
81818 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81820         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81821         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81822         insns in _dl_start to prevent a TOC reference before relocs are
81823         resolved.
81825 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81827         [BZ #12469]
81828         * Makeconfig: Remove RANLIB definition.
81829         * Makerules: Don't use RANLIB.
81830         * aclocal.m4: Remove ranlib test.
81831         * configure.in: No need to check for ranlib.
81832         * elf/rtld-Rules: Don't use RANLIB.
81834 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81836         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81837         protection macro.
81838         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81839         inclusion protection macro.
81841         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81842         SIGRTMIN and SIGRTMAX and print information in that case only when
81843         SIGRTMIN is defined.
81845 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81847         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81848         arginfo fn returning -1.
81850         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81851         and thousands string is zero terminated.
81853 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81856         sysdeps/unix/sysv/linux/bits/socket.h.
81858 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81860         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81861         (__CPU_COUNT): Remove old macros.
81862         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81863         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81864         (__CPU_ALLOC, __CPU_FREE): Add macros.
81865         (__sched_cpualloc, __sched_cpufree): Add declarations.
81867 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81869         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81870         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81871         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81872         (readdhstai): Return value of addhstaiX call.
81873         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81874         (addgrbyX): Return value returned by cache_addgr.
81875         (readdgrbyname): Return value returned by addgrbyX.
81876         (readdgrbygid): Likewise.
81877         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81878         (addpwbyX): Return value returned by cache_addpw.
81879         (readdpwbyname): Return value returned by addhstbyX.
81880         (readdpwbyuid): Likewise.
81881         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81882         (addservbyX): Return value returned by cache_addserv.
81883         (readdservbyname): Return value returned by addservbyX:
81884         (readdservbyport): Likewise.
81885         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81886         (addhstbyX): Return value returned by cache_addhst.
81887         (readdhstbyname): Return value returned by addhstbyX.
81888         (readdhstbyaddr): Likewise.
81889         (readdhstbynamev6): Likewise.
81890         (readdhstbyaddrv6): Likewise.
81891         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81892         (readdinitgroups): Return value returned by addinitgroupsX.
81893         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81894         (prune_cache): Keep track of timeout value of re-added entries.
81895         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81896         * nscd/nscd.h: Adjust prototypes of readd* functions.
81898 2011-02-04  Roland McGrath  <roland@redhat.com>
81900         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81901         (nis_stats): Likewise.
81902         * nis/nis_modify.c (nis_modify): Likewise.
81903         * nis/nis_remove.c (nis_remove): Likewise.
81904         * nis/nis_add.c (nis_add): Likewise.
81906         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81908         * posix/fnmatch_loop.c: Add some consts.
81910         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81912 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81914         [BZ #12460]
81915         * config.make.in (config-cflags-novzeroupper): Define.
81916         * configure.in: Substitute libc_cv_cc_novzeroupper.
81917         * elf/Makefile (AVX-CFLAGS): Define.
81918         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81919         (CFLAGS-tst-auditmod4a.c): Likewise.
81920         (CFLAGS-tst-auditmod4b.c): Likewise.
81921         (CFLAGS-tst-auditmod6b.c): Likewise.
81922         (CFLAGS-tst-auditmod6c.c): Likewise.
81923         (CFLAGS-tst-auditmod7b.c): Likewise.
81924         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81926 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81928         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81929         function to the callback.
81930         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81932 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81934         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81935         of errno.
81937 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81939         [BZ #11724]
81940         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81941         of constructors.
81942         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81943         of destructors.
81944         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81946         [BZ #11724]
81947         * elf/Makefile: Add rules to build and run new test.
81948         * elf/tst-initorder.c: New file.
81949         * elf/tst-initorder.exp: New file.
81950         * elf/tst-initordera1.c: New file.
81951         * elf/tst-initordera2.c: New file.
81952         * elf/tst-initordera3.c: New file.
81953         * elf/tst-initordera4.c: New file.
81954         * elf/tst-initorderb1.c: New file.
81955         * elf/tst-initorderb2.c: New file.
81956         * elf/tst-order-a1.c: New file.
81957         * elf/tst-order-a2.c: New file.
81958         * elf/tst-order-a3.c: New file.
81959         * elf/tst-order-a4.c: New file.
81960         * elf/tst-order-b1.c: New file.
81961         * elf/tst-order-b2.c: New file.
81962         * elf/tst-order-main.c: New file.
81963         New test case by George Gensure <werkt0@gmail.com>.
81965 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81968         decoding ACE if AI_CANONIDN.
81970 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81972         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81974 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81976         * version.h (RELEASE): Bump for 2.13 release.
81977         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81979         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81981         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81982         MADV_NOHUGEPAGE.
81983         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81985         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81988         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81990         * posix/getconf.c: Update copyright year.
81991         * catgets/gencat.c: Likewise.
81992         * csu/version.c: Likewise.
81993         * debug/catchsegv.sh: Likewise.
81994         * debug/xtrace.sh: Likewise.
81995         * elf/ldconfig.c: Likewise.
81996         * elf/ldd.bash.in: Likewise.
81997         * elf/sprof.c (print_version): Likewise.
81998         * iconv/iconv_prog.c: Likewise.
81999         * iconv/iconvconfig.c: Likewise.
82000         * locale/programs/locale.c: Likewise.
82001         * locale/programs/localedef.c: Likewise.
82002         * malloc/memusage.sh: Likewise.
82003         * malloc/mtrace.pl: Likewise.
82004         * nscd/nscd.c (print_version): Likewise.
82005         * nss/getent.c: Likewise.
82007         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82008         PF_CAIF, and PF_ALG.
82009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82011 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82013         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82014         (modules-names): Use them.
82015         (ifunc-test-modules, ifunc-pie-tests): Define.
82016         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82017         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82018         (test-extras): Likewise.
82019         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82020         $(compile-command.c).
82021         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82022         (all-built-dso): Define.
82023         (check-textrel.out, check-execstack.out): Depend on it.
82025         * configure.in: Don't override --enable-multi-arch.
82027 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82029         [BZ #6812]
82030         * nscd/hstcache.c (tryagain): Define.
82031         (cache_addhst): Return tryagain not notfound for temporary errors.
82032         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82033         failed.
82035 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82037         [BZ #10563]
82038         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82039         to make the syscall.
82040         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82042         [BZ #12378]
82043         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82044         and fall back to matching as normal character if the string ends before
82045         the matching ']' is found.  This is what POSIX requires.
82046         * posix/testfnm.c: Adjust test result.
82047         * posix/globtest.sh: Adjust test result.  Add new test.
82048         * posix/tst-fnmatch.input: Likewise.
82049         * posix/tst-fnmatch2.c: Add new test.
82051 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82053         * elf/Makefile (check-execstack): Revert last change.  Depend on
82054         check-execstack.h.
82055         (check-execstack.h): New target.
82056         (generated): Add check-execstack.h.
82057         * elf/check-execstack.c: Include "check-execstack.h".
82058         (main): Revert last change.
82059         (handle_file): Return zero if GNU_STACK is absent and
82060         DEFAULT_STACK_PERMS doesn't include PF_X.
82062 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82064         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82065         in child fails because the descriptor is already closed.
82066         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82067         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82068         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82070         [BZ #12397]
82071         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82072         syscall.
82074         [BZ #10484]
82075         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82076         temporary buffer used to handle multi lookups locally.
82077         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82079 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82081         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82082         loader is ld.so.
82084 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82086         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82087         alignment for SSE2.
82089 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82091         [BZ #12394]
82092         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82093         characters.  When rounding increased number of integer digits recompute
82094         number of groups.
82095         * stdio-common/tst-grouping.c: New file.
82096         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82098 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82100         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82101         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82103         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82104         void.
82105         * bits/select.h: Likewise.
82107 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82109         * po/ja.po: Update from translation team.
82111 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82113         [BZ #11155]
82114         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82115         implementation just like for lxstat, fxstatat, et al.
82117 2010-12-27  Jim Meyering  <meyering@redhat.com>
82119         [BZ #12348]
82120         * posix/regexec.c (build_trtable): Return failure indication upon
82121         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82123 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82125         [BZ #12201]
82126         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82127         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82128         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82129         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82131         [BZ #12207]
82132         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82134         [BZ #12204]
82135         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82136         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82138 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82140         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82141         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82142         script has SORT_BY_INIT_PRIORITY.
82143         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82144         NO_CTORS_DTORS_SECTIONS is defined.
82145         * elf/soinit.c: Likewise.
82146         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82147         NO_CTORS_DTORS_SECTIONS is defined.
82148         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82149         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82150         * sysdeps/sh/init-first.c: Likewise.
82151         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82153 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82155         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82156         always use the slow path.
82158 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82160         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82161         similar rule which adds the sysdep directories to the header search in
82162         order to pick up the correct platform stackinfo.h.
82163         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82164         perform test if it is, otherwise return successfully without testing.
82165         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82166         DEFAULT_STACK_PERMS define in stackinfo.h.
82167         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82168         defined in stackinfo.h.
82169         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82170         DEFAULT_STACK_PERMS defined in stackinfo.h.
82171         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82172         * sysdeps/ia64/stackinfo.h: Likewise.
82173         * sysdeps/s390/stackinfo.h: Likewise.
82174         * sysdeps/sh/stackinfo.h: Likewise.
82175         * sysdeps/sparc/stackinfo.h: Likewise.
82176         * sysdeps/x86_64/stackinfo.h: Likewise.
82177         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82178         PF_X for powerpc64.  Retain PF_X for powerpc32.
82180 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82182         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82183         accurately.
82184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82185         GETDENTS_64BIT_ALIGNED.
82187 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82189         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82191 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82193         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82194         _GNU_SOURCE.
82196         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82197         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82198         Remove __restrict.
82199         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82200         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82202 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82204         [BZ #11655]
82205         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82206         are initialized.
82208 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82210         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82212 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82214         * po/it.po: Update from translation team.
82216 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82219         unused codes.
82221 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82223         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82225 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82227         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82228         specially.
82229         (gaih_getanswer_slice): Likewise.
82231 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82235 2010-05-31  Petr Baudis  <pasky@suse.cz>
82237         [BZ #11149]
82238         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82239         silently even in the chroot mode.
82241 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82243         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82244         last patch a bit.  Pretty printing
82246 2010-05-31  Petr Baudis <pasky@suse.cz>
82248         [BZ #10085]
82249         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82250         initialization of skip_initgroups_dyn.
82252 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82254         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82257 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82259         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82261 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82263         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82264         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82265         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82266         ($(objpfx)tst-fnmatch-mem): New rule.
82267         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82268         * posix/tst-fnmatch.c (main): Call mtrace.
82270 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82273         Support Intel processor model 6 and model 0x2c.
82275 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82278           signed comparison.
82280 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82282         [BZ #12205]
82283         * string/test-strncasecmp.c (check_result): New function.
82284         (do_one_test): Use it.
82285         (check1): New function.
82286         (test_main): Use it.
82287         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82288         Support strcasecmp and strncasecmp.
82290 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82292         [BZ #12194]
82293         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82294         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82296 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82298         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82299         IFUNC support.
82300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82301         memset-x86-64.
82302         * sysdeps/x86_64/multiarch/bzero.S: New file.
82303         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82304         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82305         * sysdeps/x86_64/multiarch/memset.S: New file.
82306         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82308         Set bit_Prefer_SSE_for_memop for Intel processors.
82309         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82310         Define.
82311         (index_Prefer_SSE_for_memop): Define.
82312         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82314 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82316         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82317         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82319 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82321         [BZ #12191]
82322         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82323         (__x86_64_raw_data_cache_size_half): Likewise.
82324         (__x86_64_raw_shared_cache_size): Likewise.
82325         (__x86_64_raw_shared_cache_size_half): Likewise.
82327         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82328         (__x86_64_raw_data_cache_size_half): Likewise.
82329         (__x86_64_raw_shared_cache_size): Likewise.
82330         (__x86_64_raw_shared_cache_size_half): Likewise.
82331         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82332         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82333         and __x86_64_raw_shared_cache_size_half.  Round
82334         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82335         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82336         to multiple of 256 bytes.
82338 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82340         [BZ #12167]
82341         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82342         of inacessible symlinks.  Verify result of symlink before returning it.
82343         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82344         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82346 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82348         * math/math.h (isinf): Fix typo in comment.
82350 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82352         * po/da.po: Update from translation team.
82354 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82356         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82357         is added to the list.
82359 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82360             Ulrich Drepper  <drepper@gmail.com>
82362         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82363         the global list here.  Move code to...
82364         (_dl_add_to_namespace_list): ...here.  New function.
82365         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82366         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82367         * elf/dl-load.c (lose): Don't remove the element from the list.
82368         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82369         (_dl_map_object): Likewise.
82371 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82373         [BZ #12159]
82374         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82375         into all bytes of SSE register.
82376         Patch by Richard Li <richardpku@gmail.com>.
82378 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82380         [BZ #12140]
82381         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82382         perturbing.
82384 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82386         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82387         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82388         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82389         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82391         submachine.
82392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82394 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82396         * include/dlfcn.h (__RTLD_SECURE): Define.
82397         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82398         mode & __RTLD_SECURE instead.
82399         (open_path): Rename preloaded parameter to secure.
82400         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82401         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82402         * elf/dl-deps.c (openaux): Likewise.
82403         * elf/rtld.c (struct map_args): Remove is_preloaded.
82404         (map_doit): Don't use it.
82405         (dl_main): Likewise.
82406         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82407         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82409 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82411         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82412         (sysd-rules-targets): Remove duplicates.
82413         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82414         rtld-%.$o dependency.
82416 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82418         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82419         _dl_map_object do it.
82421 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82423         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82424         fast fma builtins, define the macros in the C99 standard.
82425         (FP_FAST_FMAF): Likewise.
82426         (FP_FAST_FMAL): Likewise.
82427         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82429         * bits/mathdef.h: Update copyright year.
82430         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82432 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82434         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82435         builtins, define the macros in the C99 standard.
82436         (FP_FAST_FMAF): Likewise.
82437         (FP_FAST_FMAL): Likewise.
82438         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82439         multiply/add.
82440         (FP_FAST_FMAF): Likewise.
82442 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82444         [BZ #3268]
82445         * math/libm-test.inc (fma_test): Some new testcases.
82446         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82448         y and infinite z.  Do multiplication by C already in long double.
82449         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82451         y and infinite z.  Do bitwise or of inexact bit into u.d.
82452         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82453         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82454         * sysdeps/i386/fpu/s_fma.S: Removed.
82455         * sysdeps/i386/fpu/s_fmal.S: Removed.
82457 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82459         [BZ #3268]
82460         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82462         computation is not scheduled after fetestexcept.  Fix value
82463         of minimum denormal long double.
82465 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82467         [BZ #3268]
82468         * math/libm-test.inc (fma_test): Add some more tests.
82469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82470         correctly.
82472 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82474         * scripts/data/localplt-s390-linux-gnu.data: New file.
82475         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82477 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82479         [BZ #3268]
82480         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82481         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82482         instead of dbl-64.
82483         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82484         inlines.
82485         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82487         if one of x and y is very large and the other is subnormal.
82488         * sysdeps/s390/fpu/s_fmaf.c: New file.
82489         * sysdeps/s390/fpu/s_fma.c: New file.
82490         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82491         * sysdeps/powerpc/fpu/s_fma.S: New file.
82492         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82493         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82494         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82496 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82498         [BZ #3268]
82499         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82500         fma tests.
82501         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82502         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82503         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82504         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82505         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82506         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82507         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82509 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82511         [BZ #12078]
82512         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82513         * posix/bug-regex31.input: Add test case.
82515 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82517         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82518         * posix/bug-regex31.input: New file.
82520         [BZ #12078]
82521         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82522         (parse_sub_exp): Fix last change, use postorder.
82524         * posix/bug-regex31.c: New file.
82525         * posix/Makefile: Add rules to build and run bug-regex31.
82527         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82529         [BZ #12078]
82530         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82532         [BZ #12108]
82533         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82534         to have entries in sys_siglist.
82536         [BZ #12093]
82537         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82538         be NULL.
82540 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82542         [BZ #3268]
82543         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82544         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82545         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82546         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82547         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82548         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82549         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82550         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82551         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82552         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82553         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82554         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82555         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82556         * math/ftestexcept.c (fetestexcept): Likewise.
82557         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82558         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82559         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82560         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82561         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82562         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82563         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82565 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82567         [BZ #12107]
82568         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82569         newline.
82571 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82573         * string/bug-strstr1.c: New file.
82574         * string/Makefile: Add rules to build and run bug-strstr1.
82576 2010-10-05  Eric Blake  <eblake@redhat.com>
82578         [BZ #12092]
82579         * string/str-two-way.h (two_way_long_needle): Always clear memory
82580         when skipping input due to the shift table.
82582 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82584         [BZ #12005]
82585         * malloc/mcheck.c: Handle large requests.
82587         [BZ #12077]
82588         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82589         for strncmp and strncasecmp.
82590         * string/stratcliff.c: Add tests for strcmp and strncmp.
82591         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82593 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82595         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82596         __set_fpscr.
82598 2010-09-30  Andreas Jaeger  <aj@suse.de>
82600         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82601         (CGROUP_SUPER_MAGIC): Define.
82602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82603         Handle btrfs and cgroup file systems.
82604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82605         Likewise.
82607 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82609         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82610         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82612 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82614         [BZ #12067]
82615         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82616         trying to locate the ELF header.
82618 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82620         [BZ #11611]
82621         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82622         Mask out sign-bit copies when constructing f_fsid.
82624 2010-09-24  Petr Baudis <pasky@suse.cz>
82626         * debug/stack_chk_fail_local.c: Add missing licence exception.
82627         * debug/warning-nop.c: Likewise.
82629 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82632         implementing getdents64 using getdents syscall, set d_type if
82633         __ASSUME_GETDENTS32_D_TYPE.
82635 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82637         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82638         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82640 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82642         [BZ #12037]
82643         * posix/unistd.h: Undo change of feature selection for ftruncate from
82644         2010-01-11.
82646 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82648         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82649         detection.
82651 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82653         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82654         fanotify_mark.
82655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82657 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82659         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82660         variables after CHECK_SP call.
82661         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82663 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82664             Ulrich Drepper  <drepper@redhat.com>
82666         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82667         re-relocationg ld.so.
82668         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82669         _dl_init_paths call.
82670         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82671         here anymore.
82673 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82675         * resolv/res_init.c (__res_vinit): Count the default server we added.
82677 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82678             Ulrich Drepper  <drepper@redhat.com>
82680         [BZ #11968]
82681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82682         (____longjmp_chk): Use %ebx for saving value across system call.
82683         Add unwind info.
82685 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82687         * manual/Makefile: Don't mix pattern rules with normal rules.
82689 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82691         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82692         operation.
82693         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82694         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82695         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82696         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82697         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82698         Likewise.
82700 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82702         [BZ #11979]
82703         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82704         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82706 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82708         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82709         * sysdeps/x86_64/addmul_1.S: Likewise.
82710         * sysdeps/x86_64/lshift.S: Likewise.
82711         * sysdeps/x86_64/mul_1.S: Likewise.
82712         * sysdeps/x86_64/rshift.S: Likewise.
82713         * sysdeps/x86_64/sub_n.S: Likewise.
82714         * sysdeps/x86_64/submul_1.S: Likewise.
82716 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82718         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82719         Define __sched_param instead of SCHED_* and sched_param when
82720         <bits/sched.h> is included with __need_schedparam defined.
82721         * bits/sched.h [__need_schedparam]
82722         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82723         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82724         (__defined_schedparam): Define to 1.
82725         (__sched_param): New structure, identical to sched_param.
82726         (__need_schedparam): Undefine.
82728 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82730         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82731         (epoll_create1): Declare.
82733         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82735 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82737         [BZ #7066]
82738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82739         shifting retval into place.
82741 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82743         * nis/rpcsvc/nis.h: Update copyright notice.
82744         * nis/rpcsvc/nis.x: Likewise.
82745         * nis/rpcsvc/nis_callback.h: Likewise.
82746         * nis/rpcsvc/nis_callback.x: Likewise.
82747         * nis/rpcsvc/nis_object.x: Likewise.
82748         * nis/rpcsvc/nis_tags.h: Likewise.
82749         * nis/rpcsvc/yp.h: Likewise.
82750         * nis/rpcsvc/yp.x: Likewise.
82751         * nis/rpcsvc/ypupd.h: Likewise.
82752         * nis/yp_xdr.c: Likewise.
82753         * nis/ypupdate_xdr.c: Likewise.
82755         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82756         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82757         (pmap_getport): Use __libc_rpc_getport.
82758         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82759         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82760         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82762 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82765         fanotify_mark.
82767 2010-08-27  Roland McGrath  <roland@redhat.com>
82769         * sysdeps/i386/i686/multiarch/Makefile
82770         (CFLAGS-varshift.c): New variable.
82772 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82774         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82775         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82779         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82781 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82783         * sysdeps/x86_64/strlen.S: Unroll the loop.
82784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82785         strlen-sse2 strlen-sse2-bsf.
82786         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82787         __strlen_no_bsf if bit_Slow_BSF is set.
82788         (__strlen_sse42): Removed.
82789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82790         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82792 2010-08-25  Roland McGrath  <roland@redhat.com>
82794         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82795         * sysdeps/x86_64/multiarch/varshift.c: New file.
82796         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82797         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82798         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82801 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82804         strlen-sse2 strlen-sse2-bsf.
82805         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82806         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82807         (__strlen_sse2): Removed.
82808         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82811         bit_Slow_BSF for Atom.
82812         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82813         (index_Slow_BSF): Define.
82814         (HAS_SLOW_BSF): Define.
82816 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82818         [BZ #10851]
82819         * resolv/res_init.c (__res_vinit): When no server address at all
82820         is given default to loopback.
82822 2010-08-24  Roland McGrath  <roland@redhat.com>
82824         * configure.in: Remove config-name.h generation.
82825         * configure: Regenerated.
82826         * config-name.in: File removed.
82827         * scripts/config-uname.sh: New file.
82828         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82829         ($(objdir)config-name.h): New target.
82831         * sunrpc/rpc_parse.h: Avoid nested comment.
82833 2010-08-24  Richard Henderson  <rth@redhat.com>
82834             Ulrich Drepper  <drepper@redhat.com>
82835             H.J. Lu  <hongjiu.lu@intel.com>
82837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82839         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82840         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82841         _mm_alignr_epi8 with _mm_loadu_si128.
82842         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82843         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82844         (__m128i_shift_right): Removed.
82845         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82846         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82847         * sysdeps/x86_64/multiarch/varshift.h: New file.
82848         * sysdeps/x86_64/multiarch/varshift.S: New file.
82850 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82852         * configure.in: Move assembler checks to before sysdep dir checking.
82854 2010-08-20  Petr Baudis  <pasky@suse.cz>
82856         * LICENSES: Sync the sunrpc license.
82858 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82860         * sunrpc/auth_des.c: Update copyright notice once again.
82861         * sunrpc/auth_none.c: Likewise.
82862         * sunrpc/auth_unix.c: Likewise.
82863         * sunrpc/authdes_prot.c: Likewise.
82864         * sunrpc/authuxprot.c: Likewise.
82865         * sunrpc/bindrsvprt.c: Likewise.
82866         * sunrpc/clnt_gen.c: Likewise.
82867         * sunrpc/clnt_perr.c: Likewise.
82868         * sunrpc/clnt_raw.c: Likewise.
82869         * sunrpc/clnt_simp.c: Likewise.
82870         * sunrpc/clnt_tcp.c: Likewise.
82871         * sunrpc/clnt_udp.c: Likewise.
82872         * sunrpc/clnt_unix.c: Likewise.
82873         * sunrpc/des_crypt.c: Likewise.
82874         * sunrpc/des_soft.c: Likewise.
82875         * sunrpc/get_myaddr.c: Likewise.
82876         * sunrpc/getrpcport.c: Likewise.
82877         * sunrpc/key_call.c: Likewise.
82878         * sunrpc/key_prot.c: Likewise.
82879         * sunrpc/openchild.c: Likewise.
82880         * sunrpc/pm_getmaps.c: Likewise.
82881         * sunrpc/pm_getport.c: Likewise.
82882         * sunrpc/pmap_clnt.c: Likewise.
82883         * sunrpc/pmap_prot.c: Likewise.
82884         * sunrpc/pmap_prot2.c: Likewise.
82885         * sunrpc/pmap_rmt.c: Likewise.
82886         * sunrpc/rpc/auth.h: Likewise.
82887         * sunrpc/rpc/auth_unix.h: Likewise.
82888         * sunrpc/rpc/clnt.h: Likewise.
82889         * sunrpc/rpc/des_crypt.h: Likewise.
82890         * sunrpc/rpc/key_prot.h: Likewise.
82891         * sunrpc/rpc/netdb.h: Likewise.
82892         * sunrpc/rpc/pmap_clnt.h: Likewise.
82893         * sunrpc/rpc/pmap_prot.h: Likewise.
82894         * sunrpc/rpc/pmap_rmt.h: Likewise.
82895         * sunrpc/rpc/rpc.h: Likewise.
82896         * sunrpc/rpc/rpc_des.h: Likewise.
82897         * sunrpc/rpc/rpc_msg.h: Likewise.
82898         * sunrpc/rpc/svc.h: Likewise.
82899         * sunrpc/rpc/svc_auth.h: Likewise.
82900         * sunrpc/rpc/types.h: Likewise.
82901         * sunrpc/rpc/xdr.h: Likewise.
82902         * sunrpc/rpc_clntout.c: Likewise.
82903         * sunrpc/rpc_cmsg.c: Likewise.
82904         * sunrpc/rpc_common.c: Likewise.
82905         * sunrpc/rpc_cout.c: Likewise.
82906         * sunrpc/rpc_dtable.c: Likewise.
82907         * sunrpc/rpc_hout.c: Likewise.
82908         * sunrpc/rpc_main.c: Likewise.
82909         * sunrpc/rpc_parse.c: Likewise.
82910         * sunrpc/rpc_parse.h: Likewise.
82911         * sunrpc/rpc_prot.c: Likewise.
82912         * sunrpc/rpc_sample.c: Likewise.
82913         * sunrpc/rpc_scan.c: Likewise.
82914         * sunrpc/rpc_scan.h: Likewise.
82915         * sunrpc/rpc_svcout.c: Likewise.
82916         * sunrpc/rpc_tblout.c: Likewise.
82917         * sunrpc/rpc_util.c: Likewise.
82918         * sunrpc/rpc_util.h: Likewise.
82919         * sunrpc/rpcinfo.c: Likewise.
82920         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82921         * sunrpc/rpcsvc/key_prot.x: Likewise.
82922         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82923         * sunrpc/rpcsvc/mount.x: Likewise.
82924         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82925         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82926         * sunrpc/rpcsvc/rex.x: Likewise.
82927         * sunrpc/rpcsvc/rstat.x: Likewise.
82928         * sunrpc/rpcsvc/rusers.x: Likewise.
82929         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82930         * sunrpc/rpcsvc/spray.x: Likewise.
82931         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82932         * sunrpc/rtime.c: Likewise.
82933         * sunrpc/svc.c: Likewise.
82934         * sunrpc/svc_auth.c: Likewise.
82935         * sunrpc/svc_authux.c: Likewise.
82936         * sunrpc/svc_raw.c: Likewise.
82937         * sunrpc/svc_run.c: Likewise.
82938         * sunrpc/svc_simple.c: Likewise.
82939         * sunrpc/svc_tcp.c: Likewise.
82940         * sunrpc/svc_udp.c: Likewise.
82941         * sunrpc/svc_unix.c: Likewise.
82942         * sunrpc/svcauth_des.c: Likewise.
82943         * sunrpc/xcrypt.c: Likewise.
82944         * sunrpc/xdr.c: Likewise.
82945         * sunrpc/xdr_array.c: Likewise.
82946         * sunrpc/xdr_float.c: Likewise.
82947         * sunrpc/xdr_mem.c: Likewise.
82948         * sunrpc/xdr_rec.c: Likewise.
82949         * sunrpc/xdr_ref.c: Likewise.
82950         * sunrpc/xdr_sizeof.c: Likewise.
82951         * sunrpc/xdr_stdio.c: Likewise.
82953         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82954         handling.
82956 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82958         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82960 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82962         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82963         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82964         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82965         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82967         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82968         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82969         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82970         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82971         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82972         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82973         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82974         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82975         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82977 2010-07-26  Anton Blanchard  <anton@samba.org>
82979         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82980         * malloc/arena.c (heap_trim): Likewise.
82982 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82984         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82985         here.  Not...
82986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82987         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82989 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82991         * sysdeps/i386/elf/Makefile: New file.
82993 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82995         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82996         from fanotify_init.
82997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83000 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83002         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83003         of strncasecmp_l.
83004         * sysdeps/multiarch/strcmp.S: Likewise.
83006 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83008         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83009         strncase_l-nonascii.
83010         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83011         Add strncase_l-ssse3.
83012         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83013         * sysdeps/x86_64/strcmp.S: Likewise.
83014         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83015         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83016         * sysdeps/x86_64/strncase.S: New file.
83017         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83018         * sysdeps/x86_64/strncase_l.S: New file.
83019         * string/Makefile (strop-tests): Add strncasecmp.
83020         * string/test-strncasecmp.c: New file.
83022         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83023         warning.
83025         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83026         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83028 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83030         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83032 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83034         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83036         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83038 2010-05-01  Alan Modra  <amodra@gmail.com>
83040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83041         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83042         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83043         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83044         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83045         tidying.  Don't tail-call __sigjmp_save for static lib.
83046         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83047         save location.
83048         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83049         (CALL_MCOUNT): Add eh info, and nop after bl.
83050         (TAIL_CALL_SYSCALL_ERROR): New macro.
83051         (PSEUDO_RET): Use it.
83052         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83053         Correct save location of integer regs and cr.
83054         (_dl_profile_resolve): Correct cr save location.  Delete nops
83055         after bl when SHARED.  Reduce cfi size a little by better
83056         placement of cfi directives.
83057         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83058         make a stack frame.  Instead use parm save area as a temp.
83059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83060         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83062         Don't make a stack frame for parent, use parm save area.
83063         Increase child stack frame to 112 bytes.  Don't save unused reg,
83064         and adjust reg usage.  Set up cfi on error recovery and
83065         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83067         (__makecontext): Add dummy nop after jump to exit.
83068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83069         Use correct parm save area and cr save, reduce stack frame.
83070         Correct cfi for possible PSEUDO_RET frame setup.
83071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83072         Branch to local label emitted by PSEUDO_RET rather than
83073         __syscall_error.
83075 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83077         [BZ #11904]
83078         * locale/programs/locale.c (print_assignment): New function.
83079         (show_locale_vars): Use it.
83081 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83083         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83084         field.
83085         (struct statfs64): Likewise.
83086         (_STATFS_F_FLAGS): Define.
83087         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83089         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83090         (ST_VALID): Define locally.
83091         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83092         __statvfs_getflags, use the provided value.
83093         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83094         __ASSUME_STATFS_F_FLAGS.
83096         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83098         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83099         Add sys/fanotify.h.
83100         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83101         fanotify_mask for GLIBC_2.13.
83102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83103         fanotify_init and fanotify_mark.
83104         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83105         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83107         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83108         Add prlimit.
83109         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83110         prlimit64 for GLIBC_2.13.
83111         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83112         prlimit64.
83113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83114         syscall.
83115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83117         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83120         add prlimit alias.
83121         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83123         [BZ #11903]
83124         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83125         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83127         * nss/Makefile: Add rules to build and run tst-nss-test1.
83128         * shlib-versions: Add entry for libnss_test1.
83129         * nss/nss_test1.c: New file.
83130         * nss/tst-nss-test1.c: New file.
83132         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83133         (__nss_configure_lookup): Set appropriate entry in
83134         __nss_configure_lookup to true.
83135         * nss/nsswitch.h: Define enum with indeces of databases in
83136         databases and __nss_database_custom arrays.  Declare
83137         __nss_database_custom.
83138         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83139         to avoid using nscd when custom rules are installed.
83140         * nss/getXXbyYY_r.c: Likewise.
83141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83143         * nss/nss_files/files-parse.c: Whitespace fixes.
83145 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83147         [BZ #11883]
83148         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83149         * posix/fnmatch_loop.c: Likewise.
83151 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83153         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83154         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83155         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83156         * Versions.def [GLIBC_2.13]: Add.
83158 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83160         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83161         Also fail if tpwd after pwuid call is NULL.
83163 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83165         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83166         when converting to ms.
83168 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83170         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83171         EOPNOTSUPP errors with ENOTTY.
83172         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83173         EOPNOTSUPP errors with ENOTTY.
83175 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83177         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83178         Add strcasecmp_l-ssse3.
83179         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83180         strcasecmp.
83181         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83182         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83183         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83185 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83187         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83189         * string/Makefile (strop-tests): Add strcasecmp.
83190         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83191         strcasecmp_l-nonascii.
83192         (gen-as-const-headers): Add locale-defines.sym.
83193         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83194         * sysdeps/x86_64/strcasecmp.S: New file.
83195         * sysdeps/x86_64/strcasecmp_l.S: New file.
83196         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83197         * sysdeps/x86_64/locale-defines.sym: New file.
83198         * string/test-strcasecmp.c: New file.
83200         * string/test-strcasestr.c: Test both ends of the range of characters.
83201         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83203 2010-07-29  Roland McGrath  <roland@redhat.com>
83205         [BZ #11856]
83206         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83208 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83210         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83211         for ld.so.
83213 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83215         * manual/memory.texi (Malloc Tunable Parameters): Document
83216         M_PERTURB.
83218 2010-07-26  Roland McGrath  <roland@redhat.com>
83220         [BZ #11840]
83221         * configure.in (-fgnu89-inline check): Set and substitute
83222         gnu89_inline, not libc_cv_gnu89_inline.
83223         * configure: Regenerated.
83224         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83226 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83228         * string/test-strnlen.c: New file.
83229         * string/Makefile (strop-tests): Add strnlen.
83230         * string/tester.c (test_strnlen): Add a few more test cases.
83231         * string/tst-strlen.c: Better error reporting.
83233         * sysdeps/x86_64/strnlen.S: New file.
83235 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83237         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83238         lower-latency instructions.
83240 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83242         * string/test-strcasestr.c: New file.
83243         * string/test-strstr.c: New file.
83244         * string/Makefile (strop-tests): Add strstr and strcasestr.
83245         * string/str-two-way.h: Don't undefine MAX.
83246         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83248 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83251         strcasestr-nonascii.
83252         (CFLAGS-strcasestr-nonascii.c): Define.
83253         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83254         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83255         Remove unused attribute.
83257 2010-07-20  Roland McGrath  <roland@redhat.com>
83259         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83260         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83261         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83262         like LD_HWCAP_MASK can disable hwcaps.
83264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83266         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83268 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83270         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83271         call in strcasestr.
83272         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83273         __strcasestr_sse42_nonascii.
83274         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83275         strcasestr-nonascii.c.
83276         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83278 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83281         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83282         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83283         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83285 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83288         fcntl.
83290 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83292         [BZ #11577]
83293         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83294         dl_signal_cerror.
83296 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83298         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83299         _PC_PIPE_BUF using F_GETPIPE_SZ.
83301 2010-07-05  Roland McGrath  <roland@redhat.com>
83303         * manual/arith.texi (Rounding Functions): Fix rint description
83304         implicit in round description.
83306 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83308         * elf/Makefile: Fix linking for a few tests to make recent linker
83309         happy.
83311 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83313         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83314         $(common-objpfx)libc_nonshared.a.
83316 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83318         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83319         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83320         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83321         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83322         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83323         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83324         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83325         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83340         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83341         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83342         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83343         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83344         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83345         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83346         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83347         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83348         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83349         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83350         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83351         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83367 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83369         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83370         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83371         * string/memmove.c (memmove): Renamed to ...
83372         (MEMMOVE): ...this.  Default to memmove.
83373         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83374         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83375         (END_CHK): Define.
83376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83377         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83378         mempcpy-ssse3-back memmove-ssse3-back.
83379         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83382         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83383         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83384         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83385         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83386         * sysdeps/x86_64/multiarch/memmove.c: New file.
83387         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83388         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83389         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83390         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83391         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83392         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83393         Define.
83394         (index_Fast_Copy_Backward): Define.
83395         (HAS_ARCH_FEATURE): Define.
83396         (HAS_FAST_REP_STRING): Define.
83397         (HAS_FAST_COPY_BACKWARD): Define.
83399 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83402         Restore proper fallback handling.
83404 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83406         [BZ #11701]
83407         * posix/group_member.c (__group_member): Correct checking loop.
83409         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83410         OOM in getpwuid_r correctly.  Return error number when the caller
83411         should return, otherwise -1.
83412         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83413         call returning > 0 value.
83414         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83416 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83418         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83419         libc_nonshared.a from targets in modules-names.
83421 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83423         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83424         requires it.
83426 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83429         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83430         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83431         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83433 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83435         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83437 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83439         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83440         and F_GETPIPE_SZ.
83441         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83445         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83446         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83448 2010-06-14  Roland McGrath  <roland@redhat.com>
83450         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83452 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83454         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83455         __REDIRECT followed by __THROW.
83456         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83457         * posix/getopt.h (getopt): Likewise.
83459 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83461         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83462         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83463         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83464         in AT_FLAGS.
83465         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83466         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83468 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83472 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83474         [BZ #11640]
83475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83476         Properly check family and model.
83478 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83480         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83482 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83484         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83486 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83488         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83489         symbol reference.
83491 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83493         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83494         symbol reference.
83496 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83498         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83499         and internal_recvmmsg.
83500         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83503         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83505         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83506         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83507         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83509 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83511         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83513 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83515         POWER7 optimizations.
83516         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83517         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83519 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83521         * version.h: Update for 2.13 development version.
83523 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83525         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83526         exceptions.  Return 0.
83528 2010-05-07  Roland McGrath  <roland@redhat.com>
83530         * elf/ldconfig.c (main): Add a const.
83532 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83534         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83535         (args_options): Add no-idn option.
83536         (ahosts_keys_int): Add idn_flags to ai_flags.
83537         (parse_option): Handle 'i' option to clear idn_flags.
83539         * malloc/malloc.c (_int_free): Possible race in the most recently
83540         added check.  Only act on the data if no current modification
83541         happened.
83543 See ChangeLog.17 for earlier changes.