Define FE_SNANS_ALWAYS_SIGNAL.
[glibc.git] / ChangeLog
blobd15b06d668b3ca6e2f579f2b6d43ec810fd459d8
1 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3         * math/fenv.h
4         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6         * math/test-fe-snans-always-signal.c: New file.
7         * math/Makefile (tests): Add test-fe-snans-always-signal.
8         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9         * manual/arith.texi (Infinity and NaN): Document
10         FE_SNANS_ALWAYS_SIGNAL.
12 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
15         bracket.
17 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
19         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
20         before calling execv.
22 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24         [BZ# 20971]
25         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
26         overflow in pointer addition.
27         * string/test-memchr.c (do_test): Add an argument to pass as
28         the size on memchr.
29         (test_main): Add check for SIZE_MAX.
31 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
33         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
34         (libm-calls): Add w_scalblnF.
35         * math/w_scalbln.c: Remove.
36         * math/w_scalblnf.c: Likewise.
37         * math/w_scalblnl.c: Likewise.
38         * math/w_scalbln_template.c: New file with type-generic
39         implementation based on math/w_scalbln.c.
40         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
41         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
43 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
45         [BZ #20947]
46         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
47         either is a signaling NaN.
48         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
49         follow fmaxl more closely.
50         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
51         when either is a signaling NaN.
52         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
53         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
54         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
55         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
56         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
57         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
58         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
59         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
60         (fmin_test_data): Likewise.
62 2016-12-15  Andreas Schwab  <schwab@suse.de>
64         * support/support_test_main.c (support_test_main): Don't shadow
65         file-local variable test_pid.
67 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #20947]
70         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
71         either is a signaling NaN.
72         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
74 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #20947]
77         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
78         when either is a signaling NaN.
79         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
81         * bits/long-double.h: New file.
82         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
83         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
84         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
85         * sysdeps/mips/bits/long-double.h: Likewise.
86         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
87         * math/Makefile (headers): Add bits/long-double.h.
88         * misc/sys/cdefs.h: Include <bits/long-double.h>.
89         * stdlib/strtold.c: Include <bits/long-double.h> instead of
90         <bits/wordsize.h>.
91         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
92         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
93         * math/math.h: Do not include <bits/mathdef.h>.
94         * sysdeps/aarch64/bits/mathdef.h: Remove file.
95         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
96         inclusion.
97         * sysdeps/ia64/bits/mathdef.h: Remove file.
98         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
99         * sysdeps/mips/bits/mathdef.h: Likewise.
100         * sysdeps/powerpc/bits/mathdef.h: Likewise.
101         * sysdeps/s390/bits/mathdef.h: Likewise.
102         * sysdeps/sparc/bits/mathdef.h: Likewise.
103         * sysdeps/x86/bits/mathdef.h: Likewise.
104         * sysdeps/s390/s390-32/bits/wordsize.h
105         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
106         conditional code.
107         * sysdeps/s390/s390-64/bits/wordsize.h
108         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
109         Likewise.
110         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
111         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
112         Likewise.
113         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
114         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
115         Likewise.
116         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
117         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
118         Likewise.
120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
121         <linux/falloc.h>.
122         (FALLOC_FL_KEEP_SIZE): Remove.
123         (FALLOC_FL_PUNCH_HOLE): Likewise.
124         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
125         (FALLOC_FL_ZERO_RANGE): Likewise.
127 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
129         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
131 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
133         * sysdeps/unix/sysv/linux/renameat.c: New file.
134         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
136         * sysdeps/unix/sysv/linux/rename.c: New file.
137         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
139 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
141         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
142         * string/strtok.c (strtok): Change to tailcall __strtok_r.
143         * string/strtok_r.c (__strtok_r): Optimize for performance.
144         * string/string-inlines.c (__old_strtok_r_1c): New function.
145         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
147 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
149         * math/Makefile (gen-libm-calls): Add w_log1pF.
150         (libm-calls): Remove w_log1pF.
151         * math/w_log1p.c: Remove.
152         * math/w_log1pf.c: Likewise.
153         * math/w_log1pl.c: Likewise.
154         * math/w_log1p_template.c: New file with type-generic
155         implementation based on math/w_log1p.c.
156         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
157         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
159 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
161         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
163 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
165         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
166         kernel version to 4.9.
168 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
170         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
171         ($(inst_libdir)/libm.a): Fix rule to create the target only.
173 2016-12-13  Andreas Schwab  <schwab@suse.de>
175         * sysdeps/powerpc/dl-procinfo.c: Don't define
176         _dl_powerpc_platforms.
177         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
178         constants instead of referencing _dl_powerpc_platforms.
179         (_dl_platform_string): Remove.
181 2016-12-13  Florian Weimer  <fweimer@redhat.com>
183         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
185 2016-12-13  Florian Weimer  <fweimer@redhat.com>
187         * Rules (binaries-shared-tests, binaries-pie-tests)
188         (binaries-static-tests): Link with $(link-extra-libs-tests).
189         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
190         Remove $(link-extra-libs-tests).
192 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
194         * sysdeps/powerpc/powerpc64/multiarch/Makefile
195         (sysdep_routines): Add strncmp_power9.
196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
197         (strncmp): Add __strncmp_power9 to list of strncmp functions.
198         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
199         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
200         (strncmp): Add __strncmp_power9 to ifunc list.
201         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
203 2016-12-12  Florian Weimer  <fweimer@redhat.com>
205         [BZ #17252]
206         Add getentropy, getrandom.
207         * stdlib/sys/random.h: New file.
208         (headers): Add it.
209         * stdlib/Makefile (routines): Add getentropy, getrandom.
210         (tests): Add tst-getrandom.
211         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
212         * stdlib/getentropy.c: New file.
213         * stdlib/getrandom.c: Likewise.
214         * stdlib/tst-getrandom.c: Likewise.
215         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
216         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
217         * manual/crypt.texi (Unpredictable Bytes): New section.
218         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
219         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
220         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
224         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
225         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
226         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
227         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
228         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
230         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
232         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
233         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
235         Likewise.
236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
237         Likewise.
238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
240         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
241         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
242         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
243         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
244         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
247         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
248         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
249         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
251 2016-12-10  Florian Weimer  <fweimer@redhat.com>
253         [BZ #20956]
254         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
255         as additional compiler barriers.
256         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
257         (fn2, do_test): Declare with external linkage.
258         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
259         (do_test): Declare with external linkage.
260         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
261         (do_test): Declare with external linkage.
262         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
263         (do_test): Declare with external linkage.
265 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
267         * support/support_test_main.c (support_test_main): Use correct
268         timeout.
270 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
271             Florian Weimer  <fweimer@redhat.com>
273         [BZ #16421]
274         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
275         and __u6_addr32 members.
276         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
277         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
278         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
279         Use __u6_addr32.
280         * inet/tst-checks.c: Use <support/test-driver.c>
281         * inet/tst-checks-posix.c: New file.
282         * inet/Makefile (tests): Add it.
283         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
285 2016-12-09  Florian Weimer  <fweimer@redhat.com>
287         New subdirectory support for build and test infrastructure.
288         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
289         setting install-lib.
290         * Makeconfig (link-extra-libs-tests): Define.
291         (+link-pie-tests, +link-static-tests, +link-tests): Use
292         link-extra-libs-tests.
293         (rpath-dirs, all-subdirs): Add support.
294         (built-modules): Add libsupport.
295         (libsupport): Define.
296         * support: New directory.
297         * support/Makefile: New file.
298         * support/check.c: Likewise.
299         * support/check.h: Likewise.
300         * support/delayed_exit.c: Likewise.
301         * support/ignore_stderr.c: Likewise.
302         * support/oom_error.c: Likewise.
303         * support/set_fortify_handler.c: Likewise.
304         * support/support.h: Likewise.
305         * support/temp_file-internal.h: Likewise.
306         * support/temp_file.c: Likewise.
307         * support/test-driver.c: Likewise.
308         * support/test-driver.h: Likewise.
309         * support/test_main.c: Likewise.
310         * support/write_message.c: Likewise.
311         * support/xasprintf.c: Likewise.
312         * support/xcalloc.c: Likewise.
313         * support/xmalloc.c: Likewise.
314         * support/xpthread_barrier_destroy.c: Likewise.
315         * support/xpthread_barrier_init.c: Likewise.
316         * support/xpthread_barrier_wait.c: Likewise.
317         * support/xpthread_cancel.c: Likewise.
318         * support/xpthread_check_return.c: Likewise.
319         * support/xpthread_cond_wait.c: Likewise.
320         * support/xpthread_create.c: Likewise.
321         * support/xpthread_detach.c: Likewise.
322         * support/xpthread_join.c: Likewise.
323         * support/xpthread_mutex_lock.c: Likewise.
324         * support/xpthread_mutex_unlock.c: Likewise.
325         * support/xpthread_sigmask.c: Likewise.
326         * support/xpthread_spin_lock.c: Likewise.
327         * support/xpthread_spin_unlock.c: Likewise.
328         * support/xrealloc.c: Likweise.
329         * support/xsignal.h: Likewise.
330         * support/xthread.h: Likewise.
331         * support_tempfile.h: Likewise.
332         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
333         (TEST_DATA_LIMIT): Remove unused macro.
334         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
335         <support/check.h>.
336         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
337         (ignore_stderr, set_fortify_handler): Remove.  Now in
338         <support/support.h>.
339         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
340         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
341         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
342         (xpthread_join): Remove.  Now in <support/xthread.h>.
343         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
344         Introduce legacy wrappers.
345         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
346         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
347         (write_message): Remove.
348         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
349         test-skeleton.c.
350         * io/test-open-tmpfile: Likewise.
351         * io/tst-posix_fallocate-common.c: Likewise.
352         * libio/tst-fseek.c: Likewise.
353         * malloc/tst-malloc-backtrace.c: Likewise.
354         * malloc/tst-malloc-fork-deadlock.c: Likewise.
355         * malloc/tst-malloc-thread-exit.c: Likewise.
356         * nptl/tst-cancel7.c: Likewise.
357         * nptl/tst-cleanup0.c: Likewise.
358         * posix/tst-posix_fadvise-common.c: Likewise.
359         * rt/tst-shm.c: Likewise.
360         * time/bug-getdate1.c: Likewise.
361         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
362         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
363         * elf/Makefile (tst-piemod1.so): Link against libsupport.
365 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
367         * Rules [$(run-built-tests) != no] (tests-expected): Add
368         $(tests-printers).
369         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
371 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
373         [BZ #20539]
374         * math/Makefile (install-lib-ldscripts): Add libm.a.
375         (install_subdir): Remove.
376         (install-others): Add.
377         ($(inst_libdir)/libm.a): Add rule for installation as
378         linker script.
379         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
381 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
383         * INSTALL: Regenerated.
384         * Makeconfig: Add comments and whitespace to make the control flow
385         clearer.
386         (+link-printers-tests, +link-pie-printers-tests,
387         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
388         built-rtld-LDFLAGS, link-libc-rpath,
389         link-libc-tests-after-rpath-link,
390         link-libc-printers-tests): New.
391         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
392         link-libc-tests): Use the new variables as required.
393         * Makerules ($(py-const)): New rule.
394         generated: Add $(py-const).
395         * README.pretty-printers: New file.
396         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
397         (others): Depend on $(py-const).
398         (tests): Depend on $(tests-printers-programs) or
399         $(tests-printers-out),
400         as required.  Pass $(tests-printers) to merge-test-results.sh.
401         * manual/install.texi: Add requirements for testing the pretty
402         printers.
403         * nptl/Makefile (gen-py-const-headers, pretty-printers,
404         tests-printers, CFLAGS-test-mutexattr-printers.c
405         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
406         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
407         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
408         * nptl/nptl-printers.py: New file.
409         * nptl/nptl_lock_constants.pysym: Likewise.
410         * nptl/test-cond-printers.c: Likewise.
411         * nptl/test-cond-printers.py: Likewise.
412         * nptl/test-condattr-printers.c: Likewise.
413         * nptl/test-condattr-printers.py: Likewise.
414         * nptl/test-mutex-printers.c: Likewise.
415         * nptl/test-mutex-printers.py: Likewise.
416         * nptl/test-mutexattr-printers.c: Likewise.
417         * nptl/test-mutexattr-printers.py: Likewise.
418         * nptl/test-rwlock-printers.c: Likewise.
419         * nptl/test-rwlock-printers.py: Likewise.
420         * nptl/test-rwlockattr-printers.c: Likewise.
421         * nptl/test-rwlockattr-printers.py: Likewise.
422         * scripts/gen-py-const.awk: Likewise.
423         * scripts/test_printers_common.py: Likewise.
424         * scripts/test_printers_exceptions.py: Likewise.
426 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
428         * scripts/build-many-glibcs.py (Context.__init__): Take strip
429         argument.
430         (Glibc.build_glibc): Strip installed shared libraries if
431         requested.
432         (get_parser): Add --strip option.
433         (main): Update Context call.
435 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
436             Dominik Vogt  <vogt@linux.vnet.ibm.com>
438         [BZ #20847]
439         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
440         array bounds for else branch.
441         (__execvpe): Style fixes.
442         * posix/tst-vfork3.c (run_script): New function.
443         (create_script): Likewise.
444         (do_test): Use run_script internal function.
445         (do_prepare): Use create_script internal function.
447 2016-12-07  Andreas Schwab  <schwab@suse.de>
449         * sysdeps/unix/sysv/linux/x86/elision-conf.h
450         (__elision_available): Don't declare.
451         * sysdeps/unix/sysv/linux/x86/elision-conf.c
452         (__elision_available): Don't define.
453         (elision_init): Don't set __elision_available.
455 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #20940]
458         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
459         return Inf for arguments Inf and sNaN.
460         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
461         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
462         Likewise.
463         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
464         Likewise.
465         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
466         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
467         for arguments Inf and sNaN.  When returning a NaN, compute it by
468         arithmetic on the arguments.
469         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
470         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
471         arguments.
473 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
475         [BZ #20916]
476         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
477         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
478         to compute result.
479         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
480         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
482 2016-12-05  Torvald Riegel  <triegel@redhat.com>
484         * include/atomic.h (__atomic_check_size_ls): New.
485         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
486         atomic_store_release): Use it.
487         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
488         (elision_adapt, ELIDE_LOCK): Use atomics.
489         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
490         atomics and improve code comments.
491         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
492         (__lll_trylock_elision): Likewise.
494 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
496         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
497         programs.
499 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
501         [BZ #20916]
502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
503         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
504         arguments to compute result.
505         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
506         1 for arguments (sNaN, 0) or (1, sNaN).
507         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
508         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
510         [BZ #20919]
511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
512         NaN first argument when raised to power 0.
513         * math/w_pow.c (__pow): Do not check for NaN or zero results from
514         raising to power zero.
515         * math/w_powf.c (__powf): Likewise.
516         * math/w_powl.c (__powl): Likewise.
517         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
518         pow (0, 0) or pow (NaN, 0).
520 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
522         [BZ #20918]
523         * configure.ac: Test for static NSS cryptographic libraries and set
524         libc_cv_static_nss_crypt.
525         * configure: Regenerate.
526         * config.make.in (static-nss-crypt): Define.
527         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
528         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
529         (CFLAGS-tst-linkall-static.c): Define.
530         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
531         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
532         ($(objpfx)tst-linkall-static): Define.
533         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
534         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
536 2016-12-02  Florian Weimer  <fweimer@redhat.com>
538         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
539         (one-hundred, tst-tls-many-dynamic-modules): Define.
540         (modules-names): Add $(tst-tls-many-dynamic-modules).
541         (tst-tls-manydynamic%mod.os): Build with special preprocessor
542         macros.
543         (tst-tls-manydynamic): Link against libdl, libpthread.
544         (tst-tls-manydynamic.out): The test needs the test modules at run
545         time.
546         * elf/tst-tls-manydynamic.c: New file.
547         * elf/tst-tls-manydynamic.h: Likewise.
548         * elf/tst-tls-manydynamicmod.c: Likewise.
550 2016-12-02  Florian Weimer  <fweimer@redhat.com>
552         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
553         (TLS_DTV_UNALLOCATED): Add.
554         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
555         offsets.
557 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
559         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
561 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
563         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
564         Add -fno-optimize-sibling-calls.
566 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
568         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
569         New declaration.
570         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
571         macro.
572         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
573         New macro.
574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
576         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
577         (llogbf): Likewise.
578         (llogbl): Likewise.
579         * math/Makefile (gen-libm-calls): Add w_llogbF.
580         (tests): Add test-fp-llogb-constants.
581         * math/w_llogb_template.c: New file.  Based on
582         math/w_ilogb_template.c.
583         * math/libm-test.inc (llogb_test_data): New array.
584         (llogb_test): New function.
585         (main): Call llogb_test.
586         * math/test-fp-llogb-constants.c: New file.  Based on
587         math/test-fp-ilogb-constants.c.
588         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
589         (do_test): Call check_return_llogb.
590         * math/test-tgmath.c (NCALLS): Increase to 126.
591         (F(compile_test)): Call llogb.
592         (F(llogb)): New function.
593         * manual/math.texi (Exponents and Logarithms): Document llogb,
594         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
595         * manual/libm-err-tab.pl (@all_functions): Add llogb.
596         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
597         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
598         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
599         (CFLAGS-nldbl-llogb.c): New variable.
600         * sysdeps/nacl/libm.abilist: Update.
601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
614         Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
616         Likewise.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
618         Likewise.
619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
620         Likewise.
621         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
627         Likewise.
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
629         Likewise.
630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
634 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
636         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
637         _Float128 instead of long double.
638         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
640         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
641         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
642         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
643         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
644         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
645         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
646         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
647         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
648         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
649         Likewise.
651 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
653         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
654         Remove redirection to __strrchr_ppc.
656 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
658         * sysdeps/powerpc/powerpc64/multiarch/Makefile
659         (sysdep_routines): Add strcmp_power9.
660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
661         (strcmp): Add __strcmp_power9 to list of strcmp functions.
662         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
663         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
664         (strcmp): Add __strcmp_power9 to ifunc list.
665         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
667 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
669         * bits/fp-logb.h: New file.
670         * sysdeps/ia64/bits/fp-logb.h: Likewise.
671         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
672         * sysdeps/x86/bits/fp-logb.h: Likewise.
673         * math/Makefile (headers): Add bits/fp-logb.h.
674         * math/math.h: Include <bits/fp-logb.h>.
675         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
676         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
677         * bits/mathdef.h (FP_ILOGB0): Remove.
678         (FP_ILOGBNAN): Likewise.
679         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
680         (FP_ILOGBNAN): Likewise.
681         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
682         (FP_ILOGBNAN): Likewise.
683         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
684         (FP_ILOGBNAN): Likewise.
685         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
686         (FP_ILOGBNAN): Likewise.
687         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
688         (FP_ILOGBNAN): Likewise.
689         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
690         (FP_ILOGBNAN): Likewise.
691         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
692         (FP_ILOGBNAN): Likewise.
693         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
694         (FP_ILOGBNAN): Likewise.
695         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
696         (FP_ILOGBNAN): Likewise.
698         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
699         time module.
700         (Context.__init__): Initialize self.logsdir_old.
701         (Context.run_builds): Handle bot action.
702         (Context.bot_cycle): Copy logs directory before running builds.
703         (Context.bot_run_self): Take argument for whether to check
704         subprocess result.  Flush stdout before running subprocess.
705         (Context.bot): New function.
706         (get_parser): Allow bot action.
708 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
710         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
711         Import email.mime.text, email.utils and smtplib modules.
712         (Context.__init__): Initialize self.bot_config_json.
713         (Context.run_builds): Handle bot-cycle action.
714         (Context.load_bot_config_json): New function.
715         (Context.part_build_old): Likewise.
716         (Context.bot_cycle): Likewise.
717         (Context.bot_build_mail): Likewise.
718         (Context.bot_run_self): Likewise.
719         (get_parser): Allow bot-cycle action.
721 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
723         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
724         Remove redirection to __stpcpy_ppc.
726 2016-11-30  Florian Weimer  <fweimer@redhat.com>
728         Remove __libc_memalign from ld.so because it is unused.
729         * elf/dl-minimal.c: Update comment on the malloc implementation.
730         (malloc): Renamed from __libc_memalign, replacing the original
731         malloc implementation.  Replace the align parameter with
732         MALLOC_ALIGNMENT.
733         * elf/Versions (ld): Update comment and remove __libc_memalign.
734         * sysdeps/nacl/ld.abilist: Likewise.
735         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
736         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
737         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
738         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
739         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
740         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
741         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
742         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
743         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
744         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
745         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
746         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
747         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
761         * sysdeps/generic/localplt.data (ld.so): Likewise.
762         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
763         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
764         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
765         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
766         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
767         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
768         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
769         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
770         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
772         (ld.so): Likewise.
773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
774         (ld.so): Likewise.
775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
776         Likewise.
777         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
778         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
779         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
780         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
781         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
783 2016-11-30  Florian Weimer  <fweimer@redhat.com>
785         [BZ #16628]
786         Implement _dl_catch_error, _dl_signal_error in libc.so.
787         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
788         (catch_hook): Define as thread-local or regular variable,
789         depending on DL_ERROR_BOOTSTRAP.
790         (CATCH_HOOK): Remove.
791         (dl_signal_error, _dl_catch_error): Use
792         catch_hook.  Add hidden definition for libc.
793         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
794         for DL_ERROR_BOOTSTRAP only.
795         * elf/dl-error.c: New file.
796         * elf/dl-error-minimal.c: Likewise.
797         * elf/tst-latepthread.c: Likewise.
798         * elf/tst-latepthreadmod.c: Likewise.
799         * elf/Makefile (routines): Add dl-error.
800         (dl-routines): Remove dl-error.
801         (rtld-routines): Add dl-error-minimal.
802         [build-shared] (tests): Add tst-latepthread.
803         (module-names): Add tst-latepthreadmod.
804         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
805         symbol.
806         (tst-latepthreadmod.so): Link against libpthread.
807         (tst-latepthread): Link against libdbl.
808         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
809         _dl_catch_error.
810         [ld] (GLIBC_PRIVATE): Likewise.
811         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
812         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
813         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
814         directly.
815         * elf/dl-tsd.c: Remove file.
816         * elf/rtld.c (_rtld_global_ro): Remove initializers for
817         _dl_catch_error, _dl_signal_error.
818         (_dl_initial_error_catch_tsd): Remove definition.
819         (do_preload): Remove initialization of dl_error_catch_tsd.
820         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
821         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
822         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
823         * dlfcn/dlopen.c (dlopen_doit): Likewise.
824         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
825         set dl_error_catch_tsd.
826         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
827         _dl_error_catch_tsd member.
828         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
829         members.
830         (_dl_initial_error_catch_tsd): Remove declaration.
831         (_dl_dprintf): Provide definition for use outside of ld.so.
832         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
833         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
834         prototype for libc.
835         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
836         _dl_catch_error.
837         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
838         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
839         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
840         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
841         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
842         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
843         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
844         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
845         Likewise.
846         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
848         (ld.so): Likewise.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
850         (ld.so): Likewise.
851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
852         Likewise.
853         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
854         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
856         Likewise.
857         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
858         Likewise.
859         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
861 2016-11-30  Florian Weimer  <fweimer@redhat.com>
863         [BZ #4099]
864         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
865         _IO_BUFSIZ (8192).
867 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
869         * PROJECTS: Remove file.
871 2016-11-29  Florian Weimer  <fweimer@redhat.com>
873         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
875 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
876             Steve Ellcey  <sellcey@caviumnetworks.com>
878         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
879         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
880         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
881         fxstatat.
882         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
883         lxstat.
884         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
885         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
886         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
887         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
888         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
889         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
890         __xstat.
892 2016-11-29  Florian Weimer  <fweimer@redhat.com>
894         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
895         Define.
896         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
897         definition.
899 2016-11-29  Florian Weimer  <fweimer@redhat.com>
901         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
902         version and turn into strong alias.  Remove compat symbol.
904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
905         (__longjmp): Remove.
907 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
909         * bits/fp-fast.h: New file.
910         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
911         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
912         * math/Makefile (headers): Add bits/fp-fast.h.
913         * math/math.h: Include <bits/fp-fast.h>.
914         * bits/mathdef.h (FP_FAST_FMA): Remove.
915         (FP_FAST_FMAF): Likewise.
916         (FP_FAST_FMAL): Likewise.
917         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
918         (FP_FAST_FMAF): Likewise.
919         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
920         (FP_FAST_FMAF): Likewise.
921         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
922         (FP_FAST_FMAF): Likewise.
923         (FP_FAST_FMAL): Likewise.
924         * sysdeps/arm/bits/mathdef.h: Remove file.
925         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
926         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
927         * sysdeps/tile/bits/mathdef.h: Likewise.
929 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
931         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
932         * math/w_ilogb.c: Remove.
933         * math/w_ilogbf.c: Likewise.
934         * math/w_ilogbl.c: Likewise.
935         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
936         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
937         * math/Makefile (gen-libm-calls): Add w_ilogbF.
938         (libm-calls): Remove w_ilogbF.
939         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
940         (LDOUBLE_ilogbl_libm_version): New macro.
942         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
944         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
945         [!__STRICT_ANSI__ && !__cplusplus].
947 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
949         [BZ #20750]
950         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
951         of PIC.
953 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
954             Yury Norov  <ynorov@caviumnetworks.com>
955             Steve Ellcey  <sellcey@caviumnetworks.com>
957         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
958         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
959         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
960         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
961         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
962         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
963         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
964         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
965         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
966         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
967         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
968         to get correct reg name for ILP32.
969         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
970         (RELA_SIZE): New Macro.
971         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
972         to support ILP32.
973         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
974         cast for ILP32 mode.
975         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
976         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
977         * sysdeps/aarch64/memset.S (__memset): Ditto.
978         * sysdeps/aarch64/strchr.S (strchr): Ditto.
979         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
980         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
981         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
982         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
983         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
984         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
985         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
986         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
987         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
988         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
989         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
990         change PTR_MANGLE call to use register numbers instead of names.
991         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
992         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
993         ILP32 mode, change PTR_MANGLE calls to use register numbers.
994         * sysdeps/aarch64/start.S (_start): Ditto.
995         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
996         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
997         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
998         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
999         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1000         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1001         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1002         Make defined values dependent on __ILP32__.
1003         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1004         (sem_t): Change __align type.
1005         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1006         PTR_SIZE): New Macros.
1007         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1008         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1009         Set when in ILP32 mode.
1010         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1011         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1012         Set elf flags for ILP32.
1013         (add_system_dir): Set ILP32 library directories.
1014         * sysdeps/unix/sysv/linux/aarch64/init-first.c
1015         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1016         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1017         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1018         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1019         New Macros.
1020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1022 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1024         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1025         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1026         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1028 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1030         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1031         <asm/cachectl.h>.
1033 2016-11-27  Zack Weinberg  <zackw@panix.com>
1035         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1036         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1038 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1040         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1041         error_t to fix usage in C++ programs.
1043 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1045         * scripts/build-many-glibcs.py: Import datetime module.
1046         (Context.__init__): Load JSON build state.  Initialize list of
1047         status logs.
1048         (Context.run_builds): Update saved build state.
1049         (Context.add_makefile_cmdlist): Update list of status logs.
1050         (Context.load_build_state_json): New function.
1051         (Context.store_build_state_json): Likewise.
1052         (Context.clear_last_build_state): Likewise.
1053         (Context.update_build_state): Likewise.
1054         (CommandList.status_logs): Likewise.
1056 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1058         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1059         script being executed.
1060         (Context.get_script_text): New function.
1061         (Context.exec_self): Likewise.
1062         (Context.checkout): Re-exec script if changed by checkout process.
1064 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1066         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1067         (setpayloadsig): New declaration.
1068         * math/Versions (setpayloadsig): New libm symbol at version
1069         GLIBC_2.25.
1070         (setpayloadsigf): Likewise.
1071         (setpayloadsigl): Likewise.
1072         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1073         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1074         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1075         (setpayloadsig_test_data): New array.
1076         (setpayloadsig_test): New function.
1077         (main): Call setpayloadsig_test.
1078         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1079         setpayloadsigf and setpayloadsigl.
1080         * manual/libm-err-tab.pl: Update comment on interfaces without
1081         ulps tabulated.
1082         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1083         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1084         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1085         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1086         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1087         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1088         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1089         setpayloadsig.
1090         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1091         * sysdeps/nacl/libm.abilist: Update.
1092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1105         Likewise.
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1107         Likewise.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1109         Likewise.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1111         Likewise.
1112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1118         Likewise.
1119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1120         Likewise.
1121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1125         * scripts/build-many-glibcs.py: Import json module.
1126         (Context.__init__): Take replace_sources argument.  Load
1127         versions.json.
1128         (Context.load_versions_json): New function.
1129         (Context.store_json): Likewise.
1130         (Context.store_versions_json): Likewise.
1131         (Context.set_component_version): Likewise.
1132         (Context.checkout): Update versions.json.  Check for and handle
1133         changes of version.  Prefer previously explicitly specified
1134         version to default version.
1135         (Context.checkout_vcs): Return a revision identifier.
1136         (Context.git_checkout): Likewise.
1137         (Context.gcc_checkout): Likewise.
1138         (get_parser): Add --replace-sources option.
1139         (main): Pass replace_sources argument to Context call.
1141 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1143         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1144         * nptl/allocatestack.c (allocate_stack): Likewise.
1145         (__reclaim_stacks): Likewise.
1146         (setxid_signal_thread): Obtain pid through syscall.
1147         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1148         (sighandle_setxid): Likewise.
1149         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1150         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1151         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1152         Likewise.
1153         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1154         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1155         comment.
1156         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1157         * nptl/descr.h (struct pthread): Change comment about pid value.
1158         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1159         pid assert.
1160         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1161         Do not set pid value.
1162         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1163         pid cache check.
1164         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1165         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1166         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1167         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1168         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1169         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1170         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1171         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1172         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1173         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1174         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1175         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1176         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1177         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1178         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1179         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1180         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1181         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1182         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1183         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1184         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1185         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1186         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1187         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1188         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1191         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1192         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1193         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1194         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1195         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1196         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1197         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1198         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1199         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1200         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1201         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1202         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1203         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1204         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1205         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1206         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1209         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1210         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1211         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1212         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1214         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1215         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1216         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1217         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1218         struct access.
1219         (clone_test): Remove function.
1220         (do_test): Rewrite to take in consideration pid is not cached anymore.
1222 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1224         * bits/flt-eval-method.h: New file.
1225         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1226         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1227         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1228         * math/Makefile (headers): Add bits/flt-eval-method.h.
1229         * math/math.h: Include <bits/flt-eval-method.h>.
1230         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1231         [__USE_ISOC99] (double_t): Likewise.
1232         * bits/mathdef.h (float_t): Remove.
1233         (double_t): Likewise.
1234         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1235         (double_t): Likewise.
1236         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1237         (double_t): Likewise.
1238         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1239         (double_t): Likewise.
1240         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1241         (double_t): Likewise.
1242         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1243         (double_t): Likewise.
1244         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1245         (double_t): Likewise.
1246         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1247         (double_t): Likewise.
1248         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1249         (double_t): Likewise.
1250         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1251         (double_t): Likewise.
1252         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1253         (double_t): Likewise.
1254         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1255         (double_t): Likewise.
1256         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1257         (double_t): Likewise.
1258         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1259         (double_t): Likewise.
1261 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1263         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1264         instead of PIC.
1266 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1268         [BZ #20859]
1269         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1270         (-0x7fffffff) instead of 0x80000001.
1271         * math/test-fp-ilogb-constants.c: New file.
1272         * math/Makefile (tests): Add test-fp-ilogb-constants.
1274 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1276         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1277         (_init): Use it in place of hardcoded R_MIPS_JALR.
1278         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1279         (_init): Use it in place of hardcoded R_MIPS_JALR.
1280         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1281         (_init): Use it in place of hardcoded R_MIPS_JALR.
1283 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1285         [BZ #20787]
1286         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1287         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1288         (double_t): Do not define to double if [__x86_64__] when
1289         __FLT_EVAL_METHOD__ is nonzero.
1290         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1291         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1292         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1293         test-flt-eval-method-387 and test-flt-eval-method-sse.
1294         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1295         variable.
1296         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1298 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1300         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1301         use of -fno-isolate-erroneous-paths options for tilepro.
1303 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1305         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1306         structure initialization is no longer needed.
1308 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1310         [BZ #20855]
1311         * bits/mathdef.h (float_t): Define to float.
1312         * math/test-flt-eval-method.c: New file.
1313         * math/Makefile (tests): Add test-flt-eval-method.
1314         (CFLAGS-test-flt-eval-method.c): New variable.
1316 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1318         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1319         and __fstatfs.  Make them aliases of __fstatfs64 if
1320         STATFS_IS_STATFS64 is set to non-zero.
1321         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1322         and __statfs64.
1323         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1324         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1325         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1326         for __statfs and statfs.
1327         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1328         to 0.
1329         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1330         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1331         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1332         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1333         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1334         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1337         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1338         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1339         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1340         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1342 2016-11-22  Andreas Schwab  <schwab@suse.de>
1344         * misc/mkstemp.c: Include <fcntl.h>.
1345         * misc/mkstemps.c: Likewise.
1346         * misc/mkostemp.c: Likewise.
1347         * misc/mkostemps.c: Likewise.
1349 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1351         [BZ #20847]
1352         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1353         array bounds.
1354         (__execvpe): Likewise.
1356 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1358         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1359         -fno-isolate-erroneous-paths options for tilepro.
1361 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1363         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1364         to 0 when in 32 bit mode.
1365         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1366         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1367         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1368         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1370         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1371         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1372         XSTAT_IS_XSTAT64 test.
1373         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1374         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1375         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1376         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1377         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1378         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1379         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1380         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1381         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1382         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1383         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1385 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1387         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1388         (setpayload): New declaration.
1389         * math/Versions (setpayload): New libm symbol at version
1390         GLIBC_2.25.
1391         (setpayloadf): Likewise.
1392         (setpayloadl): Likewise.
1393         * math/Makefile (libm-calls): Add s_setpayloadF.
1394         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1395         test_Ff_b1_data.
1396         (RUN_TEST_Ff_b1): New macro.
1397         (RUN_TEST_LOOP_Ff_b1): Likewise.
1398         (canonicalize_test_data): Update type.
1399         (setpayload_test_data): New array.
1400         (setpayload_test): New function.
1401         (main): Call setpayload_test.
1402         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1403         setpayloadf and setpayloadl.
1404         * manual/libm-err-tab.pl: Update comment on interfaces without
1405         ulps tabulated.
1406         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1407         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1408         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1409         Likewise.
1410         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1411         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1412         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1413         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1414         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1415         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1416         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1417         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1418         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1419         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1420         setpayload.
1421         (CFLAGS-nldbl-setpayload.c): New variable.
1422         * sysdeps/nacl/libm.abilist: Update.
1423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1451         Likewise.
1452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1456 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1458         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1459         * include/unistd.h: Extend comment about __access_noerrno return
1460         semantics.
1461         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1462         (access_common): Correct typo for EACCES.
1464 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1466         * sysdeps/tile/math-tests.h: New file.
1468         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1469         (__old_set_dataplane): Rename from set_dataplane and make a
1470         compatibility symbol.
1471         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1472         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1473         sys/dataplane.h.
1475 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1477         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1478         script quote words in command output to log suitably for input to
1479         the shell.
1481 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1482             Maciej W. Rozycki  <macro@imgtec.com>
1484         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1485         `.Lno_weak_fn' label.
1486         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1487         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1489 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1490             Yury Norov  <ynorov@caviumnetworks.com>
1492         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1493         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1494         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1495         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1496         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1498         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1500         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1502         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1503         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1504         (sysdep_routines): Remove oldgetrlimit64.
1505         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1506         (sysdep_routines): Likewise.
1507         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1508         (sysdep_routines): Likewise.
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1510         [$(subdir) = resource] (sysdep_routines): Likewise.
1511         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1512         [$(subdir) = resource] (sysdep_routines): Likewise.
1513         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1514         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1515         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1516         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1517         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1518         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1519         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1520         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1521         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1522         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1523         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1524         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1525         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1526         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1527         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1528         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1529         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1530         setrlimit and getrlimit.
1531         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1532         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1533         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1536         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1537         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1538         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1539         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1540         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1541         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1542         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1543         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1544         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1545         (__old_getrlimit64): Add compatibility symbol.
1546         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1548 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1550         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1551         newly built gmp, mpfr and mpc.
1553         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1555 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1557         * conform/Makefile (linknamespace-libs): Rename to
1558         linknamespace-libs-thr.
1559         (linknamespace-libs-posix): New variable.
1560         (linknamespace-libs-xsi): Likewise.
1561         (linknamespace-libs-XPG3): Include libcrypt.a.
1562         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1563         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1564         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1565         (linknamespace-libs-XOPEN2K): Likewise.
1566         (linknamespace-libs-XOPEN2K8): Likewise.
1567         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1569         [BZ #20829]
1570         * stdio-common/Versions (__snprintf): Add to version
1571         GLIBC_PRIVATE.
1572         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1573         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1574         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1575         of snprintf.
1576         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1578 2016-11-16  Zack Weinberg  <zackw@panix.com>
1580         * string/string.h: Remove obsolete comment stating that
1581         strcoll_l and strxfrm_l have not yet been standardized.
1583 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1585         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1586         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1587         __access_noerrno.
1588         * io/access.c (__access_noerrno): New function.
1589         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1590         (hurd_fail_seterrno): Likewise.
1591         (access_common): Likewise.
1592         (__access_noerrno): Likewise.
1593         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1594         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1595         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1596         macro.
1598 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1600         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1601         Only declare fpregs if [__SH_FPU_ANY__].
1603 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1605         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1606         Make code unconditional.
1607         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1609 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1611         * manual/sysinfo.texi (S_APPEND): Delete.
1612         (S_IMMUTABLE): Likewise.
1614 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1615             Magnus Granberg  <zorry@gentoo.org>
1616             Mike Frysinger  <vapier@gentoo.org>
1618         [BZ #20662]
1619         * configure.ac (libc_cv_predef_stack_protector): Also check for
1620         __stack_chk_fail_local symbols.
1621         * configure: Regenerated.
1623 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1625         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1626         (libc_hidden_def): Remove redefinition.
1627         (__sigsetjmp): Add hidden definition.
1628         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1629         (libc_hidden_def): Remove redefinition.
1630         (__sigsetjmp): Add hidden definition.
1632 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1634         * scripts/build-many-glibcs.py (os.path): Do not import.
1635         (Context): Inherit explicitly from object.  Remove blank line
1636         between class and docstring.
1637         (Config): Likewise.
1638         (Glibc): Likewise.
1639         (Command): Likewise.
1640         (CommandList): Likewise.
1641         (Context.write_files): Store chmod mode in a variable.
1643         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1644         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1645         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1647 2016-11-14  Zack Weinberg  <zackw@panix.com>
1649         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1650         creating or re-creating it.
1652         * string/bits/string2.h: Fix typo in comment.
1654 2016-11-14  Zack Weinberg  <zackw@panix.com>
1656         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1657         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1658         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1659         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1660         of redirected function names.
1662         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1663         as well.  Document that MESSAGE must be a single string literal.
1665 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1667         * scripts/build-many-glibcs.py: New file.
1669         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1670         (do_test): Disable -Wmaybe-uninitialized around uses of
1671         except_mask.
1673         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1675 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1677         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1678         (atomic_store_release): Provide tilepro-specific implementations.
1680 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1682         * math/math.h (__MATH_TG): New macro.
1683         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1684         [__USE_ISOC99] (signbit): Likewise.
1685         [__USE_ISOC99] (isfinite): Likewise.
1686         [__USE_ISOC99] (isnan): Likewise.
1687         [__USE_ISOC99] (isinf): Likewise.
1688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1691         __MATH_TG and __MATH_EVAL_FMT2.
1692         * sysdeps/generic/math_private.h (fabs_tg): Define using
1693         __MATH_TG.
1694         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1695         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1696         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1697         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1698         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1699         macro.
1700         (__iscanonical): Likewise.
1701         (iscanonical): Define using __MATH_TG.
1703 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1705         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1706         guards.
1708         * sysdeps/unix/sysv/linux/access.c: New file.
1709         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1711 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1713         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1714         and __WORDSIZE32_PTRDIFF_LONG.
1716 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1718         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1720 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1722         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1723         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1724         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1725         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1726         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1728         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1729         * sysdeps/unix/sysv/linux/truncate.c: New file.
1730         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1731         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1732         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1733         Remove.
1734         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1735         Likewise.
1737         * posix/tst-truncate-common.c: New file.
1738         * posix/tst-truncate.c: Use tst-truncate-common.c.
1739         * posix/tst-truncate64.c: Likewise and add LFS tests.
1740         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1741         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1742         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1743         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1744         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1746         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1747         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1748         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1749         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1750         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1751         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1752         Remove.
1753         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1754         Likewise.
1756 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1758         [BZ #20790]
1759         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1760         to MAXLINESIZE.
1761         * sunrpc/bug20790.x: New file.
1762         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1763         variable.
1764         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1765         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1767         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1769         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1771         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1772         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1773         calloc, realloc, free, memalign and __libc_memalign rather than
1774         making them optional.
1776         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1777         for libc.so.
1779 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1781         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1782         ptw-lseek64.
1783         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1784         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1785         Likewise.
1786         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1787         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1788         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1789         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1790         * sysdeps/unix/sysv/linux/lseek.c: New file.
1791         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1793         __libc_lseek64 from auto-generation.
1794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1795         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1797 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1799         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1800         * nptl/tst-cleanup1.c (do_test): Likewise.
1801         * nptl/tst-cleanup3.c (do_test): Likewise.
1802         * nptl/tst-key1.c (do_test): Likewise.
1803         * nptl/tst-key2.c (tf, do_test): Likewise.
1804         * nptl/tst-key3.c (tf, do_test): Likewise.
1805         * nptl/tst-stdio1.c (do_test): Likewise.
1806         * nptl/tst-stdio2.c (do_test): Likewise.
1808         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1809         * nptl/tst-kill6.c (handler): Likewise.
1810         * nptl/tst-tls2.c (CB): Likewise.
1811         * nptl/tst-tls3.c (CB): Likewise.
1813 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1815         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1817 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1818             Steve Ellcey  <sellcey@caviumnetworks.com>
1820         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1821           __ASSUME_ST_INO_64_BIT as 0
1822         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1823         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1824           over the code where __ASSUME_ST_INO_64_BIT is used.
1825         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1826         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1827         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1829 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1831         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1832         Document ABI exposure of the __kind offset.
1833         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1834         Mention reason for the __kind offset exposure in the ABI.
1835         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1836         Likewise.
1837         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1838         Likewise.
1839         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1840         Likewise.
1841         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1842         (struct __pthread_mutex_s): Likewise.
1843         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1844         Likewise.
1845         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1846         Likewise.
1847         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1848         Likewise.
1849         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1850         Likewise.
1851         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1852         Likewise.
1853         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1854         Likewise.
1855         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1856         (struct __pthread_mutex_s): Likewise.
1857         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1858         (struct __pthread_mutex_s): Likewise.
1859         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1860         Likewise.
1862 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1864         * test-skeleton.c: Document do_test usage.
1866 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1868         * iconv/gconv.h (__gconv_info): Define __data element using a
1869         zero-length array.
1871 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1873         * math/test-tgmath2.c: Split up test function.
1875 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1877         * Rules (tests-expected): New variable, depending on
1878         $(run-built-tests).
1879         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1880         $(tests).
1882         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1883         $(tests-unsupported).
1885 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1887         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1888         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1890 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1892         [BZ #20768]
1893         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1894         __fegetenv instead of fegetenv.
1896         [BZ #14139]
1897         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1898         (find_files): Obtain platform name from libm-test-ulps-name and
1899         store in %pplatforms.
1900         (canonicalize_platform): Remove.
1901         (print_platforms): Use $pplatforms directly.
1902         (by_platforms): Do not allow for platforms missing from
1903         %pplatforms.
1904         * sysdeps/aarch64/libm-test-ulps-name: New file.
1905         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1906         * sysdeps/arm/libm-test-ulps-name: Likewise.
1907         * sysdeps/generic/libm-test-ulps-name: Likewise.
1908         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1909         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1910         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1911         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1912         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1913         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1914         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1915         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1916         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1917         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1918         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1919         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1920         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1921         * sysdeps/sh/libm-test-ulps-name: Likewise.
1922         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1923         * sysdeps/tile/libm-test-ulps-name: Likewise.
1924         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1926         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1928         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1929         (test-xfail-check-execstack): New variable.
1931         * sysdeps/mips/localplt.data: New file.
1933 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1934             Steve Ellcey  <sellcey@caviumnetworks.com>
1936         * bits/wordsize.h: Add documentation.
1937         * sysdeps/aarch64/bits/wordsize.h : New file
1938         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1939         definitions.
1940         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1941         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1942         with #if instead of #ifdef.
1943         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1944         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1945         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1946         Add or change defines.
1947         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1948         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1949         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1950         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1951         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1952         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1953         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1954         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1955         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1957         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1958         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1959         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1960         * sysdeps/x86/bits/wordsize.h: Likewise.
1962 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1963             Kevin Petit  <kevin.petit@arm.com>
1965         * sysdeps/aarch64/memchr.S (__memchr): New file.
1967 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1969         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1971 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1973         [BZ #19398]
1974         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1975         $(linknamespace-symlists-tests).
1977 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1979         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1981 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1982             Carlos O'Donell  <carlos@redhat.com>
1984         [Bug #20729]
1985         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1986         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1987         for -Os related change.
1989 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1991         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1993 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1995         [BZ #19673]
1996         * manual/math.texi (Exponents and Logarithms): Correct description
1997         of clog10.
1999 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
2001         [Bz #20729]
2002         * locale/weight.h: Include libc-internal.h.
2003         * locale/weightwc.h: Likewise.
2004         * nptl/nptl_dbP.h: Likewise.
2006 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
2008         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2009         when it is MACH_PORT_NULL.
2011 2016-10-31  Andreas Schwab  <schwab@suse.de>
2013         [BZ #20707]
2014         * posix/glob.c (glob): Initialize pglob before checking for
2015         GLOB_BRACE.  Don't call glob recursively if pattern contains no
2016         valid brace expression despite GLOB_BRACE.
2017         * posix/globtest.sh: Test it.
2019 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2021         [BZ #20729]
2022         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2023         Define.
2024         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2025         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2026         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2027         for seq2.back_us and seq1.back_us only for -Os compiles.
2028         * locale/weightwc.h (findix): Likewise.
2029         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2030         DB_GET_FIELD_ADDRESS only for -Os compiles.
2031         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2032         for slen only for -Os compiles.
2033         * string/strcoll_l.c (get_next_seq): Ignore
2034         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2035         for -Os compiles.
2037         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2038         * include/crypt.h: New file.
2040 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2042         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2043         from test-skeleton.c.
2044         (statclass): Replace calls to write with calls to write_message.
2046 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2048         * math/math.h
2049         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2050         New macro.
2051         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2052         Likewise.
2053         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2054         Likewise.
2055         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2056         SNANL.
2057         * math/test-double.h (snan_value_MACRO): New macro.
2058         * math/test-float.h (snan_value_MACRO): Likewise.
2059         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2060         * math/libm-test.inc (issignaling_test_data): Add tests of
2061         snan_value_MACRO.
2063 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2065         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2066         behavior when eliding a lock not held by the current thread.
2067         * sysdeps/powerpc/nptl/elide.h: Likewise.
2069 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2071         [BZ #20728]
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2073         branch to _exit() by a function call.
2075 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2077         * malloc/malloc.c: Update chunk layout comments.
2078         (chunk_main_arena): Update comment.
2080 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2082         * crypt/sha256.c, crypt/sha256-block.c,
2083         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2084         sha256_process_block to __sha256_process_block.
2085         * crypt/sha512.c, crypt/sha512-block.c,
2086         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2087         sha512_process_block to __sha512_process_block.
2089 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2091         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2093         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2095 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2097         [BZ #20019]
2098         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2099         definition in unrelocated shared library.
2100         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2102 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2104         [BZ #20729]
2105         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2106         * sysdeps/unix/sysv/linux/i386/Makefile
2107         (uses-6-syscall-arguments): Define.
2108         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2109         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2110         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2111         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2112         Likewise.
2113         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2114         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2115         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2116         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2117         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2118         (CFLAGS-fallocate64.os): Likewise.
2119         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2120         (CFLAGS-pthread_rwlock_timedrdlock.os)
2121         (CFLAGS-pthread_rwlock_timedwrlock.o)
2122         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2123         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2124         (CFLAGS-sem_timedwait.os): Likewise.
2126 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2128         * elf/tst-linkall-static.c: New file.
2129         * elf/Makefile (tests-static): Add tst-linkall-static.
2130         (tst-linkall-static): Link against static libraries.
2132 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2134         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2135         mmaped chunks.
2137 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2139         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2140         members to mchunk_prev_size, mchunk_size.
2141         (chunk_main_arena): Reverse sense and rename from
2142         chunk_non_main_arena.
2143         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2144         mchunk_size instead of size.
2145         (set_non_main_arena): Define.
2146         (chunksize): Use chunksize_nomask instead of direct member access.
2147         (chunksize_nomask): Define.
2148         (next_chunk): Use chunksize instead of direct member access.
2149         (prev_size, set_prev_size): Define.
2150         (prev_chunk): Use prev_size instead of direct member access.
2151         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2152         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2153         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2154         (mchunk_prev_size, mchunk_size): Poison tokens.
2155         (unlink): Use chunksize_nomask, prev_size accessors.
2156         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2157         (do_check_free_chunk): Use prev_size accessor.
2158         (sysmalloc): Use set_prev_size, set_head accessors.
2159         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2160         (__libc_free): Use chunksize_nomask accessor.
2161         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2162         chunk_main_arena accessors.
2163         (_int_free): Use chunksize_nomask, prev_size accessors.
2164         (malloc_consolidate): Use chunksize, prev_size accessors.
2165         (_int_realloc): Use chunksize_nomask accessor.
2166         (_int_memalign): Use set_prev_size accessor.
2167         (__malloc_info): Use chunksize_nomask accessor.
2168         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2169         accessors.
2170         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2171         (heap_trim): Use chunksize_nomask, prev_size accessors.
2173 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #19380]
2176         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2177         for inexact results.
2178         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2179         of inexact result where mpfr_subnormalize is the only inexact
2180         step.
2181         * stdlib/tst-strtod-round-data.h: Regenerated.
2182         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2183         Define to 0.
2184         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2186 2016-10-27  David S. Miller  <davem@davemloft.net>
2188         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2190 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2192         * malloc/malloc.c (do_set_mallopt_check): New function.
2193         (do_set_mmap_threshold): Likewise.
2194         (do_set_mmaps_max): Likewise.
2195         (do_set_top_pad): Likewise.
2196         (do_set_perturb_byte): Likewise.
2197         (do_set_trim_threshold): Likewise.
2198         (do_set_arena_max): Likewise.
2199         (do_set_arena_test): Likewise.
2200         (__libc_mallopt): Use them.
2202 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2204         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2205         (canonicalize): New declaration.
2206         * math/Versions (canonicalize): New libm symbol at version
2207         GLIBC_2.25.
2208         (canonicalizef): Likewise.
2209         (canonicalizel): Likewise.
2210         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2211         * math/s_canonicalize_template.c: New file.
2212         * math/libm-test.inc: Update comment on functions tested and
2213         testing of NaN payloads.
2214         (TEST_NAN_PAYLOAD): New macro.
2215         (NO_TEST_INLINE): Update value.
2216         (XFAIL_TEST): Likewise.
2217         (ERRNO_UNCHANGED): Likewise.
2218         (ERRNO_EDOM): Likewise.
2219         (ERRNO_ERANGE): Likewise.
2220         (IGNORE_RESULT): Likewise.
2221         (NON_FINITE): Likewise.
2222         (TEST_SNAN): Likewise.
2223         (NO_TEST_MATHVEC): Likewise.
2224         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2225         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2226         (struct test_Ffp_b1_data): New type.
2227         (RUN_TEST_Ffp_b1): New macro.
2228         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2229         (canonicalize_test_data): New array.
2230         (canonicalize_test): New function.
2231         (main): Call canonicalize_test.
2232         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2233         canonicalizef and canonicalizel.
2234         * manual/libm-err-tab.pl: Update comment on interfaces without
2235         ulps tabulated.
2236         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2237         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2238         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2239         canonicalize.
2240         (CFLAGS-nldbl-canonicalize.c): New variable.
2241         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2242         to ...
2243         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2244         ... here.
2245         (do_test): Also test canonicalizel.
2246         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2247         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2248         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2249         file.
2250         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2251         Use libm_hidden_def.
2252         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2253         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2254         (do_test): Also test canonicalizel.
2255         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2256         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2257         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2258         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2259         libm_hidden_def.
2260         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2261         macro.
2262         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2263         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2264         * sysdeps/nacl/libm.abilist: Update.
2265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2280         Likewise.
2281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2287         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2288         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2291         Likewise.
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2298         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2299         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2300         getpayload.
2301         (CFLAGS-nldbl-getpayload.c): New variable.
2303 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2305         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2306         integer from the format string.
2308 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2310         [BZ #19473]
2311         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2312         declarations.
2313         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2314         weak aliases.
2315         * malloc/hooks.c (__malloc_get_state): Remove definition.
2316         (malloc_get_state): New stub implementation as
2317         compatibility symbol.
2318         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2319         compat symbol.
2320         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2321         malloc_set_state.
2322         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2324 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2326         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2327         (names): Turn into concatenation of strings.
2328         (gconv_init): Adapt iteration over names.
2330 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2332         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2333         make const.
2334         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2335         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2336         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2337         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2338         character in sbconv.
2339         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2340         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2341         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2343 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2345         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2347         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2348         (M_TRIM_THRESHOLD): Likewise.
2350         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2351         (M_ARENA_MAX): Likewise.
2352         * malloc/malloc.c: Remove obsolete comment.
2354         * manual/memory.texi: Add environment variable alternatives to
2355         setting mallopt parameters.
2357 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2359         * include/atomic.h
2360         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2361         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2363 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2365         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2366         * stdlib/tst-strfrom.h: New file.
2367         * stdlib/tst-strfrom.c: New file.
2368         * stdlib/tst-strfrom-locale.c: New file.
2370         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2371         * stdlib/bug-strtod2.c: Likewise.
2372         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2373         * stdlib/tst-strtod6.c: Likewise.
2374         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2376 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2378         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2379         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2380         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2381         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2382         * stdlib/stdlib.h (strfromd): New declaration.
2383         (strfromf): Likewise.
2384         (strfroml): Likewise.
2385         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2386         strfrom.
2387         * stdlib/strfromd.c: New file.
2388         * stdlib/strfromf.c: Likewise.
2389         * stdlib/strfroml.c: Likewise.
2390         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2391         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2392         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2393         * sysdeps/arm/nacl/libc.abilist: Update.
2394         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2413         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2414         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2415         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2416         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2419         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2420         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2421         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2423 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2425         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2426         instead of cmpli.
2427         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2428         instead of cmpli.
2430 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2432         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2433         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2434         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2435         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2436         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2437         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2439 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2441         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2442         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2443         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2444         SYSCALL_LL64_PRW.
2445         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2446         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2447         __ASSUME_PRW_DUMMY_ARG.
2448         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2449         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2450         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2451         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2452         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2453         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2455 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2457         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2459 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2461         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2462         "C++", to override a potential extern "C" directive around the
2463         header file inclusion.
2465 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2467         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2469 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2471         * sysdeps/powerpc/fpu/fenv_private.h:
2472         (_FPU_MASK_ALL): Rename to...
2473         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2474         XE FPSCR bits.
2476         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2478         (_FPU_MASK_ROUNDING): Rename to...
2479         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2480         NI bits.
2482         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2483         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2484         bits and rounding bits.
2486         (__libc_feholdbits_ppc): New inline function to mask, set,
2487         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2488         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2489         (libc_feholdexcept_setround_ppc): Likewise.
2491         (__libc_femergeenv_ppc): New function to dynamically mask both
2492         old and new FP environments and merge.
2493         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2494         (libc_feresetround_ppc): Likewise.
2495         (libc_feupdateenv_test_ppc): Likewise.
2496         (libc_feupdateenv_ppc): Likewise.
2498         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2499         of ISA RN bits, and update macro names.
2500         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2501         effectively the same as the previously mentioned function.
2503         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2504         usage with fe_resetround_ppc.
2506         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2507         to be used.
2508         (libc_feholdexcept_setround_ctxf): Likewise.
2509         (libc_feholdexcept_setround_ctxl): Likewise.
2511 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2513         [BZ #20715]
2514         * math/math.h [__cplusplus] (iszero): Define as function template.
2515         * math/Makefile [CXX] (tests): Add test-math-iszero.
2516         (CFLAGS-test-math-iszero.cc): Set.
2517         * math/test-math-iszero.cc: New file.
2519 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2521         [BZ #20660]
2522         * sysdeps/arm/e_sqrt.c: New file.
2523         * sysdeps/arm/e_sqrtf.c: Likewise.
2525 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #20718]
2528         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2529         not use floating-point comparisons to test sign.
2530         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2531         Likewise.
2533         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2534         (getpayload): New declaration.
2535         * math/Versions (getpayload): New libm symbol at version
2536         GLIBC_2.25.
2537         (getpayloadf): Likewise.
2538         (getpayloadl): Likewise.
2539         * math/Makefile (libm-calls): Add s_getpayloadF.
2540         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2541         (struct test_f_f_data): Add comment.
2542         (RUN_TEST_fp_f): New macro.
2543         (RUN_TEST_LOOP_fp_f): Likewise.
2544         (getpayload_test_data): New array.
2545         (getpayload_test): New function.
2546         (main): Call getpayload_test.
2547         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2548         descriptor.
2549         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2550         getpayloadf and getpayloadl.
2551         * manual/libm-err-tab.pl: Update comment on interfaces without
2552         ulps tabulated.
2553         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2554         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2555         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2556         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2557         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2558         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2559         * sysdeps/nacl/libm.abilist: Update.
2560         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2573         Likewise.
2574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2575         Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2577         Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2579         Likewise.
2580         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2586         Likewise.
2587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2588         Likewise.
2589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2593 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2595         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2596         tst-fallocate{64}.
2597         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2598         on syscall return.
2600 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2602         [BZ #20689]
2603         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2604         usable.
2606 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2608         * sysdeps/generic/nan-high-order-bit.h: New file.
2609         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2610         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2611         * sysdeps/hppa/math_private.h: Remove file.
2612         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2613         not define here.
2614         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2615         <nan-high-order-bit.h>.
2616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2617         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2618         <nan-high-order-bit.h>.
2619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2620         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2621         <nan-high-order-bit.h>.
2622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2623         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2624         <nan-high-order-bit.h>.
2625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2626         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2627         <nan-high-order-bit.h>.
2628         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2629         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2630         <nan-high-order-bit.h>.
2631         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2632         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2633         <nan-high-order-bit.h>.
2634         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2635         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2636         <nan-high-order-bit.h>.
2637         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2638         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2639         <nan-high-order-bit.h>.
2640         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2641         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2642         <nan-high-order-bit.h>.
2643         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2644         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2645         <nan-high-order-bit.h>.
2646         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2647         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2648         <nan-high-order-bit.h>.
2649         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2650         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2651         <nan-high-order-bit.h>.
2652         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2653         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2654         <nan-high-order-bit.h>.
2655         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2656         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2657         <nan-high-order-bit.h>.
2658         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2659         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2660         <nan-high-order-bit.h>.
2661         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2662         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2663         <nan-high-order-bit.h>.
2664         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2665         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2666         <nan-high-order-bit.h>.
2667         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2669 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2671         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2673 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2675         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2676         abort-instr.h.
2677         (EFAULT): Remove conditional define.
2678         (ENOSYS): Likewise.
2679         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2680         instead of conditional branch instructions.
2682 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2684         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2685         (totalordermag): New declaration.
2686         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2687         New macro.
2688         * math/Versions (totalordermag): New libm symbol at version
2689         GLIBC_2.25.
2690         (totalordermagf): Likewise.
2691         (totalordermagl): Likewise.
2692         * math/Makefile (libm-calls): Add s_totalordermagF.
2693         * math/libm-test.inc (totalordermag_test_data): New array.
2694         (totalordermag_test): New function.
2695         (main): Call totalordermag_test.
2696         * math/test-tgmath.c (NCALLS): Increase to 125.
2697         (F(compile_test)): Call totalordermag.
2698         (F(totalordermag)): New function.
2699         * manual/arith.texi (FP Comparison Functions): Document
2700         totalordermag, totalordermagf and totalordermagl.
2701         * manual/libm-err-tab.pl: Update comment on interfaces without
2702         ulps tabulated.
2703         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2704         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2705         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2706         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2707         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2708         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2709         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2710         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2711         totalordermag.
2712         (CFLAGS-nldbl-totalordermag.c): New variable.
2713         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2714         (do_test): Also test totalordermagl.
2715         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2716         Likewise.
2717         * sysdeps/nacl/libm.abilist: Update.
2718         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2731         Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2744         Likewise.
2745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2746         Likewise.
2747         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2748         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2749         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2751 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2753         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2754         boolean.
2756 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2758         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2759         raising FE_INVALID with feraisexcept in case where part of
2760         argument is infinite, subtract that part of argument from itself.
2761         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2762         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2763         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2765 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2767         * math/libm-test.inc (totalorder_test_data): Add more tests.
2769 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2771         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2772         Undefine weak_alias and add a comment why mips64 require
2773         versioning.
2775 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2777         [BZ #20647]
2778         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2779         maximum CPUID level is less than 2.
2781 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2783         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2784         (totalorder): New declaration.
2785         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2786         New macro.
2787         * math/Versions (totalorder): New libm symbol at version
2788         GLIBC_2.25.
2789         (totalorderf): Likewise.
2790         (totalorderl): Likewise.
2791         * math/Makefile (libm-calls): Add s_totalorderF.
2792         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2793         string.
2794         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2795         (qnan_value_pl): Likewise.
2796         (snan_value_pl): Likewise.
2797         (qnan_value): Define using qnan_value_pl.
2798         (snan_value): Define using snan_value_pl.
2799         (struct test_ff_i_data): Add comment about which tests use this
2800         structure.
2801         (RUN_TEST_ff_b): New macro.
2802         (RUN_TEST_LOOP_ff_b): Likewise.
2803         (totalorder_test_data): New array.
2804         (totalorder_test): New function.
2805         (main): Call totalorder_test.
2806         * math/test-tgmath.c (NCALLS): Increase to 122.
2807         (F(compile_test)): Call totalorder.
2808         (F(totalorder)): New function.
2809         * manual/arith.texi (FP Comparison Functions): Document
2810         totalorder, totalorderf and totalorderl.
2811         * manual/libm-err-tab.pl: Update comment on interfaces without
2812         ulps tabulated.
2813         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2814         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2815         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2820         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2821         totalorder.
2822         (CFLAGS-nldbl-totalorder.c): New variable.
2823         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2824         file.
2825         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2826         Add test-totalorderl-ldbl-128ibm.
2827         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2828         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2829         test-totalorderl-ldbl-96.
2830         * sysdeps/nacl/libm.abilist: Update.
2831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2842         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2844         Likewise.
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2846         Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2848         Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2850         Likewise.
2851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2857         Likewise.
2858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2859         Likewise.
2860         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2864 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2866         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2867         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2868         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2869         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2870         remove ENOSYS implementation.
2871         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2872         Consolidate all Linux implementations.
2874 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2876         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2877         * resolv/herror.c (herror): Cast away const-ness.
2878         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2879         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2881 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2883         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2884         instead of M_NAN + M_NAN.
2885         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2887 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2889         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2890         unused variable 'p'.
2892 2016-10-09  Alan Modra  <amodra@gmail.com>
2893             Andreas Schwab  <schwab@linux-m68k.org>
2895         [BZ #20554]
2896         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2897         [PIC && !SHARED]: Set up PIC register for PLT call.
2899 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2901         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2902         conditional on value of [__FLT_EVAL_METHOD__].
2903         * math/test-iseqsig-excess-precision.c: New file.
2904         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2906 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2908         * math/s_iseqsig_template.c: Include math-private.h.
2910         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2911         * posix/tst-posix_fadvise.c: New file.
2912         * posix/tst-posix_fadvise64.c: Likewise.
2913         * posix/tst-posix_fadvise-common.c: Likewise.
2914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2915         (__ASSUME_FADVISE64_64_6ARG): Define.
2916         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2917         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2918         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2919         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2920         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2921         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2922         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2923         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2924         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2925         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2926         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2927         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2930         Likewise.
2931         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2932         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2933         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2934         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2935         Alias to __posix_fadvise64_l32.
2936         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2937         Add compat definition to posix_fadvise64.
2938         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2939         Add versioned definition to posix_fadvise64.
2940         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2941         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2942         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2943         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2944         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2946         * io/Makefile (tests): Add tst-posix_fallocate and
2947         tst-posix_fallocate64.
2948         * io/tst-posix_fallocate-common.c: New file.
2949         * io/tst-posix_fallocate.c: Likewise.
2950         * io/tst-posix_fallocate64.c: Likewise.
2951         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2952         file.
2953         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2954         Likewise.
2955         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2956         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2957         Likewise.
2958         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2959         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2960         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2961         SYSCALL_LL to pass both offset and len arguments.
2962         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2963         Likewise.
2964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2965         __libc_pwrite64 alias used by posix_fallocate64.
2967         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2968         tst-fallocate64.
2969         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2970         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2971         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2972         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2973         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2974         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2975         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2976         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2977         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2978         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2979         macro on offset argument.
2980         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2981         SYSCALL_LL64 on offset argument.
2983         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2984         tst-fallocate64.
2985         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2986         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2987         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2988         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2989         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2990         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2991         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2992         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2993         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2994         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2995         macro on offset argument.
2996         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2997         SYSCALL_LL64 on offset argument.
2998         * test-skeleton.c (FAIL_RET): Add macro.
2999         (FAIL_EXIT): Likewise.
3000         (FAIL_EXIT1): Likewise.
3001         (_FAIL): Likewise.
3003 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3005         [BZ #20629]
3006         resolv: Remove RES_USEBSTRING and its implementation.
3007         * resolv/resolv.h (RES_USEBSTRING): Remove.
3008         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3009         (digitvalue, encode_bitstring, decode_bitstring): Remove.
3010         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3011         (labellen): Remove extended label types support.
3012         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3013         * resolv/res_init.c (res_setoptions): Likewise.
3014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3016 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3018         resolv: Remove RES_NOIP6DOTINT and its implementation.
3019         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3020         (RES_NOIP6DOTINT): Remove.
3021         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3022         handling.
3023         * resolv/res_debug.c (p_option): Likewise.
3024         * resolv/res_init.c (res_setoptions): Likewise.
3025         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3027 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3029         resolv: Deprecate unimplemented flags.
3030         * misc/sys/cdefs.h (__glibc_macro_warning1)
3031         (__glibc_macro_warning): Define.
3032         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3033         (RES_KEEPTSIG): Mark as deprecated.
3034         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3035         RES_NOCHECKNAME, RES_KEEPTSIG.
3036         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3038 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3040         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3041         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3042         Use strong_alias to create symbols for glibc verison 2.19.
3044 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3046         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3048 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3050         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3052 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3054         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3056 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3058         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3059         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3060         in header for using it as type for ifunc function because __GI_* symbols
3061         for ppc32 do not target the ifunc symbols.
3062         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3064 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3066         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3067         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3068         libc_ifunc_hidden_def.
3069         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3070         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3071         Redirect ifunced function in header for using it as type of ifunc'ed
3072         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3073         function for __GI_* symbol.
3074         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3075         * include/libc-symbols.h
3076         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3078 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3080         [BZ #20478]
3081         * sysdeps/s390/multiarch/ifunc-resolve.h
3082         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3083         to create ifunc symbols.
3084         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3085         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3086         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3087         for using it as type for ifunc function.
3088         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3089         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3090         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3091         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3092         * sysdeps/s390/multiarch/strcat.c: Likewise.
3093         * sysdeps/s390/multiarch/strchr.c: Likewise.
3094         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3095         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3096         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3097         * sysdeps/s390/multiarch/strlen.c: Likewise.
3098         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3099         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3100         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3101         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3102         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3103         * sysdeps/s390/multiarch/strspn.c: Likewise.
3104         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3105         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3106         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3107         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3108         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3109         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3110         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3111         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3112         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3113         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3114         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3115         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3117 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3119         * include/libc-symbols.h (__ifunc_resolver):
3120         New macro is used by __ifunc* macros.
3121         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3122         depending on HAVE_GCC_IFUNC.
3123         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3124         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3126         Redirect ifunced function in header for using as type for ifunc function.
3127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3134         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3135         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3146         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3147         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3148         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3149         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3150         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3151         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3152         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3153         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3154         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3155         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3156         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3157         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3158         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3159         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3161         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3162         instead of libc_ifunc() macro.
3163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3166 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3168         * config.h.in (HAVE_GCC_IFUNC): New undef.
3169         * configure.ac: Add check if gcc supports attribute ifunc feature.
3170         * configure: Regenerated.
3171         * manual/install.texi: Add recommendation for gcc with
3172         indirect-function support.
3173         * INSTALL: Regenerated.
3175 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3177         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3178         macro.
3179         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3180         (__iseqsig): New declaration.
3181         * math/s_iseqsig_template.c: New file.
3182         * math/Versions (__iseqsigf): New libm symbol at version
3183         GLIBC_2.25.
3184         (__iseqsig): Likewise.
3185         (__iseqsigl): Likewise.
3186         * math/libm-test.inc (iseqsig_test_data): New array.
3187         (iseqsig_test): New function.
3188         (main): Call iseqsig_test.
3189         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3190         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3191         * manual/libm-err-tab.pl: Update comment on interfaces without
3192         ulps tabulated.
3193         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3194         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3195         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3196         * sysdeps/nacl/libm.abilist: Update.
3197         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3206         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3207         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3208         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3210         Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3212         Likewise.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3214         Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3216         Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3219         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3223         Likewise.
3224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3225         Likewise.
3226         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3227         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3228         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3230 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3232         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3233         do_sincos_2, sloww, sloww1): Update comments.
3235         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3236         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3238         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3239         K boolean and rename it.
3240         (__sin): Adjust.
3241         (__cos): Adjust.
3243 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3244             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3246         * manual/nss.texi: Fix typos in the manual.
3248 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3250         * manual/contrib.texi: Fix typos in the manual.
3252         * manual/maint.texi: Fix typos in the manual.
3254         * manual/install.texi: Fix typos in the manual.
3255         * INSTALL: Regenerated.
3257         * manual/lang.texi: Fix typos in the manual.
3259         * manual/probes.texi: Fix typos in the manual.
3261         * manual/threads.texi: Fix typos in the manual.
3263         * manual/debug.texi: Fix typos in the manual.
3265         * manual/crypt.texi: Fix typos in the manual.
3267         * manual/conf.texi: Fix typos in the manual.
3269         * manual/sysinfo.texi: Fix typos in the manual.
3271         * manual/users.texi: Fix typos in the manual.
3273         * manual/job.texi: Fix typos in the manual.
3275         * manual/process.texi: Fix typos in the manual.
3277         * manual/argp.texi: Fix typos in the manual.
3278         * manual/getopt.texi: Likewise.
3279         * manual/startup.texi: Likewise.
3281         * manual/signal.texi: Fix typos in the manual.
3283         * manual/setjmp.texi: Fix typos in the manual.
3285         * manual/resource.texi: Fix typos in the manual.
3287         * manual/time.texi: Fix typos in the manual.
3289         * manual/arith.texi: Fix typos in the manual.
3291         * manual/math.texi: Fix typos in the manual.
3293         * manual/syslog.texi: Fix typos in the manual.
3295         * manual/terminal.texi: Fix typos in the manual.
3297         * manual/socket.texi: Fix typos in the manual.
3299         * manual/filesys.texi: Fix typos in the manual.
3301         * manual/llio.texi: Fix typos in the manual.
3303         * manual/stdio.text: Fix typos in the manual.
3305 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3307         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3308         instead of K1.
3310         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3311         SHIFT_QUADRANT and make it bool.
3312         (do_sincos_2): Likewise.
3313         (sloww): Likewise.
3314         (sloww1): Likewise.
3315         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3316         (__cos): Likewise.
3318 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3320         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3322 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3324         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3325         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3326         0x7fffffffL].
3327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3329 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3331         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3332         inline by __inline__.
3333         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3334         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3335         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3336         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3337         sigset_t from signal.h.
3338         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3339         which is already required.
3341 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3343         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3345 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3347         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3348         (struct tcp_repair_window): New type.
3350 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3352         * libio/tst-memstream3.c: Include string.h.
3354 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3356         [BZ #18241]
3357         [BZ #20181]
3358         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3359         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3360         write position is at the end the buffer.
3361         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3362         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3363         (_IO_str_seekoff): Set correct offset from negative displacement and
3364         set EINVAL for invalid ones.
3365         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3366         buffer length.
3367         (_IO_wstr_switch_to_get_mode): New function.
3368         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3369         set EINVAL for invalid ones.
3370         * libio/tst-memstream3.c: New file.
3371         * libio/tst-wmemstream3.c: Likewise.
3372         * manual/examples/memstrm.c: Remove warning when priting size_t.
3374 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3376         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3377         macro to use __builtin_fma.
3378         * sysdeps/x86_64/fpu/dla.h: Remove file.
3380         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3381         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3382         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3384 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3386         [BZ #20292]
3387         * elf/Makefile (routines): Add dl-addr-obj.
3388         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3389         tst-_dl_addr_inside_object.
3390         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3391         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3392         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3393         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3394         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3395         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3396         * elf/dl-open.c: Likewise.
3397         * elf/dl-addr-obj.c: New file.
3398         * elf/tst-_dl_addr_inside_object.c: New file.
3400 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3402         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3403         <bits/iscanonical.h>.
3404         * bits/iscanonical.h: New file.
3405         * math/s_iscanonicall.c: Likewise.
3406         * math/Versions (__iscanonicall): New libm symbol at version
3407         GLIBC_2.25.
3408         * math/libm-test.inc (iscanonical_test_data): New array.
3409         (iscanonical_test): New function.
3410         (main): Call iscanonical_test.
3411         * math/Makefile (headers): Add bits/iscanonical.h.
3412         (type-ldouble-routines): Add s_iscanonicall.
3413         * manual/arith.texi (Floating Point Classes): Document
3414         iscanonical.
3415         * manual/libm-err-tab.pl: Update comment on interfaces without
3416         ulps tabulated.
3417         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3418         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3419         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3420         Likewise.
3421         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3422         test-iscanonical-ldbl-128ibm.
3423         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3424         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3425         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3426         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3429         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3431         Likewise.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3433         Likewise.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3435         Likewise.
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3439         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3441 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3443         * string/bits/string3.h: Remove C++ style comments.
3445 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3447         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3448         instead of ternary condition.
3449         (do_sincos_2): Likewise.
3450         (__sin): Likewise.
3451         (__cos): Likewise.
3452         (slow): Likewise.
3453         (sloww): Likewise.
3454         (sloww1): Likewise.
3455         (bsloww): Likewise.
3456         (bsloww1): Likewise.
3458         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3459         instead of ternary condition.
3460         (do_sin_slow): Likewise.
3461         (do_sincos_1): Likewise.
3462         (do_sincos_2): Likewise.
3463         (__cos): Likewise.
3464         (sloww): Likewise.
3465         (sloww1): Likewise.
3466         (sloww2): Likewise.
3467         (bsloww): Likewise.
3468         (bsloww1): Likewise.
3469         (bsloww2): Likewise.
3471         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3472         check from here...
3473         (slow2): ... and here...
3474         (__sin): ... to here.
3476 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3478         * math/math.h
3479         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3480         Cast argument to its own type.
3481         * math/test-iszero-excess-precision.c: New file.
3482         * math/Makefile (tests): Add test-iszero-excess-precision.
3483         (CFLAGS-test-iszero-excess-precision.c): New variable.
3485 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3487         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3488         field, add err field.
3489         (__spawni_child): Report error through err member instead of pipe.
3490         (__spawnix): Likewise.
3492 2016-09-28  Zack Weinberg  <zackw@panix.com>
3494         * scripts/check-installed-headers.sh: Generalize treatment of
3495         sys/elf.h to all target architectures.
3497         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3498         deleted typedef ucontext_t.
3500 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3502         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3503         (__INTERNAL_SYSCALL1): Likewise.
3504         (__INTERNAL_SYSCALL2): Likewise.
3505         (__INTERNAL_SYSCALL3): Likewise.
3506         (__INTERNAL_SYSCALL4): Likewise.
3507         (__INTERNAL_SYSCALL5): Likewise.
3508         (__INTERNAL_SYSCALL6): Likewise.
3509         (__INTERNAL_SYSCALL7): Likewise.
3510         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3511         (__INTERNAL_SYSCALL_NARGS): Likewise.
3512         (__INTERNAL_SYSCALL_DISP): Likewise.
3513         (INTERNAL_SYSCALL_CALL): Likewise.
3514         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3515         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3516         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3517         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3518         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3519         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3520         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3521         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3522         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3523         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3524         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3525         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3526         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3528 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3530         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3531         macro.
3532         * math/libm-test.inc (iszero_test_data): New array.
3533         (iszero_test): New function.
3534         (main): Call iszero_test.
3535         * manual/arith.texi (Floating Point Classes): Document iszero.
3536         * manual/libm-err-tab.pl: Update comment on interfaces without
3537         ulps tabulated.
3539 2016-09-23  Zack Weinberg  <zackw@panix.com>
3541         * scripts/check-installed-headers.sh: New script.
3542         * Rules: In each directory that defines header files to be installed,
3543         run check-installed-headers.sh on them as a special test.
3544         * Makefile: Likewise for the headers installed at top level.
3546         * include/aliases.h, include/alloca.h, include/argz.h
3547         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3548         * include/elf.h, include/envz.h, include/err.h
3549         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3550         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3551         * include/link.h, include/malloc.h, include/mcheck.h
3552         * include/mntent.h, include/netinet/ether.h
3553         * include/nss.h, include/obstack.h, include/printf.h
3554         * include/pty.h, include/resolv.h, include/rpc/auth.h
3555         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3556         * include/rpc/clnt.h, include/rpc/des_crypt.h
3557         * include/rpc/key_prot.h, include/rpc/netdb.h
3558         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3559         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3560         * include/rpc/rpc_msg.h, include/rpc/svc.h
3561         * include/rpc/svc_auth.h, include/rpc/xdr.h
3562         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3563         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3564         * include/rpcsvc/ypupd.h, include/shadow.h
3565         * include/stdio_ext.h, include/sys/epoll.h
3566         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3567         * include/sys/prctl.h, include/sys/profil.h
3568         * include/sys/statfs.h, include/sys/sysctl.h
3569         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3570         * sysdeps/arm/nacl/include/bits/setjmp.h
3571         * sysdeps/mips/include/sys/asm.h
3572         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3573         * sysdeps/unix/sysv/linux/include/sys/timex.h
3574         * sysdeps/x86/fpu/include/bits/fenv.h:
3575         Add #ifndef _ISOMAC guard around internal declarations.
3576         Add multiple-inclusion guard if not already present.
3578 2016-09-23  Zack Weinberg  <zackw@panix.com>
3580         * sysdeps/generic/sys/ucontext.h
3581         * sysdeps/arm/sys/ucontext.h
3582         * sysdeps/i386/sys/ucontext.h
3583         * sysdeps/m68k/sys/ucontext.h
3584         * sysdeps/mips/sys/ucontext.h
3585         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3586         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3587         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3588         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3589         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3590         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3591         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3592         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3593         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3594         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3595         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3596         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3597         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3598         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3599         Include both bits/sigcontext.h and bits/sigstack.h.
3600         Fix grammar error in comment, if present.
3602         * bits/sigstack.h
3603         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3604         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3605         * sysdeps/unix/sysv/linux/bits/sigstack.h
3606         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3607         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3608         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3609         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3610         * bits/sigcontext.h
3611         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3612         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3613         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3614         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3615         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3616         as well as signal.h, if this was not already allowed.  Request
3617         definition of size_t if necessary.  Minimize semantically-null
3618         differences across files.
3620 2016-09-23  Zack Weinberg  <zackw@panix.com>
3622         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3623         Remove all logic conditional on __need macros.  Move all the
3624         conditionally defined types to their own headers...
3625         * time/bits/types/clock_t.h: Define clock_t here.
3626         * time/bits/types/clockid_t.h: Define clockid_t here.
3627         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3628         * time/bits/types/struct_timespec.h: Define struct timespec here.
3629         * time/bits/types/struct_timeval.h: Define struct timeval here.
3630         * time/bits/types/struct_tm.h: Define struct tm here.
3631         * time/bits/types/time_t.h: Define time_t here.
3632         * time/bits/types/timer_t.h: Define timer_t here.
3633         * time/Makefile: Install the new headers.
3635         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3636         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3637         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3638         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3639         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3640         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3641         * sysdeps/unix/sysv/linux/bits/resource.h
3642         * sysdeps/unix/sysv/linux/bits/timex.h
3643         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3644         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3645         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3646         * sysdeps/unix/sysv/linux/sys/acct.h
3647         * sysdeps/unix/sysv/linux/sys/timerfd.h
3648         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3649         * time/sys/time.h, time/sys/timeb.h
3650         Use the new bits/types headers.
3652         * include/time.h: Remove __need logic.
3653         * include/bits/time.h
3654         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3655         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3656         * include/bits/types/struct_itimerspec.h
3657         * include/bits/types/struct_timespec.h
3658         * include/bits/types/struct_timeval.h
3659         * include/bits/types/struct_tm.h:
3660         New wrapper headers.
3662 2016-09-23  Zack Weinberg  <zackw@panix.com>
3664         * sysdeps/mach/hurd/net/if_ppp.h
3665         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3666         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3667         if __USE_MISC is defined, to ensure struct ifreq is declared.
3669         * inet/netinet/ether.h: Condition all function prototypes
3670         on __USE_MISC, to ensure struct ether_addr is declared.
3672         * socket/bits/types/struct_osockaddr.h: New header.
3673         * include/bits/types/struct_osockaddr.h: New wrapper.
3674         * socket/Makefile: Install the new header.
3675         * socket/sys/socket.h, inet/protocols/talkd.h:
3676         Refer to bits/types/struct_osockaddr.h for the definition of
3677         struct osockaddr.
3679 2016-09-23  Zack Weinberg  <zackw@panix.com>
3681         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3682         * inet/protocols/routed.h, inet/protocols/talkd.h
3683         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3684         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3685         * sysdeps/generic/netinet/if_ether.h
3686         * sysdeps/generic/netinet/in_systm.h
3687         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3688         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3689         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3690         * sysdeps/mach/hurd/net/if_arp.h
3691         * sysdeps/mach/hurd/net/if_ppp.h
3692         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3693         * sysdeps/unix/sysv/linux/bits/in.h
3694         * sysdeps/unix/sysv/linux/net/ethernet.h
3695         * sysdeps/unix/sysv/linux/net/if_arp.h
3696         * sysdeps/unix/sysv/linux/net/if_ppp.h
3697         * sysdeps/unix/sysv/linux/net/if_shaper.h
3698         * sysdeps/unix/sysv/linux/net/route.h
3699         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3700         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3701         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3702         * sysdeps/unix/sysv/linux/netipx/ipx.h
3703         * sysdeps/unix/sysv/linux/sys/acct.h
3704         * include/arpa/nameser.h, include/resolv.h:
3705         Change all uses of u_char to unsigned char,
3706         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3707         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3708         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3709         and u_int64_t and u_quad_t to uint64_t.
3711         * mach/sys/reboot.h: Remove two casts of integer literals
3712         to the types they already have.
3714         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3715         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3716         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3717         from referring to 'unsigned char' to 'uint8_t' for consistency with
3718         the macro definition below.
3720         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3721         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3722         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3723         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3724         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3725         * sysdeps/unix/sysv/linux/sys/acct.h
3726         * include/arpa/nameser.h, include/resolv.h:
3727         Fix indentation disrupted by mechanical edits.
3729         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3730         * sysdeps/generic/netinet/in_systm.h
3731         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3732         * sysdeps/gnu/netinet/udp.h
3733         * sysdeps/unix/sysv/linux/net/ethernet.h
3734         * sysdeps/unix/sysv/linux/net/if_arp.h
3735         * sysdeps/unix/sysv/linux/net/if_ppp.h
3736         * sysdeps/unix/sysv/linux/net/if_shaper.h
3737         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3738         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3739         * sysdeps/unix/sysv/linux/netipx/ipx.h
3740         * sysdeps/unix/sysv/linux/sys/acct.h
3741         Include stdint.h for uintNN_t definitions.
3742         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3744 2016-09-23  Zack Weinberg  <zackw@panix.com>
3746         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3747         * sysdeps/unix/sysv/linux/netrose/rose.h:
3748         Include sys/socket.h and netax25/ax25.h.
3750         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3751         * resolv/arpa/nameser_compat.h:
3752         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3754         * sysdeps/unix/sysv/linux/sys/quota.h:
3755         Use __caddr_t instead of caddr_t.
3756         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3757         Use __clockid_t instead of clockid_t.
3759         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3761         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3762         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3763         expanding it.
3765         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3766         Define __glibc_c99_flexarr_available to 1 when the compiler
3767         supports C99-compatible flexible array members, 0 otherwise.
3768         * sysdeps/unix/sysv/linux/bits/socket.h
3769         * sysdeps/mach/hurd/bits/socket.h
3770         * bits/socket.h: Use __glibc_c99_flexarr_available in
3771         definitions of struct cmsghdr and CMSG_DATA.
3773 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3775         * manual/nss.texi (NSS Modules Interface): Adjust function return
3776         type to enum nss_status.  Document errnop argument.  Clarify
3777         h_errnop semantics.  Fix cross-reference formatting.
3778         (NSS Module Function Internals): Mention that *errnop needs to be
3779         set on failure, but not to zero.
3781 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3783         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3784         (get_random_name): New functions.
3785         (check_wrapper_flags_mode): Use linkat to give the new file a name
3786         determined by get_random_name.
3787         (do_test): Add calls to test open64 and openat64.
3789 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3791         * test-skeleton.c: Remove #include <stdarg.h>.
3793 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3795         [BZ #19826]
3796         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3797         initialization of static TLS entries.
3798         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3799         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3801 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3803         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3804         _hurd_malloc_fork_prepare.
3805         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3806         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3807         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3808         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3809         (_hurd_fork_child_hook): Drop malloc_fork_child.
3810         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3811         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3812         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3813         after locking locks (notably hurd_dtable_lock). Call
3814         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3815         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3816         __malloc_fork_unlock_child.
3817         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3819 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3821         * soft-fp/extendhftf2.c: New.
3822         * soft-fp/fixhfti.c: Likewise.
3823         * soft-fp/fixunshfti.c: Likewise.
3824         * soft-fp/floattihf.c: Likewise.
3825         * soft-fp/floatuntihf.c: Likewise.
3826         * soft-fp/half.h: Likewise.
3827         * soft-fp/trunctfhf2.c: Likewise.
3829 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3831         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3832         macro.
3833         * math/libm-test.inc (issubnormal_test_data): New array.
3834         (issubnormal_test): New function.
3835         * manual/arith.texi (Floating Point Classes): Document
3836         issubnormal.
3837         * manual/libm-err-tab.pl: Update comment on interfaces without
3838         ulps tabulated.
3840         * sysdeps/generic/stdint.h: Define
3841         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3842         <bits/libc-header-start.h> instead of including <features.h>.
3843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3866         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3867         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3869         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3872         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3873         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3876         * manual/arith.texi (Integers): Document these macros for types
3877         specified by width properties.
3878         * manual/lang.texi (Width of Type): Document these macros for
3879         other standard typedefs.
3880         * stdlib/tst-width-stdint.c: New file.
3881         * stdlib/Makefile (tests): Add tst-width-stdint.
3883 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3885         [BZ #20016]
3886         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3887         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3888         Move ...
3889         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3890         ... here, as compatibility symbols in a new file.
3891         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3892         * resolv/res_init.c (__res_vinit): Adjust member names.
3893         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3894         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3895         (res_send_rhook): Remove.
3896         (struct __res_state): Rename qhook, rhook members.
3898 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3900         malloc: Use __libc_lock wrappers.
3901         * malloc/arena.c (list_lock, free_list_lock): Define using
3902         __libc_lock_define_initialized.
3903         (arena_lock): Adjust formatting.
3904         * malloc/malloc.c (struct malloc_state): Define mutex using
3905         __libc_lock_define.
3906         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3907         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3908         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3909         (mutex_unlock, mutex_trylock): Remove.
3910         (__pthread_initialize): Remove unused macro.
3911         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3912         (mutex_unlock, mutex_trylock): Remove.
3914 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3916         [BZ #20592]
3917         Remove RR type classification macros.
3918         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3919         (ns_t_udp_p, ns_t_xfr_p): Remove.
3921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3923         Remove misleading version information.
3924         * resolv/arpa/nameser.h (__NAMESER): Remove.
3925         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3927 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3929         Remove the always-defined BIND_4_COMPAT macro.
3930         * resolv/arpa/nameser.h: Unconditionally include
3931         <arpa/nameser_compat.h>.
3932         (BIND_4_COMPAT): Remove.
3933         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3935 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3937         [BZ #20591]
3938         Remove obsolete DNSSEC support.
3939         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3940         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3941         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3942         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3943         (ns_cert_types): Add comment.
3944         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3945         separately.
3946         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3947         (dst_s_dns_key_id): Remove.
3948         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3949         variables.
3951 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3953         [BZ #20524]
3954         * manual/string.texi (String/Array Comparison): Clarify the
3955         strverscmp behavior.
3957 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3959         * test-skeleton.c (xasprintf): Add function.
3960         * io/tst-open-tmpfile.c: New test.
3961         * io/Makefile (tests): Add it.
3963 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3965         Avoid running $(CXX) during build to obtain header file paths.
3966         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3967         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3968         * Makerules (cstdlib, cmath): Remove variables.  Use
3969         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3970         * configure: Regenerate.
3972 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3974         * Makeconfig (all-object-suffixes): Include .op only if
3975         $(build-profile).
3977 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3979         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3980         conditionals.  Do not define PATH_MAX.
3982 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3984         * posix/Makefile (tests): Add tst-spawn3.
3985         * posix/tst-spawn3.c: New file.
3986         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3987         if it is already opened for open action.
3989         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3990         all signals when executing the clone vfork child.
3991         (SIGALL_SET): Remove macro.
3993         * nptl/Makefile (tests): Add tst-exec5.
3994         * nptl/tst-exec5.c: New file.
3995         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3996         asynchronous cancellation.
3998 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4000         * hurd/exc2signal.c: #include <hurd/signal.h>
4001         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4002         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
4003         accordingly.
4004         * mach/mach_error.c (mach_error): Fix old-style function definition.
4005         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4007 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4009         * math/Makefile (libm-calls): Remove s_nanF.
4010         (gen-libm-calls): Add s_nanF.
4012         * math/s_nan.c: Refactor into ...
4013         * math/s_nan_template.c: New file.
4015         * math/s_nanf.c: Removed.
4016         * math/s_nanl.c: Removed.
4017         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4018         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4020         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4021         (LDOUBLE_nanl_libm_version): New macro.
4023         * sysdeps/generic/math-type-macros-double.h:
4024         (M_STRTO_NAN): New macro.
4025         * sysdeps/generic/math-type-macros-float.h: Likewise.
4026         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4028         * sysdeps/generic/math-type-macros.h: Document
4029         M_STRTO_NAN.
4031 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4033         * math/s_nanf.c: Remove __nanf undef.
4034         * math/s_nan.c: Remove __nan undef.
4035         * math/s_nanl.c: Remove __nanl undef.
4037         * sysdeps/generic/math_private.h (__nan): Remove macro
4038         override.
4039         (__nanf): Likewise.
4040         (__nanl): Likewise.
4042 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4044         * math/Makefile (gen-all-calls): New variable.
4045         (generated): Replace gen-libm-calls with gen-all-calls.
4046         (gen-libm-templates.stmp): Likewise.  Also, ensure
4047         the output directory exists or is created and add
4048         dependency on the Makefile.
4049         (calls): Move s_ldexpF into gen-calls.
4050         (gen-calls): New variable.
4052         * math/s_ldexpf.c: Removed.
4053         * math/s_ldexpl.c: Removed.
4054         * math/s_ldexp.c: Refactored into ...
4055         * math/s_ldexp_template.c: New file.
4057         * sysdeps/generic/math-type-macros-double.h: Remove
4058         redundant fall-through definition of declare_mgen_alias.
4059         (declare_mgen_alias_2): New macro.
4061         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4062         New macro for function aliased to two exported symbols.
4064         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4065         new template file.
4066         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4068 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4070         * Makeconfig (all-object-suffixes): Remove .og.
4071         * Makerules (elide-routines.og): Remove.
4072         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4073         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4074         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4076 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4078         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4079         .os objects.
4081 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4083         [BZ #20615]
4084         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4085         fpu directory by non-fpu.
4086         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4087         on non-fpu directory from a fpu directory.
4089 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4091         * include/limits.h: Define
4092         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4093         <bits/libc-header-start.h> instead of including <features.h>.
4094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4105         * manual/lang.texi (Width of Type): Document these macros.
4106         * stdlib/tst-width.c: New file.
4107         * stdlib/Makefile (tests): Add tst-width.
4109 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4111         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4112         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4114 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4116         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4117         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4118         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4120 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4122         [BZ #18243]
4123         * rt/Makefile (test): Add tst-shm-cancel.
4124         * rt/tst-shm-cancel.c: New file.
4125         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4127         [BZ #18243]
4128         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4129         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4130         definition.
4131         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4132         uncontended case.
4133         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4134         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4135         (tf): Fix check for uncontended case.
4136         (do_test): Likewise.
4137         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4138         (tf): Fix check for uncontended case.
4139         (do_test): Likewise.
4140         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4141         (tf): Fix check for uncontended case.
4142         (do_test): Likewise.
4143         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4144         (tf): Fix check for uncontended case.
4145         (do_test): Likewise.
4147         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4148         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4150         [BZ #15765]
4151         * nptl/Makefile (tests): Add tst-sem16.
4152         * nptl/tst-sem16.c: New file.
4153         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4155         * nptl/sem_open.c (sem_open): Init pad value to 0.
4156         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4157         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4159 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4161         [BZ #20611]
4162         * inet/Makefile (routines): Add inet6_scopeid_pton.
4163         (tests): Add tst-inet6_scopeid_pton.
4164         * inet/inet6_scopeid_pton.c: New file.
4165         * inet/net-internal.h: Likewise.
4166         * inet/tst-inet6_scopeid_pton.c: New test.
4167         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4168         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4171 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4173         Remove support for compiling wrappers with PTW.
4174         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4175         * nptl/Makefile (pthread-compat-wrappers): Define.
4176         (libpthread-routines): Use pthread-compat-wrappers.
4177         * sysdeps/unix/sysv/linux/alpha/Makefile
4178         (libpthread-routines, libpthread-shared-only-routines): Remove
4179         ptw- prefix.
4180         * sysdeps/s390/nptl/Makefile
4181         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4182         * sysdeps/ia64/nptl/Makefile
4183         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4184         * sysdeps/nacl/Makefile (libpthread-routines): Use
4185         pthread-compat-wrappers to filter the routines list instead of the
4186         ptw- prefix.
4188 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4190         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4191         with L() and remove explicit suffix, convert real literals
4192         which can be equivalentally substituted with integers, and
4193         transform -L(x) to L(-x).
4195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4198         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4199         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4200         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4201         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4202         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4203         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4204         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4205         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4206         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4207         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4208         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4209         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4210         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4211         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4212         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4213         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4214         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4215         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4216         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4217         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4218         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4219         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4220         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4221         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4222         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4223         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4224         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4225         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4226         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4227         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4228         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4229         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4230         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4231         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4232         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4233         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4234         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4235         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4236         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4237         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4238         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4239         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4240         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4242         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4243         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4244         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4246 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4248         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4250 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4252         * malloc/Makefile (tests): Remove individual static test names
4253         and just add all of tests-static.
4255         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4257 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4259         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4260         file.
4262         * sysdeps/sparc/fpu/fegetmode.c: New file.
4263         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4265         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4266         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4268         * sysdeps/s390/fpu/fegetmode.c: New file.
4269         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4271         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4272         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4273         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4274         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4275         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4276         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4278         * sysdeps/mips/fpu/fegetmode.c: New file.
4279         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4281         * sysdeps/m68k/fpu/fegetmode.c: New file.
4282         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4284         * sysdeps/ia64/fpu/fegetmode.c: New file.
4285         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4287         * sysdeps/hppa/fpu/fegetmode.c: New file.
4288         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4290         * sysdeps/arm/fegetmode.c: New file.
4291         * sysdeps/arm/fesetmode.c: Likewise.
4293         * sysdeps/alpha/fpu/fegetmode.c: New file.
4294         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4296         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4297         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4299         * math/fegetmode.c: New file.
4300         * math/fesetmode.c: Likewise.
4301         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4302         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4303         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4304         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4305         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4307         declaration.
4308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4309         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4310         typedef.
4311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4312         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4313         (femode_t): New typedef.
4314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4315         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4316         (femode_t): New typedef.
4317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4318         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4319         (femode_t): New typedef.
4320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4321         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4322         (femode_t): New typedef.
4323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4324         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4325         (femode_t): New typedef.
4326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4327         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4328         (femode_t): New typedef.
4329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4330         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4331         (femode_t): New typedef.
4332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4333         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4334         (femode_t): New typedef.
4335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4336         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4337         (femode_t): New typedef.
4338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4339         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4340         (femode_t): New typedef.
4341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4342         declaration.
4343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4344         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4345         (femode_t): New typedef.
4346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4347         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4348         (femode_t): New typedef.
4349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4350         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4351         (femode_t): New typedef.
4352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4353         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4354         (femode_t): New typedef.
4355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4356         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4357         (femode_t): New typedef.
4358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4359         * manual/arith.texi (FE_DFL_MODE): Document macro.
4360         (fegetmode): Document function.
4361         (fesetmode): Likewise.
4362         * math/Versions (fegetmode): New libm symbol at version
4363         GLIBC_2.25.
4364         (fesetmode): Likewise.
4365         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4366         (tests): Add test-femode and test-femode-traps.
4367         * math/test-femode-traps.c: New file.
4368         * math/test-femode.c: Likewise.
4369         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4370         alias for __fe_dfl_env.
4371         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4373         (__fe_dfl_mode): Likewise.
4374         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4375         version GLIBC_2.25.
4376         * sysdeps/nacl/libm.abilist: Update.
4377         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4378         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4379         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4380         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4381         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4382         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4384         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4385         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4386         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4387         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4388         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4390         Likewise.
4391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4392         Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4394         Likewise.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4396         Likewise.
4397         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4398         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4399         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4401         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4403         Likewise.
4404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4405         Likewise.
4406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4407         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4408         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4410 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4412         [BZ #20495]
4413         [BZ #20508]
4414         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4415         processors, set Use_dl_runtime_resolve_slow and set
4416         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4417         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4418         New.
4419         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4420         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4421         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4422         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4423         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4424         if Use_dl_runtime_resolve_opt is set.  Use
4425         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4426         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4427         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4428         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4429         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4430         New.
4431         (_dl_runtime_resolve_opt): Likewise.
4432         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4433         defined.
4435 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4437         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4438         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4440 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4442         Convert malloc to __libc_lock.  Automated part, using this Perl
4443         s/// command:
4444           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4445             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4446         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4447         conversion.
4449 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4451         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4452         (linknamespace-symlists-tests): Likewise.
4453         (linknamespace-header-tests): Likewise.
4455 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4457         [BZ #19810]
4458         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4459         * elf/tst-noload.c: New test case.
4460         * elf/Makefile (tests): Add tst-noload.
4462 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4464         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4466         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4467         not any more.
4469         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4471 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4473         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4474         (do_cos_slow): Likewise.
4475         (do_sin): Likewise.
4476         (do_sin_slow): Likewise.
4477         (slow): Likewise.
4478         (slow1): Likewise.
4479         (slow2): Likewise.
4480         (sloww): Likewise.
4481         (sloww1): Likewise.
4482         (sloww2): Likewise.
4483         (bsloww): Likewise.
4484         (bsloww1): Likewise.
4485         (bsloww2): Likewise.
4486         (cslow2): Likewise.
4488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4490         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4491         arguments.  Consolidate input partitioning from callers here.
4492         (do_cos_slow): Likewise.
4493         (do_sin): Likewise.
4494         (do_sin_slow): Likewise.
4495         (do_sincos_1): Remove the no longer necessary input partitioning.
4496         (do_sincos_2): Likewise.
4497         (__sin): Likewise.
4498         (__cos): Likewise.
4499         (slow1): Likewise.
4500         (slow2): Likewise.
4501         (sloww1): Likewise.
4502         (sloww2): Likewise.
4503         (bsloww1): Likewise.
4504         (bsloww2): Likewise.
4505         (cslow2): Likewise.
4507 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4509         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4510         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4511         outside of allocated array.
4513 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4515         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4516         instead of MB_CUR_MAX to avoid variable-length array.
4518 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4520         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4521         (type-double-routines): Add k_rem_pio2.
4522         (type-float-routines): Add k_rem_pio2f.
4524         * sysdeps/generic/math_private.h:
4525         (__kernel_rem_pio2l): Removed.
4527         * math/k_rem_pio2l.c: Removed.
4528         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4529         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4530         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4531         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4533 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4535         * math/Makefile (gen-libm-calls): Add s_fmin
4536         (libm-calls): Remove above.
4538         * math/s_fmin.c: Refactor into ...
4539         * math/s_fmin_template.c: New file.
4541         * math/s_fminf.c: Removed.
4542         * math/s_fminl.c: Removed.
4543         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4544         (LDOUBLE_fmin_libm_version): New macro.
4546         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4547         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4549 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4551         * math/Makefile: (gen-libm-calls): Add s_fmax.
4552         (libm-calls): Remove above.
4554         * math/s_fmax.c: Refactor into ...
4555         * math/s_fmax_template.c: New file.
4556         * math/s_fmaxf.c: Removed.
4557         * math/s_fmaxl.c: Removed.
4559         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4560         (LDOUBLE_fmaxl_libm_version): New macro.
4562         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4563         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4565         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4566         s_fmin.c to pick the aarch64 version of the file.
4567         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4568         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4570 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4572         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4573         (libm-calls): Remove above.
4575         * math/s_nextdown.c: Refactor into ...
4576         * math/s_nextdown_template.c: New file.
4577         * math/s_nextdownf.c: Removed.
4578         * math/s_nextdownl.c: Removed.
4580         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4582 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4584         * math/Makefile (gen-libm-calls): Add s_fdim.
4585         (libm-calls): Move to above.
4587         * math/s_fdim.c: Renamed and refactored into to ...
4588         * math/s_fdim_template.c: New file.
4589         * math/s_fdiml.c: Removed.
4590         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4591         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4593         * sysdeps/generic/math-type-macros-double.h:
4594         (declare_mgen_alias): Don't declare if already declared.
4595         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4596         Likewise.
4598         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4599         (declare_mgen_alias): Don't declare if already declared.
4600         (M_LIBM_NEED_COMPAT): Likewise.
4601         (declare_mgen_libm_compat): Likewise.
4602         (LDOUBLE_fdiml_libm_version): New macro.
4604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4605         Include math/s_fdim.c now that ldbl-opt version is not needed.
4606         (declare_mgen_alias): New macro to disable aliasing.
4608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4609         (declare_mgen_alias): Likewise.
4610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4611         (declare_mgen_alias): Likewise.
4612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4613         (declare_mgen_alias): Likewise.
4614         (M_LIBM_NEED_COMPAT): Likewise.
4616 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4618         [BZ #20525]
4619         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4620         Include <linux/quota.h>.
4621         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4622         and btodb.
4623         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4624         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4625         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4626         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4627         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4628         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4629         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4630         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4631         types.
4632         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4633         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4635 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4638         (gammal_positive): Fix spacing.
4639         (__ieee754_gammal_r): Likewise.
4641 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4643         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4644         (_Float128): Define as long double, always.
4645         (L): Apply long double type suffix, always.
4647         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4648         _Float128, excepting comments.
4650         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4652         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4665         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4675         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4676         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4677         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4678         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4679         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4680         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4681         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4682         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4683         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4684         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4685         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4686         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4687         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4688         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4689         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4690         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4691         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4692         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4693         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4694         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4695         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4696         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4697         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4698         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4699         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4700         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4701         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4704         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4705         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4708         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4709         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4710         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4711         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4712         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4713         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4714         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4715         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4716         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4717         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4719         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4720         _Float128, and include math_private.h.
4721         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4723         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4724         long double semantics.
4725         (_Float128): Likewise.
4726         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4727         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4728         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4729         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4731 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4733         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4734         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4735         * sysdeps/s390/configure: Regenerated.
4736         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4737         instruction for raising over-/underflow if z196 zarch is supported
4738         by default.
4739         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4741 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4743         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4744         it point to a dumb buffer for RPC to fill it.
4746 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4748         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4749         instead of if/else.
4750         (do_sin_slow): Likewise.
4751         (do_sincos_1): Use fabs instead of if/else.
4752         (do_sincos_2): Likewise.
4753         (__sin): Likewise.
4754         (__cos): Likewise.
4755         (slow2): Likewise.
4756         (sloww): Likewise.
4757         (sloww1): Likewise.  Drop argument M.
4758         (sloww2): Use fabs instead of if/else.
4759         (bsloww): Likewise.
4760         (bsloww1): Likewise.
4761         (bsloww2): Likewise.
4763         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4764         fall through comment.
4765         (do_sincos_1): Likewise.
4767         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4768         Consolidate switch cases 0 and 2.
4770 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4772         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4773         (libm-calls): Remove the above.
4775         * math/s_cexp_template.c: Update using type-generic macros.
4776         * math/s_clog10_template.c: Likewise.
4777         * math/s_cpow_template.c: Likewise.
4778         * math/s_clog_template.c: Likewise.
4779         * math/s_cproj_template.c: Likewise.
4780         * math/s_csqrt_template.c: Likewise.
4782         * math/s_cexp.c: Removed.
4783         * math/s_cexpf.c: Removed.
4784         * math/s_cexpl.c: Removed.
4785         * math/s_clog10.c: Removed.
4786         * math/s_clog10f.c: Removed.
4787         * math/s_clog10l.c: Removed.
4788         * math/s_cpow.c: Removed.
4789         * math/s_cpowf.c: Removed.
4790         * math/s_cpowl.c: Removed.
4791         * math/s_clog.c: Removed.
4792         * math/s_clogf.c: Removed.
4793         * math/s_clogl.c: Removed.
4794         * math/s_cproj.c: Removed.
4795         * math/s_cprojf.c: Removed.
4796         * math/s_cprojl.c: Removed.
4797         * math/s_csqrt.c: Removed.
4798         * math/s_csqrtf.c: Removed.
4799         * math/s_csqrtl.c: Removed.
4801         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4802         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4803         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4804         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4805         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4806         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4808         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4809         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4810         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4811         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4812         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4813         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4814         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4815         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4816         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4817         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4818         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4820         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4821         version.
4823         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4824         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4825         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4826         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4828 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4830         * s_cexp_template.c: Copy of s_cexp.c.
4831         * s_clog_template.c: Copy of s_clog.c.
4832         * s_clog10_template.c: Copy of s_clog10.c.
4833         * s_cpow_template.c: Copy of s_cpow.c.
4834         * s_cproj_template.c: Copy of s_cproj.c.
4835         * s_csqrt_template.c: Copy of s_csqrt.c.
4837 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4839         [BZ #20517]
4840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4841         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4842         exported.
4844 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4846         * math/fetestexceptflag.c: New file.
4847         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4848         Stefan Liebler.
4849         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4850         (fetestexceptflag): New function declaration.
4851         * manual/arith.texi (fetestexceptflag): Document function.
4852         * math/Versions (fetestexceptflag): New libm symbol at version
4853         GLIBC_2.25.
4854         * math/Makefile (libm-support): Add fetestexceptflag.
4855         (tests): Add test-fetestexceptflag.
4856         * math/test-fetestexceptflag.c: New file.
4857         * sysdeps/nacl/libm.abilist: Update.
4858         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4871         Likewise.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4877         Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4884         Likewise.
4885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4886         Likewise.
4887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4891 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4893         [BZ #20432]
4894         Avoid strong references to malloc-internal symbols when linking
4895         statically, to support statically interposed mallocs.
4896         * include/libc-symbols.h (call_function_static_weak): New macro.
4897         * malloc/Makefile (tests): Add tst-interpose-nothread,
4898         tst-interpose-thread, tst-interpose-static-nothread,
4899         tst-interpose-static-thread.
4900         (tests-static): Add tst-interpose-static-nothread,
4901         tst-interpose-static-thread.
4902         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4903         tst-interpose-aux-thread.o.
4904         (test-extras): Add tst-interpose-aux-nothread,
4905         tst-interpose-aux-thread.
4906         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4907         tst-interpose-aux-nothread.o.
4908         (tst-interpose-thread, tst-interpose-static-thread): Link with
4909         tst-interpose-aux-thread.o and libthread.
4910         * malloc/tst-interpose-aux-nothread.c: New file.
4911         * malloc/tst-interpose-aux-thread.c: Likewise.
4912         * malloc/tst-interpose-aux.c: Likewise.
4913         * malloc/tst-interpose-aux.h: Likewise.
4914         * malloc/tst-interpose-nothread.c: Likewise.
4915         * malloc/tst-interpose-skeleton.c: Likewise.
4916         * malloc/tst-interpose-static-nothread.c: Likewise.
4917         * malloc/tst-interpose-static-thread.c: Likewise.
4918         * malloc/tst-interpose-thread.c: Likewise.
4919         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4920         * sysdeps/mach/hurd/fork.c (__fork): Only call
4921         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4922         __malloc_fork_unlock_child if defined.
4923         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4925 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4927         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4928         timespec C99 designated initialization.
4930 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4932         [BZ #19946]
4933         Avoid expected SIGALRM signals.
4934         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4935         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4936         (xpthread_create, xpthread_detach, xpthread_join)
4937         (delayed_exit_thread, delayed_exit): New functions.
4938         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4939         (tf): Use xpthread_cond_wait.
4940         (do_test): Likewise.  Replace alarm with delayed_exit.
4941         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4942         (do_test): Call delayed_exit.  Report failure.
4943         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4944         (do_test): Call delayed_exit.
4945         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4946         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4947         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4948         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4949         error.
4950         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4951         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4952         error.
4953         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4954         (do_test): Call delayed_exit.
4955         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4956         (do_test): Call delayed_exit.
4957         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4958         (do_test): Call delayed_exit instead of alarm.  Use
4959         xpthread_mutex_lock.
4960         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4961         (do_test): Call delayed_exit instead of alarm.  Use
4962         xpthread_mutex_lock.
4963         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4964         (do_test): Call delayed_exit instead of alarm.
4965         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4966         (do_test): Call delayed_exit instead of alarm.  Use
4967         xpthread_spin_lock.
4968         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4969         (do_test): Call delayed_exit instead of alarm.  Use
4970         xpthread_join.
4972 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4974         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4975         adjust CFA when allocating register save area on re-aligned
4976         stack.
4978 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4980         * string/tst-cmp.c: New test.
4981         * string/Makefile (tests): Add it.
4983 2016-08-25  Mark Wielaard  <mark@klomp.org>
4985         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4986         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4987         (check_tree_recurse): Use newly defined accessors.
4988         (check_tree): Likewise.
4989         (maybe_split_for_insert): Likewise.
4990         (__tfind): Likewise.
4991         (__tdelete): Likewise.
4992         (trecurse): Likewise.
4993         (tdestroy_recurse): Likewise.
4994         (__tsearch): Likewise. And add asserts for malloc alignment.
4995         (__twalk): Cast root to node in case CHECK_TREE is defined.
4997 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4999         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5001 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5003         * math/Makefile (libm-gen-calls): Add
5004         catan, catanh, ctan, ctanh.
5005         (libm-calls): Remove the above.
5007         * math/s_catan_template.c: Update using type-generic macros.
5008         * math/s_catanh_template.c: Likewise.
5009         * math/s_ctan_template.c: Likewise.
5010         * math/s_ctanh_template.c: Likewise.
5012         * math/s_catanf.c: Removed.
5013         * math/s_catan.c: Removed.
5014         * math/s_catanl.c: Removed.
5015         * math/s_catanhf.c: Removed.
5016         * math/s_catanh.c: Removed.
5017         * math/s_catanhl.c: Removed.
5018         * math/s_ctanf.c: Removed.
5019         * math/s_ctan.c: Removed.
5020         * math/s_ctanl.c: Removed.
5021         * math/s_ctanhf.c: Removed.
5022         * math/s_ctanh.c: Removed.
5023         * math/s_ctanhl.c: Removed.
5025         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5026         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5027         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5028         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5029         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5030         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5032         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5033         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5034         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5035         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5037 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5039         * s_catan_template.c: Copy of s_catan.c.
5040         * s_catanh_template.c: Copy of s_catanh.c.
5041         * s_ctan_template.c: Copy of s_ctan.c.
5042         * s_ctanh_template.c: Copy of s_ctanh.c.
5044 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5046         * math/Makefile (gen-libm-calls): Move
5047         casin, casinh, csin, csinh here.
5048         (libm-calls): Remove the above.
5050         * math/s_casin_template.c: Update using type-generic macros.
5051         * math/s_casinh_template.c: Likewise.
5052         * math/s_csin_template.c: Likewise.
5053         * math/s_csinh_template.c: Likewise.
5054         * math/k_casinh_template.c: Likewise.
5056         * math/s_casinf.c: Removed.
5057         * math/s_casin.c: Removed.
5058         * math/s_casinl.c: Removed.
5059         * math/s_casinh.c: Removed.
5060         * math/s_casinhf.c: Removed.
5061         * math/s_casinhl.c: Removed.
5062         * math/s_csin.c: Removed.
5063         * math/s_csinf.c: Removed.
5064         * math/s_csinl.c: Removed.
5065         * math/s_csinh.c: Removed.
5066         * math/s_csinhf.c: Removed.
5067         * math/s_csinhl.c: Removed.
5068         * math/k_casinh.c: Removed.
5069         * math/k_casinhf.c: Removed.
5070         * math/k_casinhl.c: Removed.
5072         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5073         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5074         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5075         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5077         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5078         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5079         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5080         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5081         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5082         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5083         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5084         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5086         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5087         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5088         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5089         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5091         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5092         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5093         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5094         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5096 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5098         * s_casin_template.c: Copy of s_casin.c.
5099         * s_casinh_template.c: Copy of s_casinh.c.
5100         * s_csin_template.c: Copy of s_csin.c.
5101         * s_csinh_template.c: Copy of s_csinh.c.
5102         * k_casinh_template.c: Copy of k_casinh.c.
5104 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5106         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5108 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5110         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5111         (mul_split) Remove, rename as mul_splitl, remove
5112         redundant float.h include, and include via mul_splitl.h
5114         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5115         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5116         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5117         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5118         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5120         * math/mul_splitl.h: New file.
5122         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5123         Move into mul_split.h, and remove redundant float.h include.
5125         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5126         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5127         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5128         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5130         * math/mul_split.h: New file.
5132 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5134         * math/Makefile (libm-gen-calls): Move
5135         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5136         (libm-calls): Remove above.
5138         * math/s_cacos_template.c: Update using type-generic macros.
5139         * math/s_cacosh_template.c: Likewise.
5140         * math/s_ccos_template.c: Likewise.
5141         * math/s_ccosh_template.c: Likwise.
5143         * math/s_cacosf.c: Removed.
5144         * math/s_cacos.c: Removed.
5145         * math/s_cacosl.c: Removed.
5146         * math/s_cacoshf.c: Removed.
5147         * math/s_cacosh.c: Removed.
5148         * math/s_cacoshl.c: Removed.
5149         * math/s_ccosf.c: Removed.
5150         * math/s_ccos.c: Removed.
5151         * math/s_ccosl.c: Removed.
5152         * math/s_ccoshf.c: Removed.
5153         * math/s_ccosh.c: Removed.
5154         * math/s_ccoshl.c: Removed.
5156         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5157         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5158         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5159         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5160         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5161         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5163         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5164         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5165         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5166         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5168         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5169         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5170         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5171         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5173 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5175         * s_cacos_template.c: Copy of s_cacos.c.
5176         * s_cacosh_template.c: Copy of s_cacosh.c.
5177         * s_ccos_template.c: Copy of s_ccos.c.
5178         * s_ccosh_template.c: Copy of s_ccosh.c.
5180 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5182         * stdlib/tst-strtod-round-skeleton.c:
5183         Refactored from tst-strtod-round.c.
5185         (L_): New macro to apply literal modifier.
5186         (FNPFX): New macro to select str or wcs prefix.
5187         (CHAR): New macro to choose wchar_t or char.
5188         (STRM): New macro to choose printf for tested character type.
5190         (STRTO): New macro to choose appropriate string -> real function.
5191         (FNPFXS): Stringitized version of FNPFX.
5192         (STR): Support for above macro.
5193         (STRX): Likewise.
5195         (TEST): Update with above macros.
5196         (test): Likewise.
5197         (GEN_ONE_TEST): Likewise.
5198         (test_in_one_mode): Likewise.
5200         * stdlib/tst-strtod-round.c: New file.
5201         * wcsmbs/tst-wcstod-round.c: New file.
5203         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5204         (tst-wcstod-round): Add libm depencency for fesetround.
5206 2016-08-19  Zack Weinberg  <zackw@panix.com>
5208         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5210 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5212         [BZ #20477]
5213         * resolv/res_hconf.c (do_init): Use atomic access.
5214         * resolv/res_hconf.h: Add comments.
5215         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5216         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5219 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5221         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5222         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5223         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5224         Likewise.
5226 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5228         [BZ #16907]
5229         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5230         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5231         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5232         (__attribute__): Remove definition.
5234 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5236         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5237         Remove unused sqrtl declaration.
5239 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5241         * math/Makefile: (gen-libm-templates.stmp): New rule.
5242         (libm-calls): Move carg conj cimag and cabs into ...
5243         (gen-libm-calls): New variable.
5244         (generated): Inform Make objects from gen-libm-calls
5245         may be generated.
5247         * sysdeps/generic/math-type-macros.h: New file.
5248         * sysdeps/generic/math-type-macros-float.h: Likewise.
5249         * sysdeps/generic/math-type-macros-double.h: Likewise.
5250         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5251         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5252         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5254         * math/cabs.c: Refactor into
5255         * math/cabs_template.c: new file.
5256         * math/cabsf.c: Removed.
5257         * math/cabsl.c: Removed.
5258         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5259         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5261         * math/carg.c: Refactor into
5262         * math/carg_template.c: new file.
5263         * math/cargf.c: Removed.
5264         * math/cargl.c: Removed.
5265         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5266         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5268         * math/conj.c: Refactor into
5269         * math/conj_template.c: new file.
5270         * math/conjf.c: Removed.
5271         * math/conjl.c: Removed.
5272         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5273         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5275         * math/cimag.c: Refactor into
5276         * math/cimag_template.c: new file.
5277         * math/cimagf.c: Removed.
5278         * math/cimagl.c: Removed.
5279         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5280         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5282         * math/cimag.c: Refactor into
5283         * math/cimag_template.c: new file.
5284         * math/cimagf.c: Removed.
5285         * math/cimagl.c: Removed.
5286         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5287         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5289 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5291         Reduce time to expected nptl/tst-once5 failure.
5292         * nptl/tst-once5.cc (TIMEOUT): Define.
5294 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5296         [BZ #20452]
5297         Avoid additional copies of objects in libc.a in static libraries.
5298         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5299         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5300         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5301         rt-sysdep.
5302         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5303         Add nptl-sysdep.
5304         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5305         Add ptw-sysdep.
5306         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5307         rt-sysdep.
5308         * sysdeps/unix/sysv/linux/alpha/Makefile
5309         (libpthread-shared-only-routines): Add ptw-sysdep,
5310         ptw-sigprocmask, ptw-rt_sigaction.
5311         * sysdeps/unix/sysv/linux/ia64/Makefile
5312         (librt-shared-only-routines): Add rt-sysdep.
5313         * sysdeps/unix/sysv/linux/i386/Makefile
5314         (libpthread-shared-only-routines): Add libc-do-syscall.
5315         * sysdeps/unix/sysv/linux/microblaze/Makefile
5316         (libpthread-shared-only-routines): Add sysdep.
5317         * sysdeps/unix/sysv/linux/powerpc/Makefile
5318         (librt-shared-only-routines): Add rt-sysdep.
5319         (libpthread-shared-only-routines): Add sysdep.
5320         * sysdeps/unix/sysv/linux/s390/Makefile
5321         (librt-shared-only-routines): Add rt-sysdep.
5322         * sysdeps/unix/sysv/linux/sparc/Makefile
5323         (librt-shared-only-routines): Add rt-sysdep.
5324         (libpthread-shared-only-routines): Add sysdep.
5325         * sysdeps/unix/sysv/linux/tile/Makefile
5326         (libpthread-shared-only-routines): Likewise.
5328 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5330         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5331         Mask implicit bit out of unpacked value.
5332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5336         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5338         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5340         * sysdeps/s390/fpu/fesetexcept.c: New file.
5342         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5343         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5344         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5346         * sysdeps/mips/fpu/fesetexcept.c: New file.
5348         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5350         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5352         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5354         * sysdeps/arm/fesetexcept.c: New file.
5356         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5358         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5360         * math/fesetexcept.c: New file.
5361         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5362         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5363         * math/fenv.h: Define
5364         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5365         <bits/libc-header-start.h> instead of including <features.h>.
5366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5367         declaration.
5368         * manual/arith.texi (fesetexcept): Document function.
5369         * math/Versions (fesetexcept): New libm symbol at version
5370         GLIBC_2.25.
5371         * math/Makefile (libm-support): Add fesetexcept.
5372         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5373         * math/test-fesetexcept.c: New file.
5374         * math/test-fesetexcept-traps.c: Likewise.
5375         * sysdeps/nacl/libm.abilist: Update.
5376         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5379         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5381         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5386         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5387         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5389         Likewise.
5390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5391         Likewise.
5392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5393         Likewise.
5394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5395         Likewise.
5396         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5397         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5399         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5400         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5402         Likewise.
5403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5404         Likewise.
5405         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5406         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5407         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5409 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5411         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5412         New.
5413         (do_test): Apply default_stack_size_in_mb if not set.
5414         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5416 2016-08-15  Andreas Schwab  <schwab@suse.de>
5418         [BZ #20435]
5419         CVE-2016-6323
5420         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5421         as .cantunwind.
5423 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5425         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5426         comment from fraiseexcpt.c.
5428         * math/test-fexcept.c (feraiseexcept_exact): New function.
5429         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5430         (test_except): Likewise.
5432 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5434         [BZ #20455]
5435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5436         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5437         to be restored.
5439         * math/test-fexcept-traps.c: New file.
5440         * math/test-fexcept.c: Likewise.
5441         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5442         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5443         macro.
5444         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5445         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5447 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5449         * include/atomic.h (atomic_fetch_and_relaxed,
5450         atomic_fetch_and_release, atomic_fetch_or_release,
5451         atomic_fetch_xor_release): New.
5453 2016-08-06  Christian Seiler  <christian@iwakd.de>
5455         [BZ #20444]
5456         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5457         MACH_PORT_NULL.
5459 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5461         * math/s_fdim.c: Avoid alias renamed.
5462         * math/s_fdimf.c: Likewise.
5463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5464         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5465         Add s_fdimf-vis3, s_fdim-vis3.
5466         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5467         (CFLAGS-s_fdim-vis3.c): Likewise.
5468         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5469         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5471 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5474         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5475         Remove s_fdimf-vis3, s_fdim-vis3.
5476         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5477         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5484         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5485         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5487 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5489         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5490         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5491         -Wa,-Av9a -mvis.
5493 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5495         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5496         LIT() to individual constants in simple expressions
5497         after splitting on spaces.
5498         (_apply_lit): Rename replaced version, and use it to
5499         apply to what appears to be a token.
5501         * math/libm-test.inc: Fix many, many issues with
5502         spacing.
5504 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5506         * math/math.h: Move comment about <bits/mathdef.h> definitions
5507         above inclusion of <bits/mathdef.h>.  Do not mention
5508         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5510 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5512         * include/atomic.h (atomic_exchange_relaxed): New.
5514 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5516         * math/e_scalb.c: Do not include <fenv.h>.
5517         (invalid_fn): Do calculation resulting in NaN instead of raising
5518         FE_INVALID and returning a NaN explicitly.
5519         * math/e_scalbf.c: Do not include <fenv.h>.
5520         (invalid_fn): Do calculation resulting in NaN instead of raising
5521         FE_INVALID and returning a NaN explicitly.
5522         * math/e_scalbl.c: Do not include <fenv.h>.
5523         (invalid_fn): Do calculation resulting in NaN instead of raising
5524         FE_INVALID and returning a NaN explicitly.
5526 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5528         * po/de.po: Updated from Translation Project.
5529         * po/fi.po: Likewise.
5530         * po/sv.po: Likewise.
5532 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5534         [BZ #20452]
5535         Use sysdep.o from libc.a in static libraries.
5536         * sysdeps/unix/sysv/linux/i386/Makefile
5537         (libpthread-shared-only-routines): Add sysdep.
5538         (librt-shared-only-routines): Likewise.
5540 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5542         * math/tgmath.h (nextdown): Define if
5543         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5544         (nextup): Likewise.
5546         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5547         macro.
5548         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5549         Document.
5550         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5551         Document macro.
5552         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5553         (exp10f): Likewise.
5554         (exp10l): Likewise.
5555         * math/bits/mathcalls.h (exp10): Declare if
5556         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5558         * manual/arith.texi (nextup): Fix typo in last change.
5560 2016-08-03  Zack Weinberg  <zackw@panix.com>
5562         [BZ #19239]
5563         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5564         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5565         define major, minor, and makedev to issue deprecation warnings on use.
5566         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5567         previously-activated deprecation warnings for these macros and prevent
5568         subsequent inclusions of this header from having any effect.
5569         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5570         including <sys/sysmacros.h>, and undefine it again afterward.
5572 2016-08-03  Zack Weinberg  <zackw@panix.com>
5574         * sysdeps/generic/sys/sysmacros.h: Delete file.
5575         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5576         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5577         * bits/sysmacros.h: ... here; this encoding is now the generic
5578         encoding.  Now defines only the following macros:
5579         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5580         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5581         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5583         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5584         bits/sysmacros.h and the above new macros to generate the
5585         public implementations of major, minor, and makedev.
5586         * misc/tst-makedev.c: New test.
5587         * include/sys/sysmacros.h: New wrapper.
5589         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5590         (routines): Add makedev.
5591         (tests): Add tst-makedev.
5592         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5593         gnu_dev_makedev.
5594         * posix/Makefile (headers): Remove sys/sysmacros.h.
5595         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5597         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5598         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5600         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5601         * sysdeps/unix/sysv/linux/arm/libc.abilist
5602         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5603         * sysdeps/unix/sysv/linux/i386/libc.abilist
5604         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5605         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5606         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5607         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5608         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5609         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5610         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5611         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5612         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5617         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5618         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5619         * sysdeps/unix/sysv/linux/sh/libc.abilist
5620         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5621         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5625         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5626         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5627         Add GLIBC_2.25.
5629         * include/features.h (__glibc_clang_prereq): New macro.
5630         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5631         (__attribute_deprecated_msg__): New macros.
5633 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5635         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5636         macro.
5637         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5638         * manual/arith.texi (issignaling): Document as ISO from TS
5639         18661-1:2014.
5640         (nextup): Likewise.
5641         (nextupf): Likewise.
5642         (nextupl): Likewise.
5643         (nextdown): Likewise.
5644         (nextdownf): Likewise.
5645         (nextdownl): Likewise.
5646         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5647         macro.
5648         * math/math.h: Define
5649         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5650         <bits/libc-header-start.h> instead of including <features.h>.
5651         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5652         [__USE_GNU].
5653         * math/bits/mathcalls.h (nextdown): Declare if
5654         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5655         (nextup): Likewise.
5656         (__issignaling): Likewise.
5658 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5660         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5661         check, and remove __glibc_likely hint
5662         from FP_INFINITE check.
5663         * s_csinhf.c (__csinhf): Likewise.
5665         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5666         hint from FP_INFINITE check.
5667         * s_csinhl.c (__csinhl): Likewise.
5669 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5671         * math/Makefile (libm-calls): Insert F placeholder into
5672         object names.  Move w_lgamma_compat* routines into
5673         (libm-compat-calls): New variable.
5674         (libm-compat-calls-ldouble-yes): New variable.
5675         (calls): Insert F placeholder.
5676         (generated): Redefine using new type-foreach macro call.
5677         (routines): Likewise.
5679         (types): New variable to hold a list of symbolic names
5680         for each type supported by the target machine.
5681         (libm-routines): Redefine using new types variable.
5682         (type-foreach): macro to replace fooF with the
5683         appropriately suffixed foo for each types.
5685         (type-ldouble-suffix): New variable.
5686         (type-ldouble-routines): Likewise.
5687         (type-ldouble-yes): Likewise.
5688         (type-double-suffix): Likewise.
5689         (type-double-routines): Likewise.
5690         (type-float-suffix): Likewise.
5691         (type-float-routines): Likewise.
5693         (dbl-only-routines): Remove.
5694         (long-c-yes): Likewise.
5695         (long-m-routines): Likewise.
5696         (long-m-support): Likewise.
5697         (long-m-yes): Likewise.
5698         (test-longdouble-yes): Likewise.
5700         (test-float.o): Simplify by increasing the scope of the
5701         recipe which adds libm-test.stmp to the vector types.
5702         (test-ifloat.o): Likewise.
5703         (test-float-finite.o): Likewise.
5704         (test-double.o): Likewise
5705         (test-idouble.o): Likewise.
5706         (test-double-finite.o): Likewise.
5707         (test-ldouble.o): Likewise
5708         (test-ildoubl.o): Likewise.
5709         (test-ldouble-finite.o): Likewise.
5711         (libm-tests): Redefine type tests using foreach and the
5712         list of types in types.
5714         (CPPFLAGS-test-ildoubl.c): Rename to
5715         (CPPFLAGS-test-ildouble.c): New variable
5717         * math/test-ildoubl.c: Rename to
5718         * math/test-ildouble.c: New file.
5720 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5722         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5723         Use fabsl instead of fabs.
5724         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5725         Likewise.
5726         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5727         Add long double suffix to constant to ensure proper
5728         promotion to long double.
5730 2016-08-03  Tom Tromey  <tom@tromey.com>
5732         [BZ #20311]
5733         * nptl_db/Makefile (headers): Add proc_service.h.
5734         * nptl_db/proc_service.h: Add include guard.  Use
5735         __BEGIN/__END_DECLS.
5736         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5737         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5738         arguments.
5741 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5743         [BZ #17730]
5744         Avoid using memalign for TCB allocations.
5745         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5746         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5747         Avoid alignment gap in the TLS_DTV_AT_TP case.
5748         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5749         determine the pointer to free.
5750         * nptl/tst-tls3-malloc.c: New test.
5751         * nptl/Makefile (tests): Add it.
5752         (tst-tls3-malloc): Link with libdl, libpthread.
5753         (LDFLAGS-tst-tls3-malloc): Set.
5754         (tst-tls3-malloc.out): Depend on DSO used in test.
5756 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5758         [BZ #17730]
5759         Avoid using memalign for TLS allocations.
5760         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5761         is_static member with to_free member.
5762         (union dtv): Use struct dtv_pointer.
5763         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5764         dtv_pointer instead of is_static.
5765         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5766         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5767         instead of val.
5768         (allocate_dtv_entry): New function.
5769         (allocate_and_init): Return struct dtv_pointer.  Call
5770         allocate_dtv_entry instead of __libc_memalign.
5771         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5772         instead of val.
5773         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5774         instead of is_static.  Adjust call to allocate_and_init.
5775         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5776         struct dtv_pointer instead of val.
5778 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5780         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5781         (MALLOC_ALIGN_MASK): Move ...
5782         * malloc/malloc-internal.h: ... to here.
5783         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5785 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5787         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5788         (UDP_ENCAP_GTP1U): Likewise.
5790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5791         (PF_MAX): Update value.
5792         (AF_QIPCRTR): New macro.
5794 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5796         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5797         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5798         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5800         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5801         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5802         s_truncf-vis3, s_trunc-vis3.
5803         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5804         (CFLAGS-s_ceil-vis3.c): Likewise.
5805         (CFLAGS-s_floorf-vis3.c): Likewise.
5806         (CFLAGS-s_floor-vis3.c): Likewise.
5807         (CFLAGS-s_truncf-vis3.c): Likewise.
5808         (CFLAGS-s_trunc-vis3.c): Likewise.
5809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5815         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5817         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5818         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5819         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5820         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5822 2016-08-02  David S. Miller  <davem@davemloft.net>
5824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5825         (__nearbyint_vis3): Don't check for sNaN before float register is
5826         loaded with the incoming argument.
5827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5828         (__nearbyintf_vis3): Likewise.
5829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5830         Likewise.
5831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5832         Likewise.
5834         * string/test-strncmp.c (do_test_limit): Make sure the test data
5835         stream is aligned as required for the type "CHAR".
5836         (do_test): Likewise.
5838 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5840         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5841         by beq instructions jumping to the end of the function.
5842         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5843         clobber list. Use "i" constraint instead of "X".
5844         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5845         of "X".
5847 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5849         * bits/libc-header-start.h: New file.
5850         * Makefile (headers): Add bits/libc-header-start.h.
5851         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5852         (__GLIBC_USE): New macro.
5853         * libio/stdio.h: Define
5854         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5855         <bits/libc-header-start.h> instead of including <features.h>.
5856         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5857         (open_memstream): Likewise.
5858         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5859         (__asprintf): Likewise.
5860         (asprintf): Likewise.
5861         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5862         (getdelim): Likewise.
5863         (getline): Likewise.
5864         * string/string.h: Define
5865         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5866         <bits/libc-header-start.h> instead of including <features.h>.
5867         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5868         (strndup): Likewise.
5869         * wcsmbs/wchar.h: Define
5870         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5871         <bits/libc-header-start.h> instead of including <features.h>.
5872         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5873         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5875 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5877         Support linking against compatibility symbols, for use in tests.
5878         * include/libc-symbols.h (symbol_version_reference): New macro.
5879         (symbol_version): Use it.
5880         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5881         (compat_symbol): Use compat_symbol_reference.
5882         (compat_symbol_1, compat_symbol_2): Remove.
5883         (compat_symbol_reference, compat_symbol_reference_1)
5884         (compat_symbol_reference_2): New macro.  Use
5885         symbol_version_reference.
5887 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5889         [BZ #19469]
5890         * malloc/Makefile (CPPFLAGS): Compile tests with
5891         -DTEST_NO_MALLOPT.
5892         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5894 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5896         [BZ #20033]
5897         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5898         finite version.
5899         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5901         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5902         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5903         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5904         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5905         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5912         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5916         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5917         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5918         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5919         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5920         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5921         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5922         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5923         in zero power.
5925 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5927         [BZ #20370]
5928         * malloc/arena.c (get_free_list): Update comment.  Assert that
5929         arenas on the free list have no attached threads.
5930         (remove_from_free_list): New function.
5931         (reused_arena): Call it.
5933 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5935         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5936         when it is a NaN.
5937         [_IEEE_FP_INEXACT] Remove.
5938         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5939         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5940         when it is a NaN.
5941         [_IEEE_FP_INEXACT] Remove.
5942         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5943         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5944         when it is a NaN.
5945         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5946         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5947         when its absolute value is greater than 0x1.0p52.
5948         [_IEEE_FP_INEXACT] Remove.
5949         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5950         when its absolute value is greater than 0x1.0p23.
5951         [_IEEE_FP_INEXACT] Remove.
5953 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5955         * version.h (RELEASE): Set to "development"
5956         (VERSION): Set to 2.24.90.
5957         * NEWS: Add 2.25 section.
5959         * version.h (RELEASE): Set to "stable"
5960         (VERSION): Set to 2.24.
5961         * include/features.h (__GLIBC_MINOR__): Set to 24.
5963         * NEWS: Add 2.24 fixed bugs.
5964         * po/libc.pot: Regenerate.
5966 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5969         [$(subdir) = math] (libm-sysdep_routines): Remove.
5970         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5971         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5972         s_truncf-vis3, s_trunc-vis3.
5973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5975         file.
5976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6009         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6010         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6011         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6012         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6013         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6014         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6015         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6016         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6017         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6018         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6020 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
6022         [BZ #20384]
6023         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6024         test-double-libmvec-sincos-avx-main.o,
6025         test-double-libmvec-sincos-avx2-main.o,
6026         test-double-libmvec-sincos-main.o,
6027         test-float-libmvec-sincosf-avx-main.o,
6028         test-float-libmvec-sincosf-avx2-main.o and
6029         test-float-libmvec-sincosf-main.o.
6030         test-float-libmvec-sincosf-avx512-main.o.
6031         ($(objpfx)test-double-libmvec-sincos): Also link with
6032         $(objpfx)test-double-libmvec-sincos-main.o.
6033         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6034         $(objpfx)test-double-libmvec-sincos-avx-main.o.
6035         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6036         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6037         ($(objpfx)test-float-libmvec-sincosf): Also link with
6038         $(objpfx)test-float-libmvec-sincosf-main.o.
6039         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6040         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6041         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6042         test-double-libmvec-sincos-avx512-main.o and
6043         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6044         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6045         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6046         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6047         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6048         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6049         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6050         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6051         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6052         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6053         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6054         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6055         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6056         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6057         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6058         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6059         -DREQUIRE_AVX2.
6060         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6061         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6062         -DREQUIRE_AVX512F.
6063         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6064         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6065         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6066         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6067         file.
6068         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6069         Likewise.
6070         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6071         Likewise.
6072         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6073         Likewise.
6074         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6075         Likewise.
6076         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6077         Likewise.
6078         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6079         Likewise.
6080         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6081         Likewise.
6083 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6085         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6087 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6089         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6090         and typo in a comment about AT_HWCAP entry.
6092 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6094         * sysdeps/aarch64/libm-test-ulps: Updated.
6096 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6098         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6099         of r13 as it is not restored in mvcle case.
6101 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6103         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6104         Rename "ret" to "__ret".
6105         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6106         inline_syscall5, inline_syscall6): Likewise.
6108 2016-07-19   Will Newton  <will.newton@gmail.com>
6110         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6111         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6112         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6113         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6114         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6116 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6118         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6119         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6120         -mfpmath=387 with $(rtld-CFLAGS).
6121         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6122         $(rtld-CFLAGS).
6124 2016-07-18   Ross Burton  <ross.burton@intel.com>
6125              Khem Raj  <raj.khem@gmail.com>
6127         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6128         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6129         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6130         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6131         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6132         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6133         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6134         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6135         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6136         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6137         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6138         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6139         R_METAG_TLS_DTPOFF): New.
6141 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6142             Matt Clay  <mclay@lycos.com>
6144         [BZ #20357]
6145         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6146         to call __mpsin/__mpcos and to negate values.
6147         * math/auto-libm-test-in: Add test.
6148         * math/auto-libm-test-out: Regenerate.
6150 2016-07-18  Zack Weinberg  <zackw@panix.com>
6152         * grp/Makefile: Don't install the internal header grp-merge.h.
6154 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6156         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6158 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6160         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6162 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6164         [BZ #15368]
6165         * sysdeps/unix/sysv/linux/nptl-signals.h
6166         (__nptl_clear_internal_signals): New function.
6167         (__libc_signal_block_all): Likewise.
6168         (__libc_signal_block_app): Likewise.
6169         (__libc_signal_restore_set): Likewise.
6170         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6171         implementation.
6172         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6173         the cached pid/tid value in pthread structure.
6175 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6177         [BZ #20347]
6178         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6180 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6182         [BZ #20348]
6183         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6184         preadv64, pwrite64 and pwritev64.
6186 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6188         [BZ #20350]
6189         * posix/tst-preadwrite.c: Renamed to ...
6190         * posix/tst-preadwrite-common.c: This.
6191         (PREAD): Removed.
6192         (PWRITE): Likewise.
6193         (STRINGIFY): Likewise.
6194         (STRINGIFY2): Likewise.
6195         (do_prepare): Make it static and remove function arguments.
6196         (do_test): Likewise.
6197         (PREPARE): Updated.
6198         (TEST_FUNCTION): New.
6199         (name): Make it static.
6200         (fd): Likewise.
6201         (do_prepare): Use create_temp_file.
6202         (do_test): Renamed to ...
6203         (do_test_with_offset): This.  Make it static and accept offset.
6204         Properly check return value of PWRITE and PREAD.  Return bytes
6205         read.  Don't close fd nor unlink name.
6206         * posix/tst-preadwrite.c: Rewrite.
6207         * posix/tst-preadwrite64.c: Likewise.
6209 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6211         [BZ #20309]
6212         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6213         -mtls-dialect=gnu2 works.
6214         * configure: Regenerated.
6215         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6216         (tests): Add tst-gnu2-tls1.
6217         (modules-names): Add tst-gnu2-tls1mod.
6218         ($(objpfx)tst-gnu2-tls1): New.
6219         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6220         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6221         * elf/tst-gnu2-tls1.c: New file.
6222         * elf/tst-gnu2-tls1mod.c: Likewise.
6223         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6224         bytes for push in the PLT entry to align the stack.
6226 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6228         [BZ #20349]
6229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6231 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6233         [BZ #18707]
6234         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6235         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6237 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6239         * sysdeps/unix/sysv/linux/sysdep.h
6240         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6241         guards.
6242         * misc/tst-preadvwritev-common.c: New file.
6243         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6244         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6245         a check for files larger than 2GB.
6247         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6248         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6249         * sysdeps/unix/sysv/linux/pread.c
6250         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6251         __OFF_T_MATCHES_OFF64_T.
6252         * sysdeps/unix/sysv/linux/pread64.c
6253         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6254         * sysdeps/unix/sysv/linux/preadv.c
6255         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6256         * sysdeps/unix/sysv/linux/preadv64.c
6257         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6258         * sysdeps/unix/sysv/linux/pwrite.c
6259         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6260         * sysdeps/unix/sysv/linux/pwrite64.c
6261         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6262         * sysdeps/unix/sysv/linux/pwritev.c
6263         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6264         * sysdeps/unix/sysv/linux/pwritev64.c
6265         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6267 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6270         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6272 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6274         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6276 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6278         [BZ #20240]
6279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6280         (CFLAGS-s_modf-ppc32.c): New variable.
6281         (CFLAGS-s_modff-ppc32.c): Likewise.
6282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6283         (CFLAGS-s_modf-ppc64.c): Likewise.
6284         (CFLAGS-s_modff-ppc64.c): Likewise.
6286 2016-07-07  Andreas Schwab  <schwab@suse.de>
6288         [BZ #20263]
6289         * nptl/tst-robust10.c: New test.
6290         * nptl/Makefile (tests): Add tst-robust10.
6292 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6294         [BZ #20263]
6295         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6297 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6299         * sysdeps/s390/linkmap.h (struct link_map_machine):
6300         Remove member gotplt and add member jmprel.
6301         * sysdeps/s390/s390-32/dl-machine.h
6302         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6303         instead of gotplt with &got[3].
6304         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6305         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6307 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6309         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6311 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6313         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6314         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6315         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6316         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6317         * libio/vtables.c (_IO_vtable_check)
6318         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6319         * libio/libioP.h (IO_set_accept_foreign_vtables)
6320         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6322 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6324         [BZ #20314]
6325         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6326         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6327         $(common-objpfx)cmath.
6328         ($(common-objpfx)cstdlib): New target.
6329         ($(common-objpfx)cmath): Likewise.
6331 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6333         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6335 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6337         [BZ #20327]
6338         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6339         are not part of the string.
6341 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6343         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6344         * nptl/tst-cancel4-common.h (fifoname): New variable.
6345         (fifofd): Likewise.
6346         (cl_fifo): New function.
6347         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6348         SIGINT.
6349         (tf_open): Add early cancel test.
6351 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6353         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6355 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6357         * sysdeps/generic/ldsodefs.h
6358         (dl_symbol_visibility_binds_local_p): New inline function.
6359         * elf/dl-addr.c (determine_info): Treat hidden and internal
6360         symbols as local.
6361         * elf/dl-lookup.c (do_lookup_x): Likewise.
6362         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6364 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6366         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6367         invalid exception for a sNaN input.
6368         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6369         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6370         (__nearbyint_vis3): Likewise
6371         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6372         (__nearbyintf_vis3): Likewise
6373         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6374         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6375         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6376         Likewise.
6377         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6378         Likewise.
6380 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6382         [BZ #20139]
6383         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6384         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6385         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6386         2.24 or above.
6387         (HAVE_AVX512_ASM_SUPPORT): Removed.
6388         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6389         * sysdeps/x86_64/configure: Regenerated.
6390         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6391         check unconditional.
6392         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6393         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6394         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6395         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6396         Likewise.
6397         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6398         Likewise.
6399         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6400         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6401         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6402         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6403         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6404         Likewise.
6405         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6406         Likewise.
6407         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6408         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6410         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6411         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6412         Likewise.
6413         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6414         Likewise.
6415         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6416         Likewise.
6417         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6418         Likewise.
6419         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6420         Likewise.
6421         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6422         Likewise.
6423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6424         Likewise.
6425         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6426         Likewise.
6427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6428         Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6430         Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6432         Likewise.
6434 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6436         [BZ #20024]
6437         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6439         of this implementation of vector function.
6440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6443         Likewise.
6444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6446         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6447         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6448         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6449         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6450         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6451         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6452         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6453         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6455         for testing vector sincos with fixed ABI.
6456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6457         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6458         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6459         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6460         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6461         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6462         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6463         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6464         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6465         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6466         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6467         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6468         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6469         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6470         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6471         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6473 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6475         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6477 2016-06-30  Anton Blanchard  <anton@samba.org>
6479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6480         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6481         s_sinf-ppc64.
6482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6485         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6487 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6491         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6492         e_expf-ppc64.
6493         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6494         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6495         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6496         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6498 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6500         [BZ #20277]
6501         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6502         when SHARED is defined.
6504 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6506         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6507         (index_arch_Prefer_ERMS): Likewise.
6508         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6509         __memcpy_erms for Prefer_ERMS.
6510         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6511         (__memmove_erms): Enabled for libc.a.
6512         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6513         __memmove_erms or Prefer_ERMS.
6514         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6515         __mempcpy_erms for Prefer_ERMS.
6516         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6517         __memset_erms for Prefer_ERMS.
6519 2016-06-30  Andreas Schwab  <schwab@suse.de>
6521         [BZ #20262]
6522         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6523         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6524         of memory.
6526 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6528         [BZ #18645]
6529         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6530         (test-extras): Add tst-cleanupx4aux.
6531         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6532         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6533         tst-cleanupx4aux.o.
6534         * nptl/tst-cleanupx4aux.c: New file.
6536 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6538         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6540 2016-06-29  Andreas Schwab  <schwab@suse.de>
6542         [BZ #20260]
6543         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6544         address before the beginning of the string as an integer to avoid
6545         array-bounds warning.
6547 2016-06-28  Richard Henderson  <rth@redhat.com>
6549         * elf/elf.h (EM_BPF): New.
6550         (EM_NUM): Update.
6551         (R_BPF_NONE, R_BPF_MAP_FD): New.
6553         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6554         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6555         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6556         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6557         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6558         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6559         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6560         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6561         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6562         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6563         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6564         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6565         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6566         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6567         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6568         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6569         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6570         (EM_NUM): Update.
6572 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6574         [BZ #18960]
6575         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6576         Set _nl_current_LC_CATEGORY_used to two instead of one.
6578 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6580         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6581         (do_test): ... this.
6582         (TEST_FUNCTION): New macro.
6583          Include test-skeleton.c.
6584         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6585         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6587 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6589         [BZ #15479]
6590         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6591         floating-point environment rather than just control word.
6592         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6593         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6594         floating-point environment, with "invalid" exceptions merged in,
6595         rather than just control word.
6596         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6597         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6598         "inexact" exceptions.
6600         [BZ #15479]
6601         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6602         floating-point environment rather than just control word.
6603         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6604         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6605         floating-point environment, with "invalid" exceptions merged in,
6606         rather than just control word.
6607         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6608         * math/libm-test.inc (floor_test_data): Do not allow spurious
6609         "inexact" exceptions.
6611         [BZ #15479]
6612         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6613         floating-point environment rather than just control word.
6614         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6615         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6616         floating-point environment, with "invalid" exceptions merged in,
6617         rather than just control word.
6618         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6619         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6620         "inexact" exceptions.
6622 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6624         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6625         __libc_vfork.
6626         (__vfork) [IS_IN (libc)]: Remove alias.
6627         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6628         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6629         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6631 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6633         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6634         of atomic_compare_and_exchange_bool_rel.
6635         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6636         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6637         catomic_compare_and_exchange_bool_rel): Remove.
6638         * sysdeps/aarch64/atomic-machine.h
6639         (atomic_compare_and_exchange_bool_rel): Likewise.
6640         * sysdeps/alpha/atomic-machine.h
6641         (atomic_compare_and_exchange_bool_rel): Likewise.
6642         * sysdeps/arm/atomic-machine.h
6643         (atomic_compare_and_exchange_bool_rel): Likewise.
6644         * sysdeps/mips/atomic-machine.h
6645         (atomic_compare_and_exchange_bool_rel): Likewise.
6646         * sysdeps/microblaze/atomic-machine.h
6647         ( __arch_compare_and_exchange_bool_8_rel,
6648         __arch_compare_and_exchange_bool_16_rel): Likewise.
6649         * sysdeps/powerpc/atomic-machine.h
6650         ( __arch_compare_and_exchange_bool_8_rel,
6651         __arch_compare_and_exchange_bool_16_rel): Likewise.
6652         * sysdeps/powerpc/powerpc32/atomic-machine.h
6653         ( __arch_compare_and_exchange_bool_32_rel,
6654         __arch_compare_and_exchange_bool_64_rel): Likewise.
6655         * sysdeps/powerpc/powerpc64/atomic-machine.h
6656         ( __arch_compare_and_exchange_bool_32_rel,
6657         __arch_compare_and_exchange_bool_64_rel): Likewise.
6658         * sysdeps/tile/atomic-machine.h
6659         (atomic_compare_and_exchange_bool_rel): Likewise.
6661 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6663         [BZ #20296]
6664         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6665         when either argument is a NaN.
6666         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6667         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6669         * math/libm-test.inc (snan_value_ld): New macro.
6670         (isgreater_test_data): Add sNaN tests.
6671         (isgreaterequal_test_data): Likewise.
6672         (isless_test_data): Likewise.
6673         (islessequal_test_data): Likewise.
6674         (islessgreater_test_data): Likewise.
6675         (isunordered_test_data): Likewise.
6676         (nextafter_test_data): Likewise.
6677         (nexttoward_test_data): Likewise.
6678         (remainder_test_data): Likewise.
6679         (remquo_test_data): Likewise.
6680         (significand_test_data): Likewise.
6681         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6683 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6685         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6686         environment macros are defined.
6687         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6689 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6691         [BZ #20191]
6692         Implement vtable verification in libio.
6693         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6694         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6695         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6696         _IO_new_file_init_internal instead of _IO_file_init.
6697         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6698         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6699         * libio/Makefile (routines): Add vtables.
6700         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6701         (_IO_init): Remove, not for internal use.
6702         (_IO_init_internal): Declare, internal replacement for _IO_init.
6703         (_IO_file_init): Remove, not for internal use.
6704         (_IO_new_file_init): Remove, not for internal use.
6705         (_IO_new_file_init_internal): Declare, internal replacement for
6706         _IO_new_file_init.
6707         (_IO_old_file_init): Remove, not for internal use.
6708         (_IO_old_file_init_internal): Declare, internal replacement for
6709         _IO_old_file_init.
6710         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6711         internal use.
6712         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6713         Declare.
6714         (libio_vtable): New macro.
6715         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6716         functions.
6717         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6718         _IO_new_file_init.
6719         (_IO_new_file_init): New externally visible wrapper which disables
6720         vtable verification.
6721         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6722         Define as vtables.
6723         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6724         (_IO_init): New externally visible wrapper which disables
6725         vtable verification.
6726         * libio/iofdopen.c (_IO_new_fdopen): Call
6727         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6728         comment.
6729         * libio/iofopen.c (__fopen_internal): Call
6730         _IO_new_file_init_internal instead of _IO_file_init.
6731         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6732         Define as vtables.
6733         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6734         _IO_new_file_init_internal instead of _IO_file_init.
6735         * libio/iopopen.c (_IO_new_popen): Likewise.
6736         (_IO_proc_jumps): Define as vtable.
6737         * libio/iovdprintf.c (_IO_vdprintf): Call
6738         _IO_new_file_init_internal instead of _IO_file_init.
6739         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6740         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6741         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6742         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6743         _IO_old_file_init.
6744         (_IO_old_file_init): New externally visible wrapper which disables
6745         vtable verification.
6746         (_IO_old_file_jumps): Define as vtable.
6747         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6748         _IO_old_file_init_internal instead of _IO_old_file_init.
6749         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6750         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6751         (_IO_old_proc_jumps): Define as vtable.
6752         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6753         Define as vtables.
6754         * libio/vtables.c: New file.
6755         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6756         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6757         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6758         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6759         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6760         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6761         instead of _IO_init.
6763 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6765         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6767 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6769         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6770         potentially unused.
6772 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6774         * test-skeleton.c (write_message): New function.
6775         * malloc/tst-mallocfork2.c (write_message): Remove.
6776         * debug/tst-longjmp_chk2.c (write_indented): New function.
6777         (write_message): Remove.
6778         (stackoverflow_handler): Call write_indented.
6780 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6782         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6783         "inexact" exceptions after fnstenv.
6784         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6785         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6786         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6788 2015-06-22  Zack Weinberg  <zackw@panix.com>
6790         * sysdeps/generic/bits/hwcap.h: Moved to ...
6791         * bits/hwcap.h: Here.
6793 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6795         * sysdeps/aarch64/memcpy.S (memcpy):
6796         Further tuning for performance.
6798 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6800         [BZ #20284]
6801         * malloc/arena.c (reused_arena): Do not return NULL if we start
6802         out with a non-corrupted arena.
6804 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6806         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6807         * misc/tst-preadvwritev.c: New file.
6808         * misc/tst-preadvwritev64.c: Likewise.
6809         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6810         usage.
6811         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6812         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6813         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6814         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6816 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6818         [BZ #19654]
6819         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6820         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6821         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6822         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6823         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6824         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6825         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6826         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6827         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6828         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6829         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6830         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6831         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6832         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6833         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6834         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6835         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6836         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6837         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6838         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6839         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6840         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6841         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6842         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6843         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6844         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6846 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6848         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6849         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6851 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6853         * sysdeps/aarch64/memcpy.S (memcpy):
6854         Rewrite of optimized memcpy and memmove.
6855         * sysdeps/aarch64/memmove.S (memmove): Remove
6856         memmove code (merged into memcpy.S).
6858 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6860         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6861         * sysdeps/generic/dl-dtv.h: New file.
6862         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6863         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6864         (dtv_t): Remove.
6865         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6866         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6867         (dtv_t): Remove.
6868         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6869         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6870         (dtv_t): Remove.
6871         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6872         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6873         (dtv_t): Remove.
6874         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6875         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6876         (dtv_t): Remove.
6877         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6878         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6879         (dtv_t): Remove.
6880         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6881         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6882         (dtv_t): Remove.
6883         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6884         (dtv_t): Remove.
6885         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6886         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6887         (dtv_t): Remove.
6888         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6889         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6890         (dtv_t): Remove.
6891         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6892         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6893         (dtv_t): Remove.
6894         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6895         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6896         (dtv_t): Remove.
6897         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6898         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6899         (dtv_t): Remove.
6900         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6901         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6902         (dtv_t): Remove.
6903         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6904         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6905         (dtv_t): Remove.
6906         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6907         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6908         (dtv_t): Remove.
6910 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6912         Revert symbol poisoning of  __malloc_initialize_hook.
6913         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6914         poisoning.
6915         * malloc/Makefile: Remove un-poisoning.
6916         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6917         instead of old__malloc_initialize_hook.
6918         * malloc/malloc-hooks.h: Likewise.
6919         * malloc/malloc.c: Likewise.
6920         * malloc/mcheck-init.c: Likewise.
6922 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6924         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6926 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6928         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6929         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6930         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6931         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6933 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6935         * NEWS: Mention addition of nextup and nextdown.
6936         * manual/arith.texi: Document nextup and nextdown.
6937         * manual/libm-err-tab.pl: Add nextup and nextdown.
6938         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6939         * math/Versions (libm): Add GLIBC_2.24.
6940         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6941         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6942         Add new test.
6943         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6944         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6945         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6946         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6947         (nextup_test_data): Likewise.
6948         (nextdown_test_data): Likewise.
6949         * math/s_nextdown.c: New file.
6950         * math/s_nextdownf.c: Likewise.
6951         * math/s_nextdownl.c: Likewise.
6952         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6953         F(nextup): New function.
6954         F(nextdown): Likewise.
6955         * math/tgmath.h: Add nextup and nextdown.
6956         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6957         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6958         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6959         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6960         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6961         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6962         Add nextup and nextdown.
6963         (CFLAGS-nldbl-nextup.c): New variable.
6964         (CFLAGS-nldbl-nextdown.c): Likewise.
6965         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6966         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6967         * sysdeps/nacl/libm.abilist: Update.
6968         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6969         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6970         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6972         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6973         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6974         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6975         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6976         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6978         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6979         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6982         Likewise.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6985         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6986         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6987         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6988         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6989         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6994         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6995         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6997 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6999         * manual/pattern.texi: Fix typos & grammar errors.
7001 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7003         * manual/search.texi: Fix typos & grammar errors.
7005 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7007         * manual/message.texi: Fix typos & grammar errors.
7009 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
7011         * manual/contrib.texi: Fix spelling typos.
7012         * manual/crypt.texi: Likewise.
7013         * manual/filesys.texi: Likewise.
7014         * manual/locale.texi: Likewise.
7015         * manual/message.texi: Likewise.
7016         * manual/nss.texi: Likewise.
7017         * manual/string.texi: Likewise.
7019 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7021         * manual/locale.texi: Fix typos & grammar errors.
7023 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7025         * manual/charset.texi: Fix typos & grammar errors.
7027 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7029         * manual/string.texi: Fix typos.
7031 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7033         * manual/ctype.texi: Fix typos.
7035 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7037         * manual/memory.texi: Fix various typos & grammar errors.
7039 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
7041         [BZ #20255]
7042         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7043         * math/libm-test.inc (fdim_test_data): Add another test.
7045         [BZ #6796]
7046         [BZ #20255]
7047         [BZ #20256]
7048         * math/s_fdim.c: Include <math_private.h>.
7049         (__fdim): Use math_narrow_eval on result.
7050         * math/s_fdimf.c: Include <math_private.h>.
7051         (__fdimf): Use math_narrow_eval on result.
7052         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7053         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7054         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7055         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7056         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7057         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7058         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7059         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7060         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7061         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7062         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7063         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7064         overflow.  Add sNaN tests.
7066         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7067         fpclassify.
7068         * math/s_fdimf.c (__fdimf): Likewise.
7069         * math/s_fdiml.c (__fdiml): Likewise.
7071 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7073         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7074         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7076         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7077         ifunc'ed strcasecmp/strncasecmp.
7078         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7079         [EALIGN]: Removed.
7080         [END]: Likewise.
7081         [__strcasecmp]: Define instead of the above to control symbol name.
7082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7083         for __strcasecmp_power8.
7084         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7085         for __strncasecmp_power8.
7086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7088         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7089         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7090         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7091         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7093 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #20252]
7096         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7097         arguments when second argument is a NaN.
7098         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7099         qNaN tests.
7101         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7102         (conj_test_data): Likewise.
7103         (copysign_test_data): Likewise.
7104         (creal_test_data): Likewise.
7105         (fma_test_data): Likewise.
7106         (fmod_test_data): Likewise.
7108         [BZ #20250]
7109         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7110         itself.
7111         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7112         zero input to itself.
7113         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7114         Likewise.
7115         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7116         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7117         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7118         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7119         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7121 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7123         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7124         * nptl/tst-cancel4-common.c: New file.
7125         * nptl/tst-cancel4-common.h: Likewise.
7126         * nptl/tst-cancel4.c: Move common definitions to
7127         tst-cancel4-common.{c,h} file.
7128         * nptl/tst-cancel4_1.c: New test.
7129         * nptl/tst-cancel4_2.c: New test.
7131 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7133         [BZ #20248]
7134         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7135         (write_message): New function.
7136         (stackoverflow_handler): Call it instead of printf, to avoid
7137         excessive stack usage by printf.
7138         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7140 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7142         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7143         (prio_inherit_missing): Remove define.
7144         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7145         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7146         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7147         Likewise.
7148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7149         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7151         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7153         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7155 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7157         [BZ #19670]
7158         [BZ #19672]
7160         * io/test-lfs.c (do_prepare): Use xmalloc.
7161         * io/tst-fcntl.c (do_prepare): Likewise.
7162         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7163         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7164         * login/tst-utmp.c (do_prepare): Likewise.
7165         * posix/tst-exec.c (do_prepare): Likewise.
7166         * posix/tst-pathconf.c (prepare): Likewise.
7167         * posix/tst-spawn.c (do_prepare): Likewise.
7168         * posix/tst-truncate.c (do_prepare): Likewise.
7169         * rt/tst-aio.c (do_prepare): Likewise.
7170         * rt/tst-aio64.c (do_prepare): Likewise.
7172 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7174         [BZ #20237]
7175         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7176         (get*ent): Set entidx to NULL during initialization.  If entidx is
7177         NULL, start iteration from the beginning.
7179 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7181         * malloc/malloc.c (musable): Return correct size for dumped fake
7182         mmapped chunk.
7184 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7186         [BZ #20222]
7187         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7188         (_IO_cookie_write): Likewise.
7189         (_IO_cookie_seek): Likewise.
7190         (_IO_cookie_close): Likewise.
7191         (_IO_old_cookie_seek): Likewise.
7192         (set_callbacks): New function.
7193         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7195 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7197         * locale/programs/localedef.c (oldstyle_tables): Remove.
7198         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7200 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7202         [BZ #20240]
7203         * math/Makefile (CFLAGS-s_modf.c): New variable.
7204         (CFLAGS-s_modff.c): Likewise.
7205         (CFLAGS-s_modfl.c): Likewise.
7206         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7208 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7210         [BZ #20215]
7211         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7212         [!__GNUC_PREREQ (3,2)]: Likewise.
7214 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7216         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7217         (msghdr.msg_controllen): Likewise.
7218         (cmsghdr.cmsg_len): Likewise.
7219         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7220         ptw-oldsendmsg.
7221         (CFLAGS-oldrecvmsg.c): Remove rule.
7222         (CFLAGS-oldsendmsg.c): Likewise.
7223         (CFLAGS-recvmsg.c): Add rule.
7224         (CFLAGS-sendmsg.c): Likewise.
7225         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7226         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7227         (CFLAGS-recvmsg.c): Remove rule.
7228         (CFLAGS-sendmsg.c): Likewise.
7229         (CFLAGS-oldrecvmsg.c): Likewise.
7230         (CFLAGS-oldsendmsg.c): Likewise.
7231         (CFLAGS-recvmmsg.c): Likewise.
7232         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7233         to kernel defined interfaces.
7234         (msghdr.msg_controllen): Likewise.
7235         (cmsghdr.cmsg_len): Likewise.
7236         (msghdr.__glibc_reserved1): Remove member.
7237         (msghdr.__glibc_reserved2): Likewise.
7238         (cmsghdr.__glibc_reserved1): Likewise.
7239         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7240         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7241         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7242         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7243         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7244         version.
7245         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7246         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7247         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7248         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7249         Remove recvmsg and sendmsg.
7250         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7251         Likewise.
7252         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7253         Likewise.
7254         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7255         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7256         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7259         Likewise.
7260         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7261         [libc] (GLIBC_2.24): Likewise.
7262         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7263         Likewise.
7264         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7265         Likewise.
7266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7267         [libc] (GLIBC_2.24): Likewise.
7268         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7269         Likewise.
7270         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7271         Likewise.
7272         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7273         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7276         Likewise.
7277         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7278         Likewise.
7279         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7280         Likewise.
7281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7282         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7283         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7284         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7285         version for {recv,send,recm,sendm}msg.
7286         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7291         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7292         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7293         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7294         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7296         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7297         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7299         Likewise.
7300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7301         Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7304         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7305         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7306         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7307         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7308         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7309         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7312         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7313         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7314         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7316 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7318         [BZ #19564]
7319         Remove __malloc_initialize_hook from the API.
7320         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7321         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7322         #pragma GCC poison.
7323         * malloc/malloc-hooks.h: New file.
7324         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7325         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7326         (old__malloc_initialize_hook): Rename from
7327         __malloc_initialize_hook to evade poisoning.  Turn into compat
7328         symbol.
7329         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7330         __malloc_initialize_hook.
7331         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7332         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7333         * manual/memory.texi (Hooks for Malloc): Remove
7334         __malloc_initialize_hook.  Adjust hook example.
7336 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #20235]
7339         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7340         itself.
7341         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7342         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7344         [BZ #20234]
7345         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7346         infinity or NaN input to itself.
7348         [BZ #20233]
7349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7350         to itself.
7352         [BZ #20232]
7353         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7354         itself.
7356 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7358         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7359         __libc_start_main via GOT.
7361 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7363         * sysdeps/x86_64/memcopy.h: New file.
7364         * sysdeps/x86_64/wordcopy.c: Likewise.
7366 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7368         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7369         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7370         <cstdlib>.
7371         (optimization_barrier): New.
7372         (do_test): Use it.  Call quick_exit in the global namespace.
7373         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7374         instead of <cstdlib>, <thread>.
7375         (optimization_barrier): New.
7376         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7377         Call quick_exit in the global namespace.
7378         (do_test): Call optimization_barrier.  Use pthread_create,
7379         pthread_join instead of std::thread.
7381 2016-06-09  Andreas Schwab  <schwab@suse.de>
7383         [BZ #19755]
7384         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7385         new entries in auto-propagate mode.
7386         * nscd/grpcache.c (cache_addgr): Likewise.
7388 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7390         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7391         New functions.
7392         (add_temp_file): Use them.
7394 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7396         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7398 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7400         [BZ #20229]
7401         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7402         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7403         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7405         [BZ #20228]
7406         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7407         itself.
7408         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7409         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7411         [BZ #20227]
7412         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7413         itself.
7414         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7415         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7416         * math/libm-test.inc (log_test_data): Add sNaN tests.
7418         [BZ #20226]
7419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7420         itself.
7421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7422         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7423         (exp10_test_data): Likewise.
7424         (expm1_test_data): Likewise.
7426         [BZ #20225]
7427         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7428         itself.
7429         * math/s_ldexpf.c (__ldexpf): Likewise.
7430         * math/s_ldexpl.c (__ldexpl): Likewise.
7431         * math/w_scalbln.c (__w_scalbln): Likewise.
7432         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7433         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7434         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7435         (scalbln_test_data): Likewise.
7437         [BZ #20224]
7438         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7439         argument to itself.
7440         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7442 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7444         [BZ #19776]
7445         * sysdeps/x86_64/memcpy.S: Make it dummy.
7446         * sysdeps/x86_64/mempcpy.S: Likewise.
7447         * sysdeps/x86_64/memmove.S: New file.
7448         * sysdeps/x86_64/memmove_chk.S: Likewise.
7449         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7450         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7451         * sysdeps/x86_64/memmove.c: Removed.
7452         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7453         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7454         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7455         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7456         Likewise.
7457         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7458         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7460         memcpy-sse2-unaligned, memmove-avx-unaligned,
7461         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7463         (__libc_ifunc_impl_list): Replace
7464         __memmove_chk_avx512_unaligned_2 with
7465         __memmove_chk_avx512_unaligned.  Remove
7466         __memmove_chk_avx_unaligned_2.  Replace
7467         __memmove_chk_sse2_unaligned_2 with
7468         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7469         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7470         with __memmove_avx512_unaligned.  Replace
7471         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7472         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7473         with __memcpy_chk_avx512_unaligned.  Remove
7474         __memcpy_chk_avx_unaligned_2.  Replace
7475         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7476         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7477         Replace __memcpy_avx512_unaligned_2 with
7478         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7479         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7480         with __mempcpy_chk_avx512_unaligned.  Remove
7481         __mempcpy_chk_avx_unaligned_2.  Replace
7482         __mempcpy_chk_sse2_unaligned_2 with
7483         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7484         Replace __mempcpy_avx512_unaligned_2 with
7485         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7486         Replace __mempcpy_sse2_unaligned_2 with
7487         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7489         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7490         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7491         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7492         (ENTRY): Removed.
7493         (END): Likewise.
7494         (ENTRY_CHK): Likewise.
7495         (libc_hidden_builtin_def): Likewise.
7496         Don't include ../memcpy.S.
7497         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7498         __memcpy_chk_avx512_unaligned_erms and
7499         __memcpy_chk_avx512_unaligned.  Use
7500         __memcpy_chk_avx_unaligned_erms and
7501         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7502         Default to __memcpy_chk_sse2_unaligned.
7503         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7504         Change function suffix from unaligned_2 to unaligned.
7505         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7506         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7507         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7508         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7509         (ENTRY): Removed.
7510         (END): Likewise.
7511         (ENTRY_CHK): Likewise.
7512         (libc_hidden_builtin_def): Likewise.
7513         Don't include ../mempcpy.S.
7514         (mempcpy): New.  Add a weak alias.
7515         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7516         __mempcpy_chk_avx512_unaligned_erms and
7517         __mempcpy_chk_avx512_unaligned.  Use
7518         __mempcpy_chk_avx_unaligned_erms and
7519         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7520         Default to __mempcpy_chk_sse2_unaligned.
7522 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7524         [BZ #19881]
7525         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7526         into ...
7527         * sysdeps/x86_64/memset.S: This.
7528         (__bzero): Removed.
7529         (__memset_tail): Likewise.
7530         (__memset_chk): Likewise.
7531         (memset): Likewise.
7532         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7533         defined.
7534         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7535         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7536         (__memset_zero_constant_len_parameter): Check SHARED instead of
7537         PIC.
7538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7539         memset-avx2 and memset-sse2-unaligned-erms.
7540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7541         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7542         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7543         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7544         (__bzero): Enabled.
7545         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7546         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7547         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7548         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7549         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7550         (memset): Removed.
7551         (__memset_chk): Likewise.
7552         (MEMSET_SYMBOL): New.
7553         (libc_hidden_builtin_def): Replace __memset_sse2 with
7554         __memset_sse2_unaligned.
7555         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7556         __memset_chk_sse2 and __memset_chk_avx2 with
7557         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7558         Use __memset_chk_sse2_unaligned_erms or
7559         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7560         __memset_chk_avx512_unaligned_erms and
7561         __memset_chk_avx512_unaligned.
7563 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7565         * math/gen-auto-libm-test.c (fp_format_desc): remove
7566         suffix member.
7567         (output_generic_value): Remove usage of suffix member,
7568         and the resulting unuse of the fp_format argument.
7569         (output_for_one_input_case): Remove unused fp_format
7570         parameter.
7572         * math/auto-libm-test-out: Regenerate.
7574         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7575         usage with TEST_COND_ibm128.
7576         (TEST_COND_flt_32): Remove.
7577         (TEST_COND_dbl_64): Remove.
7578         (TEST_COND_ldbl_96_intel): Remove.
7579         (TEST_COND_ldbl_96_m68k): Remove.
7580         (TEST_COND_ldbl_128): Remove.
7582 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7584         * auto-libm-test-in:
7585         Replace flt-32 usage with binary32.
7586         Replace dbl-64 usage with binary64.
7587         Replace ldbl-intel-96 usage with intel96.
7588         Replace ldbl-m68k-96 usage with m68k96.
7589         Replace ldbl-128ibm usage with ibm128.
7590         Replace ldbl-128 usage with binary128.
7592         * auto-libm-test-out: Regenerate.
7594 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7596         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7597         (parse_ulps): Dynamically generate type name matching
7598         string from all_floats.
7599         (get_ulps): Generate the ulps as an array instead.
7600         (output_ulps): Dynamically compose the type based
7601         on the number of supported formats, and print
7602         the indices as type specific helper macros.
7604         * math/libm-test.inc: Remove comment about CHOOSE.
7605         (ulp_data): Generate the type in libm-test-ulps.h.
7606         (ULP_IDX): New macro.
7607         (find_ulps): Update usage of max_ulp.
7609         * math/test-double-vlen2.h (CHOOSE): Remove.
7610         * math/test-double-vlen4.h (CHOOSE): Likewise.
7611         * math/test-double-vlen8.h (CHOOSE): Likewise.
7612         * math/test-float.c (CHOOSE): Likewise.
7613         * math/test-float-finite.c (CHOOSE): Likewise.
7614         * math/test-double.c (CHOOSE): Likewise.
7615         * math/test-double-finite.c (CHOOSE): Likewise.
7616         * math/test-idouble.c (CHOOSE): Likewise.
7617         * math/test-ifloat.c (CHOOSE): Likewise.
7618         * math/test-ildoubl.c (CHOOSE): Likewise.
7619         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7620         * math/test-ldouble.c (CHOOSE): Likewise.
7622         * math/test-float.h (TEST_FLOAT): Remove.
7623         * math/test-double.h (TEST_DOUBLE): Likewise.
7624         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7626 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7628         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7629         (parse_args): Strip C suffix from floating point literals
7630         typed with 'f' and wrap them with LIT().
7632         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7633         (test_ff_f_data_nexttoward): Rename to
7634         (test_fj_f_data): New struct.
7635         (nexttoward_test_data): Relabel tests as
7636         TEST_fj_f instead of TEST_ff_f.
7638 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7640         Emacs bug 23726.
7641         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7642         (__libc_realloc): Correct size computation for dumped fake mmapped
7643         chunks.
7645 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7647         [BZ #20219]
7648         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7649         to itself.
7650         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7652         [BZ #20218]
7653         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7654         to itself.
7655         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7657 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7659         [BZ #20195]
7660         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7661         check to ...
7662         (init_cpu_features): Here.
7664 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7666         [BZ #20214]
7667         * sysdeps/unix/sysv/linux/bits/in.h
7668         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7669          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7670         Define to 1.
7671         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7672          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7673         Define to 0.
7674         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7675         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7677 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7679         [BZ #20198]
7680         * stdlib/Makefile (tests): Add tst-quick_exit, and
7681         tst-thread-quick_exit.
7682         [ifeq ($(have-cxx-thread_local),yes)]
7683         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7684         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7685         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7686         (LDLIBS-tst-thread-quick_exit): Likewise.
7687         [ifneq ($(have-cxx-thread_local),yes)]
7688         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7689         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7690         If run_dtors is true call __call_tls_dtors.
7691         (exit): Call __run_exit_handlers with run_dtors set to true.
7692         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7693         definition.
7694         * stdlib/quick_exit.c (quick_exit): Remove function.
7695         (__new_quick_exit): New function.
7696         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7697         function.
7698         * stdlib/tst-quick_exit.cc: New file.
7699         * stdlib/tst-thread-quick_exit.cc: New file.
7700         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7701         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7702         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7703         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7704         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7705         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7706         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7707         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7708         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7709         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7710         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7711         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7712         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7713         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7714         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7715         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7720         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7721         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7722         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7723         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7724         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7727         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7728         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7729         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7731 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7733         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7734         a typo in comments.
7736 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7738         [BZ #20213]
7739         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7740         argument to itself.
7741         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7743 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7745         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7746         required flags.
7747         (CFLAGS-pwritev64.c): Likewise.
7748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7749         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7750         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7751         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7752         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7753         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7754         syscall from auto-generation.
7755         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7756         [WORDSIZE == 64] (pwritev64): Remove macro.
7757         [!PWRITEV] (PWRITEV): Likewise.
7758         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7759         [!PWRITEV] (PWRITE): Likewise.
7760         [!PWRITEV] (OFF_T): Likewise.
7761         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7762         (LO_HI_LONG): Remove macro.
7763         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7764         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7765         (PWRITEV): Remove macro.
7766         (PWRITEV_REPLACEMENTE): Likewise.
7767         (PWRITE): Likewise.
7768         (OFF_T): Likewise.
7769         (pwritev64): New function.
7770         * nptl/tst-cancel4.c (tf_writev): Add test.
7772         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7773         required flags.
7774         (CFLAGS-preadv64.c): Likewise.
7775         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7776         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7777         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7778         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7779         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7780         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7781         syscall from auto-generation.
7782         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7783         [WORDSIZE == 64] (preadv64): Remove macro.
7784         [!PREADV] (PREADV): Likewise.
7785         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7786         [!PREADV] (PREAD): Likewise.
7787         [!PREADV] (OFF_T): Likewise.
7788         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7789         (LO_HI_LONG): Remove macro.
7790         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7791         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7792         (PREADV): Remove macro.
7793         (PREADV_REPLACEMENTE): Likewise.
7794         (PREAD): Likewise.
7795         (OFF_T): Likewise.
7796         (preadv64): New function.
7797         * nptl/tst-cancel4.c (tf_preadv): Add test.
7799 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7801         [BZ #20212]
7802         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7803         argument to itself.
7804         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7806 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7808         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7809         New symbol defined as libc_hidden_def.
7810         (strcasestr): Became a weak alias to __strcasestr.
7811         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7812         according to multi-arch support.  Move __stpncpy hidden
7813         definition from here to...
7814         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7815         symbol stpncpy.
7816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7817         libc_hidden_builtin_def.
7818         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7819         memset symbol to use when multi-arch support is available.
7821 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7823         * dlfcn/tst-rec-dlopen.c: Include string.h.
7825 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7827         * manual/install.texi: Remove mention of --without-tls
7828         * INSTALL: Regenerate.
7830 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7832         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7833         Remove.
7834         (call_function, interposed_malloc_called): New variables.
7835         (malloc): New function.
7836         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7837         and clear call_function as needed.
7839 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7841         * include/wchar.h (__wmemset): Use __typeof.
7843 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7845         * include/wchar.h (__wmemset): Declare function without typeof.
7847 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7849         [BZ #20205]
7850         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7851         exponent when incrementing negative subnormal with low mantissa
7852         word zero.
7853         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7854         Add another test.
7856 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7858         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7859         __wmemset instead of wmemset.
7861 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7863         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7864         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7865         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7866         __USE_KERNEL_IPV6_DEFS to 0.
7867         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7868         Update comment.
7870 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7872         [BZ #19861]
7873         Do not use IFUNC resolver with potentially unrelocated symbol.
7874         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7875         (DEFINE_FORK): Remove macro and inline definition.
7876         (fork_alias): Renamed from fork_ifunc.
7877         (__fork_alias): Renamed from __fork_ifunc.
7879 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7881         [BZ 19653]
7882         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7883         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7885 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7887         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7888         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7889         i386-linux-gnu).
7890         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7891         Set to no.
7892         * sysdeps/mach/hurd/configure: Refresh.
7894 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7896         [BZ #20178]
7897         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7898         on failure instead of exit.
7900 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7902         [BZ #3629]
7903         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7904         of POSIX.1-2008.
7906 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7908         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7909           Use PLT entry for calling _hurd_self_sigstate.
7911 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7913         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7914         available logical processors with SMT level type sharing L2
7915         cache for Intel processors.
7917 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7919         [BZ #20160]
7920         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7921         argument to itself before returning the result.
7922         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7923         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7924         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7926         Likewise.
7927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7928         Likewise.
7929         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7930         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7931         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7932         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7933         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7934         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7936         [BZ #20160]
7937         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7938         argument to itself before returning the result.
7939         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7940         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7941         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7943         Likewise.
7944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7945         Likewise.
7946         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7947         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7948         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7949         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7950         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7951         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7953 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7955         * libm-test.inc: Replace usage of M_El with
7956         (lit_e): New macro.
7958 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7960         * libm-test.inc: Replace usage of M_PI_4l with
7961         (lit_pi_4_d): New macro.
7963 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7965         * libm-test.inc: Replace usage of M_PIl with
7966         (lit_pi): New macro.
7968 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7970         * libm-test.inc: Replace usage of M_PI2l with
7971         (lit_pi_2_d): New macro.
7973         * math/test-double.h (LITM): New macro.
7974         * math/test-float.h (LITM): Likewise.
7975         * math/test-ldouble.h (LITM): Likewise.
7977 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7979         * libm-test.inc (M_PI_34l): Rename to
7980         (lit_pi_3_m_4_d): New Macro.
7981         (M_PI_34_LOG10El): Rename to
7982         (lit_pi_3_m_4_ln10_m_d): New Macro.
7983         (M_PI2_LOG10El): Rename to
7984         (lit_pi_2_ln10_m_d):  New Macro.
7985         (M_PI4_LOG10El): Rename to
7986         (lit_pi_4_ln10_m_d):  New Macro.
7987         (M_PI_LOG10El): Rename to
7988         (lit_pi_ln10_d):  New Macro.
7990 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7992         [BZ #20157]
7993         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7994         determine whether to negate low half if [_ARCH_PPCGR], and integer
7995         comparison otherwise.
7996         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7997         determine whether to negate low half.
7999         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8000         (NO_TEST_INLINE_DOUBLE): Likewise.
8001         (TEST_COND_x86_64): Likewise.
8002         (TEST_COND_x86): Likewise.
8003         (M_PI_6l): Likewise.
8005 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8007         * math/libm-test.inc:
8008         (TEST_FLOAT): Change usage to TEST_COND_binary32.
8009         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8010         (TEST_LDOUBLE): Update usage to evaluate as true if
8011         the guarded tests match the property being tested.
8012         (LDBL_MAX_EXP): Change to MAX_EXP.
8013         (LDBL_MIN_EXP): Change to MIN_EXP.
8014         (LDBL_MANT_DIG): Change to MANT_DIG, except for
8015         nexttoward tests.
8017 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8019         * math/libm-test.inc:
8020         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8021         (TYPE_MIN): Likewise.
8022         (TYPE_TRUE_MIN): Likewise.
8023         (TYPE_MAX): Likewise.
8024         (MIN_EXP): Likewise.
8025         (MAX_EXP): Likewise.
8026         (MANT_DIG): Likewise.
8028         (FSTR_MAX): New macro.
8029         (__CONCATX): Likewise.
8030         (QTYPE_STR): Likewise.
8031         (TEST_COND_binary32): Likewise.
8032         (TEST_COND_binary64): Likewise.
8033         (TEST_COND_binary128): Likewise.
8034         (TEST_COND_ibm128): Likewise.
8035         (TEST_COND_intel96): Likewise.
8036         (TEST_COND_m68k96): Likewise.
8038         (TEST_COND_flt_32): Redefine as equivalent format test macro.
8039         (TEST_COND_dbl_64): Likewise.
8040         (TEST_COND_ldbl_96_intel): Likewise.
8041         (TEST_COND_ldbl_96_m68k): Likewise.
8042         (TEST_COND_ldbl_128): Likewise.
8043         (TEST_COND_ldbl_128ibm): Likewise.
8045         (plus_zero): Redefine using LIT macro.
8046         (minus_zero): Likewise.
8047         (plus_infty): Redefine as (INF).
8048         (minux_infty): Redefine as (-INF).
8049         (max_value): Redefine as TYPE_MAX.
8050         (min_value): Redefine as TYPE_MIN.
8051         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8053         (print_float): Refactor to use snprintf to convert FLOAT values
8054         to string. This brings it closer to dropin replacement of strtof
8055         for the TS 18661 defined types.
8056         (update_stats): Likewise.
8057         (print_complex_function_ulps): Likewise.
8058         (print_max_error): Likewise.
8059         (print_complex_max_error): Likewise.
8060         (check_float_internal): Likewise.
8062         * math/test-float.h (PREFIX): New macro.
8063         (LIT): Likewise.
8064         (TYPE_STR): Likewise.
8065         (FTOSTR): Likewise.
8067         * math/test-double.h (PREFIX): New macro.
8068         (LIT): Likewise.
8069         (TYPE_STR): Likewise.
8070         (FTOSTR): Likewise.
8072         * math/test-ldouble.h (PREFIX): New macro.
8073         (LIT): Likewise.
8074         (TYPE_STR): Likewise.
8075         (FTOSTR): Likewise.
8077 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8079         [BZ #20156]
8080         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8081         to itself when zero or not finite.
8082         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8084         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8085         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8087 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8089         [BZ #20153]
8090         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8091         x * x + x for infinities and NaNs.
8093         [BZ #20151]
8094         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8095         argument to itself before returning result.
8096         (__ieee754_y0l): Likewise.
8097         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8098         (__ieee754_y1l).
8100         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8101         (atan_test_data): Likewise.
8102         (ceil_test_data): Likewise.
8103         (cos_test_data): Likewise.
8104         (cosh_test_data): Likewise.
8105         (erf_test_data): Likewise.
8106         (exp2_test_data): Likewise.
8107         (fabs_test_data): Likewise.
8108         (floor_test_data): Likewise.
8109         (ilogb_test_data): Likewise.
8110         (j0_test_data): Likewise.
8111         (j1_test_data): Likewise.
8112         (jn_test_data): Likewise.
8113         (lgamma_test_data): Likewise.
8114         (lrint_test_data): Likewise.
8115         (llrint_test_data): Likewise.
8116         (logb_test_data): Likewise.
8117         (lround_test_data): Likewise.
8118         (llround_test_data): Likewise.
8119         (nearbyint_test_data): Likewise.
8120         (rint_test_data): Likewise.
8121         (round_test_data): Likewise.
8122         (sin_test_data): Likewise.
8123         (sincos_test_data): Likewise.
8124         (sinh_test_data): Likewise.
8125         (sqrt_test_data): Likewise.
8126         (tan_test_data): Likewise.
8127         (tanh_test_data): Likewise.
8128         (tgamma_test_data): Likewise.
8129         (trunc_test_data): Likewise.
8130         (y0_test_data): Likewise.
8131         (y1_test_data): Likewise.
8132         (yn_test_data): Likewise.
8134         * math/libm-test.inc: Update comment about NaN testing.
8135         (TEST_SNAN): New macro.
8136         (snan_value): Likewise.
8137         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8138         (fpclassify_test_data): Add sNaN tests.
8139         (isfinite_test_data): Likewise.
8140         (isinf_test_data): Likewise.
8141         (isnan_test_data): Likewise.
8142         (isnormal_test_data): Likewise.
8143         (issignaling_test_data): Likewise.
8144         (signbit_test_data): Likewise.
8145         * math/gen-libm-test.pl (%beautify): Add snan_value.
8146         (show_exceptions): Add argument $test_snan.
8147         (parse_args): Handle snan_value as non-finite.  Update call to
8148         show_exceptions.
8149         * math/Makefile (libm-test-no-inline-cflags): Add
8150         -fsignaling-nans.
8152 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8154         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8155         (CFLAGS-oldsendmsg.c): Add rule.
8156         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8157         Correct recvmsg symbol name.
8158         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8159         Likewise.
8161 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8163         * sysdeps/unix/sysv/linux/Makefile
8164         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8165         oldsendmmsg.
8166         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8167         sendmmsg.
8168         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8169         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8171         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8173         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8176         Likewise.
8177         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8178         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8179         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8180         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8181         iovlen and controllen fields to adjust to POSIX specification.
8182         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8184         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8185         and change to correct expected type.
8186         (msghdr.msg_controllen): Likewise.
8187         (cmsghdr.cmsg_len): Likewise.
8188         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8189         expected POSIX assumption about the size.
8190         (msghdr.msg_controllen): Likewise.
8191         (msghdr.__glibc_reserved1): Likewise.
8192         (msghdr.__glibc_reserved2): Likewise.
8193         (cmsghdr.cmsg_len): Likewise.
8194         (cmsghdr.__glibc_reserved1): Likewise.
8195         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8196         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8197         (CFLAGS-sendmsg.c): Remove rule.
8198         (CFLAGS-recvmsg.c): Likewise.
8199         (CFLAGS-oldsendmsg.c): Add rule.
8200         (CFLAGS-oldrecvmsg.c): Likewise.
8201         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8202         recvmsg and sendmsg.
8203         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8204         Likewise.
8205         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8206         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8207         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8208         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8209         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8210         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8213         Likewise.
8214         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8215         Likewise.
8216         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8219         Likewise.
8220         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8221         Likewise.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8223         (GLIBC_2.24): Likewise.
8224         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8225         Likewise.
8226         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8229         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8230         Likewise.
8231         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8232         Likewise.
8233         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8234         Likewise.
8235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8236         (GLIBC_2.24): Likewise.
8237         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/Makefile
8242         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8243         (CFLAGS-sendmsg.c): Add rule.
8244         (CFLAGS-recvmsg.c): Likewise.
8245         (CFLAGS-oldsendmsg.c): Likewise.
8246         (CFLAGS-oldrecvmsg.c): Likewise.
8247         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8248         initialization.
8249         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8250         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8251         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8252         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8253         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8254         iovlen and controllen fields to adjust to POSIX specification.
8255         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8256         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8257         added recvmsg and sendmsg.
8258         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8260         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8266         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8267         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8268         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8269         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8271         Likewise.
8272         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8274         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8275         Likewise.
8276         Likewise.
8277         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8278         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8279         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8280         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8284         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8288         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8290         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8291         from auto-generation.
8292         (sendmsg): Likewise.
8293         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8294         (sendmsg): Likewise.
8295         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8296         (sendmsg): Likewise.
8297         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8298         (sendmsg): Likewise.
8299         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8300         (sendmsg): Likewise.
8301         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8302         (sendmsg): Likewise.
8303         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8304         Likewise.
8305         (sendmsg): Likewise.
8306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8307         (sendmsg): Likewise.
8308         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8310         Remove.
8311         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8312         Likewise.
8313         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8314         Undefine.
8315         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8316         Likewise.
8317         * sysdeps/unix/sysv/linux/kernel-features.h
8318         (__ASSUME_SENDMSG_SYSCALL): Define.
8319         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8322         Remove.
8323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8324         Likewise.
8325         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8326         Undefine.
8327         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8331         Remove.
8332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8333         Likewise.
8334         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8335         Undefine.
8336         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8337         Likewise.
8338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8339         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8340         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8341         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8342         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8343         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8344         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8345         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8346         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8348 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8350         * stdlib/gen-tst-strtod-round.c: Add backslash to
8351         compile command in comment.
8352         (printfp): Remove the literal suffix, and define an infinite
8353         value as INF to avoid expansion clash with INFINITY.
8354         (round_str): Remove the literal suffix.
8355         (round_for_all): Likewise, remove the now duplicate ldbl-64
8356         entry, and remove some magic constants.
8358         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8359         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8360         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8361         (_CONCAT): New macro.
8362         (CONCAT): Likewise.
8363         (CHOOSE_ld): Likewise.
8364         (CHOOSE_f): Likewise.
8365         (CHOOSE_d): Likewise.
8366         (FTYPE_MEMBER): Likewise.
8367         (BOOL_MEMBER): Likewise.
8368         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8369         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8370         (_XNTRY): Likewise.
8371         (XNTRY): Likewise.
8372         (_ENTRY): Likewise.
8373         (ENTRY): Likewise.
8374         (test_exactness): Generate members via macro.
8375         (test_results): Likewise.
8376         (test): Update members.
8377         (TEST): Redefine using new macros.
8378         (INF): New macro.
8379         (fetestmodes): New structure.
8380         (do_test): Refactor to be type generic.
8381         (test_in_one_mode): Refactor duplicate code into
8382         (GEN_ONE_TEST): New macro.
8384         * stdlib/tst-strtod-round-data.h: Regenerate.
8386         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8387         Extend to pass additional arbitrary parameters to
8388         generators.
8390 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8392         [BZ #15479]
8393         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8394         floating-point state after first floating-point operation on
8395         input.  Restore full floating-point state instead of just rounding
8396         mode.
8397         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8398         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8399         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8400         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8401         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8403         [BZ #15479]
8404         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8405         floating-point state after first floating-point operation on
8406         input.  Restore full floating-point state instead of just rounding
8407         mode.
8408         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8409         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8410         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8411         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8412         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8414 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8416         [BZ #19727]
8417         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8418         valid high surrogate.
8419         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8420         of an utf16 surrogate.
8421         * iconv/gconv_simple.c (BODY): Likewise.
8422         * iconvdata/bug-iconv12.c: New file.
8423         * iconvdata/Makefile (tests): Add bug-iconv12.
8425 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8427         [BZ #19726]
8428         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8429         outptrp in case of an illegal input.
8430         * iconv/tst-iconv6.c: New file.
8431         * iconv/Makefile (tests): Add tst-iconv6.
8433 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8435         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8436         an error in case of a value in range of an utf16 low surrogate.
8438 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8440         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8441         an error in case of a value in range of an utf16 low surrogate.
8443 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8445         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8446         Move to ...
8447         * sysdeps/s390/Makefile: ... here.
8448         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8449         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8450         (BRANCH_ON_COUNT): New define.
8451         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8452         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8453         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8454         run on s390-32, too.
8455         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8456         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8457         run on s390-32, too.
8458         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8459         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8460         run on s390-32, too.
8462 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8464         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8465         etf3eh or new vector loop-variant.
8467 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8469         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8470         etf3eh or new vector loop-variant.
8472 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8474         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8475         or new vector loop-variant.
8477 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8479         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8480         Rename to TR_LOOP and usage of tr instead of troo instruction.
8482 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8484         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8485         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8487 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8489         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8490         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8491         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8492         New override define.
8493         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8495 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8497         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8498         * sysdeps/s390/configure.ac: Add test for S390 vector register
8499         support in gcc.
8500         * sysdeps/s390/configure: Regenerated.
8502 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8504         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8505         Install file from $(objpfx)gconv-modules.
8506         ($(objpfx)gconv-modules): Concatenate architecture specific file
8507         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8508         * sysdeps/s390/gconv-modules: New file.
8509         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8510         Deleted.
8511         ($(objpfx)gconv-modules-s390): Deleted.
8512         (sysdeps-gconv-modules): New variable.
8514 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8516         [BZ #15479]
8517         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8518         of immediate operand to rounding instruction.
8519         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8520         Likewise.
8521         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8522         Likewise.
8523         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8524         Likewise.
8526 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8528         * math/libm-test.inc (MIN_EXP): Directly define as
8529         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8531 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8533         * math/libm-test.inc (MANT_DIG): Directly define as
8534         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8536 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8538         * stdlib/gen-tst-strtod-round.c (main):
8539           Change usage to more closely match the generated
8540           output.  Add usage and compilation instructions.
8541           (string_to_fp): Add and use FILE* parameter as
8542           output target.
8543           (print_fp): Likewise.
8544           (round_str): Likewise.
8545           (round_for_all): Likewise.
8546         * stdlib/tst-strtod-round.c (tests): Move into
8547         * stdlib/tst-strtod-round-data.h: New file.
8549 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8551         [BZ #15479]
8552         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8553         (__round): Do not force "inexact" exception.
8554         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8555         variable.
8556         (__round): Do not force "inexact" exception.
8557         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8558         (__roundf): Do not force "inexact" exception.
8559         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8560         (__roundl): Do not force "inexact" exception.
8561         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8562         (__roundl): Do not force "inexact" exception.
8563         * math/libm-test.inc (round_test_data): Do not allow spurious
8564         "inexact" exceptions.
8566         [BZ #15479]
8567         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8568         exception in comment.
8569         (huge): Remove variable.
8570         (__floor): Do not force "inexact" exception.
8571         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8572         "inexact" exception in comment.
8573         (huge): Remove variable.
8574         (__floor): Do not force "inexact" exception.
8575         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8576         exception in comment.
8577         (huge): Remove variable.
8578         (__floorf): Do not force "inexact" exception.
8579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8580         exception in comment.
8581         (huge): Remove variable.
8582         (__floorl): Do not force "inexact" exception.
8584         [BZ #15479]
8585         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8586         exception in comment.
8587         (huge): Remove variable.
8588         (__ceil): Do not force "inexact" exception.
8589         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8590         "inexact" exception in comment.
8591         (huge): Remove variable.
8592         (__ceil): Do not force "inexact" exception.
8593         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8594         (__ceilf): Do not force "inexact" exception.
8595         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8596         exception in comment.
8597         (huge): Remove variable.
8598         (__ceill): Do not force "inexact" exception.
8600 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8602         * config.h.in (BIND_NOW): New.
8603         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8604         * configure: Regenerated.
8605         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8606         indirect branch via the GOT slot.
8608 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8610         [BZ #19765]
8611         * sysdeps/s390/mempcpy.S: New File.
8612         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8614         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8615         Add mempcpy variants.
8616         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8617         (memcpy): Adjust to be usable from mempcpy entry point.
8618         (__memcpy_mvcle): Likewise.
8619         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8620         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8621         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8622         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8623         (__memcpy_z10): Likewise.
8624         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8626 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8628         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8629         Remove __GI_ symbol.
8630         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8631         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8632         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8633         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8634         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8635         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8637 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8639         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8640         Use cghi instead of chi to compare 64bit value.
8642 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8644         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8645         Jump to 1MB check before executing mvc-loop.
8647 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8649         [BZ #6527]
8650         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8651         unconditionally.
8652         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8654 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8656         * stdlib/tst-strtod6.c (do_test): Use new type generic
8657         invocation of the test function.
8658         (test): Refactor into ...
8659         (TEST_STRTOD): New macro base function.
8661 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8663         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8664         (TEST_STRTOD): New macro.
8665         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8667 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8669         * stdlib/tst-strtod6.c (do_test): Use new type generic
8670         invocation of the test function.
8671         (test): Refactor into ...
8672         (TEST_STRTOD): New macro base function.
8674 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8676         CVE-2016-4429
8677         [BZ #20112]
8678         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8679         payload.
8681 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8683         [BZ #20111]
8684         * bits/sockaddr.h (_SS_SIZE): Define.
8685         * bits/socket.h (_SS_SIZE): Remove.
8686         (_SS_PADSIZE): Adjust to account for all padding.
8687         (struct sockaddr_storage): Update comment.  Avoid implicit
8688         padding.
8689         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8690         (_SS_PADSIZE): Adjust to account for all padding.
8691         (struct sockaddr_storage): Update comment.  Avoid implicit
8692         padding.
8693         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8694         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8695         (_SS_PADSIZE): Adjust to account for all padding.
8696         (struct sockaddr_storage): Update comment.  Avoid implicit
8697         padding.
8698         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8699         __SS_SIZE is 126 in this version.
8700         * inet/tst-sockaddr.c: New file.
8701         * inet/Makefile (tests): Add tst-sockaddr.c
8702         (tst-sockaddr.c): Compile with non-strict aliasing.
8704 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8706         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8707         [XPG3 || XPG4].
8708         (NL_ARGMAX): Also expect for [XPG3].
8709         (NL_LANGMAX): Likewise.
8710         (NL_MSGMAX): Likewise.
8711         (NL_NMAX): Likewise.
8712         (NL_SETMAX): Likewise.
8713         (NL_TEXTMAX): Likewise.
8714         (NZERO): Likewise.
8715         (TMP_MAX): Likewise.
8716         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8717         variable.
8719         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8720         (PF_MAX): Update value.
8721         (AF_KCM): New macro.
8722         (SOL_NETBEUI): Likewise.
8723         (SOL_LLC): Likewise.
8724         (SOL_DCCP): Likewise.
8725         (SOL_NETLINK): Likewise.
8726         (SOL_TIPC): Likewise.
8727         (SOL_RXRPC): Likewise.
8728         (SOL_PPPOL2TP): Likewise.
8729         (SOL_BLUETOOTH): Likewise.
8730         (SOL_PNPIPE): Likewise.
8731         (SOL_RDS): Likewise.
8732         (SOL_IUCV): Likewise.
8733         (SOL_CAIF): Likewise.
8734         (SOL_ALG): Likewise.
8735         (SOL_NFC): Likewise.
8736         (SOL_KCM): Likewise.
8737         (MSG_BATCH): New enum value and macro.
8739 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8741         [BZ #18185]
8742         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8743         sharing L2 cache to 2 for Knights Landing.
8745 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8747         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8748         (FTW_DP): Do not expect for [XPG3 || XPG4].
8749         (FTW_SL): Do not expect for [XPG3].
8750         (FTW_SLN): Likewise.
8751         (FTW_PHYS): Likewise.
8752         (FTW_MOUNT): Likewise.
8753         (FTW_DEPTH): Likewise.
8754         (FTW_CHDIR): Likewise.
8755         (nftw): Likewise.
8756         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8757         variable.
8759 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8761         * manual/errno.texi: Fix various typos & grammar errors.
8763 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8765         * manual/intro.texi: Fix duplicated typo.
8767 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8769         [BZ #13304]
8770         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8771         <float.h>, <math_private.h> and <stdlib.h>.
8772         (add_split): New function.
8773         (mul_split): Likewise.
8774         (ext_val): New typedef.
8775         (store_ext_val): New function.
8776         (mul_ext_val): New function.
8777         (compare): New function.
8778         (add_split_ext): New function.
8779         (__fmal): After checking for Inf, NaN and zero, compute result as
8780         an exact sum of scaled double values in round-to-nearest before
8781         adding those up and adjusting for other rounding modes.
8782         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8783         tests of fma.
8784         * math/auto-libm-test-out: Regenerated.
8786 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8788         [BZ #20119]
8789         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8790         processor level type mask for CPUID with EAX == 11.
8792 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8794         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8795         logical threads if the HTT bit is 0.
8796         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8797         (index_cpu_HTT): Likewise.
8798         (reg_HTT): Likewise.
8800 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8802         [BZ #20115]
8803         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8804         Remove alignments on jump targets.
8806 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8808         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8809         (getpwent): Likewise.
8810         (setpwent): Likewise.
8811         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8812         variable.
8814         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8815         (remque): Likewise.
8816         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8817         variable.
8819 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8821         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8822         not being tested.
8824 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8827         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8828         call.
8829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8830         (__condvar_cleanup1): Likewise.
8832 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8834         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8835         New
8836         (__pthread_unwind): Renamed to ...
8837         (PTHREAD_UNWIND): This.
8838         (__pthread_enable_asynccancel): Replace
8839         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8841 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8843         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8844         (CLONE_NEWCGROUP): New macro.
8846         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8847         (Q_GETNEXTQUOTA): New macro.
8849 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8851         [BZ #19907]
8852         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8853         buffer updated by the previous run.
8854         * string/test-memcpy.c (do_one_test): Likewise.
8855         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8856         * string/test-memmove.c (do_one_test): Likewise.
8858 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8860         [BZ #20094]
8861         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8862         not [__USE_XOPEN].
8863         (unlockpt): Likewise.
8864         (ptsname): Likewise.
8865         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8866         variable.
8868         [BZ #20076]
8869         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8870         instead of [__USE_UNIX98].
8871         (S_ISSOCK): Likewise.
8872         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8873         variable.
8875         [BZ #20074]
8876         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8877         [__USE_POSIX].
8878         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8879         variable.
8881         [BZ #20051]
8882         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8883         (ttyslot): Do not declare.
8884         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8885         (ttyslot): New prototype.
8886         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8887         variable.
8888         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8890 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8892         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8894 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8896         Fix race condition in tst-mallocfork2, use fewer resources.
8897         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8898         to current process group.
8899         (signal_sender): Yield in the non-sleeping case.
8901 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8903         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8904         (ecvt): Likewise.
8905         (fcvt): Likewise.
8906         (gcvt): Likewise.
8907         (getsubopt): Likewise.
8908         (grantpt): Likewise.
8909         (initstate): Likewise.
8910         (l64a): Likewise.
8911         (mktemp): Likewise.
8912         (mkstemp): Likewise.
8913         (ptsname): Likewise.
8914         (random): Likewise.
8915         (realpath): Likewise.
8916         (setstate): Likewise.
8917         (srandom): Likewise.
8918         (ttyslot): Likewise.
8919         (unlockpt): Likewise.
8920         (valloc): Likewise.
8922         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8923         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8924         variable.
8926 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8928         [BZ #20072]
8929         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8930         init_cpu_features only if SHARED is defined.
8931         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8933 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8935         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8936         non-inclusive caches on Intel processors.
8938 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8940         * malloc/malloc.c (dumped_main_arena_start)
8941         (dumped_main_arena_end): New variables.
8942         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8943         (do_check_chunk): Skip dumped fake mmapped chunks.
8944         (munmap_chunk): Likewise.
8945         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8946         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8947         mmapped chunks.
8948         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8949         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8950         and dumped_main_arena_end to cover the dumped heap.
8952 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8954         * conform/data/time.h-data (getdate_err): Do not expect for
8955         [XPG3].
8956         (getdate): Likewise.
8957         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8958         variable.
8960         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8961         (F_ULOCK): Likewise.
8962         (F_TEST): Likewise.
8963         (F_TLOCK): Likewise.
8964         (useconds_t): Likewise.
8965         (intptr_t): Do not expect for [XPG3] or [XPG4].
8966         (brk): Do not expect for [XPG3]
8967         (fchown): Likewise.
8968         (fchdir): Likewise.
8969         (ftruncate): Likewise.
8970         (getdtablesize): Likewise.
8971         (gethostid): Likewise.
8972         (getpagesize): Likewise.
8973         (getpgid): Likewise.
8974         (getsid): Likewise.
8975         (getwd): Likewise.
8976         (lchown): Likewise.
8977         (lockf): Likewise.
8978         (readlink): Likewise.
8979         (sbrk): Likewise.
8980         (setpgrp): Likewise.
8981         (setregid): Likewise.
8982         (setreuid): Likewise.
8983         (symlink): Likewise.
8984         (sync): Likewise.
8985         (truncate): Likewise.
8986         (ualarm): Likewise.
8987         (usleep): Likewise.
8988         (vfork): Likewise.
8989         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8990         variable.
8992         [BZ #20054]
8993         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8994         not [__USE_UNIX98].
8995         * conform/data/unistd.h-data (gethostname): Do not expect for
8996         [XPG3].
8998         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8999         [!POSIX] (S_IFBLK): Likewise.
9000         [!POSIX] (S_IFCHR): Likewise.
9001         [!POSIX] (S_IFIFO): Likewise.
9002         [!POSIX] (S_IFREG): Likewise.
9003         [!POSIX] (S_IFDIR): Likewise.
9004         [!POSIX] (S_IFLNK): Likewise.
9005         [!POSIX] (S_IFSOCK): Likewise.
9006         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9007         variable.
9008         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9010 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
9012         * sysdeps/aarch64/memset.S (__memset):
9013         Rewrite of optimized memset.
9015 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9017         [BZ #19703]
9018         Partially async-signal-safe fork for single-threaded processes.
9019         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9020         variable.  Do not acquire and reset/release malloc and libio locks
9021         in single-threaded processes.
9022         * malloc/tst-mallocfork2.c: New file.
9023         * malloc/Makefile (tests): Add it.
9025 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9027         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9028         argument.  Use scratch buffer instead of extend_alloca.
9029         (gethosts): Use scratch buffer instead of extend_alloca.
9030         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
9031         extend_alloca.
9032         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9034 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
9036         [BZ #20055]
9037         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9038         instead of [__USE_UNIX98].
9039         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9040         [__USE_UNIX98].
9041         * conform/data/termios.h-data (tcgetsid): Do not expect for
9042         [XPG3].
9043         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9044         variable.
9045         (test-xfail-XPG4/termios.h/conform): Likewise.
9047 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9049         Do not use mcheck in localedef.
9050         * locale/programs/localedef.c (turn_on_mcheck)
9051         (__malloc_initialize_hook): Remove.
9053 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9055         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9056         * sysdeps/s390/s390-64/Makefile: Likewise.
9058 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9060         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9061         Remove ifunc-defines.sym.
9062         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9063         Likewise.
9064         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9065         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9066         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9067         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9068         rtld-global-offsets.sym.
9069         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9070         * sysdeps/x86/cpu-features-offsets.sym: This.
9071         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9072         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9074 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9076         [BZ #20073]
9077         * io/sys/stat.h (fchmod): Declare for
9078         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9079         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9080         variable.
9082         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9083         [XPG3] (S_IFSOCK): Likewise.
9084         [XPG3] (S_ISVTX): Likewise.
9085         [XPG3] (S_ISLNK): Likewise.
9086         [XPG3] (S_ISSOCK): Likewise.
9087         [XPG3] (fchmod): Likewise.
9088         [XPG3] (lstat): Likewise.
9089         [XPG3] (mknod): Likewise.
9091         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9092         [XPG3].  Expect type long and XFAIL for [XPG4].
9093         (st_blocks): Likewise.
9095         [BZ #20044]
9096         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9097         (pthread_atfork): New prototype.
9098         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9099         variable.
9101         [BZ #20043]
9102         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9103         prototype.
9105 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9107         [BZ #20017]
9108         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9109         gmtime.
9111 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9113         [BZ #19994]
9114         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9115         flag in _res.options.
9117 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9119         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9120         [XPG3 || XPG4].
9121         (blksize_t): Likewise.
9122         (clockid_t): Likewise.
9123         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9124         variable.
9125         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9127 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9129         * sysdeps/unix/sysv/linux/s390/init-first.c:
9130         Add VDSO_SYMBOL(getcpu).
9131         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9132         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9133         Add VDSO_SYMBOL(getcpu).
9134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9135         New define HAVE_GETCPU_VSYSCALL.
9136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9138 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9140         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9141         instead of <sysdeps/x86_64/cacheinfo.c>.
9142         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9143         * sysdeps/x86/cacheinfo.c: Here.
9145 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9147         * malloc/malloc-internal.h: Adjust header file guard.
9149 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9151         [BZ #19787]
9152         * inet/getnameinfo.c (check_sprintf_result): New function.
9153         (CHECKED_SNPRINTF): New macro.
9154         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9155         to the host buffer.
9156         (gni_host_local): Use checked_copy to copy the host name.
9157         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9158         (gni_serv_local): Use checked_copy to copy the service name.
9159         (getnameinfo): Remove unnecessary truncation of result buffers.
9161 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9163         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9164         in case of inet_ntop failure.
9166 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9168         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9169         avoid long lines.
9170         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9171         variables.
9172         (gni_host_inet, gni_host_local): Add comment.
9173         (gni_host): Add comment.  Use temporary to avoid long lines.
9175 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9177         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9178         registers specifiers where general purpose registers specifiers should
9179         have been used.
9181 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9183         [BZ #19779]
9184         CVE-2016-1234
9185         Avoid copying names of directory entries.
9186         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9187         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9188         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9189         (struct readdir_result): New type.
9190         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9191         (GL_READDIR): New macros.
9192         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9193         (convert_dirent, convert_dirent64): New functions.
9194         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9195         convert_dirent64.  Adjust references to the readdir result.
9196         * sysdeps/unix/sysv/linux/i386/glob64.c:
9197         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9198         * posix/bug-glob2.c (LONG_NAME): Define.
9199         (filesystem): Add LONG_NAME.
9200         (my_DIR): Increase the size of room_for_dirent.
9202 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9204         [BZ #20041]
9205         * misc/sys/select.h (__need_timespec): Only define if
9206         [__USE_XOPEN2K].
9207         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9208         variable.
9209         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9210         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9211         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9213 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9214             Segher Boessenkool  <segher@gcc.gnu.org>
9216         [BZ #20004]
9217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9218         (__novec_swapcontext): Add missing load.
9220 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9222         [BZ #20023]
9223         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9224         <time.h>.
9225         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9226         variable.
9227         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9229 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9232         flags CLONE_VM compare.
9234 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9236         [BZ #20031]
9237         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9238         completely empty.
9240 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9242         [BZ #19573]
9243         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9244         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9245         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9246         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9247         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9248         (hesiod_free_list): Mark as hidden.
9249         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9250         res_set, res_get.
9251         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9252         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9253         (hesiod_init): Remove obsolete res_ninit call.
9254         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9255         (hesiod_bind): Do not call init.
9256         (get_txt_records): Use res_mkquery, res_send instead of
9257         res_nmkquery, res_nsend.
9258         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9259         instead of _nss_hesiod_init.
9260         (_nss_hesiod_initgroups_dyn): Likewise.
9261         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9262         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9263         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9265 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9267         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9268         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9270 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9272         * hesiod/hesiod.h: Remove RCS keyword.
9273         * hesiod/hesiod_p.h: Likewise.
9275         * hesiod/hesiod.c: Likewise.
9277 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9279         [BZ #12450]
9280         * locale/iso-639.def: Add Samogitian/sgs.
9282 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9284         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9286         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9288 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9289             Carlos O'Donell  <carlos@redhat.com>
9291         [BZ #19072]
9292         * grp/Makefile (headers): Add grp-merge.h
9293         (routines): Add grp-merge.
9294         * grp/getgrgid_r.c: Include grp-merge.h.
9295         (DEEPCOPY_FN): Define.
9296         (MERGE_FN): Define.
9297         * grp/getgrname_r.c: Include grp-merge.h.
9298         (DEEPCOPY_FN): Define.
9299         (MERGE_FN): Define.
9300         * grp/grp-merge.c: New file.
9301         * grp/grp-merge.h: New file.
9302         * include/grp-merge.h: New file.
9303         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9304         __copy_grp@GLIBC_PRIVATE.
9305         * manual/nss.texi (Actions in the NSS configuration): Describe
9306         return, continue, and merge.
9307         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9308         (DEEPCOPY_FN): Define.
9309         (MERGE_FN): Define.
9310         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9311         (DEEPCOPY_FN): Define.
9312         (MERGE_FN): Define.
9313         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9314         [!MERGE_FN]: Define __merge_einval.
9315         (CHECK_MERGE): Define.
9316         (REENTRANT_NAME): Process merge if do_merge is true.
9317         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9318         (__nss_getent_r): Likewise.
9319         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9320         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9322 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9324         [BZ #20012]
9325         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9326         length to calculate the buffer to read.
9327         (fmemopen_write): Set the buffer position based on bytes written.
9328         (fmemopen_seek): Return EINVAL for invalid whence modes.
9330         [BZ #19957]
9331         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9332         tst-getpid2.
9333         (test): Add tst-clone2.
9334         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9335         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9336         pid/tid fields for CLONE_VM.
9337         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9338         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9339         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9340         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9341         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9342         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9343         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9344         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9346         Likewise.
9347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9348         Likewise.
9349         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9350         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9351         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9352         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9353         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9354         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9355         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9356         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9358 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9360         [BZ #19642]
9361         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9362         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9363         (gni_serv_local, gni_serv): New functions extracted from
9364         getnameinfo.
9365         (getnameinfo): Call gni_host and gni_serv to perform the
9366         processing.  Always free scratch buffer.
9368 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9370         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9371         remaining bytes in the dest string, with zeros.
9373 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9375         [BZ #20010]
9376         CVE-2016-3706
9377         * sysdeps/posix/getaddrinfo.c
9378         (convert_hostent_to_gaih_addrtuple): New function.
9379         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9380         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9381         AF_INET data.
9383 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9385         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9386         callback function gl_readdir.
9387         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9388         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9389         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9390         memcpy to copy the name.
9391         * manual/pattern.texi (Calling Glob): Document requirements for
9392         implementations of the gl_readdir callback function.
9393         * manual/examples/mkdirent.c: New example.
9394         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9395         per the manual guidance.
9396         * posix/tst-gnuglob.c (my_readdir): Likewise.
9398 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9400         [BZ #20014]
9401         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9402         not [__USE_POSIX].
9403         (getchar_unlocked): Likewise.
9404         (putc_unlocked): Likewise.
9405         (putchar_unlocked): Likewise.
9406         (flockfile): Likewise.
9407         (ftrylockfile): Likewise.
9408         (funlockfile): Likewise.
9409         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9410         variable.
9411         (test-xfail-XPG4/stdio.h/conform): Likewise.
9413         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9414         Expect constant.
9415         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9416         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9417         variable.
9418         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9419         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9421         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9422         [__USE_LARGEFILE64] (off64_t): Likewise.
9423         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9424         variable.
9426 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9428         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9432         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9433         * resolv/res_init.c: Likewise.
9434         * resolv/res_mkquery.c: Likewise.
9436 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9438         * resolv/res_init.c (isascii): Do not define.  Use definition in
9439         <ctype.h>.
9440         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9441         (LOG_AUTH): Remove.
9442         (SPRINTF): Remove, adjust caller.
9443         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9445 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9447         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9448         SUNSECURITY conditional.
9449         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9451 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9453         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9454         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9455         Remove BSD-related preprocessor conditionals.
9456         * conf/portability.h: Remove.
9458 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9460         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9461         * resolv/res_data.c: Likewise.
9463 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9465         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9466         * resolv/res_data.c: Remove code conditional on ultrix.
9468 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9470         * resolv/res_init.c (RFC1535): Do not define.  Remove
9471         RFC1535 preprocessor conditionals.
9472         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9473         because there configuration options which make the resolver
9474         behavior different.
9476 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9478         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9479         RESOLVSORT preprocessor conditionals.
9480         * resolv/nss_dns/dns-host.c: Likewise.
9481         * resolv/res_init.c: Likewise.
9483 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9485         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9486         is never defined.
9488 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9490         * inet/inet_lnaof.c: Remove SCSS keyword.
9491         * inet/inet_mkadr.c: Likewise.
9492         * inet/inet_net.c: Likewise.
9493         * inet/inet_netof.c: Likewise.
9494         * inet/rcmd.c: Likewise.
9495         * inet/rexec.c: Likewise.
9496         * inet/ruserpass.c: Likewise.
9498 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9500         * resolv/inet_addr.c: Remove _LIBC conditionals.
9501         * resolv/res_data.c: Likewise.
9502         * resolv/res_init.c: Likewise.
9503         * resolv/res_mkquery.c: Likewise.
9504         * resolv/res_libc.c: Update comment.
9505         * resolv/README: Update.
9507 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9509         * resolv/gethnamaddr.c: Remove SCSS keyword.
9510         * resolv/herror.c: Likewise.
9511         * resolv/inet_addr.c: Likewise.
9512         * resolv/inet_net_ntop.c: Likewise.
9513         * resolv/inet_net_pton.c: Likewise.
9514         * resolv/inet_neta.c: Likewise.
9515         * resolv/inet_ntop.c: Likewise.
9516         * resolv/inet_pton.c: Likewise.
9517         * resolv/ns_date.c: Remove RCS keyword.
9518         * resolv/ns_name.c: Likewise.
9519         * resolv/ns_netint.c: Likewise.
9520         * resolv/ns_parse.c: Likewise.
9521         * resolv/ns_print.c: Likewise.
9522         * resolv/ns_samedomain.c: Likewise.
9523         * resolv/ns_ttl.c: Likewise.
9524         * resolv/nsap_addr.c: Likewise.
9525         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9526         * resolv/res_data.c: Remove RCS keyword.
9527         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9528         * resolv/res_init.c: Likewise.
9529         * resolv/res_mkquery.c: Likewise.
9530         * resolv/res_query.c: Likewise.
9531         * resolv/res_send.c: Likewise.
9533 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9535         * conform/data/stdio.h-data (fdopen): Expect also for
9536         [XPG3 || XPG4].
9538         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9539         (fseeko): Likewise.
9540         (ftello): Likewise.
9541         (ftrylockfile): Likewise.
9542         (funlockfile): Likewise.
9543         (getc_unlocked): Likewise.
9544         (getchar_unlocked): Likewise.
9545         (putc_unlocked): Likewise.
9546         (putchar_unlocked): Likewise.
9548 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9550         [BZ #19868]
9551         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9552         DNS packet syntax checks (which were not needed before).  Skip
9553         over non-PTR records.
9555 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9557         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9558         definition.  Include <stddef.h> instead.
9560 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9562         [BZ #19831]
9563         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9564         function.
9565         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9566         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9568 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9570         [BZ #19862]
9571         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9572         (getanswer_r): Do not call syslog.
9573         (gaih_getanswer_slice): Likewise.
9574         * resolv/gethnamaddr.c (AskedForGot): Remove.
9575         (getanswer): Do not call syslog.
9576         (gethostbyaddr): Likewise.
9578 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9580         * conform/data/signal.h-data (union sigval): Expect also if
9581         [XOPEN2K].
9582         (struct sigevent): Likewise.
9583         (SIGEV_NONE): Likewise.
9584         (SIGEV_SIGNAL): Likewise.
9585         (SIGEV_THREAD): Likewise.
9586         (SIGRTMIN): Likewise.
9587         (SIGRTMAX): Likewise.
9588         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9589         variable.
9590         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9592 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9594         [BZ #19830]
9595         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9596         (gaih_getanswer_slice): Likewise.
9597         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9598         Also check for availability of RR metadata.
9600 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9602         [BZ #19825]
9603         * resolv/res_send.c (send_vc): Remove early *resplen2
9604         initialization.  Set *resplen2 on socket error.  Call
9605         close_and_return_error for other errors.
9607 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9609         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9610         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9611         (SCM_IUCV_TRGCLS): New define.
9613 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9615         [BZ #20005]
9616         * libio/fmemopen.c (fmemopen_write): Update internal position after
9617         write.
9618         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9619         * stdio-common/tst-fmemopen4.c: New file..
9621 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9623         [BZ #19996]
9624         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9625         not [__USE_XOPEN2K].
9626         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9627         variable.
9629         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9630         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9631         variable.
9633         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9634         [__USE_XOPEN2K8].
9635         [__USE_LARGEFILE64] (off64_t): Likewise.
9636         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9637         variable.
9639 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9641         [BZ #19989]
9642         * libio/stdio.h (cuserid): Do not declare if
9643         [__USE_XOPEN2K && !__USE_GNU].
9644         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9645         variable.
9647 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9649         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9650         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9652         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9653         ifunc'ed strcspn.
9654         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9655         [EALIGN]: Removed.
9656         [END]: Likewise
9657         [STRSPN]: Define instead of the above to control symbol name.
9658         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9659         New file.
9660         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9661         Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9663         Likewise.
9664         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9665         Likewise.
9666         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9667         [INITIAL_MASK]: New macro.
9668         [STRCSPN]: Likewise.
9669         [UPDATE_MASK]: Likewise.
9670         [USE_AS_STRCSPN]: Lisewise.
9672 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9674         [BZ #19931]
9675         * stdio-common/tst-vfprintf-width-prec.c: New file.
9676         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9677         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9678         (generated): Add mtrace-related files.
9679         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9680         (tst-%-mem.out): New pattern rule, replaces
9681         tst-printf-bz18872-mem.out.
9682         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9683         specifier, deallocate any previously allocated work buffer.
9685 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9687         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9688         Add nop before __startcontext, add explaining comments.
9690 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9692         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9693         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9694         completely different API.
9696         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9697         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9698         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9699         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9700         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9701         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9702         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9703         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9704         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9705         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9707 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9709         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9711 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9713         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9714         when it is the default of 0.
9716 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9718         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9719         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9720         (sysdep_routines): Add new strcasestr targets.
9721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9722         (__libc_ifunc_impl_list): Likewise.
9723         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9724         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9725         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9726         * sysdeps/powerpc/powerpc64/power8/Makefile:
9727         New file to add strcasestr-ppc64 to sysdep_routines.
9728         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9729         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9731 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9733         * benchtests/Makefile (wcsmbs-benchset): Include only for
9734         native builds and runs.
9735         (LOCALES): Likewise.
9736         (bench-build): Build timing-type here instead of the bench
9737         target.  Generate locale only for native builds.
9738         * benchtests/README: Add note for cross-building.
9740         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9742         * benchtests/README: Update README to include instructions on
9743         using bench-build.
9745         * Makefile.in (bench-build): New target.
9746         * Rules (PHONY): Add bench-build target.
9747         * benchtests/Makefile (bench): Depend on bench-build.
9748         (bench-build): New target.
9750 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9752         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9753         profil_reply_port.
9754         (profile_waiter): Do not initialize profil_reply_port.
9755         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9756         frequency instead of tick length in us.
9758 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9760         [BZ #18712]
9761         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9762         (__old_mempcpy_small): Likewise.
9763         (__old_strcpy_small): Likewise.
9764         (__old_stpcpy_small): Likewise.
9765         (__old_strpbrk_c2): Fix compat symbol name.
9766         (__old_strpbrk_c3): Likewise.
9767         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9768         (__mempcpy_small): Remove.
9769         (__strcpy_small): Remove.
9770         (__stpcpy_small): Remove.
9772 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9774         [BZ #19400]
9775         * locale/iso-639.def: Add the Talossan/tzl language.
9777 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9779         [BZ #16983]
9780         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9781         comment.  Add "ln" to strchr check on postal_fmt.
9783 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9785         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9786         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9787         tel_dom_fmt.
9789 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9791         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9792         (sysdep_routines): Added __strlen_power8.
9793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9794         __strlen_power8 entry.
9795         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9796         Implementation for POWER8.
9797         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9798         for __strlen_power8.
9799         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9800         Implementation for POWER8.
9802 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9804         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9806 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9808         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9809         Goldmont and Airmont processors.
9811 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9813         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9814         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9815         (__STRING2_SMALL_GET32): Remove.
9816         (memset): Remove.
9817         (__memset_1): Remove.
9818         (__memset_gc): Remove.
9819         (__mempcpy): Remove.
9820         (mempcpy): Remove.
9821         (__mempcpy_args): Remove.
9822         (strchr): Remove.
9823         (strcpy): Remove.
9824         (strcpy_args): Remove.
9825         (__stpcpy_args): Remove.
9826         (__strcmp_cc): Remove.
9827         (__strcmp_gc): Remove.
9828         (strstr): Remove.
9830 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9832         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9833         * nis/nis_call.c (nis_server_cache_add): Likewise.
9835 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9837         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9839 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9841         * malloc/arena.c (__malloc_fork_lock_parent)
9842         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9843         internal_function attribute.
9845 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9847         * stdio-common/printf_fp.c (__printf_fp_l):
9848         Rename ___printf_fp_l to __printf_fp_l and
9849         remove strong alias. Use libc_hidden_def instead
9850         of ldbl_hidden_def macro.
9852 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9854         Remove malloc hooks from fork handler.  They are no longer needed
9855         because malloc runs right before fork, and no malloc calls from
9856         other fork handlers are not possible anymore.
9857         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9858         declarations.
9859         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9860         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9861         (atfork_recursive_cntr): Remove.
9862         (__malloc_fork_lock_parent): Do not override malloc hooks and
9863         thread_arena.
9864         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9865         thread_arena.
9866         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9867         thread_arena instead of save_arena.
9869 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9871         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9872         (thread_atfork, thread_atfork_static): Remove.
9873         * sysdeps/mach/hurd/malloc-machine.h:
9874         (thread_atfork, thread_atfork_static): Remove.
9876 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9878         [BZ #19431]
9879         Run the malloc fork handler as late as possible to avoid deadlocks.
9880         * malloc/malloc-internal.h: New file.
9881         * malloc/malloc.c: Include it.
9882         * malloc/arena.c (ATFORK_MEM): Remove.
9883         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9884         Update comment.
9885         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9886         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9887         Remove outdated comment.
9888         (ptmalloc_init): Do not call thread_atfork.  Remove
9889         thread_atfork_static.
9890         * malloc/tst-malloc-fork-deadlock.c: New file.
9891         * Makefile (tests): Add tst-malloc-fork-deadlock.
9892         (tst-malloc-fork-deadlock): Link against libpthread.
9893         * manual/memory.texi (Aligned Memory Blocks): Update safety
9894         annotation comments.
9895         * sysdeps/nptl/fork.c (__libc_fork): Call
9896         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9897         __malloc_fork_unlock_child.
9898         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9900 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9902         [BZ #19613]
9903         Remove union wait.
9904         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9905         (w_stopsig, w_stopval): Remove.
9906         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9907         stat_loc argument.
9908         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9909         (__WAIT_STATUS_DEFN): Remove.
9910         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9911         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9912         (wait, wait3, wait4): Use int * for the stat_loc argument.
9913         * posix/wait.c (__wait): Likewise.
9914         * posix/wait3.c (__wait3): Likewise.
9915         * posix/wait4.c (__wait4): Likewise.
9916         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9917         (__WAIT_STATUS_DEFN): Remove.
9918         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9919         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9920         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9921         argument.
9922         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9923         * sysdeps/posix/wait3.c (__wait3): Likewise.
9924         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9925         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9926         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9927         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9928         stat_loc argument.
9929         * manual/process.texi (BSD Wait Functions): Remove union wait.
9931 2016-04-13  Andreas Schwab  <schwab@suse.de>
9933         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9934         (test-extras): Add tst-tlsalign-vars.
9935         * math/Makefile: Wrap long lines.
9936         (libm-vec-test-wrappers): Define.
9937         (test-extras): Add $(libm-vec-test-wrappers).
9938         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9939         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9940         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9941         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9942         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9943         (extra-test-objs): Add corresponding objects.
9945 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9947         [BZ #19928]
9948         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9949         New.
9950         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9951         times of shared cache size.
9952         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9953         (VMOVNT): New.
9954         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9955         (VMOVNT): Likewise.
9956         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9957         (VMOVNT): Likewise.
9958         (VMOVU): Changed to movups for smaller code sizes.
9959         (VMOVA): Changed to movaps for smaller code sizes.
9960         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9961         comments.
9962         (PREFETCH): New.
9963         (PREFETCH_SIZE): Likewise.
9964         (PREFETCHED_LOAD_SIZE): Likewise.
9965         (PREFETCH_ONE_SET): Likewise.
9966         Rewrite to use forward and backward loops, which move 4 vector
9967         registers at a time, to support overlapping addresses and use
9968         non temporal store if size is above the threshold and there is
9969         no overlap between destination and source.
9971 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9973         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9974         Include dl-vdso.
9975         * sysdeps/unix/sysv/linux/mips/Versions: Add
9976         __vdso_clock_gettime.
9977         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9978         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9979         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9980         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9981         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9982         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9983         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9984         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9985         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9987 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9989         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9990         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9993         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9994         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9997         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9999         syscalls generation.
10000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10001         [__NR_pwrite64] (__NR_write): Remove define.
10002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10003         [__NR_pwrite64] (__NR_write): Remove define.
10004         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10005         Remove define.
10006         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10007         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10008         Remove define.
10009         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10010         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10011         Linux implementation as base.
10012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10014         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10015         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10020         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10021         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10022         syscall generation.
10023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10024         [__NR_pread64] (__NR_pread): Remove define.
10025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10026         [__NR_pread64] (__NR_pread): Likewise.
10027         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10028         define.
10029         (__libc_pread): Use SYSCALL_LL macro on offset argument.
10030         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10031         Remove define.
10032         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10033         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10034         Linux implementation as base.
10035         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10036         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10037         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10039         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10040         definition.
10041         (__ALIGNMENT_COUNT): Likewise.
10042         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10043         (__ALIGNMENT_COUNT): Likewise.
10044         (SYSCALL_LL): New define.
10045         (SYSCALL_LL64): Likewise.
10046         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10047         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10048         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10049         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10052         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10054         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10055         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10056         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10058 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10060         [BZ #19865]
10061         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10062         original buffer before retry.
10064 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10066         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10067         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10068         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10069         GLRO(dl_auxv) list.
10070         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10071         including <ldsodefs.h>.
10072         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10074 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10076         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10077         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10078         $(CPPFLAGS).
10080 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10082         [BZ #17950]
10083         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10084         Add -mfpmath=387.
10086 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10088         * sysdeps/i386/configure.ac: Change == to = when calling test.
10089         * sysdeps/x86_64/configure.ac: Likewise.
10090         * sysdeps/i386/configure: Regenerated.
10091         * sysdeps/x86_64/configure: Likewise.
10093 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10095         [BZ #16137]
10096         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10097         * benchtests/bench-strcoll.c (input_files): Likewise.
10098         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10099         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10100         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10102 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10104         [BZ #19929]
10105         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10106         [__USE_XOPEN2K8 && !__USE_GNU].
10107         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10108         variable.
10110         [BZ #19925]
10111         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10112         define if [!__USE_MISC && __USE_XOPEN2K].
10113         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10114         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10116         Likewise.
10117         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10118         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10119         variable.
10120         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10122 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10124         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10125         (sysdep_routines): Add new strspn targets.
10126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10127         (__libc_ifunc_impl_list): Add strspn.
10128         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10129         New file.
10130         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10131         Likewise.
10132         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10133         Likewise.
10134         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10135         Likewise.
10137 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10139         * misc/hsearch_r.c: Include <limits.h>.
10141 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10143         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10145 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10148         (MEMCPY_SYMBOL): New.
10149         (MEMPCPY_SYMBOL): Likewise.
10150         (MEMMOVE_CHK_SYMBOL): Likewise.
10151         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10152         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10153         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10154         Provide alias for memcpy in libc.a and ld.so.
10156 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10158         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10159         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10160         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10161         Disabled fro now.
10162         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10163         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10165 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10167         * benchtests/Makefile (string-benchset): Add memcpy-large,
10168         memmove-large and memset-large.
10169         * benchtests/bench-memcpy-large.c: New file.
10170         * benchtests/bench-memmove-large.c: Likewise.
10171         * benchtests/bench-memmove-large.c: Likewise.
10172         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10174 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10176         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10177         32-bit displacement to avoid long nop between instructions.
10179 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10181         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10182         a comment on VMOVU and VMOVA.
10184 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10186         [BZ #19633]
10187         Use specified locale for number formatting in strfmon_l.
10188         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10189         (__nl_lookup_word): New inline functions.
10190         * include/printf.h (__print_fp_l): Declare.
10191         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10192         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10193         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10194         (___printf_fp): New function.
10195         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10196         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10197         * stdlib/tst-strfmon_l.c (do_test): New test.
10198         * stdlib/Makefile (tests): Add kt.
10199         (LOCALES): Build additional locales.
10200         (tst-strfmon_l.out): Require locales.
10202 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10204         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10205         if not in libc.
10206         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10207         Likewise.
10208         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10209         Likewise.
10210         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10211         Likewise.
10213 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10216         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10217         with unaligned_erms.
10218         (__memmove_erms): Skip if source == destination.
10219         (__memmove_unaligned_erms): Don't check source == destination
10220         first.
10222 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10224         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10225         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10227 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10229         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10230         * string/strspn.c (strspn): Likewise.
10232 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10234         * benchtests/bench-memset.c (do_test): Support 64-byte
10235         alignment.
10236         (test_main): Test 64-byte alignment.
10238 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10240         * benchtests/bench-memmove.c (test_main): Test 64-byte
10241         alignment.
10243 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10245         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10247 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10249         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10250         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10251         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10253         * string/strpbrk.c (strpbrk): Rewrite function.
10254         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10255         (__strpbrk_c2): Likewise.
10256         (__strpbrk_c3): Likewise.
10257         * string/string-inlines.c
10258         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10259         Likewise.
10260         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10261         Likewise.
10263         * string/strspn.c (strcspn): Rewrite function.
10264         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10265         (__strspn_c1): Remove inline function.
10266         (__strspn_c2): Likewise.
10267         (__strspn_c3): Likewise.
10268         * string/string-inlines.c
10269         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10270         compatibility symbol.
10271         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10272         Likewise.
10273         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10274         Likewise.
10275         * string/string-inlines.c: Include generic version.
10277 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10278             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10280         * string/Version (libc): Add GLIBC_2.24.
10281         * string/strcspn.c (strcspn): Rewrite function.
10282         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10283         (__strcspn_c1): Remove inline function.
10284         (__strcspn_c2): Likewise.
10285         (__strcspn_c3): Likewise.
10286         * string/string-inline.c
10287         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10288         compatibility symbol.
10289         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10290         Likewise.
10291         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10292         Likewise.
10293         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10295 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10297         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10298         Use ahi instead of aghi to adjust stack pointer.
10300 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10302         [BZ #19853]
10303         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10304         TEST to take significant digits as second parameter.
10305         [TEST]: Redefine in terms of TEST_N taking 30
10306         significant digits.
10307         (do_test): Add test case to demonstrate precision
10308         failure in the ldbl-128ibm printf.
10309         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10310         (__mpn_extract_long_double): Carry 7 extra intermediate
10311         bits of precision to aide computing difference when
10312         signs differ.
10314 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10316         [BZ #19881]
10317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10318         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10319         memset-avx512-unaligned-erms.
10320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10321         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10322         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10323         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10324         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10325         __memset_sse2_unaligned_erms, __memset_erms,
10326         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10327         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10328         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10329         file.
10330         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10331         Likewise.
10332         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10333         Likewise.
10334         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10335         Likewise.
10337 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10339         [BZ #19776]
10340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10341         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10342         memmove-avx512-unaligned-erms.
10343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10344         (__libc_ifunc_impl_list): Test
10345         __memmove_chk_avx512_unaligned_2,
10346         __memmove_chk_avx512_unaligned_erms,
10347         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10348         __memmove_chk_sse2_unaligned_2,
10349         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10350         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10351         __memmove_avx512_unaligned_erms, __memmove_erms,
10352         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10353         __memcpy_chk_avx512_unaligned_2,
10354         __memcpy_chk_avx512_unaligned_erms,
10355         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10356         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10357         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10358         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10359         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10360         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10361         __mempcpy_chk_avx512_unaligned_erms,
10362         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10363         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10364         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10365         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10366         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10367         __mempcpy_erms.
10368         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10369         file.
10370         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10371         Likwise.
10372         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10373         Likwise.
10374         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10375         Likwise.
10377 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10379         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10380         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10381         (La_s390_64_regs): Likewise.
10382         (La_s390_32_retval): Append vector register lrv_v24.
10383         (La_s390_64_retval): Likeweise.
10384         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10385         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10386         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10387         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10389 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10391         [BZ #19916]
10392         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10393         to create a non-vector/vector version for _dl_runtime_resolve and
10394         _dl_runtime_profile. Move implementation to ...
10395         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10396         (_dl_runtime_resolve) Save and restore fpr/vrs.
10397         (_dl_runtime_profile) Save and restore vrs and fix some issues
10398         if _dl_call_pltexit is called.
10399         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10400         Choose the correct resolver function if running on a machine with vx.
10401         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10402         to create a non-vector/vector version for _dl_runtime_resolve and
10403         _dl_runtime_profile. Move implementation to ...
10404         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10405         (_dl_runtime_resolve) Save and restore fpr/vrs.
10406         (_dl_runtime_profile) Save and restore vrs and fix some issues
10407         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10408         Choose the correct resolver function if running on a machine with vx.
10410 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10412         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10414 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10416         [BZ #19509]
10417         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10418         skip_map != NULL.
10419         * elf/tst-dlsym-error.c: New file.
10420         * elf/Makefile (tests): Add tst-dlsym-error.
10421         (tst-dlsym-error): Link against libdl.
10423 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10426         (__ASSUME_FUTIMESAT): Remove macro.
10427         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10429 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10431         [BZ #19879]
10432         CVE-2016-3075
10433         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10434         copy name.
10436 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10438         [BZ #19837]
10439         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10440         error if parse_line fails.
10442 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10444         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10445         (index_cpu_ERMS): Likewise.
10446         (reg_ERMS): Likewise.
10448 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10450         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10451         PER_LINUX_FDPIC): Add.
10453 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10456         memcpy-avx512-no-vzeroupper.
10457         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10458         to ...
10459         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10460         (MEMCPY): Don't define.
10461         (MEMCPY_CHK): Likewise.
10462         (MEMPCPY): Likewise.
10463         (MEMPCPY_CHK): Likewise.
10464         (MEMPCPY_CHK): Renamed to ...
10465         (__mempcpy_chk_avx512_no_vzeroupper): This.
10466         (MEMPCPY_CHK): Renamed to ...
10467         (__mempcpy_chk_avx512_no_vzeroupper): This.
10468         (MEMCPY_CHK): Renamed to ...
10469         (__memmove_chk_avx512_no_vzeroupper): This.
10470         (MEMCPY): Renamed to ...
10471         (__memmove_avx512_no_vzeroupper): This.
10472         (__memcpy_avx512_no_vzeroupper): New alias.
10473         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10475 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10477         [BZ #18858]
10478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10479         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10480         and mempcpy-avx512-no-vzeroupper.
10481         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10482         New.
10483         (MEMPCPY): Likewise.
10484         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10485         (MEMPCPY_CHK): New.
10486         (MEMPCPY): Likewise.
10487         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10488         (MEMPCPY): Likewise.
10489         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10490         (MEMPCPY): Likewise.
10491         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10492         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10493         Likewise.
10494         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10495         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10497 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10498              Amit Pawar  <Amit.Pawar@amd.com>
10500         [BZ #19583]
10501         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10502         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10503         processors.  Set Fast_Copy_Backward for AMD Excavator
10504         processors.
10505         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10506         New.
10507         (index_arch_Fast_Unaligned_Copy): Likewise.
10508         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10509         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10511 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10513         [BZ #19791]
10514         * resolv/res_send.c (close_and_return_error): New function.
10515         (send_dg): Initialize *resplen2 after reopen failure.  Call
10516         close_and_return_error for error returns.  On error paths without
10517         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10518         successful return.
10520 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10522         [BZ# 19860]
10523         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10524         zero if the compiler does not provide the AVX512F bit.
10526 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10528         [BZ #19848]
10529         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10530         from 8 to 4.
10531         (__ieee754_powl): Compare integer exponent against 4 not 8.
10532         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10533         from 8 to 4.
10534         (__ieee754_powl): Compare integer exponent against 4 not 8.
10535         * math/auto-libm-test-in: Add more tests of pow.
10536         * math/auto-libm-test-out: Regenerated.
10537         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10540 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10542         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10543         Make code unconditional.
10544         [!__NR_utimensat]: Remove conditional code.
10545         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10546         Make code unconditional.
10547         [!__NR_utimensat]: Remove conditional code.
10548         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10549         Make code unconditional.
10550         [!__NR_utimensat]: Remove conditional code.
10552 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10554         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10555         Make code unconditional.
10557 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10559         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10560         call-clobbered %eax on retry path.
10561         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10563 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10565         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10566         Don't set %rcx twice before "rep movsb".
10568 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10570         [BZ #19583]
10571         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10572         inline.  Check family before setting family, model and
10573         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10574         bits here.
10575         (init_cpu_features): Replace HAS_CPU_FEATURE and
10576         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10577         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10578         for Intel processors with usable AVX2.  Call get_common_indeces
10579         for other processors with family == NULL.
10580         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10581         (CPU_FEATURES_ARCH_P): Likewise.
10582         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10583         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10585 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10587         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10588         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10589         $(shared-thread-library) instead of hardcoding the path to libpthread.
10591 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10593         * sysdeps/unix/sysv/linux/kernel-features.h
10594         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10595         * sysdeps/unix/sysv/linux/getdents.c
10596         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10597         [!have_no_getdents64_defined]: Likewise.
10598         (__GETDENTS): Remove __have_no_getdents64 conditional.
10600 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10603         Remove macro.
10604         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10605         <kernel-features.h>.
10606         (signalfd) [__NR_signalfd4]: Make code unconditional.
10607         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10609 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10611         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10612         style.
10614 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10616         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10617         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10618         __pthread_unwind.
10619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10620         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10622         (__condvar_cleanup1): Likewise.
10624 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10626         [BZ #19822]
10627         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10628         move it to the final $@ location.
10630 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10632         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10633         access where posix_spawn success and pid argument is null.
10634         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10635         success case.
10637 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10639         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10641         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10643         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10644         and __fcntl.
10645         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10646         __fcntl only.
10647         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10648         adding attribute_hidden to __open and __fcntl.
10650         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10651         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10652         depend on libc-modules.h,
10653         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10655 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10658         Remove macro.
10659         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10660         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10661         entry.
10663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10664         Remove macro.
10665         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10666         include <kernel-features.h>.
10667         [!__ASSUME_FALLOCATE]: Remove conditional code.
10668         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10670 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10672         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10673         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10674         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10675         (_ZGVdN4v_cos_avx2): Likewise.
10676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10677         (_ZGVdN4v_cos): Likewise.
10678         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10679         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10680         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10681         (_ZGVdN4v_exp_avx2): Likewise.
10682         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10683         (_ZGVdN4v_exp): Likewise.
10684         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10685         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10686         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10687         (_ZGVdN4v_log_avx2): Likewise.
10688         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10689         (_ZGVdN4v_log): Likewise.
10690         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10691         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10692         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10693         (_ZGVdN4vv_pow_avx2): Likewise.
10694         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10695         (_ZGVdN4vv_pow): Likewise.
10696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10697         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10699         (_ZGVdN4v_sin_avx2): Likewise.
10700         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10701         (_ZGVdN4v_sin): Likewise.
10702         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10703         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10704         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10705         (_ZGVdN4vvv_sincos_avx2): Likewise.
10706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10707         (_ZGVdN4vvv_sincos): Likewise.
10708         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10709         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10710         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10711         (_ZGVbN4v_cosf_sse4): Likewise.
10712         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10713         (_ZGVdN8v_cosf_avx2): Likewise.
10714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10715         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10717         (_ZGVbN4v_expf_sse4): Likewise.
10718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10719         (_ZGVdN8v_expf_avx2): Likewise.
10720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10721         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10723         (_ZGVbN4v_logf_sse4): Likewise.
10724         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10725         (_ZGVdN8v_logf_avx2): Likewise.
10726         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10727         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10729         (_ZGVbN4vv_powf_sse4): Likewise.
10730         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10731         (_ZGVdN8vv_powf_avx2): Likewise.
10732         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10733         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10734         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10735         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10737         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10738         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10739         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10740         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10741         (_ZGVbN4v_sinf_sse4): Likewise.
10742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10743         (_ZGVdN8v_sinf_avx2): Likewise.
10744         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10745         Use JUMPTARGET to call callee.
10746         (WRAPPER_IMPL_SSE2_ff): Likewise.
10747         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10748         (WRAPPER_IMPL_AVX): Likewise.
10749         (WRAPPER_IMPL_AVX_ff): Likewise.
10750         (WRAPPER_IMPL_AVX_fFF): Likewise.
10751         (WRAPPER_IMPL_AVX512): Likewise.
10752         (WRAPPER_IMPL_AVX512_ff): Likewise.
10753         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10754         Likewise.
10755         (WRAPPER_IMPL_SSE2_ff): Likewise.
10756         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10757         (WRAPPER_IMPL_AVX): Likewise.
10758         (WRAPPER_IMPL_AVX_ff): Likewise.
10759         (WRAPPER_IMPL_AVX_fFF): Likewise.
10760         (WRAPPER_IMPL_AVX512): Likewise.
10761         (WRAPPER_IMPL_AVX512_ff): Likewise.
10762         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10764 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10766         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10767         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10768         qualifier.
10769         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10770         internal_function qualifiers.
10772 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10774         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10775         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10776         * math/atest-exp.c (exp_mpn): Mark chk unused.
10777         * math/atest-exp2.c (exp_mpn): Likwise.
10778         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10779         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10781 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10783         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10784         Remove macro.
10785         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10786         <kernel-features.h>.
10787         [__NR_ppoll]: Make code unconditional.
10788         [!__ASSUME_PPOLL]: Remove conditional code.
10790         * sysdeps/unix/sysv/linux/kernel-features.h
10791         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10792         (__ASSUME_ACCEPT4): Likewise.
10793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10794         Define.
10795         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10796         Likewise.
10797         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10798         Likewise.
10799         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10800         Likewise.
10801         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10802         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10803         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10804         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10805         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10808         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10809         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10810         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10811         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10812         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10813         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10814         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10815         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10816         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10817         Likewise.
10818         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10819         Likewise.
10820         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10821         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10822         0x040300].
10823         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10824         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10826         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10827         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10828         0x030300].
10829         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10830         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10831         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10832         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10833         0x040300].
10834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10837         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10839         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10840         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10841         0x030300].
10842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10844         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10846         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10847         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10850         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10851         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10852         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10853         0x040300].
10854         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10855         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10856         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10857         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10859         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10860         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10861         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10862         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10865         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10866         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10867         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10868         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10869         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10870         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10871         Likewise.
10872         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10873         Likewise.
10875 2016-03-15  Andreas Schwab  <schwab@suse.de>
10877         [BZ #19257]
10878         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10879         statp->_u._ext.nscount as loop count.
10881 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10883         * math/test-signgam-finite-c99.c: Also #undef
10884         __LIBC_INTERNAL_MATH_INLINES.
10885         * math/test-signgam-main.c: Likewise.
10887 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10889         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10890         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10891         (MADV_FREE): Likewise.
10892         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10893         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10894         EPOLLEXCLUSIVE.
10896 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10898         * timezone/README: Remove mention of checktab.awk. Mention wiki
10899         SharedSourceFiles.
10901 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10903         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10904         WUNTRACED.
10906 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10908         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10909         order to match the type of p when calling atomic_exchange_acq().
10911 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10913         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10914         cfi_offset calls.
10915         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10916         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10917         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10918         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10919         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10921 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10923         * timezone/checktab.awk: Removed.
10925 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10927         * manual/math.texi (Errors in Math Functions): Document relaxed
10928         accuracy goals for IBM long double.
10929         * math/libm-test.inc (test_exceptions): Always allow spurious
10930         "underflow" and "inexact" exceptions for IBM long double.
10932 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10934         [BZ #19762]
10935         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10936         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10937         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10938         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10939         (bit_arch_*): This for feature array.
10940         (bit_*): Renamed to ...
10941         (bit_cpu_*): This for cpu array.
10942         (index_*): Renamed to ...
10943         (index_arch_*): This for feature array.
10944         (index_*): Renamed to ...
10945         (index_cpu_*): This for cpu array.
10946         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10947         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10948         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10949         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10950         bit_##name with index_cpu_##name and bit_cpu_##name.
10951         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10952         bit_##name with index_arch_##name and bit_arch_##name.
10954 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10956         [BZ #19792]
10957         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10958         Terminate FDE before return label.
10960 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #19790]
10963         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10964         (rintl): Define as macro.
10965         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10966         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10967         of fesetround.  Ensure results are evaluated before end of scope.
10968         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10969         USE_AS_NEARBYINTL and include s_rintl.c.
10970         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10971         Disable exception traps in new environment.
10972         (libc_feholdsetround_ppc_ctx): Likewise.
10974 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10976         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10977         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10978         (tst_audit10_aux) [__AVX512F__]: ... here.
10980 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10982         * include/sys/auxv.h: New file.
10984 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10986         [BZ #19759]
10987         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10989 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10991         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10992         operand modifier.
10993         (feclearexcept): Likewise.
10995 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10997         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10998         to reflect the entire 32-bit HWCAP.
10999         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11000         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
11002 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11004         [BZ #19783]
11005         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11006         $(test-via-rtld-prefix).
11007         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11009 2016-03-08  Florian Weimer  <fweimer@redhat.com>
11011         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11012         union wait.  Report any non-zero exit status as error.
11014 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11016         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11017         configured with --enable-hardcoded-path-in-tests.
11019 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
11021         [BZ #19677]
11022         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11023         (__ieee754_remainderl): Put zero low parts in canonical form.
11024         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11025         file.  Based on
11026         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11027         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11028         with wrapper round test-fmodrem-ldbl-128ibm.c.
11029         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11030         file.
11031         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11032         Likewise.
11033         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11034         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11036 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11038         [BZ #19610]
11039         * elf/ldconfig.c (opt_link): Update comment.
11040         (options): Update help string for option -X.
11041         (search_dir): Unlink stale symbolic link only if updating symbolic
11042         links.
11043         * elf/tst-ldconfig-X.sh: New file.
11044         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11045         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11047 2016-03-07  Andreas Schwab  <schwab@suse.de>
11049         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11050         needed arguments.
11052 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11054         [BZ #15333]
11055         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11056         to lstat64.
11058 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11060         * libio/filedoalloc.c (isatty): Remove.
11061         (local_isatty): Add comment.  Call __isatty directly.
11062         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11063         * libio/wfiledoalloc.c (isatty): Remove.
11064         (_IO_wfile_doallocate): Update comment.
11066 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11068         [BZ #19269]
11069         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11070         tst-audit4-aux.o.
11071         (tst-audit10): Depend on tst-audit10-aux.o.
11072         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11073         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11074         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11075         instead of inline AVX code.
11076         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11077         instead of inline AVX512 code.
11078         * sysdeps/x86_64/tst-audit4-aux.c: New file
11079         * sysdeps/x86_64/tst-audit10-aux.c: New file
11081         [BZ #19648]
11082         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11084 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11086         [BZ #14750]
11087         [BZ #10354]
11088         [BZ #18433]
11089         * include/sched.h (__clone): Add hidden prototype.
11090         (__clone2): Likewise.
11091         * include/unistd.h (__dup): Likewise.
11092         * posix/Makefile (tests): Add tst-spawn2.
11093         * posix/tst-spawn2.c: New file.
11094         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11095         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11096         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11097         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11098         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11099         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11100         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11101         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11102         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11103         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11104         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11106         Likewise.
11107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11108         Likewise.
11109         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11110         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11111         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11112         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11113         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11114         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11115         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11116         * sysdeps/unix/sysv/linux/nptl-signals.h
11117         (____nptl_is_internal_signal): New function.
11118         * sysdeps/unix/sysv/linux/spawni.c: New file.
11120         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11121         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11122         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11123         * posix/tst-execvp2.c (do_test): Likewise.
11124         * posix/tst-execvp3.c (do_test): Likewise.
11125         * posix/tst-execvp4.c (do_test): Likewise.
11126         * posix/tst-execvpe1.c: New file.
11127         * posix/tst-execvpe2.c: Likewise.
11128         * posix/tst-execvpe3.c: Likewise.
11129         * posix/tst-execvpe4.c: Likewise.
11130         * posix/tst-execvpe5.c: Likewise.
11131         * posix/tst-execvpe6.c: Likewise.
11133         [BZ #19534]
11134         * posix/execl.c (execl): Remove dynamic memory allocation.
11135         * posix/execle.c (execle): Likewise.
11136         * posix/execlp.c (execlp): Likewise.
11138 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11140         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11141         Replace .text with .text.avx512.
11142         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11143         Likewise.
11145 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11147         * sysdeps/generic/libnsl.abilist: New file.
11148         * sysdeps/generic/libutil.abilist: New file.
11150 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11152         [BZ #19762]
11153         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11154         HAS_ARCH_FEATURE with Fast_Rep_String.
11155         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11156         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11157         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11158         Likewise.
11159         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11160         Likewise.
11161         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11162         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11163         Likewise.
11164         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11165         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11166         Likewise.
11168 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11170         [BZ #19745]
11171         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11172         with *%rax in call.
11174 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11176         [BZ #19745]
11177         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11178         with *__libc_start_main@GOTPCREL(%rip) in call.
11180 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11182         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11183         inside conditional for nonempty $(CXX).
11185         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11186         nonempty.
11188         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11189         to test for empty $(CXX) rather than $(CXX) of "no".
11191 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11193         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11195 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11196             H.J. Lu  <hongjiu.lu@intel.com>
11198         [BZ #18880]
11199         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11200         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11201         enable __memcpy_ssse3_back.
11203 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11205         [BZ #19758]
11206         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11207         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11209 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11211         [BZ #19490]
11212         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11213         (__fentry__): Likewise.
11215 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11217         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11218         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11220 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11222         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11223         __mcount_internal directly.
11224         (C_LABEL(__fentry__)): Likewise.
11225         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11226         directly.
11228 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11230         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11231         (__start_context): Call __setcontext directly.
11233 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11235         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11236         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11237         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11238         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11240         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11241         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11242         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11243         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11244         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11245         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11246         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11247         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11248         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11249         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11250         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11251         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11253         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11254         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11255         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11256         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11257         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11258         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11259         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11260         Remove conditional code.
11261         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11262         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11263         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11264         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11265         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11266         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11267         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11268         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11269         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11270         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11271         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11272         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11274 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11276         * NEWS (2.23): Fix typo in bug 19048 text.
11278 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11280         [BZ #14259]
11281         * Makeconfig: Rename msgcatdir to localedir.
11282         Rename inst_msgcatdir to inst_localedir.
11283         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11284         * config.make.in: Add localedir.
11285         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11286         (ldd-rewrite): Likewise.
11287         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11288         (install-others): Use inst_localedir.
11289         (CPPFLAGS): Use localedir.
11290         * locale/Makefile (locale-CPPFLAGS): Likewise.
11291         * po/Makefile (mo-installed): Use inst_localedir.
11293         [BZ #19575]
11294         * localedata/charmaps/GB18030: Update comments regarding PAU to
11295         non-PUA mappings.
11297 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11299         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11300         test for header.
11301         * sysdeps/unix/sysv/linux/configure: Regenerated.
11302         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11303         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11304         Remove conditional code.
11305         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11307         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11308         Define to 3.2.0.
11309         (arch_minimum_kernel): Likewise.
11310         * sysdeps/unix/sysv/linux/configure: Regenerated.
11311         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11312         Define to 2.6.32.
11313         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11314         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11315         (arch_minimum_kernel): Define to 2.6.32.
11316         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11317         * README: Document Linux 3.2 requirement.
11318         * manual/install.texi (Linux): Document Linux 3.2 headers
11319         requirement.
11320         * INSTALL: Regenerated.
11322 2016-02-24  Andreas Schwab  <schwab@suse.de>
11324         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11325         if !NO_LONG_DOUBLE.
11327 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11329         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11330         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11332 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11334         [BZ #19512]
11335         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11337 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11339         * posix/tst-dir.c: Include libc-internal.h.
11341 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11343         [BZ #19056]
11344         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11345         * manual/filesys.texi (Reading/Closing Directory): Mention
11346         deprecaion.
11347         * posix/tst-dir.c (main): Disable deprecation warning in test.
11349 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11351         [BZ #19679]
11352         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11353         Renamed to ...
11354         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11355         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11356         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11357         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11358         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11359         * sysdeps/x86_64/dl-trampoline.h
11360         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11361         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11363 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11365         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11367 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11369         * elf/elf.h (R_386_GOT32X): New.
11370         (R_386_NUM): Update.
11371         (R_X86_64_GOTPCRELX: New.
11372         (R_X86_64_REX_GOTPCRELX): New.
11373         (R_X86_64_NUM): Update.
11375 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11377         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11379 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11381         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11382         assign attr->stackaddr to it, and adjust it down when
11383         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11384         [_STACK_GROWS_UP]: Delete assert.
11385         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11386         Implement stack grows up logic.
11387         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11388         stack grows up logic.
11390 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11392         * NEWS: Update with 2.24 template.
11394 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11396         [BZ #19678]
11397         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11398         Ensure +0.0 is returned when taking the next value below the least
11399         positive value.
11401 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11403         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11404         available.  Do not define NO_THREADS.
11405         * malloc/malloc.c: Do not check NO_THREADS.
11406         * malloc/arena.c: Likewise.
11408 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11410         * malloc/malloc.c (__libc_mallinfo): Update comment.
11411         (struct malloc_par): Remove max_total_mem member, it was always 0.
11412         (int_mallinfo): Store 0 into usmblks (no functional change).
11413         * malloc/hooks.c (struct malloc_state): Document that
11414         max_total_mem is always 0.
11415         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11416         always 0.
11417         * manual/memory.texi (Statistics of Malloc): Likewise.
11419 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11421         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11422         * malloc/arena.c (arena_max): Remove.
11423         (heap_trim, _int_new_arena): Do not update arena_max.
11425 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11427         * resolv/res_init.c (res_ninit): Update comment.
11429 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11431         [BZ #19505]
11432         * posix/spawn_int.h: Add headers and include guard.
11433         (__spawn_valid_fd): New function.
11434         * posix/spawn_faction_addopen.c
11435         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11436         * posix/spawn_faction_addclose.c
11437         (posix_spawn_file_actions_addclose): Likewise.
11438         * posix/spawn_faction_adddup2.c
11439         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11440         second file descriptor.
11441         * posix/spawn_valid_fd.c: New file.
11442         * posix/tst-posix_spawn-fd.c: New file.
11443         * posix/Makefile (routines): Add spawn_valid_fd.
11444         (tests): Add tst-posix_spawn-fd.
11446 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11448         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11449         (do_test): Limit the number of arenas, so that we can use fewer
11450         outer threads.  Limit timeout to 3 seconds, in preparation for a
11451         larger TIMEOUT value.
11453 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11455         [BZ #19674]
11456         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11457         sign in overflowing and underflowing results when overflow or
11458         underflow is detected early.  Include sign in result before rather
11459         than after scaling.
11461         [BZ #19603]
11462         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11463         (__ieee754_remainderl): Adjust sign of integer version of low part
11464         when taking absolute value of high part.
11465         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11466         * math/libm-test.inc (remainder_test_data): Add another test.
11467         (remquo_test_data): Likewise.
11469 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11471         [BZ #19602]
11472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11473         equal high parts and both low parts zero specially.
11474         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11475         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11476         Add test-fmodl-ldbl-128ibm.
11478         [BZ #19595]
11479         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11480         common logic for all cases of shifting subnormal results.  Do not
11481         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11482         exponent to ldbl_insert_mantissa in subnormal case.
11484         [BZ #19594]
11485         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11486         on high and low parts then adjust result and use
11487         ldbl_canonicalize_int if needed.
11489         [BZ #19593]
11490         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11491         on high part and __floor or __ceil on low part then use
11492         ldbl_canonicalize_int if needed.
11494         [BZ #19592]
11495         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11496         high and low parts then use ldbl_canonicalize_int if needed.
11498         [BZ #17899]
11499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11500         New function.
11501         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11502         on high and low parts then use ldbl_canonicalize_int if needed.
11504 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11506         * configure: Regenerated.
11508         * po/libc.pot: Regenerated.
11510         * po/be.po: Updated translation.
11511         * po/bg.po: Likewise.
11512         * po/ca.po: Likewise.
11513         * po/cs.po: Likewise.
11514         * po/da.po: Likewise.
11515         * po/el.po: Likewise.
11516         * po/eo.po: Likewise.
11517         * po/es.po: Likewise.
11518         * po/fi.po: Likewise.
11519         * po/fr.po: Likewise.
11520         * po/gl.po: Likewise.
11521         * po/hr.po: Likewise.
11522         * po/hu.po: Likewise.
11523         * po/ia.po: Likewise.
11524         * po/id.po: Likewise.
11525         * po/it.po: Likewise.
11526         * po/ja.po: Likewise.
11527         * po/lt.po: Likewise.
11528         * po/nb.po: Likewise.
11529         * po/nl.po: Likewise.
11530         * po/pt_BR.po: Likewise.
11531         * po/rw.po: Likewise.
11532         * po/sk.po: Likewise.
11533         * po/sl.po: Likewise.
11534         * po/sv.po: Likewise.
11535         * po/tr.po: Likewise.
11536         * po/zh_CN.po: Likewise.
11537         * po/zh_TW.po: Likewise.
11539         * version.h (RELEAES): Set to "development".
11540         (VERSION): Set to 2.23.90.
11542         * version.h (RELEASE): Set to "stable".
11543         (VERSION): Set to 2.23.
11544         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11546         * NEWS: Updated fixed bugs.
11548 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11549             Wilco Dijkstra  <wdijkstr@arm.com>
11551         [BZ #19462]
11552         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11553         (_STRING_INLINE_unaligned): This.
11554         * include/string.h: Include <string_private.h>.
11555         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11556         _STRING_INLINE_unaligned.
11557         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11558         (_STRING_INLINE_unaligned): New.
11559         * sysdeps/aarch64/string_private.h: New file.
11560         * sysdeps/generic/string_private.h: Likewise.
11561         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11562         * sysdeps/s390/string_private.h: Likewise.
11563         * sysdeps/x86/string_private.h: Likewise.
11564         * sysdeps/m68k/m680x0/m68020/bits/string.h
11565         (_STRING_ARCH_unaligned): Renamed to ...
11566         (_STRING_INLINE_unaligned): This.
11567         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11568         to ...
11569         (_STRING_INLINE_unaligned): This.
11570         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11571         to ...
11572         (_STRING_INLINE_unaligned): This.
11573         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11574         to ...
11575         (_STRING_INLINE_unaligned): This.
11577 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11578             H.J. Lu  <hongjiu.lu@intel.com>
11580         [BZ #19590]
11581         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11582         relocation.
11584 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11586         [BZ #18665]
11587         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11588         *herrno_p.
11589         (gaih_getanswer): Document functional behviour. Return tryagain
11590         if any result is tryagain.
11591         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11592         when freed.
11593         * resolv/res_send.c: Add copyright text.
11594         (__libc_res_nsend): Document that MAXPACKET is expected.
11595         (send_vc): Document. Remove buffer reuse.
11596         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11597         size of the buffer. Add Dprint for truncated UDP buffer.
11599 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11601         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11602         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11603         * INSTALL: Regenerate.
11605 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11606             Jonathan Wakely  <jwakely@redhat.com>
11607             Carlos O'Donell  <carlos@redhat.com>
11609         [BZ 19439]
11610         * math/Makefile (tests): Add test-math-isinff.
11611         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11612         * math/bits/mathcalls.h [__USE_MISC]: Use
11613         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11614         functions not in C++11 and which don't conflict e.g. isinff,
11615         isinfl etc.
11616         * math/test-math-isinff.cc: New file.
11618 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11620         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11622 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11624         [BZ #19529]
11625         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11627 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11629         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11631 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11633         [BZ #19550]
11634         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11635         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11636         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11637         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11638         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11639         New syscall entry.
11640         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11641         New syscall entry.
11642         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11643         syscall entry.
11645 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11647         [BZ #18240]
11648         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11649         unsigned int wraparound.
11651 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11653         [BZ #18240]
11654         * misc/bug18240.c: New test.
11655         * misc/Makefile (tests): Add it.
11657 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11658             Joseph Myers  <joseph@codesourcery.com>
11660         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11661         load in branch delay slot when less than a word of input left.
11663 2016-01-27  Andreas Schwab  <schwab@suse.de>
11665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11666         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11667         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11668         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11670 2016-01-26  David S. Miller  <davem@davemloft.net>
11672         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11674 2016-01-25  David S. Miller  <davem@davemloft.net>
11676         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11677         __sqrtl_finite.
11678         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11679         instead using versioned_symbol.
11680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11681         of entries.
11683         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11684         __sqrtl_finite to GLIBC_2.23
11686 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11688         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11690 2016-01-25  Andreas Schwab  <schwab@suse.de>
11692         [BZ #17514]
11693         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11694         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11695         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11696         * nptl/tst-mutex-errorcheck.c: New file.
11698 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11700         [BZ #18560]
11701         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11702         (IPCOP_semop): Likewise.
11703         (IPCOP_semget): Likewise.
11704         (IPCOP_semctl): Likewise.
11705         (IPCOP_msgsnd): Likewise.
11706         (IPCOP_msgrcv): Likewise.
11707         (IPCOP_msgget): Likewise.
11708         (IPCOP_msgctl): Likewise.
11709         (IPCOP_shmat): Likewise.
11710         (IPCOP_shmdt): Likewise.
11711         (IPCOP_shmget): Likewise.
11712         (IPCOP_shmctl): Likewise.
11714 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11716         * string/tst-endian.c: Include <libc-internal.h>.
11717         (do_test): Ignore tautological-compare warnings around
11718         "htobeXX (beXXtoh (i)) != i" and
11719         "htoleXX (leXXtoh (i)) != i" if-statements.
11721 2016-01-24  David S. Miller  <davem@davemloft.net>
11723         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11724         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11725         alias.
11726         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11727         __sqrtl_finite.
11729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11731 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11733         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11734         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11735         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11737 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11739         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11740         (thread_func): Use new function to simplify barrier check.
11741         (do_test): Use new function to simplify checking barrier exit
11742         code, and actually join the child thread.
11744 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11746         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11747         semicolon.
11748         (__libc_tend): Likewise.
11749         (__libc_tabort): Likewise.
11751 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11753         * sysdeps/nios2/libm-test-ulps: Update.
11754         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11755         (__gtsf2): Likewise.
11756         (__unorddf2): Likewise.
11757         (__unordsf2): Likewise.
11758         (__ledf2): Likewise.
11760 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11762         * nis/nis_table.c (__follow_path): Disable diagnostic for
11763         uninitialized variable that is a false positive for gcc 4.7.
11764         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11766 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11768         * sysdeps/nacl/lowlevellock-futex.h
11769         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11770         Always evaluate PRIVATE argument.
11772 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11774         [BZ #19490]
11775         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11776         (pthread_cond_broadcast): Use ENTRY/END
11777         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11778         (pthread_cond_signal): Likewise.
11779         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11780         Likewise.
11781         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11782         Likewise.
11783         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11784         Likewise.
11786 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11788         * sysdeps/ieee754/dbl-64/s_finite.c
11789         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11790         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11791         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11793         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11796         (__gtsf2): Add as optional for libc.so.
11797         (__unordsf2): Likewise.
11798         (__signbit): Remove for libc.so.
11799         (__signbitl): Likewise.
11801 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11803         * iconvdata/bug-iconv11.c (test_ibm93x):
11804         Use %zu printf format specifier for size_t argument.
11806 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11808         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11809         already-recorded ulps.
11810         * sysdeps/arm/libm-test-ulps: Regenerated.
11811         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11812         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11813         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11815 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11816             Paul Pluzhnikov  <ppluzhnikov@google.com>
11818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11819         assembler not supporting AVX-512.
11821 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11823         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11825 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11827         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11828         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11830         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11832         * sysdeps/arm/libm-test-ulps: Regenerated.
11834 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11836         [BZ #19451]
11837         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11839 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11841         [BZ #19486]
11842         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11843         * sysdeps/generic/fix-fp-int-convert-overflow.h
11844         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11845         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11846         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11847         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11848         Likewise.
11849         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11850         Avoid conversions to long int where inexact exceptions
11851         could be raised.
11852         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11853         Likewise.
11854         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11855         Avoid conversions to long long int where inexact exceptions
11856         could be raised.
11857         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11858         Likewise.
11860 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11862         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11863         * configure: Regenerated.
11865 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11867         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11869 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11871         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11872         outside of comment.
11874 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11876         * nptl/tst-barrier1.c: Add description on first line.
11877         * nptl/tst-barrier2.c: Likewise.
11878         * nptl/tst-barrier3.c: Likewise.
11879         * nptl/tst-barrier4.c: Likewise.
11880         * nptl/tst-barrier5.c: Likewise.
11882 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11884         [BZ #18868]
11885         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11887 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11891         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11892         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11893         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11894         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11895         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11896         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11897         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11898         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11899         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11901 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11903         [BZ #13065]
11904         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11905         new implementation.
11906         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11907         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11908         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11909         (BARRIER_IN_THRESHOLD): New macro.
11910         * nptl/pthread_barrierattr_setpshared.c
11911         (pthread_barrierattr_setpshared): Clean up.
11912         * nptl/tst-barrier4.c: Correct comment.
11913         * nptl/tst-barrier5.c: New file.
11914         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11915         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11916         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11917         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11918         * nptl/lowlevelbarrier.sym: Remove.
11919         * nptl/DESIGN-barrier.txt: Remove.
11920         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11921         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11922         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11924         error.
11925         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11926         implementation.
11928 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11930         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11931         (do_child): Mask SIGRTMIN while thr is running.
11933 2016-01-15  Martin Sebor  <msebor@redhat.com>
11935         [BZ #19432]
11936         * iconvdata/Makefile: Add bug-iconv11.
11937         * iconvdata/bug-iconv11.c: New test.
11938         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11939         * iconvdata/ibm933.c: Same.
11940         * iconvdata/ibm935.c: Same.
11941         * iconvdata/ibm937.c: Same.
11942         * iconvdata/ibm939.c: Same.
11944 2016-01-15  Martin Sebor  <msebor@redhat.com>
11946         [BZ #19443]
11947         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11948         [DEBUG] (_ufc_set_bits): Declare used.
11949         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11950         [DEBUG] (print_all): Declare used.
11951         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11952         operands of the ternary ?: expression to target type.
11953         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11954         calling the undeclared abort.
11955         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11957 2016-01-15  Martin Sebor  <msebor@redhat.com>
11959         [BZ #18755]
11960         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11961         warnings.
11962         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11963         (__gai_create_helper_thread): Same.
11964         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11965         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11966         to suppress -Wmaybe-uninitialized warnings.
11968 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11970         [BZ #19465]
11971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11972         inside if.
11973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11974         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11977 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11979         [BZ #19466]
11980         * time/tst-mktime2.c (time_t_max): Removed.
11981         (time_t_min): Likewise.
11982         (TYPE_SIGNED): New.
11983         (TYPE_MINIMUM): Likewise.
11984         (TYPE_MAXIMUM): Likewise.
11985         (TIME_T_MIN): Likewise.
11986         (TIME_T_MAX): Likewise.
11987         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11988         and TIME_T_MIN.
11989         (do_test): Likewise.
11991 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11993         [BZ #19467]
11994         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11995         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11997 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11999         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12001 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
12003         * benchtests/Makefile (PYTHON): Define.
12004         (bench-func): Use $(PYTHON) to run python scripts.
12005         ($(objpfx)bench-%.c): Likewise.
12007 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
12009         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12010         leading slash when `file_name' is "/".
12012 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
12014         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12015         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12016         Likewise.
12017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12018         Likewise.
12019         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12020         Likewise.
12021         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12022         enum constant and macro.
12023         (PTRACE_SETSIGMASK): Likewise.
12024         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12025         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12026         (PTRACE_GETSIGMASK): Likewise.
12027         (PTRACE_SETSIGMASK): Likewise.
12028         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12029         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12030         Likewise.
12031         (PTRACE_SETSIGMASK): Likewise.
12032         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12034         (PTRACE_GETSIGMASK): Likewise.
12035         (PTRACE_SETSIGMASK): Likewise.
12036         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12038         Likewise.
12039         (PTRACE_SETSIGMASK): Likewise.
12040         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12041         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12042         Likewise.
12043         (PTRACE_SETSIGMASK): Likewise.
12044         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12045         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12046         Likewise.
12047         (PTRACE_SETSIGMASK): Likewise.
12048         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12050 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12051             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12053         [BZ #19439]
12054         * math/bits/mathcalls.h
12055         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12056         prototype.
12057         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12059 2016-01-11  Andreas Schwab  <schwab@suse.de>
12061         [BZ #19253]
12062         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12063         cache when TZDEFRULES was used.
12064         * time/tst-tzname.c: New file.
12065         * time/Makefile (test): Add tst-tzname.
12066         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12067         * timezone/Makefile (test-zones): Add $(posixrules-file).
12068         ($(testdata)/$(posixrules-file)): New rule.
12070 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12072         Fix doc quoting problems with Texinfo 5
12073         Without this change, in the info file output, Texinfo 5 quotes code
12074         in text with undirected single quotes 'like this' and generates
12075         code examples that with many PDF readers cannot be cut out of PDFs
12076         and pasted into code.
12077         * manual/libc.texinfo: Configure the libc manual like the GNU
12078         Emacs manual, by using @documentencoding and setting
12079         txicodequoteundirected and txicodequotebacktick.  This way,
12080         Texinfo 5 quotes code in text with directed single quotes ‘like
12081         this’ and produces examples that can be cut out of PDFs.  This
12082         change causes Texinfo 5 to generate info files that contain UTF-8
12083         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12084         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12086 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12088         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12089         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12090         barriers to their respective compiler built-ins.
12091         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12092         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12093         * sysdeps/powerpc/sysdep.h: Likewise.
12094         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12095         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12096         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12098 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12100         * scripts/config.guess: Revert previous shebang change.
12101         * scripts/config.sub: Likewise.
12102         * scripts/mkinstalldirs: Likewise.
12104 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12106         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12107         PPC_FEATURE2_HAS_IEEE128.
12108         * sysdeps/powerpc/dl-procinfo.c:
12109         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12111 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12113         [BZ #19415]
12114         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12115         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12116         (_dl_lookup_address): Rewrite using function resolver trampoline.
12117         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12118         two bits in address.
12120 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12122         * longlong.h: Change !__SHMEDIA__ to
12123         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12124         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12126 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12127             Joseph Myers  <joseph@codesourcery.com>
12128             Mark Shinwell  <shinwell@codesourcery.com>
12129             Andrew Stubbs  <ams@codesourcery.com>
12130             Rich Felker <dalias@libc.org>
12132         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12134 2016-01-07  Richard Henderson  <rth@redhat.com>
12136         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12138 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12140         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12141         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12142         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12143         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12144         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12146 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12147             Joseph Myers  <joseph@codesourcery.com>
12149         * timezone/private.h: Update from tzcode 2015g.
12150         * timezone/tzfile.h: Likewise.
12151         * timezone/tzselect.ksh: Likewise.
12152         * timezone/zdump.c: Likewise.
12153         * timezone/zic.c: Likewise.
12154         * timezone/ialloc.c: Remove file.
12155         * timezone/scheck.c: Likewise.
12156         * timezone/Makefile (extra-objs): Remove variable.
12157         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12158         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12159         -Wno-maybe-uninitialized.
12160         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12161         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12162         (CFLAGS-ialloc.c): Remove variable.
12163         (CFLAGS-scheck.c): Likewise.
12164         * timezone/README: Update list of files from tzcode.
12166 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12168         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12169         instead of __fxprintf when _LIBC is undefined.
12171 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12173         * catgets/test-gencat.sh: Remove space after shebang.
12174         * conform/GlibcConform.pm: Likewise.
12175         * conform/check-header-lists.sh: Likewise.
12176         * conform/conformtest.pl: Likewise.
12177         * conform/linknamespace.pl: Likewise.
12178         * conform/list-header-symbols.pl: Likewise.
12179         * debug/catchsegv.sh: Likewise.
12180         * elf/genrtldtbl.awk: Likewise.
12181         * elf/tst-pathopt.sh: Likewise.
12182         * elf/tst-rtld-load-self.sh: Likewise.
12183         * grp/tst_fgetgrent.sh: Likewise.
12184         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12185         * iconvdata/gen-8bit-gap.sh: Likewise.
12186         * iconvdata/gen-8bit.sh: Likewise.
12187         * iconvdata/run-iconv-test.sh: Likewise.
12188         * intl/tst-gettext.sh: Likewise.
12189         * intl/tst-gettext2.sh: Likewise.
12190         * intl/tst-gettext4.sh: Likewise.
12191         * intl/tst-gettext6.sh: Likewise.
12192         * intl/tst-translit.sh: Likewise.
12193         * io/ftwtest-sh: Likewise.
12194         * libio/test-freopen.sh: Likewise.
12195         * locale/gen-translit.pl: Likewise.
12196         * malloc/tst-mtrace.sh: Likewise.
12197         * manual/check-safety.sh: Likewise.
12198         * manual/libc-texinfo.sh: Likewise.
12199         * manual/tsort.awk: Likewise.
12200         * manual/xtract-typefun.awk: Likewise.
12201         * nptl/tst-cancel-wrappers.sh: Likewise.
12202         * nptl/tst-tls6.sh: Likewise.
12203         * posix/globtest.sh: Likewise.
12204         * posix/tst-getconf.sh: Likewise.
12205         * posix/wordexp-tst.sh: Likewise.
12206         * scripts/check-c++-types.sh: Likewise.
12207         * scripts/check-local-headers.sh: Likewise.
12208         * scripts/config.guess: Likewise.
12209         * scripts/config.sub: Likewise.
12210         * scripts/cpp: Likewise.
12211         * scripts/cross-test-ssh.sh: Likewise.
12212         * scripts/documented.sh: Likewise.
12213         * scripts/evaluate-test.sh: Likewise.
12214         * scripts/gen-libc-abis: Likewise.
12215         * scripts/gen-sorted.awk: Likewise.
12216         * scripts/list-fixed-bugs.py: Likewise.
12217         * scripts/merge-test-results.sh: Likewise.
12218         * scripts/mkinstalldirs: Likewise.
12219         * scripts/rellns-sh: Likewise.
12220         * scripts/test-installation.pl: Likewise.
12221         * scripts/update-copyrights: Likewise.
12222         * stdio-common/tst-printf.sh: Likewise.
12223         * stdio-common/tst-unbputc.sh: Likewise.
12224         * stdlib/tst-fmtmsg.sh: Likewise.
12225         * stdlib/tst-setcontext3.sh: Likewise.
12226         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12227         * sysdeps/unix/make-syscalls.sh: Likewise.
12229 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12231         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12232         asm stw with atomic_exchange_rel.  Add explanatory comment.
12233         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12234         Likewise.
12236 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12238         [BZ #19122]
12239         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12240         * sysdeps/generic/dl-unistd.h: New file.
12241         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12243 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12245          [BZ #19122]
12246          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12247          * sysdeps/generic/dl-mman.h: New file.
12248          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12250 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12252         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12253         trailing whitespace removed.
12254         * scripts/config.guess: Update to version 2016-01-01.
12255         * scripts/config.sub: Update to version 2016-01-01.
12256         * scripts/move-if-change: Update from gnulib.
12258 2016-01-04  Anton Blanchard  <anton@samba.org>
12260         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12261         for array indices.
12262         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12264 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12266         * NEWS: Update copyright dates.
12267         * catgets/gencat.c (print_version): Likewise.
12268         * csu/version.c (banner): Likewise.
12269         * debug/catchsegv.sh: Likewise.
12270         * debug/pcprofiledump.c (print_version): Likewise.
12271         * debug/xtrace.sh (do_version): Likewise.
12272         * elf/ldconfig.c (print_version): Likewise.
12273         * elf/ldd.bash.in: Likewise.
12274         * elf/pldd.c (print_version): Likewise.
12275         * elf/sotruss.sh: Likewise.
12276         * elf/sprof.c (print_version): Likewise.
12277         * iconv/iconv_prog.c (print_version): Likewise.
12278         * iconv/iconvconfig.c (print_version): Likewise.
12279         * locale/programs/locale.c (print_version): Likewise.
12280         * locale/programs/localedef.c (print_version): Likewise.
12281         * login/programs/pt_chown.c (print_version): Likewise.
12282         * malloc/memusage.sh (do_version): Likewise.
12283         * malloc/memusagestat.c (print_version): Likewise.
12284         * malloc/mtrace.pl: Likewise.
12285         * manual/libc.texinfo: Likewise.
12286         * nptl/version.c (banner): Likewise.
12287         * nscd/nscd.c (print_version): Likewise.
12288         * nss/getent.c (print_version): Likewise.
12289         * nss/makedb.c (print_version): Likewise.
12290         * posix/getconf.c (main): Likewise.
12291         * scripts/test-installation.pl: Likewise.
12292         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12294         * All files with FSF copyright notices: Update copyright dates
12295         using scripts/update-copyrights.
12296         * intl/plural.c: Regenerated.
12297         * locale/programs/charmap-kw.h: Likewise.
12298         * locale/programs/locfile-kw.h: Likewise.
12300 2016-01-02  Helge Deller  <deller@gmx.de>
12302         [BZ #19285]
12303         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12304         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12305         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12306         (MADV_xxK_PAGES): Remove.
12308 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12310         [BZ #15421]
12311         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12312         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12313         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12314         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12316 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12318         [BZ #19408]
12319         * sysdeps/unix/sysv/linux/personality.c: New file.
12320         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12321         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12322         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12323         (sysdep_routines): Add personality.
12324         (tests): Add tst-personality.
12325         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12327         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12328         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12329         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12330         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12331         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12332         Likewise.
12333         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12334         Likewise.
12335         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12338         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12339         Likewise.
12341 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12343         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12344         (PATH_ARM_SYSTYPE): Remove.
12345         (PATH_CPUINFO): Likewise.
12346         (IO_BASE_FOOTBRIDGE): Likewise.
12347         (IO_SHIFT_FOOTBRIDGE): Likewise.
12348         (struct platform): Likewise.
12349         (init_iosys): Remove compatibility code for 2.4 kernels.
12350         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12352 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12354         * malloc/tst-malloc-thread-fail.c: New file.
12355         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12356         (tst-malloc-thread-fail): Link against libpthread.
12358 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12360         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12361         (get_parser): New function.
12362         (main): New function.
12364 2015-12-29  Rob Wu  <rob@robwu.nl>
12366         [BZ #19369]
12367         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12369 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12371         [BZ #19270]
12372         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12374 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12376         [BZ #15421]
12377         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12379 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12381         [BZ #13690]
12382         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12383         after releasing it.
12384         (__lll_robust_unlock): Likewise.
12385         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12387         (lll_robust_unlock): Likewise.
12388         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12389         Prevent warnings in callers.
12391 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12393         * malloc/arena.c (list_lock): Update comment.
12395 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12397         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12398         __parse_hwcap_and_convert_at_platform to libc.a.
12400 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12402         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12403         platform and feature support for POWER9.
12404         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12405         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12406         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12407         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12408         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12409         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12410         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12411         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12413 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12415         Harmonize generic stdio-lock support with nptl
12417         This fixes build when _IO_funlockfile is a macro, fixes build where
12418         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12419         stack unwind.
12421         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12422         _IO_release_lock ): Use cleanup attribute on new
12423         _IO_acquire_lock_file variable instead of assuming that
12424         _IO_release_lock will be called.
12425         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12426         _IO_acquire_lock_needs_exceptions_enabled.
12427         (_IO_acquire_lock_clear_flags2): New macro.
12429 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12431         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12433 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12435         [BZ #19182]
12436         * malloc/arena.c (list_lock): Document lock ordering requirements.
12437         (free_list_lock): New lock.
12438         (ptmalloc_lock_all): Comment on free_list_lock.
12439         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12440         (detach_arena): Update comment.  free_list_lock is now needed.
12441         (_int_new_arena): Use free_list_lock around detach_arena call.
12442         Acquire arena lock after list_lock.  Add comment, including FIXME
12443         about incorrect synchronization.
12444         (get_free_list): Switch to free_list_lock.
12445         (reused_arena): Acquire free_list_lock around detach_arena call
12446         and attached threads counter update.  Add two FIXMEs about
12447         incorrect synchronization.
12448         (arena_thread_freeres): Switch to free_list_lock.
12449         * malloc/malloc.c (struct malloc_state): Update comments to
12450         mention free_list_lock.
12452 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12454         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12455         Remove functions.
12456         (sloww, sloww1): Accept argument to offset quadrant.
12457         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12458         quadrant.
12459         (__sin, __cos): Consolidate common code into new functions.
12460         (reduce_sincos_1, do_sincos_1): New functions.
12461         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12464         code to new functions.
12465         (reduce_sincos_2, do_sincos_2): New functions.
12466         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12469         common code for sincos.
12470         (__cos) [!IN_SINCOS]: Likewise.
12471         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12472         New function.
12473         (__sincos): Use it.
12475 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12477         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12478         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12479         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12481 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12483         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12485         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12486         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12487         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12488         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12489         index_Prefer_No_VZEROUPPER): New feature.
12490         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12491         Prefer_No_VZEROUPPER for Knights Landing.
12493 015-12-18  Torvald Riegel  <triegel@redhat.com>
12495         * math/atest-exp2.c (mp_exp_m1): Remove.
12497 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12499         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12500         syscalls.
12501         (__SYSCALL0): New macro.
12502         (__SYSCALL1): Likewise.
12503         (__SYSCALL2): Likewise.
12504         (__SYSCALL3): Likewise.
12505         (__SYSCALL4): Likewise.
12506         (__SYSCALL5): Likewise.
12507         (__SYSCALL6): Likewise.
12508         (__SYSCALL_CONCAT_X): Likewise.
12509         (__SYSCALL_CONCAT): Likewise.
12510         (__SYSCALL_DIST): Likewise.
12511         (__SYSCALL_CALL): Likewise.
12513 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12515         [BZ #19363]
12516         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12518 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12520         [BZ #19375]
12521         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12522         negative subnormals.
12524 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12527         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12528         (INTERNAL_SYSCALL_NCS): Use it.
12529         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12531 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12533         [BZ #19243]
12534         * malloc/arena.c (get_free_list): Remove assert and adjust
12535         reference count handling.  Add comment about reused_arena
12536         interaction.
12537         (reused_arena): Add comments abount get_free_list interaction.
12538         * malloc/tst-malloc-thread-exit.c: New file.
12539         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12540         (tst-malloc-thread-exit): Link against libpthread.
12542 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12544         [BZ #19367]
12545         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12546         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12547         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12548         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12549         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12551 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12553         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12554         Silvermont optimizations for Knights Landing.
12556 2015-12-15  Andreas Schwab  <schwab@suse.de>
12558         [BZ #17197]
12559         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12560         immediately after emitting SI.
12561         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12562         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12563         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12564         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12565         * iconvdata/bug-iconv10.c: New file.
12566         * iconvdata/Makefile (tests): Add bug-iconv10.
12567         ($(objpfx)bug-iconv10.out): New rule.
12569 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12571         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12572         aliasing violation.
12574 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12576         [BZ #18472]
12577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12578         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12579         conditionals for them.
12580         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12581         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12583         sys/kdaemon.h.
12584         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12585         compat-only syscall, obsoleted in glibc 2.23.
12586         (create_module): Likewise.
12587         (get_kernel_syms): Likewise.
12588         (query_module): Likewise.
12589         (uselib): Likewise.
12590         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12592 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12594         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12595         <linux/version.h>.
12596         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12597         conditional code.
12598         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12599         and ioshift_name initialization.
12601 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12603         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12604         Fix indentation.
12606 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12608         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12610 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12612         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12614 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12615             Jakub Wilk  <jwilk@debian.org>
12617         [BZ #19347]
12618         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12619         to change the group of the device to the tty group.
12621 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12623         Split large string section; add truncation advice
12624         * manual/examples/strncat.c: Remove.
12625         This example was misleading, as the code would have undefined
12626         behavior if "hello" was longer than SIZE.  Anyway, the manual
12627         shouldn't encourage strncpy+strncat for this sort of thing.
12628         * manual/string.texi (Copying Strings and Arrays): Split into
12629         three sections Copying Strings and Arrays, Concatenating Strings,
12630         and Truncating Strings, as this section was way too long.  All
12631         cross-referenced changed.  Add advice about string-truncation
12632         functions.  Remove misleading strncat example.
12634 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12636         * manual/nss.texi (NSS Modules Interface): Document
12637         NSS_STATUS_NOTFOUND and SUCCESS.
12639 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12641         [BZ 18568]
12642         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12643         201505L, for Unicode 8.
12645 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12647         * locale/C-translit.h: Regenerate.
12649 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12651         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12652         and U+0153.
12654 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12656         [BZ #19351]
12657         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12658         expanding log(1+z), compare z rather than its square with epsilon
12659         to determine when to avoid evaluating the expansion.
12661         [BZ #19350]
12662         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12663         Increase overflow threshold.
12665         [BZ #19349]
12666         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12667         when small.
12669         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12671         New macro.
12672         [__LINUX_KERNEL_VERSION >= 0x040300]
12673         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12675         Likewise.
12676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12677         Likewise.
12678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12679         Likewise.
12680         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12681         Likewise.
12682         [__LINUX_KERNEL_VERSION >= 0x040300]
12683         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12684         [__LINUX_KERNEL_VERSION >= 0x040300]
12685         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12686         [__LINUX_KERNEL_VERSION >= 0x040300]
12687         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12688         [__LINUX_KERNEL_VERSION >= 0x040300]
12689         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12690         [__LINUX_KERNEL_VERSION >= 0x040300]
12691         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12693         Likewise.
12694         [__LINUX_KERNEL_VERSION >= 0x040300]
12695         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12697         Likewise.
12698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12699         Likewise.
12700         [__LINUX_KERNEL_VERSION >= 0x040300]
12701         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12702         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12703         Likewise.
12704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12705         Likewise.
12706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12708         Likewise.
12709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12710         Likewise.
12711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12712         Likewise.
12713         [__LINUX_KERNEL_VERSION >= 0x040300]
12714         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12716         Likewise.
12717         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12718         Likewise.
12719         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12720         Likewise.
12721         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12722         Likewise.
12723         [__LINUX_KERNEL_VERSION >= 0x040300]
12724         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12725         [__LINUX_KERNEL_VERSION >= 0x040300]
12726         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12727         [__LINUX_KERNEL_VERSION >= 0x040300]
12728         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12729         [__LINUX_KERNEL_VERSION >= 0x040300]
12730         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12731         [__LINUX_KERNEL_VERSION >= 0x040300]
12732         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12734         Likewise.
12735         [__LINUX_KERNEL_VERSION >= 0x040300]
12736         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12737         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12738         Likewise.
12739         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12740         Likewise.
12741         [__LINUX_KERNEL_VERSION >= 0x040300]
12742         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12743         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12744         Likewise.
12745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12746         Likewise.
12747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12748         (__ASSUME_SOCKET_SYSCALL): Likewise.
12749         (__ASSUME_BIND_SYSCALL): Likewise.
12750         (__ASSUME_CONNECT_SYSCALL): Likewise.
12751         (__ASSUME_LISTEN_SYSCALL): Likewise.
12752         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12753         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12754         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12755         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12756         (__ASSUME_SEND_SYSCALL): Likewise.
12757         (__ASSUME_SENDTO_SYSCALL): Likewise.
12758         (__ASSUME_RECV_SYSCALL): Likewise.
12759         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12760         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12761         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12762         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12763         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12764         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12765         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12766         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12767         Likewise.
12768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12769         Likewise.
12770         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12771         Likewise.
12772         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12773         Likewise.
12774         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12775         Likewise.
12776         [__LINUX_KERNEL_VERSION >= 0x020625]
12777         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12778         [__LINUX_KERNEL_VERSION >= 0x020625]
12779         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12780         [__LINUX_KERNEL_VERSION >= 0x020625]
12781         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12783         Likewise.
12784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12785         Likewise.
12786         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12787         Likewise.
12788         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12789         Likewise.
12790         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12791         Likewise.
12792         [__LINUX_KERNEL_VERSION >= 0x020625]
12793         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12794         [__LINUX_KERNEL_VERSION >= 0x020625]
12795         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12796         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12797         Likewise.
12798         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12799         Likewise.
12801 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12803         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12804         record the current if the current ABI and CPU support the FP64
12805         extension.
12806         (has-modd-spreg): Define to record the current if the current ABI and
12807         CPU support 32-bit floating point values in odd FPU registers.
12808         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12809         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12810         $(has-modd-spreg) equals yes.
12811         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12812         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12813         $(has-modd-spreg) equal yes.
12815 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12817         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12818         basename.
12820 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12822         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12823         (bench-string): ... here.
12824         (bench): Add bench-string.
12825         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12826         to *-benchset to reflect what they are.
12827         (benchset): Adjust.
12829         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12830         cos-inputs.
12832 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12834         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12835         __attribute__ ((__simd__)) for vector math function declarations.
12837 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12839         Fix typo in strncat, wcsncat manual entries
12840         * manual/string.texi (Copying and Concatenation): Fix typos in
12841         sample implementations of strncat and wcsncat, by having them use
12842         the old value of the destination length, not the new one.
12844 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12846         [BZ #16961]
12847         [BZ #16962]
12848         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12849         string on the stack for strtod.
12850         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12851         a string on the stack for strtof.
12852         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12853         constructing a string on the stack for strtold.
12854         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12855         __strtold_nan to GLIBC_PRIVATE.
12856         * math/test-nan-overflow.c: New file.
12857         * math/test-nan-payload.c: Likewise.
12858         * math/Makefile (tests): Add test-nan-overflow and
12859         test-nan-payload.
12861 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12863         Consistency about byte vs character in string.texi
12864         * manual/string.texi (String and Array Utilities):
12865         Distinguish more carefully among bytes, multibyte characters,
12866         and wide characters.  Use "byte" when talking about C 'char',
12867         to distinguish it more clearly from multibyte characters.
12868         Say "wide character" or "multibyte character" instead of
12869         "character", when a wide or multibyte character is intended.
12870         Similarly for "multibyte string" versus "string".
12871         Define these terms more carefully.
12873 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12875         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12876         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12877         Likewise.
12878         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12879         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12880         * sysdeps/sh/math_private.h: New file.
12881         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12882         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12883         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12884         long double function name.
12885         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12886         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12887         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12889         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12891         Remove __finitel, __isinfl, and __isnanl.
12892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12893         Likewise.
12894         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12896         Remove __finitel.
12897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12898         Likewise.
12899         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12901 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12903         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12904         installed libmvec_nonshared.a.
12906 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12908         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12909         (sysdep_routines): Likewise.
12910         (sysdep-rtld-routines): Likewise.
12911         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12912         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12913         * sysdeps/powerpc/Versions: Added new
12914         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12915         * sysdeps/powerpc/hwcapinfo.c: New file.
12916         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12917         and parse hwcap, hwcap2 and platform number information.
12918         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12919         to store HWCAP+HWCAP2 and platform number.
12920         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12921         for HWCAP+HWCAP2 and platform number in the TCB.
12922         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12923         the HWCAP, HWCAP2 and platform number in the TCB.
12924         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12925         (TLS_INIT_TP): Included calls to add the hwcap and
12926         at_platform values in the TCB in TP initialization.
12927         (TLS_DEFINE_INIT_TP): Likewise.
12928         (THREAD_GET_HWCAP): New macro.
12929         (THREAD_SET_HWCAP): Likewise.
12930         (THREAD_GET_AT_PLATFORM): Likewise.
12931         (THREAD_SET_AT_PLATFORM): Likewise.
12932         * sysdeps/powerpc/powerpc32/dl-machine.h:
12933         (dl_platform_init): New function that calls
12934         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12935         powerpc32.
12936         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12937         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12938         this functionality, static linking case.
12939         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12940         linking case.
12941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12942         __parse_hwcap_and_convert_at_platform for the static linking case.
12943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12944         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12945         ABI list for GLIBC 2.23.
12946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12947         Likewise.
12948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12949         Likewise.
12951 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12953         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12954         * configure: Regenerate.
12955         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12956         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12958 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12960         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12961         * iconvdata/ibm933.c: Likewise.
12962         * iconvdata/ibm935.c: Likewise.
12963         * iconvdata/ibm937.c: Likewise.
12964         * iconvdata/ibm939.c: Likewise.
12966 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12968         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12969         pthread_join.
12970         * nptl/tst-cancel21.c (tf): Likewise.
12972 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12974         [BZ #19313]
12975         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12976         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12977         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12978         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12979         Likewise.
12980         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12981         Likewise.
12982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12983         Likewise.
12984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12985         Likewise.
12986         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12987         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12988         unsigned long int with __CPU_MASK_TYPE.
12990 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12992         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12994 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12996         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12997         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12998         t512.x.
12999         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13001 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
13003         [BZ #19214]
13004         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13005         argument to return extended model.  Update family and model
13006         with extended family and model when family == 0x0f.
13007         (init_cpu_features): Updated.
13009 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13011         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13012         signed off_t, so 32bit bigger than 2GiB values are fine actually.
13014         * sysdeps/mach/hurd/mmap64.c: New file.
13016 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
13018         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13019         rights for its main user thread in NEWTASK.
13021 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
13023         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13024         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13026 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13028         [BZ #14259]
13029         * Makeconfig: Rename localedir to complocaledir.
13030         Rename inst_localedir to inst_complocaledir.
13031         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13032         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13033         * configure.ac: Use libc_cv_complocaledir.
13034         * configure: Regenerate.
13035         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13036         -DCOMPLOCALEDIR.
13037         * locale/findlocale.c: Use COMPLOCALEDIR.
13038         * locale/loadarchive.c: Likewise.
13039         * locale/programs/locale.c: Likewise.
13040         * locale/programs/localedef.c: Likewise.
13041         * locale/programs/locarchive.c: Likewise.
13042         * localedata/Makefile: Use inst_complocaledir.
13043         * sysdeps/gnu/configure: Regenerate.
13044         * sysdeps/hppa/configure: Regenerate.
13045         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13046         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13048         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13049         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13050         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13051         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13053 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13055         [BZ #19058]
13056         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13057         AS_NEEDED.
13058         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13059         workaround.
13060         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13061         libmvec-static-only-routines): Added new file.
13062         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13064 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13066         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13067         of interrupted RPC instead of restoring it.
13069         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13070         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13071         libc_hidden_def.
13072         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13073         into initialized data instead of common. Define rtld_hidden_data_def.
13074         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13075         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13076         libc_hidden_def.
13077         (if_freenameindex): Add libc_hidden_weak.
13078         (if_nameindex): Add libc_hidden_weak.
13079         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13080         __open64.
13081         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13082         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13083         * sysdeps/mach/nanosleep.c: Include <time.h>
13084         (__nanosleep): Rename to __libc_nanosleep.
13085         (__nanosleep): Add weak_alias.
13086         (nanosleep): Update alias.
13088 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13090         * stdlib/strtod_nan.c: New file.
13091         * stdlib/strtod_nan_double.h: Likewise.
13092         * stdlib/strtod_nan_float.h: Likewise.
13093         * stdlib/strtod_nan_main.c: Likewise.
13094         * stdlib/strtod_nan_narrow.h: Likewise.
13095         * stdlib/strtod_nan_wide.h: Likewise.
13096         * stdlib/strtof_nan.c: Likewise.
13097         * stdlib/strtold_nan.c: Likewise.
13098         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13099         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13100         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13101         * wcsmbs/wcstod_nan.c: Likewise.
13102         * wcsmbs/wcstof_nan.c: Likewise.
13103         * wcsmbs/wcstold_nan.c: Likewise.
13104         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13105         strtold_nan.
13106         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13107         wcstof_nan.
13108         * include/stdlib.h (__strtof_nan): Declare and use
13109         libc_hidden_proto.
13110         (__strtod_nan): Likewise.
13111         (__strtold_nan): Likewise.
13112         (__wcstof_nan): Likewise.
13113         (__wcstod_nan): Likewise.
13114         (__wcstold_nan): Likewise.
13115         * include/wchar.h (____wcstoull_l_internal): Declare.
13116         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13117         (____strtoull_l_internal): Remove declaration.
13118         (STRTOF_NAN): Define macro.
13119         (SET_MANTISSA): Remove macro.
13120         (STRTOULL): Likewise.
13121         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13122         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13123         (STRTOF_NAN): Define macro.
13124         (SET_MANTISSA): Remove macro.
13125         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13126         (SET_MANTISSA): Remove macro.
13127         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13128         macro.
13129         (SET_MANTISSA): Remove macro.
13130         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13131         macro.
13132         (SET_MANTISSA): Remove macro.
13133         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13134         (SET_MANTISSA): Remove macro.
13135         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13136         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13137         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13139         [BZ #19266]
13140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13141         upper case and lower case letters inside NAN(), not using TOLOWER.
13142         * stdlib/tst-strtod-nan-locale-main.c: New file.
13143         * stdlib/tst-strtod-nan-locale.c: Likewise.
13144         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13145         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13146         Depend on $(gen-locales).
13147         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13148         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13149         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13150         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13151         Depend on $(gen-locales).
13152         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13154 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13156         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13158         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13160         __finitel, __isinfl, and __isnanl.
13161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13162         Likewise.
13163         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13165         __finitel.
13166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13170 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13172         * malloc/memusage.c (me): Remove redundant getenv call.
13174 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13176         [BZ #19143]
13177         [BZ #19164]
13178         * nptl/check-cpuset.h: Remove.
13179         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13180         Remove CPU set size check.
13181         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13184         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13185         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13186         (__pthread_setaffinity_new): Remove CPU set size check.
13187         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13188         (__kernel_cpumask_size): Remove.
13189         (__sched_setaffinity_new): Remove CPU set size check.
13190         * manual/threads.texi (Default Thread Attributes): Remove stale
13191         reference to check_cpuset_attr, determine_cpumask_size in comment.
13192         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13193         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13194         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13195         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13196         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13197         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13198         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13199         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13200         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13201         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13202         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13203         skeleton test file.
13204         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13205         tst-affinity-pid.
13207 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13209         * scripts/update-abilist.sh: New file.
13210         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13211         * Makerules (update-all-abi-%, update-all-abi)
13212         (subdir_update-all-abi): New targets.
13213         * elf/Makefile (update-all-abi): New target.
13215 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13217         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13218         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13219         (__libc_lock_define_initialized): Use it.
13220         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13221         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13222         * malloc/malloc.c (main_arena): Likewise.
13223         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13224         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13226 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13228         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13229         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13230         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13231         (PTRACE_O_MASK): Update value.
13232         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13233         New value in enum __ptrace_setoptions.
13234         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13235         (PTRACE_O_MASK): Update value.
13236         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13237         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13238         (PTRACE_O_MASK): Update value.
13239         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13240         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13241         (PTRACE_O_MASK): Update value.
13242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13243         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13244         (PTRACE_O_MASK): Update value.
13245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13246         New value in enum __ptrace_setoptions.
13247         (PTRACE_O_MASK): Update value.
13248         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13249         New value in enum __ptrace_setoptions.
13250         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13251         (PTRACE_O_MASK): Update value.
13253         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13254         New macro.
13255         (PACKET_AUXDATA): Likewise.
13256         (PACKET_ORIGDEV): Likewise.
13257         (PACKET_VERSION): Likewise.
13258         (PACKET_HDRLEN): Likewise.
13259         (PACKET_RESERVE): Likewise.
13260         (PACKET_TX_RING): Likewise.
13261         (PACKET_LOSS): Likewise.
13262         (PACKET_VNET_HDR): Likewise.
13263         (PACKET_TX_TIMESTAMP): Likewise.
13264         (PACKET_TIMESTAMP): Likewise.
13265         (PACKET_FANOUT): Likewise.
13266         (PACKET_TX_HAS_OFF): Likewise.
13267         (PACKET_QDISC_BYPASS): Likewise.
13268         (PACKET_ROLLOVER_STATS): Likewise.
13269         (PACKET_FANOUT_DATA): Likewise.
13270         (PACKET_MR_UNICAST): Likewise.
13272         [BZ #19242]
13273         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13274         (TOUPPER): Likewise.
13275         * stdlib/tst-strtol-locale-main.c: New file.
13276         * stdlib/tst-strtol-locale.c: Likewise.
13277         * stdlib/Makefile (tests): Add tst-strtol-locale.
13278         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13279         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13280         Depend on $(gen-locales).
13281         * wcsmbs/tst-wcstol-locale.c: New file.
13282         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13283         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13284         tr_TR.ISO-8859-9.
13285         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13286         Depend on $(gen-locales).
13288 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13290         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13291         __glibc_likely instead of __builtin_expect.  After falling back to
13292         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13293         system interface to register the code pages as occupied.
13295 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13297         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13298         [!ARM_MATH_PRIVATE_H].
13299         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13300         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13301         [!HPPA_MATH_PRIVATE_H].
13302         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13303         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13304         to [!I386_MATH_PRIVATE_H].
13305         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13306         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13307         Change guard to [!M68K_MATH_PRIVATE_H].
13308         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13309         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13310         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13311         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13312         macro.
13313         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13314         [!MIPS_MATH_PRIVATE_H].
13315         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13316         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13317         [!NIO2_MATH_PRIVATE_H].
13318         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13319         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13320         [!TILE_MATH_PRIVATE_H].
13321         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13323         [BZ #15421]
13324         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13325         initialize with 0 and define as weak alias of __signgam.
13326         * include/math.h [!_ISOMAC] (__signgam): Declare.
13327         * math/Makefile (libm-calls): Add w_lgamma_compat.
13328         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13329         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13330         test-signgam-ullong-init.
13331         (tests-static): Add test-signgam-uchar-static,
13332         test-signgam-uchar-init-static, test-signgam-uint-static,
13333         test-signgam-uint-init-static, test-signgam-ullong-static and
13334         test-signgam-ullong-init-static.
13335         (CFLAGS-test-signgam-uchar.c): New variable.
13336         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13337         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13338         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13339         (CFLAGS-test-signgam-uint.c): Likewise.
13340         (CFLAGS-test-signgam-uint-init.c): Likewise.
13341         (CFLAGS-test-signgam-uint-static.c): Likewise.
13342         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13343         (CFLAGS-test-signgam-ullong.c): Likewise.
13344         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13345         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13346         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13347         * math/Versions (libm): Add GLIBC_2.23.
13348         * math/lgamma-compat.h: New file.
13349         * math/test-signgam-main.c: Likewise.
13350         * math/test-signgam-uchar-init-static.c: Likewise.
13351         * math/test-signgam-uchar-init.c: Likewise.
13352         * math/test-signgam-uchar-static.c: Likewise.
13353         * math/test-signgam-uchar.c: Likewise.
13354         * math/test-signgam-uint-init-static.c: Likewise.
13355         * math/test-signgam-uint-init.c: Likewise.
13356         * math/test-signgam-uint-static.c: Likewise.
13357         * math/test-signgam-uint.c: Likewise.
13358         * math/test-signgam-ullong-init-static.c: Likewise.
13359         * math/test-signgam-ullong-init.c: Likewise.
13360         * math/test-signgam-ullong-static.c: Likewise.
13361         * math/test-signgam-ullong.c: Likewise.
13362         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13363         wrapper of w_lgamma_main.c.
13364         * math/w_lgamma_compat.c: New file.
13365         * math/w_lgamma_compatf.c: Likewise.
13366         * math/w_lgamma_compatl.c: Likewise.
13367         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13368         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13369         defining compatibility symbols.
13370         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13371         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13372         wrapper of w_lgammaf_main.c.
13373         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13374         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13375         defining compatibility symbols.
13376         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13377         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13378         wrapper of w_lgammal_main.c.
13379         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13380         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13381         defining compatibility symbols.
13382         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13383         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13384         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13385         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13386         <lgamma-compat.h>.
13387         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13388         (__ieee754_gamma): Define as alias.
13389         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13390         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13391         <lgamma-compat.h>.
13392         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13393         (__ieee754_gammaf): Define as alias.
13394         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13395         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13396         <lgamma-compat.h>.
13397         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13398         (__ieee754_gammal): Define as alias.
13399         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13400         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13401         <math/w_lgamma_compat.c>.
13402         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13403         Define as alias of __lgamma_compat and use in defining lgammal.
13404         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13405         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13406         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13407         (USE_AS_COMPAT): New macro.
13408         (LGAMMA_OLD_VER): Undefine and redefine.
13409         (lgammal): Do not define here.
13410         (gammal): Only define here if [GAMMA_ALIAS].
13411         * conform/linknamespace.pl (@whitelist): Remove signgam.
13412         * sysdeps/nacl/libm.abilist: Update.
13413         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13414         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13415         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13416         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13417         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13418         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13419         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13420         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13421         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13422         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13423         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13424         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13428         Likewise.
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13434         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13437         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13439         Likewise.
13440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13441         Likewise.
13442         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13446 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13448         [BZ #16364]
13449         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13450         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13452 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13454         * sysdeps/s390/fpu/bits/mathinline.h:
13455         Use __asm__ [__volatile__] instead of asm [volatile].
13456         * sysdeps/s390/abort-instr.h: Likewise.
13457         * sysdeps/s390/atomic-machine.h: Likewise.
13458         * sysdeps/s390/bits/string.h: Likewise.
13459         * sysdeps/s390/dl-tls.h: Likewise.
13460         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13461         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13462         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13463         * sysdeps/s390/fpu/fesetround.c: Likewise.
13464         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13465         * sysdeps/s390/fpu/s_fma.c: Likewise.
13466         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13467         * sysdeps/s390/memusage.h: Likewise.
13468         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13469         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13470         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13471         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13472         * sysdeps/s390/nptl/tls.h: Likewise.
13473         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13474         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13475         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13476         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13477         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13478         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13479         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13480         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13481         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13482         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13483         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13484         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13485         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13486         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13487         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13488         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13489         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13490         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13491         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13493         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13495         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13497 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13498             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13500         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13501         Add lwarx hint, and use macro for acquire instruction.
13502         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13503         Likewise.
13504         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13505         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13506         update to use new atomic macros.
13508 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13510         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13511         (__lll_trylock_elision): Fix setting of adapt_count.
13512         * sysdeps/unix/sysv/linux/powerpc/htm.h
13513         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13514         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13515         (_ABORT_SYSCALL): Renumber, and clarify definition.
13516         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13518 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13520         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13521         after system headers to prevent MIN/MAX redefinition.  Define
13522         HAVE_ALLOCA to preserve builtin alloca usage.
13524 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13527         static and don't set or restore rounding.
13528         (__cos)[IN_SINCOS]: Likewise.
13529         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13530         (__sincos): Set and restore rounding mode.  Remove check for infinite
13531         or NaN input.
13533         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13535         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13536         as used.
13538 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13540         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13542 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13544         * config.make.in (have-glob-dat-reloc): New.
13545         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13546         target supports GLOB_DAT relocaton. AC_SUBST.
13547         * configure: Regenerated.
13548         * elf/Makefile (tests): Add tst-prelink.
13549         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13550         (tst-prelink-ENV): New.
13551         ($(objpfx)tst-prelink-conflict.out): Likewise.
13552         ($(objpfx)tst-prelink-cmp.out): Likewise.
13553         * sysdeps/x86/tst-prelink.c: Moved to ...
13554         * elf/tst-prelink.c: Here.
13555         * sysdeps/x86/tst-prelink.exp: Moved to ...
13556         * elf/tst-prelink.exp: Here.
13557         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13558         (tst-prelink-ENV): Removed.
13559         ($(objpfx)tst-prelink-conflict.out): Likewise.
13560         ($(objpfx)tst-prelink-cmp.out): Likewise.
13561         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13563 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13565         [BZ #14551]
13566         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13567         (__mpn_construct_long_double): If high part overflows to infinity,
13568         set errno and recompute overflowed result of the correct sign.
13569         * sysdeps/ieee754/ldbl-128ibm/Makefile
13570         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13571         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13572         $(libm).
13573         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13575 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13577         [BZ #15479]
13578         [BZ #19238]
13579         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13580         floating-point state after first operation on input.  Restore full
13581         state rather than just rounding mode.
13582         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13583         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13584         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13586         [BZ #19235]
13587         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13588         add 0.5 to integer arguments.
13589         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13590         Likewise.
13591         (.LC2): New object.
13593 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13595         * scripts/pylintrc (reports): Set to no.
13597 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13599         * elf/dl-load.c (open_verify): Take new argument FD.
13600         Skip __open call if passed FD is not -1.
13601         (_dl_map_object, open_path): Update callers.
13602         * elf/dl-sysdep-open.h: New file.
13603         * elf/dl-load.c: Include it.
13604         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13605         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13606         * sysdeps/nacl/dl-sysdep-open.h: New file.
13607         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13608         from libc to rtld.
13610 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13612         [BZ #19228]
13613         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13614         and restore full floating-point state.
13615         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13616         Likewise.
13617         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13618         Likewise.
13619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13620         Likewise.
13621         * math/test-nearbyint-except-2.c: New file.
13622         * math/Makefile (tests): Add test-nearbyint-except-2.
13624 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13626         [BZ #19178]
13627         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13628         (tst-prelink-ENV): New.
13629         ($(objpfx)tst-prelink-conflict.out): Likewise.
13630         ($(objpfx)tst-prelink-cmp.out): Likewise.
13631         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13632         * sysdeps/x86/tst-prelink.c: New file.
13633         * sysdeps/x86/tst-prelink.exp: Likewise.
13635 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13637         * math/auto-libm-test-in: Add another test of pow.
13638         * math/auto-libm-test-out: Regenerated.
13639         * math/libm-test.inc (pow_test_data): Add another test.
13641 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13643         [BZ #19219]
13644         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13645         weak_alias to nearbyintl.
13647 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13649         * sysdeps/aarch64/bits/string.h: New file.
13650         (_STRING_ARCH_unaligned): Define.
13652 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13654         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13655         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13656         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13657         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13660 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13662         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13663         for original name of the DSO.  Add it to the name list of the DSO
13664         if it is actually given.
13665         (_dl_map_object): Keep track of whether an audit module rewrote
13666         the file name.  If yes, pass the original name to
13667         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13668         debugging is enabled, log the change of the file name.
13669         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13670         _dl_map_object_from_fd.
13671         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13672         * elf/tst-audit11.c: New file
13673         * elf/tst-auditmod11.c: New file.
13674         * elf/tst-audit11mod1.c: New file.
13675         * elf/tst-audit11mod2.c: New file.
13676         * elf/tst-audit11mod2.map: New file.
13677         * elf/tst-audit12.c: New file
13678         * elf/tst-auditmod12.c: New file.
13679         * elf/tst-audit12mod1.c: New file.
13680         * elf/tst-audit12mod2.c: New file.
13681         * elf/tst-audit12mod2.map: New file.
13682         * elf/tst-audit12mod3.c: New file.
13684 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13686         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13687         Don't create weak aliases,
13688         because versioned symbols are created later.
13689         * sysdeps/s390/s390-32/setjmp.S
13690         (setjmp, _setjmp): Remove weak and rename to an unique name
13691         in SHARED case due to existing versioned symbols.
13692         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13693         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13694         (getcontext): Create weak alias only in non SHARED case.
13695         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13697 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13699         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13700         (__ASSUME_*_SYSCALL) Define new macros.
13701         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13702         Remove socketcall syscalls.
13703         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13704         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13705         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13706         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13707         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13708         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13710 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13712         [BZ #12926]
13713         Terminate process on invalid netlink response.
13714         * sysdeps/unix/sysv/linux/netlinkaccess.h
13715         (__netlink_assert_response): Declare.
13716         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13717         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13718         (sysdep_routines): Add netlink_assert_response.
13719         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13720         __netlink_assert_response.
13721         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13722         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13723         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13724         __netlink_assert_response.
13726 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13728         [BZ #19178]
13729         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13730         (RTYPE_CLASS_PLT): Likewise.
13731         (RTYPE_CLASS_COPY): Likewise.
13732         (RTYPE_CLASS_TLS): Likewise.
13733         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13734         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13735         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13736         DL_DEBUG_PRELINK.
13738 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13740         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13741         calls with argument -0.5.
13742         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13744         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13745         (libc_cv_z_nodlopen): Likewise.
13746         (libc_cv_z_initfirst): Likewise.
13747         * configure: Regenerated.
13749 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13751         Simplify abilist format to be line-based.
13752         * scripts/abilist.awk: Collect descriptors in the descs variable.
13753         (emit): Write descs variable and sort it
13754         externally, with sort.
13755         * sysdeps/**/*.abilist: Convert to new format.
13757 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13759         [BZ #11460]
13760         * io/Makefile (routines): Add fts64.
13761         (tests): Add tst-fts and tst-fts-lfs.
13762         (CFLAGS-fts64.c): New.
13763         * io/Versions (GLIBC_2.23): New.
13764         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13765         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13766         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13767         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13768         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13769         (FTSENT64): Likewise.
13770         (fts64_children): Likewise.
13771         (fts64_close): Likewise.
13772         (fts64_open): Likewise.
13773         (fts64_read): Likewise.
13774         (fts64_set): Likewise.
13775         * io/fts64.c: New file.
13776         * io/tst-fts.c: New test.
13777         * io/tst-fts-lfs.c: Likewise.
13778         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13779         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13780         fts64_set.
13781         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13782         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13783         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13784         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13785         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13786         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13787         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13788         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13789         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13790         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13791         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13792         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13793         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13795         Likewise.
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13797         Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13800         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13801         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13802         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13803         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13804         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13807         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13810         * sysdeps/wordsize-64/fts.c: New file.
13811         * sysdeps/wordsize-64/fts64.c: Likewise.
13812         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13813         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13814         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13815         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13817 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13819         * math/libm-test.inc (NON_FINITE): New macro.
13820         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13821         * math/gen-libm-test.pl (show_exceptions): Add argument
13822         $non_finite.
13823         (parse_args): Update call to show_exceptions.
13824         * math/test-math-finite.h: New file.
13825         * math/test-math-no-finite.h: Likewise.
13826         * math/test-double-finite.c: Likewise.
13827         * math/test-float-finite.c: Likewise.
13828         * math/test-ldouble-finite.c: Likewise.
13829         * math/test-double.c: Include "test-math-no-finite.h".
13830         * math/test-float.c: Include "test-math-no-finite.h".
13831         * math/test-ldouble.c: Include "test-math-no-finite.h".
13832         * math/test-math-inline.h (TEST_FINITE): New macro.
13833         * math/test-math-vector.h (TEST_FINITE): Likewise.
13834         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13835         (libm-tests): Add test-float-finite and test-double-finite.
13836         ($(objpfx)test-float-finite.o): New dependency on
13837         $(objpfx)libm-test.stmp.
13838         ($(objpfx)test-double-finite.o): Likewise.
13839         ($(objpfx)test-ldouble-finite.o): Likewise.
13840         (libm-test-no-inline-cflags): New variable.
13841         (libm-test-finite-cflags): Likewise.
13842         (CFLAGS-test-float-finite.c): Likewise.
13843         (CFLAGS-test-double-finite.c): Likewise.
13844         (CFLAGS-test-ldouble-finite.c): Likewise.
13845         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13846         (CFLAGS-test-double.c): Likewise.
13847         (CFLAGS-test-ldouble.c): Likewise.
13849 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13851         * io/fcntl.c (__fcntl): Add ... to prototype.
13852         * misc/ioctl.c (__ioctl): Likewise.
13853         * misc/syscall.c (syscall): Likewise.
13855 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13857         * scripts/list-fixed-bugs.py: New file.
13859         [BZ #19213]
13860         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13861         returned for argument 1.
13862         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13863         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13864         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13865         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13866         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13867         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13869         [BZ #19211]
13870         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13871         __USE_XOPEN], not if [!__USE_ISOC99].
13872         (lgammaf): Likewise.
13873         (lgammal): Likewise.
13874         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13875         (gammaf): Likewise.
13876         (gammal): Likewise.
13877         * math/test-signgam-finite-c11.c: New file.
13878         * math/test-signgam-finite-c99.c: Likewise.
13879         * math/test-signgam-finite.c: Likewise.
13880         * math/Makefile (tests): Add test-signgam-finite,
13881         test-signgam-finite-c99 and test-signgam-finite-c11.
13882         (CFLAGS-test-signgam-finite.c): New variable.
13883         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13884         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13886         [BZ #19212]
13887         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13888         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13889         500].
13890         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13891         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13892         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13893         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13894         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13895         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13896         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13897         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13898         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13899         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13901         [BZ #19209]
13902         * math/bits/math-finite.h (ldexp): Remove declaration.
13903         (ldexpf): Likewise.
13904         (ldexpl): Likewise.
13906         [BZ #19205]
13907         * math/bits/math-finite.h (acosf): Condition declaration on
13908         [__USE_ISOC99].
13909         (acosl): Likewise.
13910         (acoshf): Likewise.
13911         (acoshl): Likewise.
13912         (asinf): Likewise.
13913         (asinl): Likewise.
13914         (atan2f): Likewise.
13915         (atan2l): Likewise.
13916         (atanhf): Likewise.
13917         (atanhl): Likewise.
13918         (coshf): Likewise.
13919         (coshl): Likewise.
13920         (expf): Likewise.
13921         (expl): Likewise.
13922         (fmodf): Likewise.
13923         (fmodl): Likewise.
13924         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13925         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13926         (j0l): Likewise.
13927         (y0f): Likewise.
13928         (y0l): Likewise.
13929         (j1f): Likewise.
13930         (j1l): Likewise.
13931         (y1f): Likewise.
13932         (y1l): Likewise.
13933         (jnf): Likewise.
13934         (jnl): Likewise.
13935         (ynf): Likewise.
13936         (ynl): Likewise.
13937         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13938         (lgammal_r): Likewise.
13939         (__lgamma_r_finite): New declaration.
13940         (__lgammaf_r_finite): Likewise.
13941         (__lgammal_r_finite): Likewise.
13942         (lgamma): Use __lgamma_r_finite.
13943         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13944         __lgammaf_r_finite.
13945         (lgammal): Condition definition on [__USE_ISOC99].  Use
13946         __lgammal_r_finite.
13947         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13948         __lgamma_r_finite.
13949         (gammaf): Condition definition on [__USE_ISOC99].  Use
13950         __lgammaf_r_finite.
13951         (gammal): Condition definition on [__USE_ISOC99].  Use
13952         __lgammal_r_finite.
13953         (logf): Condition declaration on [__USE_ISOC99].
13954         (logl): Likewise.
13955         (log10f): Likewise.
13956         (log10l): Likewise.
13957         (ldexpf): Likewise.
13958         (ldexpl): Likewise.
13959         (powf): Likewise.
13960         (powl): Likewise.
13961         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13962         __USE_ISOC99].
13963         (remainderf): Condition declaration on [__USE_ISOC99].
13964         (remainderl): Likewise.
13965         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13966         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13967         (scalbl): Likewise.
13968         (sinhf): Condition declaration on [__USE_ISOC99].
13969         (sinhl): Likewise.
13970         (sqrtf): Likewise.
13971         (sqrtl): Likewise.
13973 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13975         * sysdeps/arm/atomic-machine.h
13976         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13977         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13978         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13979         Remove conditional code.
13980         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13981         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13982         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13983         Change conditional to [__ASSEMBLER__].
13984         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13985         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13986         [!__ASSEMBLER__].
13987         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13988         code.
13989         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13990         conditional macro definitions.
13991         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13992         (__arch_compare_and_exchange_val_16_acq): Likewise.
13993         (__arch_compare_and_exchange_val_32_acq): Likewise.
13994         (atomic_exchange_and_add): Likewise.
13995         (atomic_add): Likewise.
13996         (atomic_add_negative): Likewise.
13997         (atomic_add_zero): Likewise.
13998         (atomic_bit_set): Likewise.
13999         (atomic_bit_test_set): Likewise.
14000         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14001         code unconditional.
14002         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14004         * math/test-math-errno.h: New file.
14005         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14006         empty.
14007         (TEST_ERRNO): New macro.
14008         (TEST_EXCEPTIONS): Likewise.
14009         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14010         (TEST_EXCEPTIONS): Likewise.
14011         * math/test-math-vector.h (TEST_ERRNO): Likewise.
14012         * math/test-double.c: Include "test-math-errno.h".
14013         * math/test-float.c: Likewise.
14014         * math/test-ldouble.c: Likewise.
14015         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14016         code unconditional.
14017         (test_exceptions): Only run code if TEST_EXCEPTIONS.
14018         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14019         unconditional.
14020         (test_errno): Only run code if TEST_ERRNO.
14021         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14023 2015-11-04  Florian Weimer  <fweimer@redhat.com>
14025         * nptl/tst-once5.cc: Remove attribution.
14027 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14029         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14030         sqrt, tan, tanh, y0, y1 and yn.
14031         * math/auto-libm-test-out: Regenerated.
14032         * math/libm-test.inc (scalb_test_data): Add more tests.
14033         (scalbn_test_data): Likewise.
14034         (scalbln_test_data): Likewise.
14035         (signbit_test_data): Likewise.
14036         (sin_test_data): Likewise.
14037         (sincos_test_data): Likewise.
14038         (sinh_test_data): Likewise.
14039         (sqrt_test_data): Likewise.
14040         (tan_test_data): Likewise.
14041         (tanh_test_data): Likewise.
14042         (tgamma_test_data): Likewise.
14043         (y0_test_data): Likewise.
14044         (y1_test_data): Likewise.
14045         (yn_test_data): Likewise.
14046         (significand_test_data): Likewise.
14047         * sysdeps/i386/fpu/libm-test-ulps: Update.
14049 2015-11-03  David Kastrup  <dak@gnu.org>
14051         [BZ #18604]
14052         * assert/assert.h (assert): Don't macro-expand failed assertion
14053         expression in error message.
14054         * malloc/malloc.c (assert): Likewise.
14056 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14058         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14059         test.
14060         * configure: Regenerated.
14062 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14064         * math/libm-test.inc (modf_test_data): Add more tests.
14065         (nearbyint_test_data): Likewise.
14066         (nextafter_test_data): Likewise.
14067         (nexttoward_test_data): Likewise.
14068         (pow_test_data): Likewise.
14069         (remainder_test_data): Likewise.
14070         (remquo_test_data): Likewise.
14071         (rint_test_data): Likewise.
14073         [BZ #19201]
14074         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14075         Check for zero remainder in case of large exponents and ensure
14076         correct sign of result in that case.
14077         * math/libm-test.inc (remainder_test_data): Add more tests.
14079         [BZ #6799]
14080         * math/s_nextafter.c: Include <errno.h>.
14081         (__nextafter): Set errno on overflow and underflow.
14082         * math/s_nexttowardf.c: Include <errno.h>.
14083         (__nexttowardf): Set errno on overflow and underflow.
14084         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14085         (__nextafterl): Set errno on overflow and underflow.
14086         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14087         (__nexttoward): Set errno on overflow and underflow.
14088         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14089         (__nexttowardf): Set errno on overflow and underflow.
14090         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14091         (__nextafterf): Set errno on overflow and underflow.
14092         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14093         (__nextafterl): Set errno on overflow and underflow.
14094         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14095         (__nexttoward): Set errno on overflow and underflow.
14096         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14097         (__nexttowardf): Set errno on overflow and underflow.
14098         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14099         (__nextafterl): Set errno on overflow and underflow.
14100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14101         (__nexttoward): Set errno on overflow and underflow.
14102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14103         (__nexttowardf): Set errno on overflow and underflow.
14104         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14105         (__nexttoward): Set errno on overflow and underflow.
14106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14107         (__nexttowardf): Set errno on overflow and underflow.
14108         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14109         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14110         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14111         (__nextafterl): Set errno on overflow and underflow.
14112         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14113         setting to be missing on overflow.  Add more tests.
14114         (nexttoward_test_data): Likewise.
14116         * configure.ac (libc_cv_initfini_array): Remove configure test.
14117         * configure: Regenerated.
14119 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14121         [BZ #19189]
14122         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14123         non-finite argument handle arguments with negative sign.
14125         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14126         result from infinite argument.
14127         (j1_test_data): Likewise.
14128         (jn_test_data): Likewise.
14129         (y0_test_data): Likewise.
14130         (y1_test_data): Likewise.
14131         (yn_test_data): Likewise.
14133         [BZ #16171]
14134         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14135         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14136         * math/w_remainderf.c (dremf): Define as weak alias of
14137         __remainderf.
14138         * math/w_remainderl.c (dreml): Define as weak alias of
14139         __remainderl.
14140         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14141         __remainder.
14142         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14143         __remainderf.
14144         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14145         __remainderl.
14146         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14147         weak alias of remainderl.
14148         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14149         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14150         alias of __remainder.
14151         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14152         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14153         strong alias of __remainderl.
14154         (dreml): Use long_double_symbol.
14155         * math/Makefile (libm-calls): Remove w_drem.
14156         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14157         (CFLAGS-nldbl-drem.c): Remove variable.
14158         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14159         * math/w_drem.c: Remove file.
14160         * math/w_dremf.c: Likewise.
14161         * math/w_dreml.c: Likewise.
14162         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14163         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14164         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14166         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14167         * sysdeps/i386/configure: Regenerated.
14168         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14169         * sysdeps/x86_64/configure: Regenerated.
14171         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14172         test.
14173         (libc_cv_visibility_attribute): Likewise.
14174         (libc_cv_protected_data): Test unconditionally.
14175         (libc_cv_broken_visibility_attribute): Remove configure test.
14176         (libc_cv_have_sdata_section): Test unconditionally.
14177         * configure: Regenerated.
14179         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14180         * include/scratch_buffer.h: Include <stddef.h> instead of
14181         <libc-internal.h>.
14182         (struct scratch_buffer): Use max_align_t instead of
14183         libc_max_align_t.
14185 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14187         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14188         instead of extend_alloca.  Change control flow to avoid a goto.
14189         Remove assert which is trivially always true.
14191 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14193         [BZ #16068]
14194         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14195         (FE_ALL_EXCEPT_X86): New macro.
14196         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14197         FE_ALL_EXCEPT.  Ensure precision control is included in
14198         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14199         handle "denormal operand exception" and clear FZ and DAZ bits.
14200         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14201         (FE_ALL_EXCEPT_X86): New macro.
14202         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14203         FE_ALL_EXCEPT.  Ensure precision control is included in
14204         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14205         handle "denormal operand exception" and clear FZ and DAZ bits.
14206         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14207         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14208         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14209         test-fenv-x87 and test-fenv-sse-2.
14210         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14212         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14213         * math/test-double.h (BUILD_COMPLEX): New macro.
14214         * math/test-float.h (BUILD_COMPLEX): Likewise.
14215         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14217         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14218         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14219         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14221         instead of DBL_DENORM_MIN in comment.
14222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14223         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14225         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14227         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14229 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14231         [BZ# 19048]
14232         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14233         attached_threads member.
14234         (main_arena): Initialize attached_threads.
14235         * malloc/arena.c (list_lock): Update comment.
14236         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14237         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14238         (deattach_arena): New function.
14239         (_int_new_arena): Initialize arena reference count and deattach
14240         replaced arena.
14241         (get_free_list, reused_arena): Update reference count and deattach
14242         replaced arena.
14243         (arena_thread_freeres): Update arena reference count and only put
14244         unreferenced arenas on the free list.
14246 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14248         [BZ #19181]
14249         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14250         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14251         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14252         * math/test-fenv-clear-main.c: New file.
14253         * math/test-fenv-clear.c: Likewise.
14254         * math/Makefile (tests): Add test-fenv-clear.
14255         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14256         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14257         test-fenv-clear-sse.
14258         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14260         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14261         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14262         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14264 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14266         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14267         static libc.
14269 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14271         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14272         test.
14273         * sysdeps/i386/configure: Regenerated.
14274         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14275         test.
14276         * sysdeps/x86_64/configure: Regenerated.
14277         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14279         memset-avx2 unconditionally instead of conditionally on
14280         [$(config-cflags-avx2) = yes].
14281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14282         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14283         unconditional.
14284         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14285         * sysdeps/x86_64/multiarch/memset_chk.S
14286         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14287         to [IS_IN (libc) && SHARED].
14289 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14291         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14292         configure test.
14293         * sysdeps/arm/configure: Regenerated.
14294         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14295         Define variable if not already defined.
14297         [BZ #17404]
14298         * sysdeps/mips/atomic-machine.h
14299         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14300         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14301         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14303         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14304         unconditional.
14305         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14306         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14307         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14308         unconditional.
14309         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14310         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14311         unconditional.
14312         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14313         * stdlib/setenv.c
14314         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14315         code unconditional.
14316         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14317         Remove conditional code.
14318         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14319         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14320         unconditional.
14321         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14322         code.
14323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14324         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14325         unconditional.
14326         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14327         code.
14328         * sysdeps/ieee754/ldbl-128/k_tanl.c
14329         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14330         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14332         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14333         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14334         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14335         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14336         unconditional.
14337         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14338         code.
14339         * sysdeps/ieee754/ldbl-96/k_tanl.c
14340         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14341         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14343         * nptl/tst-initializers1-c11.c: New file.
14344         * nptl/tst-initializers1-gnu11.c: Likewise.
14345         * nptl/Makefile (tests): Add these new tests.
14346         (CFLAGS-tst-initializers1-c11.c): New variable.
14347         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14349         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14350         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14351         instead of -std=gnu99.
14352         * configure.ac (systemtap): Test with -std=gnu11 instead of
14353         -std=gnu99.
14354         * configure: Regenerated.
14355         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14356         in compilation command in comment.
14358         * sysdeps/nptl/configure.ac: Remove file.
14359         * sysdeps/nptl/configure: Remove generated file.
14360         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14361         * configure: Regenerated.
14362         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14363         * config.make.in (have-forced-unwind): Remove variable.
14364         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14365         unconditional.
14366         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14367         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14368         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14369         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14370         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14371         unconditional.
14373 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14375         [BZ #19174]
14376         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14377         .skip_lock_out_of_tbegin_retries.
14378         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14379         (__lll_lock_elision): Likewise, and respect a value of
14380         try_tbegin <= 0.
14382 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14384         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14385         statement.
14387 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14389         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14390         variable.
14391         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14392         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14394         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14395         of -std=c1x -D_ISOC11_SOURCE.
14397         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14398         * configure: Regenerated.
14399         * manual/install.texi (Tools for Compilation): Document
14400         requirement for GCC 4.7 or later.
14401         * INSTALL: Regenerated.
14403 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14405         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14406         on CNT to a conditional jump to 'puntdata'.
14408 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14410         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14411         (libc_cv_gcc_tls_model_attr): Likewise.
14412         * configure: Regenerated.
14414         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14415         * configure: Regenerated.
14416         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14418 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14420         * configure.ac (old_glibc_headers): Remove configure test.
14421         * configure: Regenerated.
14422         * config.make.in (old-glibc-headers): Remove variable.
14423         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14424         (install): Remove dependency on remove-old-headers.
14425         (headers2_0): Remove variable.
14426         (remove-old-headers): Remove rule.
14428         * configure.ac (libc_cv_dot_text): Remove configure test.
14429         (libc_cv_asm_set_directive): Use .text instead of
14430         ${libc_cv_dot_text} in configure test.
14431         * configure: Regenerated.
14433 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14435         [BZ #19168]
14436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14438 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14440         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14441         not support static linking.
14442         * configure: Regenerate.
14444 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14446         * math/libm-test.inc (check_float_internal): Do not special-case
14447         errors up to 0.5 ulp.
14449         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14450         log2.
14451         * math/auto-libm-test-out: Regenerated.
14452         * math/libm-test.inc (MAX_EXP): New macro.
14453         (ilogb_test_data): Add more tests.
14454         (isfinite_test_data): Likewise.
14455         (isgreater_test_data): Likewise.
14456         (isgreaterequal_test_data): Likewise.
14457         (isinf_test_data): Likewise.
14458         (isless_test_data): Likewise.
14459         (islessequal_test_data): Likewise.
14460         (islessgreater_test_data): Likewise.
14461         (isnan_test_data): Likewise.
14462         (isnormal_test_data): Likewise.
14463         (issignaling_test_data): Likewise.
14464         (isunordered_test_data): Likewise.
14465         (j0_test_data): Likewise.
14466         (j1_test_data): Likewise.
14467         (jn_test_data): Likewise.
14468         (lgamma_test_data): Likewise.
14469         (log_test_data): Likewise.
14470         (log10_test_data): Likewise.
14471         (log1p_test_data): Likewise.
14472         (log2_test_data): Likewise.
14473         (logb_test_data): Likewise.
14474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14476         [BZ #18611]
14477         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14478         avoid excess range and precision on underflow.
14479         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14480         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14481         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14482         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14483         underflow.
14484         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14486         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14487         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14488         * math/auto-libm-test-in: Do not allow missing errno setting for
14489         tests of j1 and jn.
14490         * math/auto-libm-test-out: Regenerated.
14492 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14494         [BZ #15491]
14495         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14496         floating-point environment instead of clearing all exceptions.
14497         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14498         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14499         merging in "invalid" exceptions from frndint.
14500         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14501         * math/test-nearbyint-except.c: New file.
14502         * math/Makefile (tests): Add test-nearbyint-except.
14504 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14506         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14508         * sysdeps/tile/libm-test-ulps: Regenerated.
14510 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14513         (__NR_sync_file_range2): Assume it is always defined.
14514         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14515         (__NR_sync_file_range): Assume it is always defined.
14517 2015-10-22  Andreas Schwab  <schwab@suse.de>
14519         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14520         INTERNAL_SYSCALL_ERRNO.
14521         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14522         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14523         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14524         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14528 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14530         * io/tst-fcntl.c (fd): New static variable.
14531         (do_prepare): Open temporary file here....
14532         (do_test): ...not here.
14534         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14536 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14538         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14539         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14540         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14541         Moved before "#ifdef __ASSEMBLER__".
14543 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #19156]
14546         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14547         arguments very close to 0.
14549 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14551         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14552         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14554 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14556         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14557         New.  Defined for GCC 5 and above when not compiling for
14558         profiling.
14559         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14561         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14562         Renamed to ...
14563         (CFLAGS-epoll_pwait.o): This.
14564         (CFLAGS-mmap.c): Renamed to ...
14565         (CFLAGS-mmap.o): This.
14566         (CFLAGS-mmap64.c): Renamed to ...
14567         (CFLAGS-mmap64.o): This.
14568         (CFLAGS-epoll_pwait.os): New.
14569         (CFLAGS-mmap.os): Likewise.
14570         (CFLAGS-mmap64.os): Likewise.
14571         (CFLAGS-semtimedop.os): Likewise.
14572         (CFLAGS-semtimedop.c): Renamed to ...
14573         (CFLAGS-semtimedop.o): This.
14575 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14577         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14578         warning message.
14580 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14582         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14583         * Makefile ($(objpfx)c++-types-check.out): Filter out
14584         $(+gccwarn-c) instead of -Wstrict-prototypes.
14586         * io/fts.c (fts_open): Convert to prototype-style function
14587         definition.
14588         * malloc/mcheck.c (mcheck): Likewise.
14589         (mcheck_pedantic): Likewise.
14590         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14591         internal_function.
14592         (re_search_internal): Likewise.
14593         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14594         prototype-style function definition.
14595         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14596         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14597         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14598         (xdr_utmpptr): Likewise.
14599         (xdr_utmparr): Likewise.
14600         (xdr_utmpidle): Likewise.
14601         (xdr_utmpidleptr): Likewise.
14602         (xdr_utmpidlearr): Likewise.
14604         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14605         log, log10 and log2.
14606         * math/auto-libm-test-out: Regenerated.
14607         * math/libm-test.inc (fmod_test_data): Add more tests.
14608         (fpclassify_test_data): Likewise.
14609         (frexp_test_data): Likewise.
14610         (hypot_test_data): Likewise.
14611         (ilogb_test_data): Likewise.
14613 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14615         * debug/fortify_fail.c (__fortify_fail): Convert to
14616         prototype-style function definition.  Use internal_function.
14617         * libio/genops.c (save_for_backup): Convert to prototype-style
14618         function definition.
14619         * libio/wgenops.c (save_for_wbackup): Likewise.
14620         * login/grantpt.c (grantpt): Likewise.
14621         * login/ptsname.c (ptsname): Likewise.
14622         (__ptsname_r): Likewise.
14623         * login/unlockpt.c (unlockpt): Likewise.
14624         * mach/msgserver.c (__mach_msg_server): Likewise.
14625         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14626         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14627         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14628         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14629         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14630         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14631         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14632         Likewise.
14633         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14634         internal_function.
14635         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14636         prototype-style function definition.
14637         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14638         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14639         (__pthread_create_2_0): Likewise.
14640         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14641         * nptl/register-atfork.c (__register_atfork): Likewise.
14642         * posix/glob.c (glob): Likewise.
14643         * posix/regcomp.c (re_comp): Likewise.
14644         * posix/regexec.c (re_exec): Likewise.
14645         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14646         [!__STDC__]: Remove conditional code.
14647         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14648         [!__STDC__]: Remove conditional code.
14649         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14650         [!__STDC__]: Remove conditional code.
14651         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14652         [!__STDC__]: Remove conditional code.
14653         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14654         [!__STDC__]: Remove conditional code.
14655         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14656         [!__STDC__]: Remove conditional code.
14657         * stdlib/mul.c [__STDC__]: Make code unconditional.
14658         [!__STDC__]: Remove conditional code.
14659         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14660         [!__STDC__]: Remove conditional code.
14661         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14662         [!__STDC__]: Remove conditional code.
14663         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14664         function definition.
14665         (STRTOF): Likewise.
14666         * stdlib/strtod_l.c (__STRTOF): Likewise.
14667         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14668         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14669         (__strtol_l): Likewise.
14670         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14671         [!__STDC__]: Remove conditional code.
14672         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14673         definition.
14674         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14675         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14676         type.
14677         (__strcasecmp): Convert to prototype-style function definition.
14678         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14679         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14680         type.
14681         (__strncasecmp): Convert to prototype-style function definition.
14682         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14683         * sunrpc/xdr.c (xdr_union): Likewise.
14684         * sunrpc/xdr_array.c (xdr_array): Likewise.
14685         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14686         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14687         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14688         Likewise.
14689         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14690         Likewise.
14691         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14692         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14693         Likewise.
14694         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14695         (LOCALE_PARAM_PROTO): Likewise.
14696         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14697         argument type.
14698         (ut_argument_spec): Remove macro.
14699         (ut_argument_spec_iso): Rename to ut_argument_spec.
14700         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14701         prototype-style function definition.
14702         (memcpy_uppcase): Likewise.
14703         (__strftime_internal): Likewise.
14704         (my_strftime): Likewise.
14705         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14706         (LOCALE_PARAM_DECL): Likewise.
14707         [_LIBC] (LOCALE_PARAM): Include argument type.
14708         (__strptime_internal): Convert to prototype-style function
14709         definition.
14710         (strptime): Likewise.
14711         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14712         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14713         type.
14714         (__wcscasecmp): Convert to prototype-style function definition.
14715         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14716         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14717         type.
14718         (__wcsncasecmp): Convert to prototype-style function definition.
14720         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14721         function definition.
14722         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14723         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14724         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14725         * elf/dl-minimal.c (_itoa): Likewise.
14726         * hurd/hurdmalloc.c (malloc): Likewise.
14727         (free): Likewise.
14728         (realloc): Likewise.
14729         * inet/inet6_option.c (inet6_option_space): Likewise.
14730         (inet6_option_init): Likewise.
14731         (inet6_option_append): Likewise.
14732         (inet6_option_alloc): Likewise.
14733         (inet6_option_next): Likewise.
14734         (inet6_option_find): Likewise.
14735         * io/ftw.c (FTW_NAME): Likewise.
14736         (NFTW_NAME): Likewise.
14737         (NFTW_NEW_NAME): Likewise.
14738         (NFTW_OLD_NAME): Likewise.
14739         * libio/iofwide.c (_IO_fwide): Likewise.
14740         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14741         (_IO_str_init_static): Likewise.
14742         (_IO_str_init_readonly): Likewise.
14743         (_IO_str_overflow): Likewise.
14744         (_IO_str_underflow): Likewise.
14745         (_IO_str_count): Likewise.
14746         (_IO_str_seekoff): Likewise.
14747         (_IO_str_pbackfail): Likewise.
14748         (_IO_str_finish): Likewise.
14749         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14750         (_IO_wstr_overflow): Likewise.
14751         (_IO_wstr_underflow): Likewise.
14752         (_IO_wstr_count): Likewise.
14753         (_IO_wstr_seekoff): Likewise.
14754         (_IO_wstr_pbackfail): Likewise.
14755         (_IO_wstr_finish): Likewise.
14756         * locale/programs/localedef.c (normalize_codeset): Likewise.
14757         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14758         (add_locales_to_archive): Likewise.
14759         (delete_locales_from_archive): Likewise.
14760         * malloc/malloc.c (__libc_mallinfo): Likewise.
14761         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14762         * misc/tsearch.c (__tfind): Likewise.
14763         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14764         * nptl/pthread_attr_getdetachstate.c
14765         (__pthread_attr_getdetachstate): Likewise.
14766         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14767         Likewise.
14768         * nptl/pthread_attr_getinheritsched.c
14769         (__pthread_attr_getinheritsched): Likewise.
14770         * nptl/pthread_attr_getschedparam.c
14771         (__pthread_attr_getschedparam): Likewise.
14772         * nptl/pthread_attr_getschedpolicy.c
14773         (__pthread_attr_getschedpolicy): Likewise.
14774         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14775         Likewise.
14776         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14777         Likewise.
14778         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14779         Likewise.
14780         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14781         Likewise.
14782         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14783         (__pthread_attr_init_2_0): Likewise.
14784         * nptl/pthread_attr_setdetachstate.c
14785         (__pthread_attr_setdetachstate): Likewise.
14786         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14787         Likewise.
14788         * nptl/pthread_attr_setinheritsched.c
14789         (__pthread_attr_setinheritsched): Likewise.
14790         * nptl/pthread_attr_setschedparam.c
14791         (__pthread_attr_setschedparam): Likewise.
14792         * nptl/pthread_attr_setschedpolicy.c
14793         (__pthread_attr_setschedpolicy): Likewise.
14794         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14795         Likewise.
14796         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14797         Likewise.
14798         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14799         Likewise.
14800         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14801         Likewise.
14802         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14803         Likewise.
14804         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14805         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14806         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14807         use internal_function.
14808         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14809         prototype-style function definition.
14810         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14811         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14812         internal_function.
14813         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14814         Convert to prototype-style function definition.
14815         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14816         Likewise.
14817         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14818         Likewise.
14819         (__pthread_mutex_unlock): Likewise.
14820         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14821         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14822         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14823         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14824         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14825         * nss/makedb.c (process_input): Likewise.
14826         * posix/fnmatch.c (__strchrnul): Likewise.
14827         (__wcschrnul): Likewise.
14828         (fnmatch): Likewise.
14829         * posix/fnmatch_loop.c (FCT): Likewise.
14830         * posix/glob.c (globfree): Likewise.
14831         (__glob_pattern_type): Likewise.
14832         (__glob_pattern_p): Likewise.
14833         * posix/regcomp.c (re_compile_pattern): Likewise.
14834         (re_set_syntax): Likewise.
14835         (re_compile_fastmap): Likewise.
14836         (regcomp): Likewise.
14837         (regerror): Likewise.
14838         (regfree): Likewise.
14839         * posix/regexec.c (regexec): Likewise.
14840         (re_match): Likewise.
14841         (re_search): Likewise.
14842         (re_match_2): Likewise.
14843         (re_search_2): Likewise.
14844         (re_search_stub): Likewise.  Use internal_function
14845         (re_copy_regs): Likewise.
14846         (re_set_registers): Convert to prototype-style function
14847         definition.
14848         (prune_impossible_nodes): Likewise.  Use internal_function.
14849         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14850         prototype-style function definition.
14851         (inet_net_pton_ipv4): Likewise.
14852         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14853         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14854         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14855         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14856         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14857         Make variadic.
14858         * time/strptime_l.c (localtime_r): Convert to prototype-style
14859         function definition.
14860         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14861         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14862         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14863         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14865         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14866         definition.
14867         (_ufc_doit_r): Likewise.
14868         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14869         (_ufc_output_conversion_r): Likewise.
14870         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14871         * inet/rcmd.c (rcmd_af): Likewise.
14872         (rcmd): Likewise.
14873         (ruserok_af): Likewise.
14874         (ruserok): Likewise.
14875         (ruserok2_sa): Likewise.
14876         (ruserok_sa): Likewise.
14877         (iruserok_af): Likewise.
14878         (iruserok): Likewise.
14879         (__ivaliduser): Likewise.
14880         (__validuser2_sa): Likewise.
14881         * inet/rexec.c (rexec_af): Likewise.
14882         (rexec): Likewise.
14883         * inet/ruserpass.c (ruserpass): Likewise.
14884         * locale/programs/xmalloc.c (xcalloc): Likewise.
14885         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14886         * math/w_drem.c (__drem): Likewise.
14887         * math/w_dremf.c (__dremf): Likewise.
14888         * math/w_dreml.c (__dreml): Likewise.
14889         * misc/daemon.c (daemon): Likewise.
14890         * resolv/res_debug.c (p_fqnname): Likewise.
14891         * stdlib/div.c (div): Likewise.
14892         * string/memcmp.c (memcmp_bytes): Likewise.
14893         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14894         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14896         * crypt/cert.c (main): Convert to prototype-style function
14897         definition.
14898         * io/pipe.c (__pipe): Likewise.
14899         * io/pipe2.c (__pipe2): Likewise.
14900         * misc/futimesat.c (futimesat): Likewise.
14901         * misc/utimes.c (__utimes): Likewise.
14902         * posix/execve.c (__execve): Likewise.
14903         * posix/execvp.c (execvp): Likewise.
14904         * posix/execvpe.c (__execvpe): Likewise.
14905         * posix/fexecve.c (fexecve): Likewise.
14906         * socket/socketpair.c (socketpair): Likewise.
14907         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14908         * stdlib/erand48.c (erand48): Likewise.
14909         * stdlib/erand48_r.c (__erand48_r): Likewise.
14910         * stdlib/jrand48.c (jrand48): Likewise.
14911         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14912         * stdlib/lcong48.c (lcong48): Likewise.
14913         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14914         * stdlib/nrand48.c (nrand48): Likewise.
14915         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14916         * stdlib/seed48.c (seed48): Likewise.
14917         * stdlib/seed48_r.c (__seed48_r): Likewise.
14918         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14919         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14920         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14922 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14924         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14925         * configure: Regenerated.
14926         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14927         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14928         unconditional.
14929         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14930         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14931         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14932         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14933         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14934         unconditional.
14935         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14937         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14938         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14940         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14941         function definition.
14942         * crypt/crypt_util.c (__encrypt_r): Likewise.
14943         * libio/genops.c (_IO_no_init): Likewise.
14944         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14945         (_IO_old_fopencookie): Likewise.
14946         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14947         * libio/iogetline.c (_IO_getline): Likewise.
14948         (_IO_getline_info): Likewise.
14949         * libio/iogetwline.c (_IO_getwline): Likewise.
14950         (_IO_getwline_info): Likewise.
14951         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14952         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14953         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14954         (find_entry): Likewise.
14955         (iterate_table): Likewise.
14956         (lookup): Likewise.
14957         * login/forkpty.c (forkpty): Likewise.
14958         * misc/hsearch_r.c (__hsearch_r): Likewise.
14959         * misc/select.c (__select): Likewise.
14960         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14961         Likewise.
14962         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14963         Likewise.
14964         * nptl/old_pthread_cond_timedwait.c
14965         (__pthread_cond_timedwait_2_0): Likewise.
14966         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14967         * nptl/pthread_barrierattr_getpshared.c
14968         (pthread_barrierattr_getpshared): Likewise.
14969         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14970         Likewise.
14971         * nptl/pthread_mutex_setprioceiling.c
14972         (pthread_mutex_setprioceiling): Likewise.
14973         * nptl/pthread_mutexattr_getprioceiling.c
14974         (pthread_mutexattr_getprioceiling): Likewise.
14975         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14976         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14977         Likewise.
14978         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14979         Likewise.
14980         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14981         Likewise.
14982         * socket/recvfrom.c (__recvfrom): Likewise.
14983         * socket/sendto.c (__sendto): Likewise.
14984         * socket/setsockopt.c (__setsockopt): Likewise.
14985         * stdio-common/_itoa.c (_itoa): Likewise.
14986         * stdio-common/_itowa.c (_itowa): Likewise.
14987         * stdio-common/reg-printf.c (__register_printf_specifier):
14988         Likewise.
14989         (__register_printf_function): Likewise.
14990         * stdio-common/tempname.c (__path_search): Likewise.
14991         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14992         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14993         * stdlib/random_r.c (__initstate_r): Likewise.
14994         * stdlib/setenv.c (__add_to_environ): Likewise.
14995         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14996         * streams/getpmsg.c (getpmsg): Likewise.
14997         * streams/putmsg.c (putmsg): Likewise.
14998         * streams/putpmsg.c (putpmsg): Likewise.
14999         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15000         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15001         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15002         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15003         * sunrpc/pm_getport.c (pmap_getport): Likewise.
15004         * sunrpc/svc_udp.c (cache_get): Likewise.
15005         * sunrpc/xdr_array.c (xdr_vector): Likewise.
15006         * sysdeps/mach/hurd/getcwd.c
15007         (__canonicalize_directory_name_internal): Likewise.
15008         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15009         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15010         * sysdeps/mach/hurd/select.c (__select): Likewise.
15011         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15012         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15013         * sysdeps/sparc/nptl/pthread_barrier_init.c
15014         (__pthread_barrier_init): Likewise.
15015         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15016         (__pthread_cond_timedwait): Likewise.
15017         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15018         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15019         Likewise.
15020         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15021         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15022         Likewise.
15023         * sysvipc/semtimedop.c (semtimedop): Likewise.
15024         * time/setitimer.c (__setitimer): Likewise.
15025         * time/strftime_l.c (emacs_strftime): Likewise.
15027 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15029         * config.make.in (have-ssp): Delete.
15030         (stack-protector): New variable.
15031         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
15032         cache test for -fstack-protector-strong.  Export stack_protector to
15033         the best ssp flag.
15034         * configure: Regenerated.
15035         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15036         * nscd/Makefile (CFLAGS-nscd): Likewise.
15037         * resolv/Makefile (CFLAGS-libresolv): Likewise.
15039 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
15041         [BZ #19122]
15042         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15043         attribute_hidden.
15045 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15047         [BZ #18743]
15048         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15049         code to...
15050         (ELIDE_LOCK): ...here.
15051         (__get_new_count): New function with part of the code from
15052         __elide_lock that updates the value of adapt_count after a
15053         transaction abort.
15054         (__elided_trylock): Moved this code to...
15055         (ELIDE_TRYLOCK): ...here.
15057 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15059         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15060         * configure: Regenerate.
15061         * INSTALL: Regenerate.
15062         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15063         and tweak grammar.
15065 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15067         * login/programs/pt_chown.c: Include signal.h
15068         (main): Clear any signal mask from the parent process.
15070 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15072         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15073         * configure: Regenerated.
15074         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15075         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15076         $(gnu89-inline-CFLAGS).
15078         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15079         test.
15080         (libc_cv_asm_weakext_directive): Likewise.
15081         * configure: Regenerated.
15082         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15083         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15084         * include/libc-symbols.h
15085         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15086         #error.
15087         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15088         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15090         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15091         prototype-style function definition.
15092         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15093         * sysdeps/i386/ffs.c (__ffs): Likewise.
15094         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15095         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15096         Likewise.
15097         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15098         Likewise.
15099         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15101         Likewise.
15102         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15103         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15104         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15105         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15106         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15107         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15108         * sysdeps/mach/hurd/access.c (__access): Likewise.
15109         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15110         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15111         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15112         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15113         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15114         (cthread_getspecific): Likewise.
15115         (cthread_setspecific): Likewise.
15116         (__libc_getspecific): Likewise.
15117         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15118         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15119         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15120         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15121         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15122         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15123         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15124         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15125         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15126         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15127         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15128         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15129         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15130         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15131         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15132         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15133         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15134         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15135         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15136         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15137         * sysdeps/mach/hurd/link.c (__link): Likewise.
15138         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15139         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15140         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15141         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15142         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15143         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15144         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15145         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15146         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15147         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15148         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15149         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15150         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15151         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15152         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15153         * sysdeps/mach/hurd/send.c (__send): Likewise.
15154         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15155         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15156         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15157         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15158         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15159         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15160         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15161         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15162         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15163         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15164         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15165         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15166         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15167         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15168         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15169         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15170         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15171         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15172         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15173         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15174         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15175         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15176         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15177         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15178         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15179         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15180         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15181         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15182         * sysdeps/posix/alarm.c (alarm): Likewise.
15183         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15184         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15185         * sysdeps/posix/dup.c (__dup): Likewise.
15186         * sysdeps/posix/dup2.c (__dup2): Likewise.
15187         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15188         (main): Likewise.
15189         * sysdeps/posix/flock.c (__flock): Likewise.
15190         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15191         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15192         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15193         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15194         * sysdeps/posix/isatty.c (__isatty): Likewise.
15195         * sysdeps/posix/killpg.c (killpg): Likewise.
15196         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15197         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15198         * sysdeps/posix/raise.c (raise): Likewise.
15199         * sysdeps/posix/remove.c (remove): Likewise.
15200         * sysdeps/posix/rename.c (rename): Likewise.
15201         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15202         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15203         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15204         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15205         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15206         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15207         * sysdeps/posix/sigset.c (sigset): Likewise.
15208         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15209         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15210         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15211         * sysdeps/posix/time.c (time): Likewise.
15212         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15213         (ttyname): Likewise.
15214         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15215         * sysdeps/posix/utime.c (utime): Likewise.
15216         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15217         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15218         Likewise.
15219         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15220         (pthread_spin_trylock): Likewise.
15221         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15222         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15223         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15224         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15225         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15226         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15227         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15228         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15229         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15230         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15231         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15232         * sysdeps/s390/ffs.c (__ffs): Likewise.
15233         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15234         Likewise.
15235         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15236         Likewise.
15237         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15238         Likewise.
15239         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15240         (pthread_barrier_destroy): Likewise.
15241         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15242         (__pthread_barrier_wait): Likewise.
15243         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15244         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15245         (__pthread_barrier_wait): Likewise.
15246         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15247         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15248         (memcmp_not_common_alignment): Likewise.
15249         (MEMCMP): Likewise.
15250         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15251         (_wordcopy_fwd_dest_aligned): Likewise.
15252         (_wordcopy_bwd_aligned): Likewise.
15253         (_wordcopy_bwd_dest_aligned): Likewise.
15254         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15255         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15256         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15257         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15258         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15259         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15260         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15261         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15262         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15263         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15264         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15265         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15266         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15267         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15268         * sysdeps/unix/stime.c (stime): Likewise.
15269         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15270         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15271         Likewise.  Use internal_function.
15272         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15273         Convert to prototype-style function definition.
15274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15275         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15276         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15277         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15278         Likewise.  Use internal_function.
15279         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15280         prototype-style function definition
15281         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15282         Likewise.
15283         (__getlogin_r): Likewise.
15284         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15286         (__pthread_cond_broadcast): Likewise.
15287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15288         (__pthread_cond_destroy): Likewise.
15289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15290         (__pthread_cond_init): Likewise.
15291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15292         (__pthread_cond_signal): Likewise.
15293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15294         (__pthread_cond_wait): Likewise.
15295         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15296         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15297         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15298         Likewise.
15299         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15300         Likewise.
15301         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15302         Likewise.
15303         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15304         Likewise.
15305         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15307         (__ftruncate64): Likewise.
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15309         (truncate64): Likewise.
15310         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15311         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15312         (pthread_getcpuclockid): Likewise.
15313         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15314         Likewise.
15315         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15316         Likewise.
15317         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15318         Likewise.
15319         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15320         Likewise.
15321         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15322         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15323         (__libc_sigaction): Likewise.
15324         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15325         Likewise.
15326         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15327         (__sigprocmask): Likewise.
15328         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15329         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15330         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15331         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15332         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15333         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15334         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15335         Likewise.
15336         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15337         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15338         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15339         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15341         Likewise.
15342         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15343         (__sigprocmask): Likewise.
15344         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15345         (cfgetispeed): Likewise.
15346         (cfsetospeed): Likewise.
15347         (cfsetispeed): Likewise.
15348         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15349         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15350         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15351         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15352         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15353         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15354         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15355         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15356         Likewise.
15357         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15358         Likewise.
15359         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15360         Likewise.
15361         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15362         Likewise.
15363         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15365 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15367         sunrpc: Rewrite with explicit TLS access using __thread.
15368         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15369         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15370         directly.
15371         (__rpc_thread_variables): Access thread_rpc_vars directly.
15372         Eliminate redundant assignment of the tvp variable.
15374 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15376         malloc: Rewrite with explicit TLS access using __thread.
15377         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15378         (tsd_setspecific, tsd_getspecific): Remove.
15379         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15380         (tsd_setspecific, tsd_getspecific): Likewise.
15381         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15382         (tsd_setspecific, tsd_getspecific): Likewise.
15383         * malloc/arena.c (thread_arena): New TLS variable.
15384         (arena_key): Remove variable.
15385         (arena_get): Use thread_arena.
15386         (arena_lookup): Remove macro.
15387         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15388         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15389         (_int_new_arena, get_free_list, reused_arena)
15390         (arena_thread_freeres): Use thread_arena.
15391         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15392         tsd_getspecific, tsd_setspecific from safety annotations.
15393         (Allocating Cleared Space): Remove arena_lookup from safety
15394         annotations.
15396 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15398         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15399         struct scratch_buffer instead of extend_alloca.
15401 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15403         * sysdeps/unix/sysv/linux/kernel-features.h
15404         (__ASSUME_SOCK_CLOEXEC): Remove.
15405         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15406         (__have_paccept): Remove unused macro.
15407         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15408         * misc/syslog.c (openlog_internal): Remove fallback code for
15409         !__ASSUME_SOCK_CLOEXEC.
15410         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15411         missing SOCK_CLOEXEC.
15412         * nscd/connections.c (have_sock_cloexec): Remove definition.
15413         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15414         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15415         !__ASSUME_SOCK_CLOEXEC.
15416         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15417         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15418         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15419         definition.
15420         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15421         code for !__ASSUME_SOCK_CLOEXEC.
15423 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15425         [BZ #18982]
15426         * manual/stdio.texi (Variable Arguments Output): Add portability
15427         note, explaining that vfprintf clobbers the va_list pointer.
15429 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15431         * math/libm-test.inc (fabs_test_data): Add more tests.
15432         (fdim_test_data): Likewise.
15433         (fma_test_data): Likewise.
15434         (fmax_test_data): Likewise.
15435         (fmin_test_data): Likewise.
15436         (fmod_test_data): Likewise.
15438 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15440         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15441         data.
15443 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15445         * math/libm-test.inc (ceil_test_data): Add more tests and more
15446         expectations for "inexact".
15447         (floor_test_data): Add more tests.
15448         (round_test_data): Likewise.
15449         (trunc_test_data): Likewise.
15451         * crypt/cert.c (good_bye): Convert to prototype-style function
15452         definition.
15453         (get8): Likewise.
15454         (put8): Likewise.
15455         * crypt/crypt-entry.c (crypt): Likewise.
15456         (__fcrypt): Likewise.
15457         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15458         (_ufc_set_bits): Likewise.
15459         (_ufc_clearmem): Likewise.
15460         (__init_des_r): Likewise.
15461         (shuffle_sb): Likewise.
15462         (shuffle_sb): Likewise.
15463         (_ufc_setup_salt_r): Likewise.
15464         (_ufc_mk_keytab_r): Likewise.
15465         (_ufc_dofinalperm_r): Likewise.
15466         (encrypt): Likewise.
15467         (__setkey_r): Likewise.
15468         (setkey): Likewise.
15469         * crypt/md5.c (md5_init_ctx): Likewise.
15470         (md5_read_ctx): Likewise.
15471         (md5_finish_ctx): Likewise.
15472         (md5_stream): Likewise.
15473         (md5_buffer): Likewise.
15474         (md5_process_bytes): Likewise.
15475         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15476         (__sha256_finish_ctx): Likewise.
15477         (__sha256_process_bytes): Likewise.
15478         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15479         (__sha512_finish_ctx): Likewise.
15480         (__sha512_process_bytes): Likewise.
15481         * ctype/isctype.c (__isctype): Likewise.
15482         * debug/backtrace.c (__backtrace): Likewise.
15483         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15484         * debug/fgets_chk.c (__fgets_chk): Likewise.
15485         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15486         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15487         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15488         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15489         * debug/memset_chk.c (__memset_chk): Likewise.
15490         * debug/strcat_chk.c (__strcat_chk): Likewise.
15491         * debug/strncat_chk.c (__strncat_chk): Likewise.
15492         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15493         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15494         * dirent/dirfd.c (dirfd): Likewise.
15495         * dirent/getdents.c (__getdirentries): Likewise.
15496         * dirent/getdents64.c (getdirentries64): Likewise.
15497         * dirent/rewinddir.c (__rewinddir): Likewise.
15498         * dirent/seekdir.c (seekdir): Likewise.
15499         * dirent/telldir.c (telldir): Likewise.
15500         * elf/sln.c (makesymlinks): Likewise.
15501         (makesymlink): Likewise.
15502         * gmon/gmon.c (__moncontrol): Likewise.
15503         (__monstartup): Likewise.
15504         (write_hist): Likewise.
15505         (write_call_graph): Likewise.
15506         (write_bb_counts): Likewise.
15507         * grp/setgroups.c (setgroups): Likewise.
15508         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15509         * inet/inet_net.c (inet_network): Likewise.
15510         * inet/inet_netof.c (inet_netof): Likewise.
15511         * inet/rcmd.c (rresvport_af): Likewise.
15512         (rresvport): Likewise.
15513         * io/access.c (__access): Likewise.
15514         * io/chdir.c (__chdir): Likewise.
15515         * io/chmod.c (__chmod): Likewise.
15516         * io/chown.c (__chown): Likewise.
15517         * io/close.c (__close): Likewise.
15518         * io/creat.c (creat): Likewise.
15519         * io/creat64.c (creat64): Likewise.
15520         * io/dup.c (__dup): Likewise.
15521         * io/dup2.c (__dup2): Likewise.
15522         * io/dup3.c (__dup3): Likewise.
15523         * io/euidaccess.c (__euidaccess): Likewise.
15524         * io/faccessat.c (faccessat): Likewise.
15525         * io/fchmod.c (__fchmod): Likewise.
15526         * io/fchmodat.c (fchmodat): Likewise.
15527         * io/fchown.c (__fchown): Likewise.
15528         * io/fchownat.c (fchownat): Likewise.
15529         * io/fcntl.c (__fcntl): Likewise.
15530         * io/flock.c (__flock): Likewise.
15531         * io/fts.c (fts_load): Likewise.
15532         (fts_close): Likewise.
15533         (fts_read): Likewise.
15534         (fts_set): Likewise.
15535         (fts_children): Likewise.
15536         (fts_build): Likewise.
15537         (fts_stat): Likewise.
15538         (fts_sort): Likewise.
15539         (fts_alloc): Likewise.
15540         (fts_lfree): Likewise.
15541         (fts_palloc): Likewise.
15542         (fts_padjust): Likewise.
15543         (fts_maxarglen): Likewise.
15544         (fts_safe_changedir): Likewise.
15545         * io/getwd.c (getwd): Likewise.
15546         * io/isatty.c (__isatty): Likewise.
15547         * io/lchown.c (__lchown): Likewise.
15548         * io/link.c (__link): Likewise.
15549         * io/linkat.c (linkat): Likewise.
15550         * io/lseek.c (__libc_lseek): Likewise.
15551         * io/mkdir.c (__mkdir): Likewise.
15552         * io/mkdirat.c (mkdirat): Likewise.
15553         * io/mkfifo.c (mkfifo): Likewise.
15554         * io/mkfifoat.c (mkfifoat): Likewise.
15555         * io/open.c (__libc_open): Likewise.
15556         * io/open64.c (__libc_open64): Likewise.
15557         * io/readlink.c (__readlink): Likewise.
15558         * io/readlinkat.c (readlinkat): Likewise.
15559         * io/rmdir.c (__rmdir): Likewise.
15560         * io/symlink.c (__symlink): Likewise.
15561         * io/symlinkat.c (symlinkat): Likewise.
15562         * io/ttyname.c (ttyname): Likewise.
15563         * io/ttyname_r.c (__ttyname_r): Likewise.
15564         * io/umask.c (__umask): Likewise.
15565         * io/unlink.c (__unlink): Likewise.
15566         * io/unlinkat.c (unlinkat): Likewise.
15567         * io/utime.c (utime): Likewise.
15568         * libio/clearerr.c (clearerr): Likewise.
15569         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15570         * libio/feof.c (_IO_feof): Likewise.
15571         * libio/feof_u.c (feof_unlocked): Likewise.
15572         * libio/ferror.c (_IO_ferror): Likewise.
15573         * libio/ferror_u.c (ferror_unlocked): Likewise.
15574         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15575         * libio/fileno.c (__fileno): Likewise.
15576         * libio/fputc.c (fputc): Likewise.
15577         * libio/fputc_u.c (fputc_unlocked): Likewise.
15578         * libio/fputwc.c (fputwc): Likewise.
15579         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15580         * libio/freopen.c (freopen): Likewise.
15581         * libio/freopen64.c (freopen64): Likewise.
15582         * libio/fseek.c (fseek): Likewise.
15583         * libio/fseeko.c (fseeko): Likewise.
15584         * libio/fseeko64.c (fseeko64): Likewise.
15585         * libio/ftello.c (__ftello): Likewise.
15586         * libio/ftello64.c (ftello64): Likewise.
15587         * libio/fwide.c (fwide): Likewise.
15588         * libio/genops.c (_IO_un_link): Likewise.
15589         (_IO_link_in): Likewise.
15590         (_IO_least_marker): Likewise.
15591         (_IO_switch_to_main_get_area): Likewise.
15592         (_IO_switch_to_backup_area): Likewise.
15593         (_IO_switch_to_get_mode): Likewise.
15594         (_IO_free_backup_area): Likewise.
15595         (_IO_switch_to_put_mode): Likewise.
15596         (__overflow): Likewise.
15597         (__underflow): Likewise.
15598         (__uflow): Likewise.
15599         (_IO_setb): Likewise.
15600         (_IO_doallocbuf): Likewise.
15601         (_IO_default_underflow): Likewise.
15602         (_IO_default_uflow): Likewise.
15603         (_IO_default_xsputn): Likewise.
15604         (_IO_sgetn): Likewise.
15605         (_IO_default_xsgetn): Likewise.
15606         (_IO_sync): Likewise.
15607         (_IO_default_setbuf): Likewise.
15608         (_IO_default_seekpos): Likewise.
15609         (_IO_default_doallocate): Likewise.
15610         (_IO_init): Likewise.
15611         (_IO_old_init): Likewise.
15612         (_IO_default_sync): Likewise.
15613         (_IO_default_finish): Likewise.
15614         (_IO_default_seekoff): Likewise.
15615         (_IO_sputbackc): Likewise.
15616         (_IO_sungetc): Likewise.
15617         (_IO_set_column): Likewise.
15618         (_IO_set_column): Likewise.
15619         (_IO_adjust_column): Likewise.
15620         (_IO_get_column): Likewise.
15621         (_IO_init_marker): Likewise.
15622         (_IO_remove_marker): Likewise.
15623         (_IO_marker_difference): Likewise.
15624         (_IO_marker_delta): Likewise.
15625         (_IO_seekmark): Likewise.
15626         (_IO_unsave_markers): Likewise.
15627         (_IO_nobackup_pbackfail): Likewise.
15628         (_IO_default_pbackfail): Likewise.
15629         (_IO_default_seek): Likewise.
15630         (_IO_default_stat): Likewise.
15631         (_IO_default_read): Likewise.
15632         (_IO_default_write): Likewise.
15633         (_IO_default_showmanyc): Likewise.
15634         (_IO_default_imbue): Likewise.
15635         (_IO_iter_next): Likewise.
15636         (_IO_iter_file): Likewise.
15637         * libio/getc.c (_IO_getc): Likewise.
15638         * libio/getwc.c (_IO_getwc): Likewise.
15639         * libio/iofclose.c (_IO_new_fclose): Likewise.
15640         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15641         * libio/iofflush.c (_IO_fflush): Likewise.
15642         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15643         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15644         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15645         * libio/iofgets.c (_IO_fgets): Likewise.
15646         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15647         * libio/iofgetws.c (fgetws): Likewise.
15648         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15649         * libio/iofopen64.c (_IO_fopen64): Likewise.
15650         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15651         (_IO_cookie_write): Likewise.
15652         (_IO_cookie_seek): Likewise.
15653         (_IO_cookie_close): Likewise.
15654         (_IO_cookie_seekoff): Likewise.
15655         (_IO_old_cookie_seek): Likewise.
15656         * libio/iofputs.c (_IO_fputs): Likewise.
15657         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15658         * libio/iofputws.c (fputws): Likewise.
15659         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15660         * libio/iofread.c (_IO_fread): Likewise.
15661         * libio/iofread_u.c (__fread_unlocked): Likewise.
15662         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15663         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15664         * libio/ioftell.c (_IO_ftell): Likewise.
15665         * libio/iofwrite.c (_IO_fwrite): Likewise.
15666         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15667         * libio/iogets.c (_IO_gets): Likewise.
15668         * libio/iopadn.c (_IO_padn): Likewise.
15669         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15670         (_IO_new_popen): Likewise.
15671         (_IO_new_proc_close): Likewise.
15672         * libio/ioputs.c (_IO_puts): Likewise.
15673         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15674         (_IO_seekoff): Likewise.
15675         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15676         (_IO_seekpos): Likewise.
15677         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15678         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15679         * libio/ioungetc.c (_IO_ungetc): Likewise.
15680         * libio/ioungetwc.c (ungetwc): Likewise.
15681         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15682         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15683         * libio/iowpadn.c (_IO_wpadn): Likewise.
15684         * libio/libc_fatal.c (__libc_fatal): Likewise.
15685         * libio/memstream.c (__open_memstream): Likewise.
15686         (_IO_mem_sync): Likewise.
15687         (_IO_mem_finish): Likewise.
15688         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15689         (_IO_old_file_close_it): Likewise.
15690         (_IO_old_file_finish): Likewise.
15691         (_IO_old_file_fopen): Likewise.
15692         (_IO_old_file_attach): Likewise.
15693         (_IO_old_file_setbuf): Likewise.
15694         (_IO_old_do_write): Likewise.
15695         (old_do_write): Likewise.
15696         (_IO_old_file_underflow): Likewise.
15697         (_IO_old_file_overflow): Likewise.
15698         (_IO_old_file_sync): Likewise.
15699         (_IO_old_file_seekoff): Likewise.
15700         (_IO_old_file_write): Likewise.
15701         (_IO_old_file_xsputn): Likewise.
15702         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15703         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15704         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15705         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15706         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15707         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15708         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15709         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15710         (_IO_old_popen): Likewise.
15711         (_IO_old_proc_close): Likewise.
15712         * libio/oldpclose.c (__old_pclose): Likewise.
15713         * libio/pclose.c (__new_pclose): Likewise.
15714         * libio/peekc.c (_IO_peekc_locked): Likewise.
15715         * libio/putc.c (_IO_putc): Likewise.
15716         * libio/putc_u.c (putc_unlocked): Likewise.
15717         * libio/putchar.c (putchar): Likewise.
15718         * libio/putchar_u.c (putchar_unlocked): Likewise.
15719         * libio/putwc.c (putwc): Likewise.
15720         * libio/putwc_u.c (putwc_unlocked): Likewise.
15721         * libio/putwchar.c (putwchar): Likewise.
15722         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15723         * libio/rewind.c (rewind): Likewise.
15724         * libio/setbuf.c (setbuf): Likewise.
15725         * libio/setlinebuf.c (setlinebuf): Likewise.
15726         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15727         * libio/vscanf.c (_IO_vscanf): Likewise.
15728         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15729         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15730         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15731         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15732         (_IO_switch_to_main_wget_area): Likewise.
15733         (_IO_switch_to_wbackup_area): Likewise.
15734         (_IO_wsetb): Likewise.
15735         (_IO_wdefault_pbackfail): Likewise.
15736         (_IO_wdefault_finish): Likewise.
15737         (_IO_wdefault_uflow): Likewise.
15738         (__woverflow): Likewise.
15739         (__wuflow): Likewise.
15740         (__wunderflow): Likewise.
15741         (_IO_wdefault_xsputn): Likewise.
15742         (_IO_wdefault_xsgetn): Likewise.
15743         (_IO_wdoallocbuf): Likewise.
15744         (_IO_wdefault_doallocate): Likewise.
15745         (_IO_switch_to_wget_mode): Likewise.
15746         (_IO_free_wbackup_area): Likewise.
15747         (_IO_switch_to_wput_mode): Likewise.
15748         (_IO_sputbackwc): Likewise.
15749         (_IO_sungetwc): Likewise.
15750         (_IO_adjust_wcolumn): Likewise.
15751         (_IO_init_wmarker): Likewise.
15752         (_IO_wmarker_delta): Likewise.
15753         (_IO_seekwmark): Likewise.
15754         (_IO_unsave_wmarkers): Likewise.
15755         * libio/wmemstream.c (open_wmemstream): Likewise.
15756         (_IO_wmem_sync): Likewise.
15757         (_IO_wmem_finish): Likewise.
15758         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15759         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15760         * locale/programs/simple-hash.c (init_hash): Likewise.
15761         (delete_hash): Likewise.
15762         (insert_entry): Likewise.
15763         (set_entry): Likewise.
15764         (next_prime): Likewise.
15765         (is_prime): Likewise.
15766         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15767         (xmalloc): Likewise.
15768         (xrealloc): Likewise.
15769         * locale/programs/xstrdup.c (xstrdup): Likewise.
15770         * localedata/collate-test.c (xstrcoll): Likewise.
15771         * localedata/xfrm-test.c (xstrcmp): Likewise.
15772         * login/getlogin_r.c (__getlogin_r): Likewise.
15773         * login/getpt.c (__posix_openpt): Likewise.
15774         * login/login_tty.c (login_tty): Likewise.
15775         * login/setlogin.c (setlogin): Likewise.
15776         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15777         (mach_msg_destroy_port): Likewise.
15778         (mach_msg_destroy_memory): Likewise.
15779         * malloc/mcheck.c (flood): Likewise.
15780         * misc/acct.c (acct): Likewise.
15781         * misc/brk.c (__brk): Likewise.
15782         * misc/chflags.c (chflags): Likewise.
15783         * misc/chroot.c (chroot): Likewise.
15784         * misc/fchflags.c (fchflags): Likewise.
15785         * misc/fstab.c (getfsspec): Likewise.
15786         (getfsfile): Likewise.
15787         * misc/fsync.c (fsync): Likewise.
15788         * misc/ftruncate.c (__ftruncate): Likewise.
15789         * misc/ftruncate64.c (__ftruncate64): Likewise.
15790         * misc/getdomain.c (getdomainname): Likewise.
15791         (getdomainname): Likewise.
15792         * misc/gethostname.c (__gethostname): Likewise.
15793         * misc/getpass.c (getpass): Likewise.
15794         * misc/getttyent.c (skip): Likewise.
15795         (value): Likewise.
15796         * misc/gtty.c (gtty): Likewise.
15797         * misc/hsearch.c (hsearch): Likewise.
15798         (hcreate): Likewise.
15799         * misc/hsearch_r.c (__hcreate_r): Likewise.
15800         (__hdestroy_r): Likewise.
15801         * misc/ioctl.c (__ioctl): Likewise.
15802         * misc/mkdtemp.c (mkdtemp): Likewise.
15803         * misc/mkostemp.c (mkostemp): Likewise.
15804         * misc/mkostemp64.c (mkostemp64): Likewise.
15805         * misc/mkostemps.c (mkostemps): Likewise.
15806         * misc/mkostemps64.c (mkostemps64): Likewise.
15807         * misc/mkstemp.c (mkstemp): Likewise.
15808         * misc/mkstemp64.c (mkstemp64): Likewise.
15809         * misc/mkstemps.c (mkstemps): Likewise.
15810         * misc/mkstemps64.c (mkstemps64): Likewise.
15811         * misc/mktemp.c (__mktemp): Likewise.
15812         * misc/preadv.c (preadv): Likewise.
15813         * misc/preadv64.c (preadv64): Likewise.
15814         * misc/pwritev.c (pwritev): Likewise.
15815         * misc/pwritev64.c (pwritev64): Likewise.
15816         * misc/readv.c (__readv): Likewise.
15817         * misc/revoke.c (revoke): Likewise.
15818         * misc/setdomain.c (setdomainname): Likewise.
15819         * misc/setegid.c (setegid): Likewise.
15820         * misc/seteuid.c (seteuid): Likewise.
15821         * misc/sethostid.c (sethostid): Likewise.
15822         * misc/sethostname.c (sethostname): Likewise.
15823         * misc/setregid.c (__setregid): Likewise.
15824         * misc/setreuid.c (__setreuid): Likewise.
15825         * misc/sstk.c (sstk): Likewise.
15826         * misc/stty.c (stty): Likewise.
15827         * misc/syscall.c (syscall): Likewise.
15828         * misc/syslog.c (setlogmask): Likewise.
15829         * misc/truncate.c (__truncate): Likewise.
15830         * misc/truncate64.c (truncate64): Likewise.
15831         * misc/ualarm.c (ualarm): Likewise.
15832         * misc/usleep.c (usleep): Likewise.
15833         * misc/ustat.c (ustat): Likewise.
15834         * misc/writev.c (__writev): Likewise.
15835         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15836         * nptl/old_pthread_cond_broadcast.c
15837         (__pthread_cond_broadcast_2_0): Likewise.
15838         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15839         Likewise.
15840         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15841         Likewise.
15842         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15843         Likewise.
15844         * nptl/pt-raise.c (raise): Likewise.
15845         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15846         Likewise.
15847         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15848         * nptl/pthread_barrierattr_destroy.c
15849         (pthread_barrierattr_destroy): Likewise.
15850         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15851         Likewise.
15852         * nptl/pthread_barrierattr_setpshared.c
15853         (pthread_barrierattr_setpshared): Likewise.
15854         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15855         Likewise.
15856         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15857         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15858         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15859         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15860         Likewise.
15861         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15862         Likewise.
15863         * nptl/pthread_condattr_getpshared.c
15864         (pthread_condattr_getpshared): Likewise.
15865         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15866         Likewise.
15867         * nptl/pthread_condattr_setpshared.c
15868         (pthread_condattr_setpshared): Likewise.
15869         * nptl/pthread_detach.c (pthread_detach): Likewise.
15870         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15871         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15872         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15873         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15874         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15875         Likewise.
15876         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15877         Likewise.
15878         * nptl/pthread_mutex_getprioceiling.c
15879         (pthread_mutex_getprioceiling): Likewise.
15880         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15881         Likewise.
15882         * nptl/pthread_mutexattr_getprotocol.c
15883         (pthread_mutexattr_getprotocol): Likewise.
15884         * nptl/pthread_mutexattr_getpshared.c
15885         (pthread_mutexattr_getpshared): Likewise.
15886         * nptl/pthread_mutexattr_getrobust.c
15887         (pthread_mutexattr_getrobust): Likewise.
15888         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15889         Likewise.
15890         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15891         Likewise.
15892         * nptl/pthread_mutexattr_setprioceiling.c
15893         (pthread_mutexattr_setprioceiling): Likewise.
15894         * nptl/pthread_mutexattr_setprotocol.c
15895         (pthread_mutexattr_setprotocol): Likewise.
15896         * nptl/pthread_mutexattr_setpshared.c
15897         (pthread_mutexattr_setpshared): Likewise.
15898         * nptl/pthread_mutexattr_setrobust.c
15899         (pthread_mutexattr_setrobust): Likewise.
15900         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15901         Likewise.
15902         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15903         Likewise.
15904         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15905         Likewise.
15906         * nptl/pthread_rwlockattr_getkind_np.c
15907         (pthread_rwlockattr_getkind_np): Likewise.
15908         * nptl/pthread_rwlockattr_getpshared.c
15909         (pthread_rwlockattr_getpshared): Likewise.
15910         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15911         Likewise.
15912         * nptl/pthread_rwlockattr_setkind_np.c
15913         (pthread_rwlockattr_setkind_np): Likewise.
15914         * nptl/pthread_rwlockattr_setpshared.c
15915         (pthread_rwlockattr_setpshared): Likewise.
15916         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15917         Likewise.
15918         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15919         Likewise.
15920         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15921         Likewise.
15922         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15923         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15924         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15925         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15926         * nptl/sem_close.c (sem_close): Likewise.
15927         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15928         * nptl/sem_init.c (__old_sem_init): Likewise.
15929         * nptl/sigaction.c (__sigaction): Likewise.
15930         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15931         * posix/_exit.c (_exit): Likewise.
15932         * posix/alarm.c (alarm): Likewise.
15933         * posix/confstr.c (confstr): Likewise.
15934         * posix/fpathconf.c (__fpathconf): Likewise.
15935         * posix/getgroups.c (__getgroups): Likewise.
15936         * posix/getpgid.c (__getpgid): Likewise.
15937         * posix/group_member.c (__group_member): Likewise.
15938         * posix/pathconf.c (__pathconf): Likewise.
15939         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15940         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15941         * posix/setgid.c (__setgid): Likewise.
15942         * posix/setpgid.c (__setpgid): Likewise.
15943         * posix/setuid.c (__setuid): Likewise.
15944         * posix/sleep.c (__sleep): Likewise.
15945         * posix/sysconf.c (__sysconf): Likewise.
15946         * posix/times.c (__times): Likewise.
15947         * posix/uname.c (__uname): Likewise.
15948         * posix/waitid.c (__waitid): Likewise.
15949         * pwd/getpw.c (__getpw): Likewise.
15950         * resolv/base64.c (b64_pton): Likewise.
15951         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15952         * resolv/gethnamaddr.c (Dprintf): Likewise.
15953         (gethostbyname): Likewise.
15954         (gethostbyname2): Likewise.
15955         (gethostbyaddr): Likewise.
15956         (_sethtent): Likewise.
15957         (_gethtbyname): Likewise.
15958         (_gethtbyname2): Likewise.
15959         (_gethtbyaddr): Likewise.
15960         (map_v4v6_address): Likewise.
15961         (map_v4v6_hostent): Likewise.
15962         (addrsort): Likewise.
15963         (ht_sethostent): Likewise.
15964         (ht_gethostbyname): Likewise.
15965         (ht_gethostbyaddr): Likewise.
15966         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15967         (inet_net_ntop_ipv4): Likewise.
15968         * resolv/inet_neta.c (inet_neta): Likewise.
15969         * resolv/inet_ntop.c (inet_ntop): Likewise.
15970         (inet_ntop4): Likewise.
15971         (inet_ntop6): Likewise.
15972         * resolv/inet_pton.c (__inet_pton): Likewise.
15973         (inet_pton4): Likewise.
15974         (inet_pton6): Likewise.
15975         * resolv/res_debug.c (loc_aton): Likewise.
15976         (loc_ntoa): Likewise.
15977         * resource/getpriority.c (__getpriority): Likewise.
15978         * resource/getrusage.c (__getrusage): Likewise.
15979         * resource/nice.c (nice): Likewise.
15980         * resource/setpriority.c (__setpriority): Likewise.
15981         * resource/setrlimit64.c (setrlimit64): Likewise.
15982         * resource/vlimit.c (vlimit): Likewise.
15983         * resource/vtimes.c (vtimes): Likewise.
15984         * rt/aio_error.c (aio_error): Likewise.
15985         * rt/aio_return.c (aio_return): Likewise.
15986         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15987         * signal/kill.c (__kill): Likewise.
15988         * signal/killpg.c (killpg): Likewise.
15989         * signal/raise.c (raise): Likewise.
15990         * signal/sigaction.c (__sigaction): Likewise.
15991         * signal/sigaddset.c (sigaddset): Likewise.
15992         * signal/sigaltstack.c (sigaltstack): Likewise.
15993         * signal/sigandset.c (sigandset): Likewise.
15994         * signal/sigblock.c (__sigblock): Likewise.
15995         * signal/sigdelset.c (sigdelset): Likewise.
15996         * signal/sigempty.c (sigemptyset): Likewise.
15997         * signal/sigfillset.c (sigfillset): Likewise.
15998         * signal/sighold.c (sighold): Likewise.
15999         * signal/sigignore.c (sigignore): Likewise.
16000         * signal/sigintr.c (siginterrupt): Likewise.
16001         * signal/sigisempty.c (sigisemptyset): Likewise.
16002         * signal/sigismem.c (sigismember): Likewise.
16003         * signal/signal.c (signal): Likewise.
16004         * signal/sigorset.c (sigorset): Likewise.
16005         * signal/sigpause.c (__sigpause): Likewise.
16006         * signal/sigpending.c (sigpending): Likewise.
16007         * signal/sigprocmask.c (__sigprocmask): Likewise.
16008         * signal/sigrelse.c (sigrelse): Likewise.
16009         * signal/sigreturn.c (__sigreturn): Likewise.
16010         * signal/sigset.c (sigset): Likewise.
16011         * signal/sigsetmask.c (__sigsetmask): Likewise.
16012         * signal/sigstack.c (sigstack): Likewise.
16013         * signal/sigsuspend.c (__sigsuspend): Likewise.
16014         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16015         * signal/sysv_signal.c (__sysv_signal): Likewise.
16016         * socket/accept.c (accept): Likewise.
16017         * socket/accept4.c (__libc_accept4): Likewise.
16018         * socket/bind.c (__bind): Likewise.
16019         * socket/connect.c (__connect): Likewise.
16020         * socket/getpeername.c (getpeername): Likewise.
16021         * socket/getsockname.c (__getsockname): Likewise.
16022         * socket/getsockopt.c (getsockopt): Likewise.
16023         * socket/listen.c (__listen): Likewise.
16024         * socket/recv.c (__recv): Likewise.
16025         * socket/recvmsg.c (__recvmsg): Likewise.
16026         * socket/send.c (__send): Likewise.
16027         * socket/sendmsg.c (__sendmsg): Likewise.
16028         * socket/shutdown.c (shutdown): Likewise.
16029         * socket/sockatmark.c (sockatmark): Likewise.
16030         * socket/socket.c (__socket): Likewise.
16031         * stdio-common/ctermid.c (ctermid): Likewise.
16032         * stdio-common/cuserid.c (cuserid): Likewise.
16033         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16034         * stdio-common/remove.c (remove): Likewise.
16035         * stdio-common/rename.c (rename): Likewise.
16036         * stdio-common/renameat.c (renameat): Likewise.
16037         * stdio-common/tempname.c (__gen_tempname): Likewise.
16038         * stdio-common/xbug.c (InitBuffer): Likewise.
16039         (AppendToBuffer): Likewise.
16040         (ReadFile): Likewise.
16041         * stdlib/a64l.c (a64l): Likewise.
16042         * stdlib/drand48_r.c (drand48_r): Likewise.
16043         * stdlib/getcontext.c (getcontext): Likewise.
16044         * stdlib/getenv.c (getenv): Likewise.
16045         * stdlib/l64a.c (l64a): Likewise.
16046         * stdlib/llabs.c (llabs): Likewise.
16047         * stdlib/lldiv.c (lldiv): Likewise.
16048         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16049         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16050         * stdlib/putenv.c (putenv): Likewise.
16051         * stdlib/random.c (__srandom): Likewise.
16052         (__initstate): Likewise.
16053         (__setstate): Likewise.
16054         * stdlib/random_r.c (__srandom_r): Likewise.
16055         (__setstate_r): Likewise.
16056         (__random_r): Likewise.
16057         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16058         * stdlib/setcontext.c (setcontext): Likewise.
16059         * stdlib/setenv.c (setenv): Likewise.
16060         (unsetenv): Likewise.
16061         * stdlib/srand48.c (srand48): Likewise.
16062         * stdlib/srand48_r.c (__srand48_r): Likewise.
16063         * stdlib/swapcontext.c (swapcontext): Likewise.
16064         * stdlib/system.c (__libc_system): Likewise.
16065         * stdlib/tst-strtod.c (expand): Likewise.
16066         * stdlib/tst-strtol.c (expand): Likewise.
16067         * stdlib/tst-strtoll.c (expand): Likewise.
16068         * streams/fattach.c (fattach): Likewise.
16069         * streams/fdetach.c (fdetach): Likewise.
16070         * streams/getmsg.c (getmsg): Likewise.
16071         * streams/isastream.c (isastream): Likewise.
16072         * string/ffs.c (__ffs): Likewise.
16073         * string/ffsll.c (ffsll): Likewise.
16074         * string/memcmp.c (memcmp_common_alignment): Likewise.
16075         (memcmp_not_common_alignment): Likewise.
16076         (MEMCMP): Likewise.
16077         * string/memcpy.c (memcpy): Likewise.
16078         * string/memmove.c (MEMMOVE): Likewise.
16079         * string/memset.c (memset): Likewise.
16080         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16081         * string/strchrnul.c (STRCHRNUL): Likewise.
16082         * string/strerror.c (strerror): Likewise.
16083         * string/strndup.c (__strndup): Likewise.
16084         * string/strverscmp.c (__strverscmp): Likewise.
16085         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16086         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16087         (clnttcp_freeres): Likewise.
16088         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16089         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16090         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16091         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16092         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16093         (xdr_callhdr): Likewise.
16094         * sunrpc/rpcinfo.c (udpping): Likewise.
16095         (tcpping): Likewise.
16096         (pstatus): Likewise.
16097         (pmapdump): Likewise.
16098         (brdcst): Likewise.
16099         (deletereg): Likewise.
16100         (getprognum): Likewise.
16101         (getvers): Likewise.
16102         (get_inet_address): Likewise.
16103         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16104         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16105         (svcudp_stat): Likewise.
16106         (svcudp_recv): Likewise.
16107         (svcudp_reply): Likewise.
16108         (svcudp_getargs): Likewise.
16109         (svcudp_freeargs): Likewise.
16110         (svcudp_destroy): Likewise.
16111         * sunrpc/xdr.c (xdr_bytes): Likewise.
16112         (xdr_netobj): Likewise.
16113         (xdr_string): Likewise.
16114         (xdr_wrapstring): Likewise.
16115         * sunrpc/xdr_float.c (xdr_float): Likewise.
16116         (xdr_double): Likewise.
16117         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16118         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16119         * sysvipc/ftok.c (ftok): Likewise.
16120         * sysvipc/msgctl.c (msgctl): Likewise.
16121         * sysvipc/msgget.c (msgget): Likewise.
16122         * sysvipc/msgrcv.c (msgrcv): Likewise.
16123         * sysvipc/msgsnd.c (msgsnd): Likewise.
16124         * sysvipc/semget.c (semget): Likewise.
16125         * sysvipc/semop.c (semop): Likewise.
16126         * sysvipc/shmat.c (shmat): Likewise.
16127         * sysvipc/shmctl.c (shmctl): Likewise.
16128         * sysvipc/shmdt.c (shmdt): Likewise.
16129         * sysvipc/shmget.c (shmget): Likewise.
16130         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16131         * termios/speed.c (cfgetospeed): Likewise.
16132         (cfgetispeed): Likewise.
16133         (cfsetospeed): Likewise.
16134         (cfsetispeed): Likewise.
16135         * termios/tcflow.c (tcflow): Likewise.
16136         * termios/tcflush.c (tcflush): Likewise.
16137         * termios/tcgetattr.c (__tcgetattr): Likewise.
16138         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16139         * termios/tcgetsid.c (tcgetsid): Likewise.
16140         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16141         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16142         * time/adjtime.c (__adjtime): Likewise.
16143         * time/dysize.c (dysize): Likewise.
16144         * time/ftime.c (ftime): Likewise.
16145         * time/getitimer.c (__getitimer): Likewise.
16146         * time/gettimeofday.c (__gettimeofday): Likewise.
16147         * time/gmtime.c (__gmtime_r): Likewise.
16148         (gmtime): Likewise.
16149         * time/localtime.c (__localtime_r): Likewise.
16150         (localtime): Likewise.
16151         * time/offtime.c (__offtime): Likewise.
16152         * time/settimeofday.c (__settimeofday): Likewise.
16153         * time/stime.c (stime): Likewise.
16154         * time/strftime_l.c (tm_diff): Likewise.
16155         (iso_week_days): Likewise.
16156         * time/strptime.c (strptime): Likewise.
16157         * time/time.c (time): Likewise.
16158         * time/timespec_get.c (timespec_get): Likewise.
16159         * time/tzset.c (tzset_internal): Likewise.
16160         (compute_change): Likewise.
16161         (__tz_compute): Likewise.
16162         * wcsmbs/btowc.c (__btowc): Likewise.
16163         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16164         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16165         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16166         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16167         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16168         * wcsmbs/wcscat.c (__wcscat): Likewise.
16169         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16170         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16171         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16172         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16173         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16174         * wcsmbs/wcslen.c (__wcslen): Likewise.
16175         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16176         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16177         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16178         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16179         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16180         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16181         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16182         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16183         * wcsmbs/wcstok.c (wcstok): Likewise.
16184         * wcsmbs/wctob.c (wctob): Likewise.
16185         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16186         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16187         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16188         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16189         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16190         * wcsmbs/wmemset.c (__wmemset): Likewise.
16191         * wctype/wcfuncs.c (__towlower): Likewise.
16192         (__towupper): Likewise.
16194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16195         (lll_unlock_elision): Add adapt_count parameter.
16197 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16199         * sysdeps/nptl/configure.ac: Do not give errors based on the
16200         results of top-level configure tests.
16201         * sysdeps/nptl/configure: Regenerated.
16203         * configure.ac (libc_cv_Bgroup): Remove configure test.
16204         * configure: Regenerated.
16205         * config.make.in (have-Bgroup): Remove variable.
16207         * configure.ac (sizeof_long_double): Remove configure test.
16208         * configure: Regenerated.
16209         * config.make.in (sizeof-long-double): Remove variable.
16211         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16212         * configure: Regenerated.
16213         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16214         variable.
16215         (exceptions): Likewise.
16216         * sysdeps/arm/configure: Regenerated.
16217         * config.make.in (exceptions): Remove variable.
16218         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16219         $(exceptions).
16220         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16221         (CFLAGS-vdprintf_chk.c): Likewise.
16222         (CFLAGS-printf_chk.c): Likewise.
16223         (CFLAGS-fprintf_chk.c): Likewise.
16224         (CFLAGS-vprintf_chk.c): Likewise.
16225         (CFLAGS-vfprintf_chk.c): Likewise.
16226         (CFLAGS-gets_chk.c): Likewise.
16227         (CFLAGS-fgets_chk.c): Likewise.
16228         (CFLAGS-fgets_u_chk.c): Likewise.
16229         (CFLAGS-fread_chk.c): Likewise.
16230         (CFLAGS-fread_u_chk.c): Likewise.
16231         (CFLAGS-wprintf_chk.c): Likewise.
16232         (CFLAGS-fwprintf_chk.c): Likewise.
16233         (CFLAGS-vwprintf_chk.c): Likewise.
16234         (CFLAGS-vfwprintf_chk.c): Likewise.
16235         (CFLAGS-fgetws_chk.c): Likewise.
16236         (CFLAGS-fgetws_u_chk.c): Likewise.
16237         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16238         (CFLAGS-fputc.c): Likewise.
16239         (CFLAGS-fputwc.c): Likewise.
16240         (CFLAGS-freopen64.c): Likewise.
16241         (CFLAGS-freopen.c): Likewise.
16242         (CFLAGS-fseek.c): Likewise.
16243         (CFLAGS-fseeko64.c): Likewise.
16244         (CFLAGS-fseeko.c): Likewise.
16245         (CFLAGS-ftello64.c): Likewise.
16246         (CFLAGS-ftello.c): Likewise.
16247         (CFLAGS-fwide.c): Likewise.
16248         (CFLAGS-genops.c): Likewise.
16249         (CFLAGS-getc.c): Likewise.
16250         (CFLAGS-getchar.c): Likewise.
16251         (CFLAGS-getwc.c): Likewise.
16252         (CFLAGS-getwchar.c): Likewise.
16253         (CFLAGS-iofclose.c): Likewise.
16254         (CFLAGS-iofflush.c): Likewise.
16255         (CFLAGS-iofgetpos64.c): Likewise.
16256         (CFLAGS-iofgetpos.c): Likewise.
16257         (CFLAGS-iofgets.c): Likewise.
16258         (CFLAGS-iofgetws.c): Likewise.
16259         (CFLAGS-iofputs.c): Likewise.
16260         (CFLAGS-iofputws.c): Likewise.
16261         (CFLAGS-iofread.c): Likewise.
16262         (CFLAGS-iofsetpos64.c): Likewise.
16263         (CFLAGS-iofsetpos.c): Likewise.
16264         (CFLAGS-ioftell.c): Likewise.
16265         (CFLAGS-iofwrite.c): Likewise.
16266         (CFLAGS-iogetdelim.c): Likewise.
16267         (CFLAGS-iogetline.c): Likewise.
16268         (CFLAGS-iogets.c): Likewise.
16269         (CFLAGS-iogetwline.c): Likewise.
16270         (CFLAGS-ioputs.c): Likewise.
16271         (CFLAGS-ioseekoff.c): Likewise.
16272         (CFLAGS-ioseekpos.c): Likewise.
16273         (CFLAGS-iosetbuffer.c): Likewise.
16274         (CFLAGS-iosetvbuf.c): Likewise.
16275         (CFLAGS-ioungetc.c): Likewise.
16276         (CFLAGS-ioungetwc.c): Likewise.
16277         (CFLAGS-oldfileops.c): Likewise.
16278         (CFLAGS-oldiofclose.c): Likewise.
16279         (CFLAGS-oldiofgetpos64.c): Likewise.
16280         (CFLAGS-oldiofgetpos.c): Likewise.
16281         (CFLAGS-oldiofsetpos64.c): Likewise.
16282         (CFLAGS-oldiofsetpos.c): Likewise.
16283         (CFLAGS-peekc.c): Likewise.
16284         (CFLAGS-putc.c): Likewise.
16285         (CFLAGS-putchar.c): Likewise.
16286         (CFLAGS-putwc.c): Likewise.
16287         (CFLAGS-putwchar.c): Likewise.
16288         (CFLAGS-rewind.c): Likewise.
16289         (CFLAGS-wfileops.c): Likewise.
16290         (CFLAGS-wgenops.c): Likewise.
16291         (CFLAGS-oldiofopen.c): Likewise.
16292         (CFLAGS-iofopen.c): Likewise.
16293         (CFLAGS-iofopen64.c): Likewise.
16294         (CFLAGS-oldtmpfile.c): Likewise.
16295         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16296         (CFLAGS-fprintf.c): Likewise.
16297         (CFLAGS-printf.c): Likewise.
16298         (CFLAGS-vfwprintf.c): Likewise.
16299         (CFLAGS-vfscanf.c): Likewise.
16300         (CFLAGS-vfwscanf.c): Likewise.
16301         (CFLAGS-fscanf.c): Likewise.
16302         (CFLAGS-scanf.c): Likewise.
16303         (CFLAGS-isoc99_vfscanf.c): Likewise.
16304         (CFLAGS-isoc99_vscanf.c): Likewise.
16305         (CFLAGS-isoc99_fscanf.c): Likewise.
16306         (CFLAGS-isoc99_scanf.c): Likewise.
16307         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16308         (CFLAGS-isoc99_fwscanf.c): Likewise.
16309         (CFLAGS-isoc99_vwscanf.c): Likewise.
16310         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16312         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16313         after mkstemp64.
16314         * login/tst-utmp.c (do_prepare): Likewise.
16315         * rt/tst-aio.c (do_prepare): Likewise.
16316         * rt/tst-aio64.c (do_prepare): Likewise.
16318 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16320         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16321         (__lll_lock_elision): Remove adapt_count decrement...
16322         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16323         (__lll_trylock_elision): Likewise.
16324         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16325         (__lll_unlock_elision): ... to here. And utilize
16326         new adapt_count parameter.
16327         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16328         (__lll_unlock_elision): Update to include adapt_count
16329         parameter.
16330         (lll_unlock_elision): Pass pointer to adapt_count
16331         variable.
16333 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16335         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16336         Add elision adapt_count parameter to list of arguments.
16337         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16338         (lll_unlock_elision): Update with new parameter list
16339         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16340         (lll_unlock_elision): Likewise.
16341         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16342         (lll_unlock_elision): Likewise.
16344 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16346         [BZ #19122]
16347         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16348         attribute_hidden.
16350         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16351         attribute_hidden.
16352         [IS_IN (rtld)] (__strdup): Likewise.
16353         [IS_IN (rtld)] (__strerror_r): Likewise.
16354         [IS_IN (rtld)] (__strsep_g): Likewise.
16355         [IS_IN (rtld)] (memchr): Likewise.
16356         [IS_IN (rtld)] (memcmp): Likewise.
16357         [IS_IN (rtld)] (memcpy): Likewise.
16358         [IS_IN (rtld)] (memmove): Likewise.
16359         [IS_IN (rtld)] (memset): Likewise.
16360         [IS_IN (rtld)] (rawmemchr): Likewise.
16361         [IS_IN (rtld)] (stpcpy): Likewise.
16362         [IS_IN (rtld)] (strchr): Likewise.
16363         [IS_IN (rtld)] (strcmp): Likewise.
16364         [IS_IN (rtld)] (strlen): Likewise.
16365         [IS_IN (rtld)] (strnlen): Likewise.
16366         [IS_IN (rtld)] (strsep): Likewise.
16368         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16369         attribute_hidden.
16370         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16372         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16373         attribute_hidden.
16374         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16376         * include/setjmp.h (__longjmp): Add attribute_hidden.
16377         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16379         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16380         Add attribute_hidden.
16382         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16383         [IS_IN (rtld)] (__open): Likewise.
16384         [IS_IN (rtld)] (__fcntl): Likewise.
16386         * include/dirent.h (__opendirat): Add attribute_hidden.
16387         (__getdents): Likewise.
16388         (__getdents64): Likewise.
16389         (__alloc_dir): Likewise.
16390         [IS_IN (rtld)] (__closedir): Likewise.
16391         [IS_IN (rtld)] (__fdopendir): Likewise.
16392         [IS_IN (rtld)] (__readdir): Likewise.
16393         [IS_IN (rtld)] (__readdir64): Likewise.
16394         [IS_IN (rtld)] (__rewinddir): Likewise.
16396         * include/dlfcn.h (_dl_catch_error): Moved to ...
16397         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16398         attribute_hidden.
16400         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16401         (_itoa_word): Likewise.
16403         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16404         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16405         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16406         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16407         (_dl_higher_prime_number): Likewise.
16408         (_dl_debug_printf_c): Likewise.
16409         (_dl_signal_cerror): Likewise.
16410         (_dl_receive_error): Likewise.
16411         (_dl_reloc_bad_type): Likewise.
16412         (_dl_resolve_conflicts): Likewise.
16413         (_dl_check_all_versions): Likewise.
16414         (_dl_check_map_versions): Likewise.
16415         (_dl_sort_fini): Likewise.
16416         (_dl_debug_initialize): Likewise.
16417         (_dl_init_paths): Likewise.
16418         (_dl_show_auxv): Likewise.
16419         (_dl_next_ld_env_entry): Likewise.
16420         (_dl_important_hwcaps): Likewise.
16421         (_dl_load_cache_lookup): Likewise.
16422         (_dl_update_slotinfo): Likewise.
16423         (_dl_show_scope): Likewise.
16425         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16426         attribute_hidden.
16427         (_wordcopy_fwd_dest_aligned): Likewise.
16428         (_wordcopy_bwd_aligned): Likewise.
16429         (_wordcopy_bwd_dest_aligned): Likewise.
16431         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16432         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16433         Likewise.
16434         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16435         Likewise.
16436         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16438 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16441         GCC 5 requirement.
16443 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16445         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16446         test.
16447         * sysdeps/i386/configure: Regenerated.
16448         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16449         code unconditional.
16451         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16452         test.
16453         (libc_cv_asm_popsection_directive): Likewise.
16454         * configure: Regenerated.
16455         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16456         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16457         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16458         (__make_section_unallocated): Make definition unconditional.
16459         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16460         Remove conditional definition.
16461         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16462         (__make_section_unallocated): Likewise.
16464         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16465         * configure: Regenerated.
16466         * config.make.in (static-libgcc): Remove variable.
16467         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16468         $(static-libgcc).
16469         (build-module-helper): Likewise.
16471         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16472         * configure: Regenerated.
16474 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16476         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16477         (struct char_buffer): New type.
16478         (char_buffer_start, char_buffer_size, char_buffer_error)
16479         (char_buffer_rewind, char_buffer_add): New functions.
16480         (ADDW): Remove macro, replaced by the char_buffer_add function.
16481         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16482         of extend_alloca.  Make control flow more explicit.
16484 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16486         [BZ #19137]
16487         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16488         Add -fomit-frame-pointer.
16489         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16491 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16493         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16494         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16496         only if !__GNUC_PREREQ (5,0).
16497         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16498         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16499         (INTERNAL_SYSCALL_NCS): Likewise.
16500         (LOADREGS_0): New macro for GCC 5.
16501         (ASMARGS_0): Likewise.
16502         (LOADREGS_1): Likewise.
16503         (ASMARGS_1): Likewise.
16504         (LOADREGS_2): Likewise.
16505         (ASMARGS_2): Likewise.
16506         (LOADREGS_3): Likewise.
16507         (ASMARGS_3): Likewise.
16508         (LOADREGS_4): Likewise.
16509         (ASMARGS_4): Likewise.
16510         (LOADREGS_5): Likewise.
16511         (ASMARGS_5): Likewise.
16512         (LOADREGS_6): Likewise.
16513         (ASMARGS_6): Likewise.
16515 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16517         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16518         -fomit-frame-pointer.
16519         (CFLAGS-mmap64.c): Likewise.
16520         (CFLAGS-semtimedop.c): Likewise.
16521         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16522         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16523         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16524         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16526 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16528         [BZ #18928]
16529         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16530         _dl_pointer_guard member.
16531         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16532         initializer.
16533         (security_init): Always set up pointer guard.
16534         (process_envvars): Do not process LD_POINTER_GUARD.
16536 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16538         [BZ #19134]
16539         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16540         (.LC2): Likewise.
16541         (.LC3): Likewise.
16542         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16544 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16546         [BZ #19129]
16547         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16548         r0 and r1.
16550 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16552         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16554 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16556         * include/stap-probe.h: Fix macro definition formatting.
16558 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16560         [BZ #19074]
16561         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16562         load and store num_ifs.
16564 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16566         [BZ #18822]
16567         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16568         (__sched_getaffinity_new): Add libc_hidden_proto and
16569         libc_hidden_def.
16571 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16573         [BZ #19007]
16574         * scripts/localplt.awk: Also allow GOT references.
16575         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16576         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16577         with "+ REL R_386_GLOB_DAT".
16578         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16579         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16581 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16583         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16584         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16585         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16586         Likewise.
16587         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16588         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16589         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16590         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16591         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16592         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16593         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16594         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16595         Likewise.
16596         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16598 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #19125]
16601         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16602         <math_private.h> and <stdint.h>.
16603         (__llround): Avoid conversions to and from long long int, and
16604         subtractions, where those might raise spurious exceptions.
16605         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16606         <math_private.h> and <stdint.h>.
16607         (__llroundf): Avoid conversions to and from long long int, and
16608         subtractions, where those might raise spurious exceptions.
16610 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16612         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16613         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16614         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16615         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16616         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16617         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16618         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16619         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16620         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16621         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16622         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16623         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16624         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16625         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16626         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16627         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16628         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16629         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16630         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16631         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16632         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16633         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16634         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16635         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16636         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16637         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16638         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16639         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16640         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16641         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16642         (__xstat64_conv): Likewise.
16643         (__xstat32_conv): Likewise.
16645 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16647         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16648         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16649         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16650         <sysdeps/unix/sysv/linux/sysdep.h>.
16651         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16652         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16653         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16654         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16655         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16656         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16657         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16658         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16659         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16663         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16664         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16665         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16667         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16668         (sysdep-dl-routines): Add sysdep.
16669         [$(subdir) == nptl] (libpthread-routines): Likewise.
16670         [$(subdir) == rt] (librt-routines): Likewise.
16671         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16672         PIC when branching to SYSCALL_ERROR_LABEL.
16673         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16675         <sysdeps/unix/sysv/linux/sysdep.h>.
16676         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16677         (SYSCALL_ERROR_ERRNO): Removed.
16678         (SYSCALL_ERROR_HANDLER): Changed to empty.
16679         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16680         (__syscall_error): New prototype.
16681         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16682         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16684 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16686         [BZ #19124]
16687         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16688         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16689         _dl_runtime_resolve_avx.
16690         (_dl_runtime_profile_avx512): Make it a hidden alias of
16691         _dl_runtime_profile_avx.
16693 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16695         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16696         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16697         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16698         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16700         [BZ #16422]
16701         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16702         New configure test.
16703         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16704         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16705         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16706         <math_private.h> and <stdint.h>.
16707         (__llrint): Avoid conversions to long long int where those might
16708         raise spurious exceptions.
16709         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16710         <math_private.h> and <stdint.h>.
16711         (__llrintf): Avoid conversions to long long int where those might
16712         raise spurious exceptions.
16714 2015-10-12  Andreas Schwab  <schwab@suse.de>
16716         [BZ #18969]
16717         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16718         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16719         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16720         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16721         $(gen-locales).
16722         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16723         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16724         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16725         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16726         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16727         $(gen-locales).
16728         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16729         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16730         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16731         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16732         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16733         ($(objpfx)tst-ftell-active-handler.out)
16734         ($(objpfx)tst-ftell-append.out)
16735         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16736         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16737         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16738         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16739         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16740         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16741         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16742         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16743         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16744         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16745         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16746         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16747         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16748         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16749         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16750         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16751         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16752         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16753         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16754         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16755         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16756         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16757         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16758         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16759         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16760         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16761         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16762         $(gen-locales).
16763         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16764         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16765         $(gen-locales).
16766         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16767         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16768         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16769         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16770         $(gen-locales).
16771         * libio/tst_wprintf2.c (main): Use explicit locale.
16772         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16774 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16776         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16777         __msg_sig_post.
16778         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16780 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16782         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16783         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16785         * sysdeps/arm/libm-test-ulps: Regenerated.
16787         [BZ #15470]
16788         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16790         [BZ #16399]
16791         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16792         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16793         and <fix-fp-int-convert-overflow.h>.
16794         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16795         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16796         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16797         and <fix-fp-int-convert-overflow.h>.
16798         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16799         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16800         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16801         <fix-fp-int-convert-overflow.h>.
16802         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16803         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16804         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16805         <fix-fp-int-convert-overflow.h>.
16806         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16807         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16808         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16809         and <fix-fp-int-convert-overflow.h>.
16810         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16811         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16812         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16813         <limits.h> and <fix-fp-int-convert-overflow.h>.
16814         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16815         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16816         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16817         and <fix-fp-int-convert-overflow.h>.
16818         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16819         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16820         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16821         and <fix-fp-int-convert-overflow.h>.
16822         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16823         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16824         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16826 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16828         [BZ #18589]
16829         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16830         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16831         $(gen-locales).
16833 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16834             Phil Blundell <pb@pbcl.net>
16836         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16837         * nptl/tst-cancel26.c: New file.
16838         * nptl/tst-cancel27.c: Likewise.
16840 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16842         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16843         __ILP32__ isn't defined.
16844         (lrint): Likewise.
16845         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16846         (lrintf): Likewise.
16847         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16848         (lrintl): Likewise.
16849         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16850         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16851         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16853 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16855         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16856         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16858         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16859         file.
16860         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16861         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16863 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16865         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16866         configure test.
16867         * sysdeps/i386/configure: Regenerated.
16868         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16869         configure test.
16870         * sysdeps/x86_64/configure: Regenerated.
16871         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16872         Make code unconditional.
16874         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16875         test.
16876         * sysdeps/i386/configure: Regenerated.
16877         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16878         test.
16879         * sysdeps/x86_64/configure: Regenerated.
16880         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16881         Make code unconditional.
16882         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16883         Likewise.
16884         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16885         Likewise.
16886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16887         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16888         code unconditional.
16889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16890         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16891         code unconditional.
16892         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16893         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16894         code unconditional.
16895         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16896         code unconditional.
16897         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16898         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16899         code unconditional.
16900         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16901         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16902         code unconditional.
16903         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16904         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16905         code unconditional.
16906         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16907         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16908         code unconditional.
16909         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16910         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16912         [BZ #19095]
16913         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16914         mantissa to long int before shifting left.
16916 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16918         [BZ #19094]
16919         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16920         <limits.h>.
16921         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16922         when result overflows but exception would not result from cast.
16923         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16924         <limits.h>.
16925         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16926         when result overflows but exception would not result from cast.
16927         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16928         <limits.h>.
16929         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16930         when result overflows but exception would not result from cast.
16931         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16932         <limits.h>.
16933         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16934         when result overflows but exception would not result from cast.
16935         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16936         <limits.h>.
16937         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16938         when result overflows but exception would not result from cast.
16939         * math/libm-test.inc (lrint_test_data): Add more tests.
16940         (llrint_test_data): Likewise.
16942 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16944         [BZ #18872]
16945         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16946         Move out from under [$(run-built-tests) = yes] conditional.
16947         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16948         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16950 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16952         [BZ #18589]
16953         * string/Makefile (tests): Add bug-strcoll2.
16954         (LOCALES): Add cs_CZ.UTF-8.
16955         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16957         [BZ #18589]
16958         * string/bug-strcoll2.c: New file.
16959         * locale/categories.def: Revert commit
16960         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16961         * locale/langinfo.h: Likewise.
16962         * locale/localeinfo.h: Likewise.
16963         * locale/C-collate.c: Likewise.
16964         * locale/programs/ld-collate.c (collate_output): Likewise.
16965         * string/strcoll_l.c (STRDIFF): Likewise.
16966         (STRCOLL): Likewise.
16967         * wcsmbs/wcscoll_l.c: Likewise.
16969 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16971         * math/libm-test.inc (lround_test_data): Do not expect the absence
16972         of "inexact" for some tests with non-integer arguments.
16973         (llround_test_data): Likewise.
16975         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16976         test.
16977         (libc_cv_cc_sse2avx): Likewise.
16978         * sysdeps/i386/configure: Regenerated.
16979         * sysdeps/i386/i686/multiarch/Makefile
16980         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16981         [$(subdir) = math].
16982         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16983         code unconditional.
16984         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16985         Likewise.
16986         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16987         Likewise.
16988         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16989         Likewise.
16990         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16991         test.
16992         (libc_cv_cc_sse2avx): Likewise.
16993         * sysdeps/x86_64/configure: Regenerated.
16994         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16995         unconditional.
16996         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16997         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16998         unconditional.
16999         (_dl_runtime_profile)
17000         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17001         conditional code.
17002         * sysdeps/x86_64/fpu/multiarch/Makefile
17003         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17004         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17006         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17007         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17008         * sysdeps/x86_64/fpu/multiarch/e_log.c
17009         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17010         * sysdeps/x86_64/fpu/multiarch/s_atan.c
17011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17012         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17013         Likewise.
17014         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17015         Likewise.
17016         * sysdeps/x86_64/fpu/multiarch/s_sin.c
17017         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17018         * sysdeps/x86_64/fpu/multiarch/s_tan.c
17019         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17020         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17021         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17022         (HAVE_SSE2AVX_SUPPORT): Likewise.
17024 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
17026         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17027         instead of #pragma optimize.
17029 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17031         [BZ #17195]
17032         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17033         as is similarly done in systrim and _int_free already.
17035 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17037         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17039 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #19088]
17042         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17043         <limits.h>.
17044         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17045         overflows but exception would not result from cast.
17046         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17047         and <limits.h>.
17048         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17049         overflows but exception would not result from cast.
17050         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17051         <limits.h>.
17052         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17053         overflows but exception would not result from cast.
17054         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17055         <limits.h>.
17056         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17057         overflows but exception would not result from cast.
17058         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17059         <limits.h>.
17060         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17061         overflows but exception would not result from cast.
17062         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17063         <limits.h>.
17064         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17065         overflows but exception would not result from cast.
17066         * math/libm-test.inc (lround_test_data): Add more tests.
17067         (llround_test_data): Likewise.
17069 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17071         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17072         (CFLAGS-ialloc.c): Ditto.
17073         (CFLAGS-scheck.c): Ditto.
17075 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17077         [BZ #19086]
17078         * manual/filesys.texi (Storage Allocation): Fix argument order for
17079         posix_fallocate64.
17081 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17083         [BZ #19085]
17084         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17085         exponent below 48 inside case for non-overflowing exponent.
17086         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17088 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17090         * iconvdata/cp737.h (from_idx): Add const.
17091         * iconvdata/cp775.h (from_idx): Likewise.
17093 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17095         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17096         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17097         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17099         [BZ #19079]
17100         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17101         file, conditioned on [!_LP64].
17102         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17103         [!_LP64] (__lround): Do not define as function or alias.
17104         [!_LP64] (lround): Likewise.
17105         [!_LP64] (__lroundl): Likewise.
17106         [!_LP64] (lroundl): Likewise.
17107         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17108         macro.
17109         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17110         Likewise.
17112 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17114         * math/libm-test.inc (lrint_test_data): Add more tests.
17115         (llrint_test_data): Likewise.
17116         (lround_test_data): Likewise.
17117         (llround_test_data): Likewise.
17119         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17120         (llrint_test_data): Add tests used for lrint.
17122         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17123         test.
17124         * sysdeps/i386/configure: Regenerated.
17125         * sysdeps/i386/i686/multiarch/Makefile
17126         [$(config-cflags-sse4) = yes]: Make code unconditional.
17127         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17128         Likewise.
17129         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17130         Likewise.
17131         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17132         test.
17133         * sysdeps/x86_64/configure: Regenerated.
17134         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17135         Make code unconditional.
17136         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17137         Likewise.
17138         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17139         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17141         * scripts/rpm2dynsym.sh: Remove file.
17143 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17145         * configure.ac (libc_cv_cxx_thread_local): Define.
17146         * configure: Regenerate.
17147         * config.make.in (have-cxx-thread_local): Define.
17148         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17149         (LDLIBS-tst-thread_local1): Define.
17150         (tests): Add tst-thread_local1.
17151         [have-cxx-thread_local != yes] (tests-unsupported): Add
17152         tst-thread_local1.
17153         * nptl/tst-thread_local1.cc: New file.
17155 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17157         [BZ #19078]
17158         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17159         (u_thres): Likewise.
17160         (__expl): Determine whether to call __kernel_standard_l based on
17161         value of result, not argument.
17163         * math/libm-test.inc (scalb_test_data): Add more expectations for
17164         the "inexact" exception.
17166         [BZ #19077]
17167         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17168         0.0L for argument 1.0L.
17170         [BZ #19076]
17171         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17172         constant 0.0L when computing infinite result.
17174 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17176         [BZ #10432]
17177         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17178         malloc_usable_size.
17180 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17182         [BZ #19018]
17183         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17184         Mangle function pointer before storing it.
17185         (__call_tls_dtors): Demangle function pointer before calling it.
17187 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17189         [BZ #19012]
17190         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17191         Clean up on failure.
17193 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17195         [BZ #19071]
17196         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17197         long int variable to store possibly incremented high part of
17198         mantissa.
17199         * math/libm-test.inc (lround_test_data): Add tests used for
17200         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17201         for tests requiring 64-bit long.  Do not condition tests on
17202         [TEST_FLOAT] unnecessarily.
17203         (llround_test_data): Add tests used for lround.  Add another
17204         expectation for the "inexact" exception.  Do not condition tests
17205         on [TEST_FLOAT] unnecessarily.
17207         [BZ #887]
17208         [BZ #19049]
17209         [BZ #19050]
17210         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17211         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17212         <fix-int-fp-convert-zero.h>.
17213         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17214         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17215         <fix-int-fp-convert-zero.h>.
17216         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17217         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17218         <fix-int-fp-convert-zero.h>.
17219         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17220         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17221         <fix-int-fp-convert-zero.h>.
17222         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17223         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17224         <fix-int-fp-convert-zero.h>.
17225         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17226         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17227         <fix-int-fp-convert-zero.h>.
17228         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17229         * sysdeps/ieee754/flt-32/s_erff.c: Include
17230         <fix-int-fp-convert-zero.h>.
17231         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17232         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17233         <fix-int-fp-convert-zero.h>.
17234         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17236         <fix-int-fp-convert-zero.h>.
17237         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17239         <fix-int-fp-convert-zero.h>.
17240         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17241         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17242         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17243         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17244         file.
17245         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17247 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17251 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17253         [BZ #19059]
17254         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17255         overflowing computation.
17256         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17257         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17258         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17259         Likewise.
17260         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17261         Likewise.
17262         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17263         Likewise.
17264         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17265         Likewise.
17266         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17267         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17268         Likewise.
17269         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17270         Likewise.
17271         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17273         * nss/rewrite_field.c (__nss_rewrite_field): Use
17274         internal_function.
17275         * nss/valid_field.c (__nss_valid_field): Likewise.
17276         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17278 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17280         [BZ #18724]
17281         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17282         (__nss_invalid_field_characters, __nss_valid_field)
17283         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17284         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17285         tst-field.c: New file.
17286         * nss/Makefile (routines): Add valid_field, rewrite_field.
17287         (tests-static): Define unconditionally.
17288         (tests): Include tests-static.
17289         [build-static-nss] (tests-static): Use append.
17290         [build-static-nss] (tests): Remove modification.
17291         * nss/getent.c (print_group): Call putgrent.  Report error.
17292         (print_gshadow): Call putsgent.  Report error.
17293         (print_passwd): Call putpwent.  Report error.
17294         (print_shadow): Call putspent.  Report error.
17295         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17296         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17297         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17298         name, password, directory, shell fields for valid syntax.  Rewrite
17299         GECOS field to match syntax.
17300         * pwd/Makefile (tests): Add tst-putpwent.
17301         * pwd/tst-putpwent.c: New file.
17302         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17303         Check grName, grpasswd, gr_mem fields for valid syntax.
17304         Change loop variable i to size_t.
17305         * grp/Makefile (tests): Add tst-putgrent.
17306         * grp/tst-putgrent.c: New file.
17307         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17308         valid syntax.
17309         * shadow/Makefile (tests): Add tst-putspent.
17310         * shadow/tst-putspent.c: New file.
17311         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17312         sg_mem fields for valid syntax.
17313         * gshadow/Makefile (tests): Add tst-putsgent.
17314         * gshadow/tst-putsgent.c: New file.
17316 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17318         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17319         assembly instructions.
17321 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17323         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17324         prefix from operands.
17326 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17328         [BZ #16347]
17329         [BZ #19046]
17330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17331         <libc-internal.h>.
17332         (MAXLGM): Do not use diagnostic control macros.
17333         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17334         threshold for ldbl-128ibm.
17335         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17336         instead of multiplying by log then subtracting.
17337         * math/auto-libm-test-in: Add more tests of lgamma.
17338         * math/auto-libm-test-out: Regenerated.
17340         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17341         (TYPE_HEX_DIG): Likewise.
17342         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17343         precisions when printing floating-point numbers.
17344         (check_float_internal): Likewise.
17346 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #16620]
17349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17350         of log (10) rounded downward to 48 bits.
17351         (log10_low): Use corresponding low part of log (10).
17353         [BZ #19032]
17354         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17355         compute result as (x - x) / (x - x) not as 0 / 0.
17356         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17357         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17359         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17360         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17361         and expm1.
17362         * math/auto-libm-test-out: Regenerated.
17363         * math/libm-test.inc (acos_test_data): Add more tests.
17364         (asin_test_data): Likewise.
17365         (asinh_test_data): Likewise.
17366         (atan_test_data): Likewise.
17367         (atanh_test_data): Likewise.
17368         (atan2_test_data): Likewise.
17369         (cbrt_test_data): Likewise.
17370         (ceil_test_data): Likewise.
17371         (copysign_test_data): Likewise.
17372         (cos_test_data): Likewise.
17373         (cosh_test_data): Likewise.
17374         (erf_test_data): Likewise.
17375         (erfc_test_data): Likewise.
17376         (exp_test_data): Likewise.
17377         (exp10_test_data): Likewise.
17378         (exp2_test_data): Likewise.
17379         (expm1_test_data): Likewise.
17380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17382 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17384         [BZ #19006]
17385         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17386         to ...
17387         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17388         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17389         to ...
17390         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17391         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17392         to ...
17393         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17394         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17395         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17396         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17397         to ...
17398         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17399         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17400         Moved to ...
17401         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17403         Moved to ...
17404         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17406         to ...
17407         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17408         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17409         Moved to ...
17410         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17411         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17412         to ...
17413         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17414         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17415         Removed.
17416         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17417         Likewise.
17418         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17419         Likewise.
17420         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17421         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17422         Likewise.
17423         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17424         Likewise.
17425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17426         Likewise.
17427         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17428         Likewise.
17429         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17430         Likewise.
17431         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17432         Likewise.
17433         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17434         Likewise.
17435         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17436         Likewise.
17437         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17438         Likewise.
17439         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17440         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17443         Likewise.
17444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17445         Likewise.
17446         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17447         Likewise.
17448         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17449         Likewise.
17450         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17451         Replace ../i486/pthread_cond_timedwait.S with
17452         ../pthread_cond_timedwait.S.
17454 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17456         * math/libm-test.inc (acos_test_data): Refine expectations for
17457         errno and "inexact" exceptions.
17458         (acosh_test_data): Likewise.
17459         (asin_test_data): Likewise.
17460         (asinh_test_data): Likewise.
17461         (atan_test_data): Likewise.
17462         (atanh_test_data): Likewise.
17463         (atan2_test_data): Likewise.
17464         (cbrt_test_data): Likewise.
17465         (ceil_test_data): Likewise.
17466         (copysign_test_data): Likewise.
17467         (cosh_test_data): Likewise.
17468         (erf_test_data): Likewise.
17469         (erfc_test_data): Likewise.
17470         (exp_test_data): Likewise.
17471         (exp10_test_data): Likewise.
17472         (exp2_test_data): Likewise.
17473         (expm1_test_data): Likewise.
17474         (fabs_test_data): Likewise.
17475         (floor_test_data): Likewise.
17476         (fma_test_data): Likewise.
17477         (fmax_test_data): Likewise.
17478         (fmin_test_data): Likewise.
17479         (fmod_test_data): Likewise.
17480         (fpclassify_test_data): Likewise.
17481         (frexp_test_data): Likewise.
17482         (hypot_test_data): Likewise.
17483         (ilogb_test_data): Likewise.
17484         (isgreater_test_data): Likewise.
17485         (isgreaterequal_test_data): Likewise.
17486         (isinf_test_data): Likewise.
17487         (isless_test_data): Likewise.
17488         (islessequal_test_data): Likewise.
17489         (islessgreater_test_data): Likewise.
17490         (isnan_test_data): Likewise.
17491         (isnormal_test_data): Likewise.
17492         (issignaling_test_data): Likewise.
17493         (isunordered_test_data): Likewise.
17494         (j0_test_data): Likewise.
17495         (j1_test_data): Likewise.
17496         (jn_test_data): Likewise.
17497         (lgamma_test_data): Likewise.
17498         (lrint_test_data): Likewise.
17499         (llrint_test_data): Likewise.
17500         (log_test_data): Likewise.
17501         (log10_test_data): Likewise.
17502         (log1p_test_data): Likewise.
17503         (log2_test_data): Likewise.
17504         (logb_test_data): Likewise.
17505         (lround_test_data): Likewise.
17506         (llround_test_data): Likewise.
17507         (modf_test_data): Likewise.
17508         (nearbyint_test_data): Likewise.
17509         (nextafter_test_data): Likewise.
17510         (nexttoward_test_data): Likewise.
17511         (pow_test_data): Likewise.
17512         (remainder_test_data): Likewise.
17513         (remquo_test_data): Likewise.
17514         (rint_test_data): Likewise.
17515         (round_test_data): Likewise.
17516         (signbit_test_data): Likewise.
17517         (sinh_test_data): Likewise.
17518         (sqrt_test_data): Likewise.
17519         (tanh_test_data): Likewise.
17520         (tgamma_test_data): Likewise.
17521         (trunc_test_data): Likewise.
17522         (y0_test_data): Likewise.
17523         (y1_test_data): Likewise.
17524         (yn_test_data): Likewise.
17525         (significand_test_data): Likewise.
17527 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17529         * manual/filesys.texi (Storage Allocation): Document that
17530         posix_fallocate emulation fails when fd is open with O_WRONLY.
17532 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17534         [BZ #19016]
17535         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17536         allow more cases with X^2 + Y^2 >= 0.5.
17537         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17538         normal element in sum instead of special-casing based on values of
17539         arguments.
17540         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17541         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17542         -1 as normal element in sum instead of special-casing based on
17543         values of arguments.
17544         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17545         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17546         (__x2y2m1): Update comment.
17547         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17548         as normal element in sum instead of special-casing based on values
17549         of arguments.
17550         * math/s_clog.c (__clog): Handle more cases using log1p without
17551         hypot.
17552         * math/s_clog10.c (__clog10): Likewise.
17553         * math/s_clog10f.c (__clog10f): Likewise.
17554         * math/s_clog10l.c (__clog10l): Likewise.
17555         * math/s_clogf.c (__clogf): Likewise.
17556         * math/s_clogl.c (__clogl): Likewise.
17557         * math/auto-libm-test-in: Add more tests of clog and clog10.
17558         * math/auto-libm-test-out: Regenerated.
17559         * sysdeps/i386/fpu/libm-test-ulps: Update.
17560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17562 2015-09-28  Martin Sebor  <msebor@redhat.com>
17564         [BZ #18969]
17565         * string/Makefile (LOCALES): Define.
17566         (gen-locales.mk): Include.
17567         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17568         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17569         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17570         on setlocale failure.
17572 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17574         [BZ #18985]
17575         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17576         (__strftime_internal): Likewise.
17577         * time/tst-strftime.c (do_bz18985): New test.
17578         (do_test): Call it.
17580 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17582         [BZ #18956]
17583         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17584         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17585         extracting high part.
17586         * math/auto-libm-test-in: Add another test of pow.
17587         * math/auto-libm-test-out: Regenerated.
17588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17590 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17592         [BZ #18825]
17593         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17594         New macro.
17595         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17596         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17597         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17598         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17599         DBL_NARROW_EVAL, reloading the PIC register as needed.
17600         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17601         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17602         FLT_NARROW_EVAL.  Use separate return path for case when first
17603         argument is NaN.
17604         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17605         DEFINE_LDBL_MIN.
17606         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17607         PIC register.
17608         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17609         math_check_force_underflow_nonneg.
17610         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17611         underflow for subnormal result.
17612         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17614         math_check_force_underflow_nonneg.
17615         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17616         math_check_force_underflow.
17617         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17618         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17619         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17620         DEFINE_LDBL_MIN.
17621         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17622         * math/auto-libm-test-in: Add more tests of pow.
17623         * math/auto-libm-test-out: Regenerated.
17625 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17627         * nss/bug17079.c (init_test_items): Add diagnostic for
17628         inconsistent entries.
17629         (test_buffer_size): Skip inconsistent entries.
17631 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17633         [BZ #13304]
17634         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17635         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17636         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17638         [BZ #13304]
17639         * sysdeps/microblaze/s_fma.c: New file.
17640         * sysdeps/microblaze/s_fmaf.c: Likewise.
17641         * sysdeps/microblaze/sfp-machine.h: Likewise.
17643 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17645         [BZ #17250]
17646         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17647         member.
17649 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17651         [BZ #18803]
17652         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17653         (MO): New macro.
17654         (__ieee754_hypot) [PIC]: Load PIC register.
17655         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17656         DBL_NARROW_EVAL.
17657         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17658         math_check_force_underflow_nonneg in case where result might be
17659         tiny.
17660         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17661         Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17663         Likewise.
17664         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17665         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17666         * math/auto-libm-test-in: Add more tests of hypot.
17667         * math/auto-libm-test-out: Regenerated.
17669 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17671         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17673 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17675         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17676         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17677         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17678         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17679         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17680         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17681         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17683         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17684         LOAD_PIC_REG.
17686         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17687         (FLT_CHECK_FORCE_UFLOW): Likewise.
17688         (DBL_CHECK_FORCE_UFLOW): Likewise.
17689         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17690         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17691         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17692         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17693         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17694         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17695         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17696         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17697         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17698         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17699         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17700         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17701         (flt_min): Replace with use of DEFINE_FLT_MIN.
17702         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17703         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17704         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17705         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17706         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17707         (flt_min): Replace with use of DEFINE_FLT_MIN.
17708         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17709         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17710         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17711         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17712         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17713         (flt_min): Replace with use of DEFINE_FLT_MIN.
17714         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17715         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17716         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17717         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17718         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17719         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17720         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17721         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17723         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17724         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17725         (flt_min): Replace with use of DEFINE_FLT_MIN.
17726         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17727         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17728         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17729         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17730         main computation.
17731         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17732         (flt_min): Replace with use of DEFINE_FLT_MIN.
17733         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17734         main computation.
17735         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17736         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17737         (MO): New macro.
17738         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17739         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17740         (flt_min): Replace with use of DEFINE_FLT_MIN.
17741         (MO): New macro.
17742         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17743         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17744         (__log1pl): Use MO.
17746         [BZ #19003]
17747         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17748         $(config-cflags-nofma).
17750 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17752         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17754 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17756         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17757         (TWO127): Likewise.
17759         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17760         (min_of_type): Likewise.
17761         (math_check_force_underflow): Likewise.
17762         (math_check_force_underflow_nonneg): Likewise.
17763         (math_check_force_underflow_complex): Likewise.
17764         * math/e_exp2l.c (__ieee754_exp2l): Use
17765         math_check_force_underflow_nonneg.
17766         * math/k_casinh.c (__kernel_casinh): Likewise.
17767         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17768         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17769         * math/s_catan.c (__catan): Use
17770         math_check_force_underflow_complex.
17771         * math/s_catanf.c (__catanf): Likewise.
17772         * math/s_catanh.c (__catanh): Likewise.
17773         * math/s_catanhf.c (__catanhf): Likewise.
17774         * math/s_catanhl.c (__catanhl): Likewise.
17775         * math/s_catanl.c (__catanl): Likewise.
17776         * math/s_ccosh.c (__ccosh): Likewise.
17777         * math/s_ccoshf.c (__ccoshf): Likewise.
17778         * math/s_ccoshl.c (__ccoshl): Likewise.
17779         * math/s_cexp.c (__cexp): Likewise.
17780         * math/s_cexpf.c (__cexpf): Likewise.
17781         * math/s_cexpl.c (__cexpl): Likewise.
17782         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17783         * math/s_clog10.c (__clog10): Likewise.
17784         * math/s_clog10f.c (__clog10f): Likewise.
17785         * math/s_clog10l.c (__clog10l): Likewise.
17786         * math/s_clogf.c (__clogf): Likewise.
17787         * math/s_clogl.c (__clogl): Likewise.
17788         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17789         * math/s_csinf.c (__csinf): Likewise.
17790         * math/s_csinh.c (__csinh): Likewise.
17791         * math/s_csinhf.c (__csinhf): Likewise.
17792         * math/s_csinhl.c (__csinhl): Likewise.
17793         * math/s_csinl.c (__csinl): Likewise.
17794         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17795         * math/s_csqrtf.c (__csqrtf): Likewise.
17796         * math/s_csqrtl.c (__csqrtl): Likewise.
17797         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17798         * math/s_ctanf.c (__ctanf): Likewise.
17799         * math/s_ctanh.c (__ctanh): Likewise.
17800         * math/s_ctanhf.c (__ctanhf): Likewise.
17801         * math/s_ctanhl.c (__ctanhl): Likewise.
17802         * math/s_ctanl.c (__ctanl): Likewise.
17803         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17804         instead of volatile.
17805         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17806         math_check_force_underflow.
17807         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17808         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17809         volatile when forcing underflow.
17810         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17811         math_check_force_underflow_nonneg.
17812         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17813         Likewise.
17814         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17815         math_check_force_underflow.
17816         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17817         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17818         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17819         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17820         math_check_force_underflow_nonneg.
17821         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17822         math_check_force_underflow.
17823         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17825         instead of volatile.
17826         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17827         math_check_force_underflow.
17828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17829         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17830         math_check_force_underflow_nonneg.
17831         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17832         math_check_force_underflow.
17833         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17834         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17835         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17836         math_check_force_underflow_nonneg.
17837         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17838         Likewise.
17839         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17840         math_check_force_underflow.
17841         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17842         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17843         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17844         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17845         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17846         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17847         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17848         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17849         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17850         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17851         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17852         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17853         Likewise.
17854         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17855         math_check_force_underflow_nonneg.
17856         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17857         Likewise.
17858         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17859         math_check_force_underflow.
17860         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17861         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17862         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17863         Likewise.
17864         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17865         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17866         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17867         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17868         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17869         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17871         instead of volatile.
17872         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17873         math_check_force_underflow.
17874         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17876         math_check_force_underflow.
17877         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17878         Likewise.
17879         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17880         Use math_check_force_underflow_nonneg.
17881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17882         math_check_force_underflow.
17883         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17884         Likewise.
17885         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17886         Likewise.
17887         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17888         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17889         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17890         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17893         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17894         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17895         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17896         math_check_force_underflow_nonneg.
17897         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17898         math_check_force_underflow.
17899         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17900         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17901         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17902         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17903         math_check_force_underflow_nonneg.
17904         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17905         math_check_force_underflow.
17906         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17908         instead of volatile.
17909         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17910         math_check_force_underflow.
17912         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17913         * stdlib/strtod_l.c: Include <math_private.h>.
17914         (overflow_value): Use math_narrow_eval.
17915         (underflow_value): Likewise.
17916         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17917         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17918         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17919         (__ieee754_gamma_r): Likewise.
17920         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17921         Likewise.
17922         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17923         Likewise.
17924         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17925         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17926         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17927         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17928         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17929         (__ieee754_gammaf_r): Likewise.
17930         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17931         Likewise.
17932         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17933         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17934         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17935         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17936         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17937         volatile.
17938         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17940         math_narrow_eval.
17941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17942         Likewise.
17943         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17944         Likewise.
17945         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17946         Likewise.
17947         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17948         volatile.
17949         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17950         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17951         math_narrow_eval.
17952         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17953         Likewise.
17954         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17955         Likewise.
17957 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17959         * nptl/Versions: Remove ignored symbols.
17961 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17963         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17964         * nss/Makefile (tests): Update.
17966 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17968         * nss/bug18287.c: New file.
17969         * nss/Makefile (tests): Add bug18287.
17971 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17973         * mach/Versions (__mach_host_self_): Add symbol.
17975 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17977         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17978         vm_page_size.
17980 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17982         Really fix sysdeps/i386/fpu/s_scalbn.S build
17984         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17985         (libc: GLIBC_2_22): Remove unused version set.
17987 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17989         * config.make.in (enable-timezone-tools): New variable.
17990         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17991         (enable_timezone_tools): Export to generated files.
17992         * configure: Regenerate.
17993         * INSTALL: Regenerate.
17994         * manual/install.texi (--disable-timezone-tools): Document new flag.
17995         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17996         ifeq ($(enable-timezone-tools),yes) check.
17998 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18000         * timezone/Makefile: Revert previous change.
18002         [BZ #18980]
18003         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18004         (DEFINE_DBL_MIN): Likewise.
18005         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18006         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18007         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18008         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18009         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18010         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18011         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18012         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18013         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18014         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18015         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18016         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18017         (flt_min): Replace with use of DEFINE_FLT_MIN.
18018         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18019         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18020         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18021         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18022         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18023         (flt_min): Replace with use of DEFINE_FLT_MIN.
18024         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18025         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18026         (flt_min): Replace with use of DEFINE_FLT_MIN.
18027         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18028         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18029         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18030         (__ieee754_hypot): Use DBL_NARROW_EVAL.
18031         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18032         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18033         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18034         (__ieee754_pow): Use DBL_NARROW_EVAL.
18035         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18036         (__ieee754_powf): Use FLT_NARROW_EVAL.
18037         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18038         (__ieee754_expf_sse2): Convert double-precision result to single
18039         precision.
18040         * sysdeps/i386/fpu/libm-test-ulps: Update.
18042 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18044         * timezone/Makefile: Ignore unused variable errors due to private.h
18045         (time_t_min) and (time_t_max).
18046         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18047         Likewise.
18049 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18051         [BZ #18981]
18052         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18053         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18054         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18055         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18056         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18057         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18058         (__scalbn): Use DBL_NARROW_EVAL.
18059         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18060         (__scalbnf): Use FLT_NARROW_EVAL.
18062 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18064         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18065         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18066         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18067         * stdio-common/printf_fp.c (___printf_fp):
18068         Use signbit to get the sign. Use isinf macro to allow inlining.
18069         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18070         * stdio-common/printf_size.c (__printf_size): Likewise.
18072 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18074         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18076 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18078         [BZ #18980]
18079         * sysdeps/generic/math_private.h: Include <float.h>.
18080         (math_narrow_eval): New macro.
18081         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18082         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18083         math_narrow_eval on overflowing return value.
18084         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18085         Likewise.
18086         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18087         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18088         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18089         Likewise.
18090         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18092 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18094         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18095         * math/Makefile: Remove isinf_ns.c.
18096         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18097         * math/multc3.c (__multc3): Likewise.
18098         * math/s_casin.c (__casin): Likewise.
18099         * math/s_casinf.c (__casinf): Likewise.
18100         * math/s_casinl.c (__casinl): Likewise.
18101         * math/s_cproj.c (__cproj): Likewise.
18102         * math/s_cprojf.c (__cprojf): Likewise.
18103         * math/s_cprojl.c (__cprofl): Likewise.
18104         * math/s_ctan.c (__ctan): Likewise.
18105         * math/s_ctanf.c (__ctanf): Likewise.
18106         * math/s_ctanh.c (__ctanh): Likewise.
18107         * math/s_ctanhf.c (__ctanhf): Likewise.
18108         * math/s_ctanhl.c (__ctanhl): Likewise.
18109         * math/s_ctanl.c (__ctanl): Likewise.
18110         * math/w_fmod.c (__fmod): Likewise.
18111         * math/w_fmodf.c (__fmodf): Likewise.
18112         * math/w_fmodl.c (_fmodl): Likewise.
18113         * math/w_remainder.c (__remainder): Likewise.
18114         * math/w_remainderf.c (__remainderf): Likewise.
18115         * math/w_remainderl.c (__remainderl): Likewise.
18116         * math/w_scalb.c (__scalb): Likewise.
18117         * math/w_scalbf.c (__scalbf): Likewise.
18118         * math/w_scalbl.c (__scalbl): Likewise.
18119         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18120         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18121         with isinf.
18122         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18123         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18124         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18125         __isinf_nsf with isinf.
18126         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18127         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18128         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18129         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18130         with isinf.
18131         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18132         __isinf_nsl with isinf.
18133         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18134         with isinf.
18135         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18136         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18137         __isinf_nsl with isinf.
18138         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18139         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18140         with isinf.
18142 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18144         * resolv/base64.c (rcsid): Remove unused static.
18145         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18146         static.  (tqpi1): Likewise.
18147         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18148         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18149         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18150         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18152         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18154         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18155         Likewise.
18157 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18159         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18160         <nptl/pthreadP.h>.
18161         (_longjmp_unwind): Use __libc_ptf_call.
18162         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18164 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18166         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18167         * sysdeps/arm/__longjmp.S: Likewise.
18169 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18171         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18172         Use __builtin_signbit.
18173         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18174         Use __builtin_signbitf.
18175         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18176         Use __builtin_signbitl.
18177         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18178         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18180 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18182         [BZ #15367]
18183         [BZ #17441]
18185         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18186         * math/math.h (fpclassify): Use __builtin_fpclassify when
18187         available.  (signbit): Use __builtin_signbit(f/l).
18188         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18189         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18190         (isinf): Use __builtin_isinf_sign.
18192 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18194         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18195         * benchtests/bench-math-inlines.c: New benchmark.
18196         * benchtests/bench-util.h: New file.
18197         * benchtests/bench-util.c: New file.
18198         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18200 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18202         * elf/tst-dlmopen1.c: Define TEST_SO.
18203         (do_test): Use TEST_SO.
18205         * elf/dl-load.c: Include libc-internal.h.
18206         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18208 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18210         [BZ #17887]
18211         * time/strptime_l.c (__strptime_internal): Make %z accept
18212         [+-]HH:MM time zones.
18214 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18216         [BZ #17886]
18217         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18218         valid time zone.
18220 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18222         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18223         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18225         (__ASSUME_FDATASYNC): Delete.
18227 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18229         * conform/linknamespace.pl: Require weak undefined symbols to be
18230         in the standard namespace.
18231         (%strong_syms): Rename to %seen_syms.
18232         (%strong_seen): Rename to %seen_where.
18234 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18236         [BZ #18970]
18237         * misc/error.c (error): Replace pthread_setcancelstate with
18238         __pthread_setcancelstate.
18239         (error_at_line): Likewise.
18240         * posix/wordexp.c (parse_comm): Likewise.
18241         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18242         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18243         (__pthread_setcancelstate): This.
18244         (pthread_setcancelstate): Add an alias.
18245         * nptl/nptl-init.c (pthread_functions): Replace
18246         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18247         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18248         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18249         hidden_proto.
18250         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18251         it with hidden_def.
18252         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18253         (pthread_setcancelstate): Renamed to ...
18254         (__pthread_setcancelstate): This.
18255         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18256         __libc_ptf_call with __pthread_setcancelstate.
18258 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18259             Andreas Schwab  <schwab@suse.de>
18261         [BZ #17118]
18262         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18263         result when imaginary part of argument is infinite using sine and
18264         cosine.
18265         * math/s_ctanf.c (__ctanf): Likewise.
18266         * math/s_ctanl.c (__ctanl): Likewise.
18267         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18268         of result when real part of argument is infinite using sine and
18269         cosine.
18270         * math/s_ctanhf.c (__ctanhf): Likewise.
18271         * math/s_ctanhl.c (__ctanhl): Likewise.
18272         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18273         (ctanh_test_data): Add more tests of ctanh.
18275 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18277         [BZ #15384]
18278         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18279         bit-mask as in subtraction.
18280         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18281         Likewise.
18282         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18283         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18284         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18286         [BZ #18951]
18287         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18288         underflow exception for small results.
18289         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18290         Likewise.
18291         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18292         Likewise.
18293         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18294         Likewise.
18295         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18296         Likewise.
18297         * math/auto-libm-test-in: Add more tests of tgamma.
18298         * math/auto-libm-test-out: Regenerated.
18300 2015-09-17  Andreas Schwab  <schwab@suse.de>
18302         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18304 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18306         [BZ #18977]
18307         * math/bits/mathcalls.h
18308         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18309         not declare.
18310         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18311         Likewise.
18312         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18313         Likewise.
18314         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18315         Likewise.
18316         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18317         Likewise.
18318         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18319         Likewise.
18320         * conform/data/math.h-data
18321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18322         function.
18323         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18324         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18325         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18326         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18327         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18328         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18329         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18330         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18331         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18332         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18333         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18335         [BZ #6803]
18336         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18337         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18338         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18339         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18340         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18341         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18342         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18343         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18344         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18346         Likewise.
18347         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18348         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18349         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18351         long_double_symbol calls.
18352         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18353         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18354         strong alias of __ldexpl.
18355         (scalbnl): Define using long_double_symbol.
18356         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18357         Remove alias.
18358         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18359         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18360         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18361         (scalbln_test_data): Add more errno expectations.
18363 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18365         Cache the host port like we cache the task port.  This way we do not
18366         need to call the kernel just to get the port.  Furthermore, we no
18367         longer increase the reference count on every invocation of
18368         `mach_host_self'.
18370         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18371         Protect declarations against the macro expansion.
18372         * mach/mach_init.c (__mach_host_self_): New variable.
18373         (mach_init): Initialize `__mach_host_self_'.
18374         * mach/mach_init.h (__mach_host_self_): New declaration.
18375         (__mach_host_self, mach_host_self): New macros.
18376         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18377         Release reference.
18379 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18381         [BZ #4404]
18382         * po/de.po: Update from Translation Project.
18384         [BZ #16415]
18385         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18386         (__expm1l): Remove code to handle positive infinity and overflow.
18387         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18388         variable.
18389         (__expm1l): Remove code to handle positive infinity and overflow.
18391 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18392             Paul Pluzhnikov  <ppluzhnikov@google.com>
18394         [BZ #18872]
18395         * stdio-common/Makefile (tst-printf-bz18872): New test.
18396         (tst-printf-bz18872-mem.out): Likewise.
18397         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18398         * stdio-common/vfprintf.c: Fix memory leaks.
18400 2015-09-16  Andreas Schwab  <schwab@suse.de>
18402         [BZ #17244]
18403         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18404         Remove extra va_start/va_end calls.
18406         [BZ #17243]
18407         * posix/execl.c (execl): Add missing va_end.
18408         * posix/execle.c (execle): Likewise.
18409         * posix/execlp.c (execlp): Likewise.
18411 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18413         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18414         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18416 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18418         [BZ #18967]
18419         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18420         undefine around includes of <bits/mathcalls.h>.
18421         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18422         not declare function.
18423         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18424         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18425         (scalb): Likewise.
18426         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18427         not define macro.
18428         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18429         variable.
18430         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18431         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18432         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18434         [BZ #18857]
18435         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18436         return non-finite argument without doing ordered comparisons on
18437         it.
18439         [BZ #16296]
18440         * math/fenv.h (fegetround): Use __attribute_pure__.
18441         * include/fenv.h (__fegetround): Likewise.
18443         [BZ #18595]
18444         * math/s_ctan.c (__ctan): Force underflow exception for results
18445         whose real or imaginary part has small absolute value.
18446         * math/s_ctanf.c (__ctanf): Likewise.
18447         * math/s_ctanh.c (__ctanh): Likewise.
18448         * math/s_ctanhf.c (__ctanhf): Likewise.
18449         * math/s_ctanhl.c (__ctanhl): Likewise.
18450         * math/s_ctanl.c (__ctanl): Likewise.
18451         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18452         and ctanh.  Add more tests of ctan and ctanh.
18454         [BZ #15918]
18455         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18456         handling of cases where one argument is an infinity.
18458         [BZ #18875]
18459         [BZ #18966]
18460         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18461         (MO): New macro.
18462         (__ieee754_exp10): For small results, force underflow exception
18463         and remove excess range and precision from return value.
18464         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18465         (MO): New macro.
18466         (__ieee754_exp10f): For small results, force underflow exception
18467         and remove excess range and precision from return value.
18468         * math/auto-libm-test-in: Add more tests of exp10.
18469         * math/auto-libm-test-out: Regenerated.
18471 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18473         [BZ #18875]
18474         [BZ #18961]
18475         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18476         (MO): New macro.
18477         (__ieee754_exp): For small results, force underflow exception and
18478         remove excess range and precision from return value.
18479         (__exp_finite): Likewise.
18480         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18481         (MO): New macro.
18482         (__ieee754_expf): For small results, force underflow exception and
18483         remove excess range and precision from return value.
18484         (__expf_finite): Likewise.
18485         * math/auto-libm-test-in: Add more tests of exp.
18486         * math/auto-libm-test-out: Regenerated.
18488         [BZ #16521]
18489         [BZ #18875]
18490         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18491         small results.
18492         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18493         (MO): New macro.
18494         (__ieee754_exp2): For small results, force underflow exception and
18495         remove excess range and precision from return value.
18496         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18497         (MO): New macro.
18498         (__ieee754_exp2f): For small results, force underflow exception
18499         and remove excess range and precision from return value.
18500         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18501         (MO): New macro.
18502         (__ieee754_exp2l): Force underflow exception for small results.
18503         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18504         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18505         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18506         (MO): New macro.
18507         (__ieee754_exp2l): Force underflow exception for small results.
18508         * math/auto-libm-test-in: Add more tests or exp2.
18509         * math/auto-libm-test-out: Regenerated.
18511 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18513         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18515         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18516         /dev/null.
18518 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18520         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18521         io fs process)): Drop spurious backslash.
18523 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18525         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18526         Use sysinfo system call instead of parsing /proc/meminfo.
18527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18528         Likewise.
18530 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18532         [BZ #16985]
18533         * programs/localedef.c (main): Display argv[remaining] when
18534         output_path is NULL.
18536 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18538         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18539         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18540         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18541         tanh.
18542         * math/auto-libm-test-out: Regenerated.
18543         * sysdeps/i386/fpu/libm-test-ulps: Update.
18544         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18545         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18550         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18551         Use 'override' keyword to freeze the value here, preventing
18552         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18554 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18556         [BZ #14912]
18557         * sysdeps/aarch64/bits/atomic.h: Move to ...
18558         * sysdeps/aarch64/atomic-machine.h: ...here.
18559         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18560         _AARCH64_ATOMIC_MACHINE_H.
18561         * sysdeps/alpha/bits/atomic.h: Move to ...
18562         * sysdeps/alpha/atomic-machine.h: ...here.
18563         * sysdeps/arm/bits/atomic.h: Move to ...
18564         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18565         * bits/atomic.h: Move to ...
18566         * sysdeps/generic/atomic-machine.h: ...here.
18567         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18568         * sysdeps/i386/bits/atomic.h: Move to ...
18569         * sysdeps/i386/atomic-machine.h: ...here.
18570         * sysdeps/ia64/bits/atomic.h: Move to ...
18571         * sysdeps/ia64/atomic-machine.h: ...here.
18572         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18573         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18574         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18575         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18576         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18577         * sysdeps/microblaze/bits/atomic.h: Move to ...
18578         * sysdeps/microblaze/atomic-machine.h: ...here.
18579         * sysdeps/mips/bits/atomic.h: Move to ...
18580         * sysdeps/mips/atomic-machine.h: ...here.
18581         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18582         * sysdeps/powerpc/bits/atomic.h: Move to ...
18583         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18584         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18585         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18586         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18587         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18588         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18589         <atomic-machine.h> instead of <bits/atomic.h>.
18590         * sysdeps/s390/bits/atomic.h: Move to ...
18591         * sysdeps/s390/atomic-machine.h: ...here.
18592         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18593         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18594         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18595         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18596         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18597         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18598         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18599         * sysdeps/tile/bits/atomic.h: Move to ...
18600         * sysdeps/tile/atomic-machine.h: ...here.
18601         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18602         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18603         <sysdeps/tile/atomic-machine.h> instead of
18604         <sysdeps/tile/bits/atomic.h>.
18605         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18606         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18607         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18608         <sysdeps/tile/atomic-machine.h> instead of
18609         <sysdeps/tile/bits/atomic.h>.
18610         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18611         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18612         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18613         <sysdeps/arm/atomic-machine.h> instead of
18614         <sysdeps/arm/bits/atomic.h>.
18615         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18616         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18617         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18618         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18619         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18620         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18621         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18622         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18623         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18624         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18625         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18626         * sysdeps/x86_64/bits/atomic.h: Move to ...
18627         * sysdeps/x86_64/atomic-machine.h: ...here.
18628         * include/atomic.h: Include <atomic-machine.h> instead of
18629         <bits/atomic.h>.
18631         * sysdeps/mips/mips32/libm-test-ulps: Update.
18632         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18634         [BZ #18952]
18635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18636         not convert non-integer negative arguments to int to determine the
18637         value of signgam.
18638         * math/auto-libm-test-in: Add more tests of lgamma.
18639         * math/auto-libm-test-out: Regenerated.
18641         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18642         cosh, csqrt, erfc, expm1 and lgamma.
18643         * math/auto-libm-test-out: Regenerated.
18644         * sysdeps/i386/fpu/libm-test-ulps: Update.
18645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18647 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18649         [BZ #2542]
18650         [BZ #2543]
18651         [BZ #2558]
18652         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18653         __lgamma_neg for arguments from -28.0 to -2.0.
18654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18655         __lgamma_negf for arguments from -15.0 to -2.0.
18656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18657         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18658         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18659         Call __lgamma_negl for arguments from -33.0 to -2.0.
18660         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18661         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18662         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18663         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18664         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18665         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18666         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18667         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18668         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18669         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18670         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18671         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18672         (__lgamma_neg): Likewise.
18673         (__lgamma_negl): Likewise.
18674         (__lgamma_product): Likewise.
18675         (__lgamma_productl): Likewise.
18676         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18677         * math/auto-libm-test-in: Add more tests of lgamma.
18678         * math/auto-libm-test-out: Regenerated.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18684         [BZ #18675]
18685         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18687 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #14912]
18690         * bits/libc-lock.h: Move to ...
18691         * sysdeps/generic/libc-lock.h: ...here.
18692         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18693         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18694         * sysdeps/mach/hurd/libc-lock.h: ...here.
18695         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18696         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18697         * sysdeps/mach/bits/libc-lock.h: Move to ...
18698         * sysdeps/mach/libc-lock.h: ...here.
18699         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18700         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18701         * sysdeps/nptl/libc-lock.h: ...here.
18702         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18703         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18704         * sysdeps/nptl/libc-lockP.h: ...here.
18705         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18706         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18707         <bits/libc-lock.h>.
18708         * dirent/scandir-tail.c: Likewise.
18709         * dlfcn/dlerror.c: Likewise.
18710         * elf/dl-close.c: Likewise.
18711         * elf/dl-iteratephdr.c: Likewise.
18712         * elf/dl-lookup.c: Likewise.
18713         * elf/dl-open.c: Likewise.
18714         * elf/dl-support.c: Likewise.
18715         * elf/dl-writev.h: Likewise.
18716         * elf/rtld.c: Likewise.
18717         * grp/fgetgrent.c: Likewise.
18718         * gshadow/fgetsgent.c: Likewise.
18719         * gshadow/sgetsgent.c: Likewise.
18720         * iconv/gconv_conf.c: Likewise.
18721         * iconv/gconv_db.c: Likewise.
18722         * iconv/gconv_dl.c: Likewise.
18723         * iconv/gconv_int.h: Likewise.
18724         * iconv/gconv_trans.c: Likewise.
18725         * include/link.h: Likewise.
18726         * inet/getnameinfo.c: Likewise.
18727         * inet/getnetgrent.c: Likewise.
18728         * inet/getnetgrent_r.c: Likewise.
18729         * intl/bindtextdom.c: Likewise.
18730         * intl/dcigettext.c: Likewise.
18731         * intl/finddomain.c: Likewise.
18732         * intl/gettextP.h: Likewise.
18733         * intl/loadmsgcat.c: Likewise.
18734         * intl/localealias.c: Likewise.
18735         * intl/textdomain.c: Likewise.
18736         * libidn/idn-stub.c: Likewise.
18737         * libio/libioP.h: Likewise.
18738         * locale/duplocale.c: Likewise.
18739         * locale/freelocale.c: Likewise.
18740         * locale/newlocale.c: Likewise.
18741         * locale/setlocale.c: Likewise.
18742         * login/getutent_r.c: Likewise.
18743         * login/getutid_r.c: Likewise.
18744         * login/getutline_r.c: Likewise.
18745         * login/utmp-private.h: Likewise.
18746         * login/utmpname.c: Likewise.
18747         * malloc/mtrace.c: Likewise.
18748         * misc/efgcvt.c: Likewise.
18749         * misc/error.c: Likewise.
18750         * misc/fstab.c: Likewise.
18751         * misc/getpass.c: Likewise.
18752         * misc/mntent.c: Likewise.
18753         * misc/syslog.c: Likewise.
18754         * nis/nis_call.c: Likewise.
18755         * nis/nis_callback.c: Likewise.
18756         * nis/nss-default.c: Likewise.
18757         * nis/nss_compat/compat-grp.c: Likewise.
18758         * nis/nss_compat/compat-initgroups.c: Likewise.
18759         * nis/nss_compat/compat-pwd.c: Likewise.
18760         * nis/nss_compat/compat-spwd.c: Likewise.
18761         * nis/nss_nis/nis-alias.c: Likewise.
18762         * nis/nss_nis/nis-ethers.c: Likewise.
18763         * nis/nss_nis/nis-grp.c: Likewise.
18764         * nis/nss_nis/nis-hosts.c: Likewise.
18765         * nis/nss_nis/nis-network.c: Likewise.
18766         * nis/nss_nis/nis-proto.c: Likewise.
18767         * nis/nss_nis/nis-pwd.c: Likewise.
18768         * nis/nss_nis/nis-rpc.c: Likewise.
18769         * nis/nss_nis/nis-service.c: Likewise.
18770         * nis/nss_nis/nis-spwd.c: Likewise.
18771         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18772         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18773         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18774         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18775         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18776         * nis/nss_nisplus/nisplus-network.c: Likewise.
18777         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18778         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18779         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18780         * nis/nss_nisplus/nisplus-service.c: Likewise.
18781         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18782         * nis/ypclnt.c: Likewise.
18783         * nptl/libc_pthread_init.c: Likewise.
18784         * nss/getXXbyYY.c: Likewise.
18785         * nss/getXXent.c: Likewise.
18786         * nss/getXXent_r.c: Likewise.
18787         * nss/nss_db/db-XXX.c: Likewise.
18788         * nss/nss_db/db-netgrp.c: Likewise.
18789         * nss/nss_db/nss_db.h: Likewise.
18790         * nss/nss_files/files-XXX.c: Likewise.
18791         * nss/nss_files/files-alias.c: Likewise.
18792         * nss/nsswitch.c: Likewise.
18793         * posix/regex_internal.h: Likewise.
18794         * posix/wordexp.c: Likewise.
18795         * pwd/fgetpwent.c: Likewise.
18796         * resolv/res_hconf.c: Likewise.
18797         * resolv/res_libc.c: Likewise.
18798         * shadow/fgetspent.c: Likewise.
18799         * shadow/lckpwdf.c: Likewise.
18800         * shadow/sgetspent.c: Likewise.
18801         * socket/opensock.c: Likewise.
18802         * stdio-common/reg-modifier.c: Likewise.
18803         * stdio-common/reg-printf.c: Likewise.
18804         * stdio-common/reg-type.c: Likewise.
18805         * stdio-common/vfprintf.c: Likewise.
18806         * stdio-common/vfscanf.c: Likewise.
18807         * stdlib/abort.c: Likewise.
18808         * stdlib/cxa_atexit.c: Likewise.
18809         * stdlib/fmtmsg.c: Likewise.
18810         * stdlib/random.c: Likewise.
18811         * stdlib/setenv.c: Likewise.
18812         * string/strsignal.c: Likewise.
18813         * sunrpc/auth_none.c: Likewise.
18814         * sunrpc/bindrsvprt.c: Likewise.
18815         * sunrpc/create_xid.c: Likewise.
18816         * sunrpc/key_call.c: Likewise.
18817         * sunrpc/rpc_thread.c: Likewise.
18818         * sysdeps/arm/backtrace.c: Likewise.
18819         * sysdeps/generic/ldsodefs.h: Likewise.
18820         * sysdeps/generic/stdio-lock.h: Likewise.
18821         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18822         * sysdeps/i386/backtrace.c: Likewise.
18823         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18824         * sysdeps/m68k/backtrace.c: Likewise.
18825         * sysdeps/mach/hurd/cthreads.c: Likewise.
18826         * sysdeps/mach/hurd/dirstream.h: Likewise.
18827         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18828         * sysdeps/nptl/malloc-machine.h: Likewise.
18829         * sysdeps/nptl/stdio-lock.h: Likewise.
18830         * sysdeps/posix/dirstream.h: Likewise.
18831         * sysdeps/posix/getaddrinfo.c: Likewise.
18832         * sysdeps/posix/system.c: Likewise.
18833         * sysdeps/pthread/aio_suspend.c: Likewise.
18834         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18835         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18836         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18837         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18838         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18839         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18840         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18841         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18842         * sysdeps/unix/sysv/linux/system.c: Likewise.
18843         * sysdeps/x86_64/backtrace.c: Likewise.
18844         * time/alt_digit.c: Likewise.
18845         * time/era.c: Likewise.
18846         * time/tzset.c: Likewise.
18847         * wcsmbs/wcsmbsload.c: Likewise.
18848         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18849         instead of <bits/libc-lock.h> in comment.
18851 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18853         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18854         Only use .set mips2 if the current ISA is below mips2.
18855         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18856         Likewise.
18857         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18858         mips32r2 if the current ISA is below mips32r2.
18859         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18860         (TLS_IE): Updated to use the TLD_RDHWR macro.
18861         (TLS_LE): Likewise.
18862         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18863         __ASSEMBLER__ condition.
18865 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18867         Fix parallel build of before-compile targets.
18869         * sysdeps/mach/Makefile ($(patsubst
18870         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18871         mach-before-compile target.
18872         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18873         io fs process)): Move rule to dedicated hurd-before-compile target.
18875 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18877         Fix rules generating headers in hurd/ and mach/ when initial make call
18878         has subdir= explicitly set.
18880         * sysdeps/mach/Makefile ($(patsubst
18881         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18882         calling $(MAKE).
18883         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18884         io fs process)): Force subdir to hurd when calling $(MAKE).
18885         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18886         subdir to mach when calling $(MAKE).
18888 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18890         Check sysheaders when looking for Mach and Hurd headers
18892         * sysdeps/mach/configure.ac: Add sysheaders check.
18893         * sysdeps/mach/configure: Regenerate.
18894         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18895         * sysdeps/mach/hurd/configure: Regenerate.
18897 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18899         [BZ #18921]
18900         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18901         Fix inverted sense of test of 'o_directory_works' value.
18902         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18903         Bernhard Voelker <mail@bernhard-voelker.de>.
18905 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18907         [BZ #14912]
18908         * bits/linkmap.h: Move to ...
18909         * sysdeps/generic/linkmap.h: ...here.
18910         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18911         * sysdeps/aarch64/linkmap.h: ...here.
18912         * sysdeps/arm/bits/linkmap.h: Move to ...
18913         * sysdeps/arm/linkmap.h: ...here.
18914         * sysdeps/hppa/bits/linkmap.h: Move to ...
18915         * sysdeps/hppa/linkmap.h: ...here.
18916         * sysdeps/ia64/bits/linkmap.h: Move to ...
18917         * sysdeps/ia64/linkmap.h: ...here.
18918         * sysdeps/mips/bits/linkmap.h: Move to ...
18919         * sysdeps/mips/linkmap.h: ...here.
18920         * sysdeps/s390/bits/linkmap.h: Move to ...
18921         * sysdeps/s390/linkmap.h: ...here.
18922         * sysdeps/sh/bits/linkmap.h: Move to ...
18923         * sysdeps/sh/linkmap.h: ...here.
18924         * sysdeps/x86/bits/linkmap.h: Move to ...
18925         * sysdeps/x86/linkmap.h: ...here.
18926         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18928 2015-09-04  Andreas Schwab  <schwab@suse.de>
18930         [BZ #18635]
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18932         (__makecontext): Terminate FDE before return label.
18933         (__novec_makecontext): Likewise.
18935 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18937         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18938         first member of struct sv in syscall macro.
18940 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #14912]
18943         * bits/stdio-lock.h: Move to ...
18944         * sysdeps/generic/stdio-lock.h: ...here.
18945         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18946         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18947         * sysdeps/nptl/stdio-lock.h: ...here.
18948         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18949         * include/libio.h: Include <stdio-lock.h> instead of
18950         <bits/stdio-lock.h>.
18951         * sysdeps/nptl/fork.c: Likewise.
18952         * sysdeps/pthread/flockfile.c: Likewise.
18953         * sysdeps/pthread/ftrylockfile.c: Likewise.
18954         * sysdeps/pthread/funlockfile.c: Likewise.
18956         [BZ #14912]
18957         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18958         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18959         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18960         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18961         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18962         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18963         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18965 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18967         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18968         (test-xfail-tst-protected1b): New variable.
18970 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18972         [BZ #14912]
18973         * bits/libc-tsd.h: Move to ...
18974         * sysdeps/generic/libc-tsd.h: ...here.
18975         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18976         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18977         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18978         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18979         * include/ctype.h: Include <libc-tsd.h> instead of
18980         <bits/libc-tsd.h>.
18981         * include/rpc/rpc.h: Likewise.
18982         * locale/localeinfo.h: Likewise.
18983         * sunrpc/rpc_thread.c: Likewise.
18984         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18985         * sysdeps/nptl/malloc-machine.h: Likewise.
18987         * Makefile (headers): Remove bits/libc-lock.h.
18988         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18990         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18991         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18992         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18993         <bits/stdio-lock.h>.
18994         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18995         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18997 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18999         [BZ #18757]
19000         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19001         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19002         BZ #18757.
19004 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19006         * malloc/mtrace.pl: Filter out NULL entries.
19008 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
19010         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19011         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19012         macro.
19014         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19015         (TCP_CC_INFO): Likewise.
19016         (TCP_SAVE_SYN): Likewise.
19017         (TCP_SAVED_SYN): Likewise.
19019 2015-08-31  Brett Neumeier <brett@neumeier.us>
19021         [BZ #18870]
19022         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19024 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19026         [BZ #18873]
19027         Fix broken overflow check in posix_fallocate
19028         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19029         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19030         Fix parenthesization typo.
19032 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
19034         [BZ #18887]
19035         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19036         tst-mntent-blank-passno.
19037         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19038         * misc/tst-mntent-blank-corrupt.c: New test.
19039         * misc/tst-mntent-blank-passno.c: New test ripped from ...
19040         * misc/tst-mntent.c (do_test): ... here.
19042 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19044         [BZ #4404]
19045         * po/de.po: Fix SIGALRM typo.
19047 2015-08-28  James Perkins  <james@loowit.net>
19049         * time/tst-strptime2.c (tests): Replace short list of test
19050         strings for strptime %z specifier with code which exhaustively
19051         tests every combination of sign and 0 to 5 digits. Tests for
19052         rejection of invalid strings.
19054 2015-08-28  James Perkins  <james@loowit.net>
19056         [BZ #16141]
19057         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19058         calculation, removing incorrect decimal time rounding, so that
19059         all minute values result in a valid seconds value.
19060         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19061         offset range limits to UTC-99:59 through UTC+99:59 to parse
19062         current and historical use cases.
19063         * time/tst-strptime2.c (tests): Modify and add tests for the
19064         strptime %z input field descriptor, specifically conversion of
19065         minutes to seconds and validating an offset range of -9959 to
19066         +9959.
19068 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19069             Dmitry V. Levin  <ldv@altlinux.org>
19071         [BZ #18877]
19072         * posix/Makefile (tests): Add tst-mmap-offset.
19073         * posix/tst-mmap.c: New file.
19074         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19075         offset calculation for negative values.
19077 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19079         * sysdeps/i386/init-arch.h: New file.
19080         * sysdeps/i386/i586/init-arch.h: Likewise.
19081         * sysdeps/i386/i686/init-arch.h: Likewise.
19082         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19083         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19084         * sysdeps/x86/cpu-features.h (bit_I586): New.
19085         (bit_I686): Likewise.
19086         (bit_CX8): Likewise.
19087         (bit_CMOV): Likewise.
19088         (index_CX8): Likewise.
19089         (index_CMOV): Likewise.
19090         (index_I586): Likewise.
19091         (index_I686): Likewise.
19092         (reg_CX8): Likewise.
19093         (reg_CMOV): Likewise.
19094         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19095         available at compile-time.
19096         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19097         available at compile-time.
19098         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19099         (USE_I686): Likewise.
19101 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19103         * sysdeps/i386/bcopy.S: New file.
19104         * sysdeps/i386/bzero.S: Likewise.
19105         * sysdeps/i386/memcpy.S: Likewise.
19106         * sysdeps/i386/memmove.S: Likewise.
19107         * sysdeps/i386/mempcpy.S: Likewise.
19108         * sysdeps/i386/memset.S: Likewise.
19109         * sysdeps/i386/bzero.c: Removed.
19110         * sysdeps/i386/memset.c: Likewise.
19111         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19112         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19113         * sysdeps/i386/i586/memset_chk.S: Likewise.
19114         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19115         * sysdeps/i386/memcpy_chk.S: Here.
19116         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19117         * sysdeps/i386/memmove_chk.S: Here.
19118         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19119         * sysdeps/i386/mempcpy_chk.S: Likewise.
19120         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19121         * sysdeps/i386/memset_chk.S: Likewise.
19123 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19125         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19126         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19127         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19128         * soft-fp/fmadf4.c: Ditto.
19129         * soft-fp/fmatf4.c: Ditto.
19131 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19133         * sysdeps/i386/i586/Implies: Removed.
19134         * sysdeps/i386/i686/Implies: Likewise.
19136 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19138         * sysdeps/i386/i486/strlen.S: Moved to ...
19139         * sysdeps/i386/strlen.S: Here.
19141 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19143         * sysdeps/i386/i486/strcat.S: Moved to ...
19144         * sysdeps/i386/strcat.S: Here.
19146 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19148         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19149         * sysdeps/i386/pthread_spin_trylock.S: Here.
19150         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19151         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19153 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19155         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19156         * sysdeps/i386/string-inlines.c: Here.
19158 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19160         * sysdeps/i386/i486/htonl.S: Moved ...
19161         * sysdeps/i386/htonl.S: here.
19163 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19165         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19166         * sysdeps/i386/bits/atomic.h: Here.
19168 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19170         * sysdeps/i386/i486/Versions: Removed.
19172 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19174         [BZ #2898]
19175         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19176         Based on patch by Aurelien Jarno.
19178 2015-08-26  Stan Shebs  <stanshebs@google.com>
19180         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19181         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19183 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19185         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19186         * sysdeps/powerpc/dl-procinfo.c:
19187         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19188         feature so it shows when LD_SHOW_AUXV=1.
19190 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19192         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19193         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19194         definition.  ISA 2.07B no longer requires full sync.
19196 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19198         [BZ #18863]
19199         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19200         (si_call_addr): Define.
19201         (si_syscall): Define.
19202         (si_arch): Define.
19204 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19206         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19207         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19208         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19209         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19210         (__memset_zero_constant_len_parameter): New.
19211         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19212         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19213         (__memset_zero_constant_len_parameter): Don't define if
19214         __memset_chk or USE_AS_BZERO are defined.
19216         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19217         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19218         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19220         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19221         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19222         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19223         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19224         comments.
19225         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19226         -mno-mmx for $(all-rtld-routines).
19227         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19228         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19229         i386.
19231 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19233         * sysdeps/generic/unwind.h
19234         (_Unwind_Word): Use __mode__(__unwind_word__)
19235         instead of __mode__(__word__).
19236         (_Unwind_Sword): Likewise.
19238         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19239         (MAX_NEEDED_INPUT): New define.
19240         (MAX_NEEDED_OUTPUT): New define.
19242         * NEWS: New item for IBM z13 string optimizations.
19244         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19245         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19246         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19247         * sysdeps/s390/multiarch/Makefile
19248         (sysdep_routines): Add memrchr functions.
19249         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19250         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19252         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19253         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19254         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19255         * sysdeps/s390/multiarch/Makefile
19256         (sysdep_routines): Add wmemcmp functions.
19257         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19258         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19259         * benchtests/bench-wmemcmp.c: New File.
19260         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19262         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19263         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19264         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19265         * sysdeps/s390/multiarch/Makefile
19266         (sysdep_routines): Add wmemset functions.
19267         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19268         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19269         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19270         * string/test-memset.c: Add wmemset support.
19271         * wcsmbs/test-wmemset.c: New File.
19272         * wcsmbs/Makefile (strop-tests): Add wmemset.
19273         * benchtests/bench-memset.c: Add wmemset support.
19274         * benchtests/bench-wmemset.c: New File.
19275         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19277         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19278         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19279         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19280         * sysdeps/s390/multiarch/Makefile
19281         (sysdep_routines): Add memccpy functions.
19282         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19283         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19284         * string/memccpy.c: Use MEMCCPY if defined.
19286         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19287         * sysdeps/s390/multiarch/memchr.c: Likewise.
19288         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19289         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19290         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19291         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19292         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19293         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19294         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19295         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19297         and rawmemchr functions.
19298         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19299         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19300         and wmemchr.
19301         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19302         * string/test-memchr.c: Add wmemchr support.
19303         * wcsmbs/test-wmemchr.c: New File.
19304         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19305         * benchtests/bench-memchr.c: Add wmemchr support.
19306         * benchtests/bench-wmemchr.c: New File.
19307         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19309         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19310         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19311         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19312         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19313         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19314         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19315         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19316         wcscspn functions.
19317         * sysdeps/s390/multiarch/ifunc-impl-list.c
19318         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19319         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19320         * string/test-strcspn.c: Add wcscspn support.
19321         * wcsmbs/test-wcscspn.c: New File.
19322         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19323         * benchtests/bench-strcspn.c: Add wcscspn support.
19324         * benchtests/bench-wcscspn.c: New File.
19325         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19327         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19328         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19329         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19330         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19331         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19332         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19334         wcspbrk functions.
19335         * sysdeps/s390/multiarch/ifunc-impl-list.c
19336         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19337         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19338         * string/test-strpbrk.c: Add wcspbrk support.
19339         * wcsmbs/test-wcspbrk.c: New File.
19340         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19341         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19342         * benchtests/bench-wcspbrk.c: New File.
19343         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19345         * sysdeps/s390/multiarch/strspn-c.c: New File.
19346         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19347         * sysdeps/s390/multiarch/strspn.c: Likewise.
19348         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19349         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19350         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19351         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19353         wcsspn functions.
19354         * sysdeps/s390/multiarch/ifunc-impl-list.c
19355         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19356         * string/test-strspn.c: Add wcsspn support.
19357         * wcsmbs/test-wcsspn.c: New File.
19358         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19359         * benchtests/bench-strspn.c: Add wcsspn support.
19360         * benchtests/bench-wcsspn.c: New File.
19361         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19363         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19364         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19365         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19366         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19367         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19368         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19370         wcsrchr functions.
19371         * sysdeps/s390/multiarch/ifunc-impl-list.c
19372         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19373         * benchtests/bench-wcsrchr.c: New File.
19374         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19376         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19377         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19378         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19379         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19380         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19381         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19383         wcschrnul functions.
19384         * sysdeps/s390/multiarch/ifunc-impl-list.c
19385         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19386         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19387         * string/test-strchr.c: Add wcschrnul support.
19388         * wcsmbs/test-wcschrnul.c: New File.
19389         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19390         * benchtests/bench-strchr.c: Add wcschrnul support.
19391         * benchtests/bench-wcschrnul.c: New File.
19392         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19394         * sysdeps/s390/multiarch/strchr-c.c: New File.
19395         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19396         * sysdeps/s390/multiarch/strchr.c: Likewise.
19397         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19398         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19399         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19401         wcschr functions.
19402         * sysdeps/s390/multiarch/ifunc-impl-list.c
19403         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19404         * string/strchr.c (STRCHR): Define and use macro.
19405         * benchtests/bench-wcschr.c: New File.
19406         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19408         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19409         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19410         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19411         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19412         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19413         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19414         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19415         wcsncmp functions.
19416         * sysdeps/s390/multiarch/ifunc-impl-list.c
19417         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19418         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19419         * benchtests/bench-strncmp.c: Add wcsncmp support.
19420         * benchtests/bench-wcsncmp.c: New File.
19421         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19423         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19424         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19425         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19426         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19427         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19428         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19429         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19430         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19431         wcscmp functions.
19432         * sysdeps/s390/multiarch/ifunc-impl-list.c
19433         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19434         * string/strcmp.c (STRCMP): Define and use macro.
19435         * benchtests/bench-wcscmp.c: New File.
19436         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19437         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19438         instead of _HAVE_STRING_ARCH_memchr.
19440         * sysdeps/s390/multiarch/strncat-c.c: New File.
19441         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19442         * sysdeps/s390/multiarch/strncat.c: Likewise.
19443         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19444         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19445         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19447         wcsncat functions.
19448         * sysdeps/s390/multiarch/ifunc-impl-list.c
19449         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19450         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19451         * string/test-strncat.c: Add wcsncat support.
19452         * wcsmbs/test-wcsncat.c: New File.
19453         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19454         * benchtests/bench-strncat.c: Add wcsncat support.
19455         * benchtests/bench-wcsncat.c: New File.
19456         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19458         * sysdeps/s390/multiarch/strcat-c.c: New File.
19459         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19460         * sysdeps/s390/multiarch/strcat.c: Likewise.
19461         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19462         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19463         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19465         wcscat functions.
19466         * sysdeps/s390/multiarch/ifunc-impl-list.c
19467         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19468         * string/strcat.c (STRCAT): Define and use macro.
19469         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19470         * string/test-strcat.c: Add wcscat support.
19471         * wcsmbs/test-wcscat.c: New File.
19472         * wcsmbs/Makefile (strop-tests): Add wcscat.
19473         * benchtests/bench-strcat.c: Add wcscat support.
19474         * benchtests/bench-wcscat.c: New File.
19475         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19477         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19478         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19479         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19480         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19481         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19482         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19483         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19484         wcpncpy functions.
19485         * sysdeps/s390/multiarch/ifunc-impl-list.c
19486         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19487         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19488         * string/test-stpncpy.c: Add wcpncpy support.
19489         * wcsmbs/test-wcpncpy.c: New File.
19490         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19491         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19492         * benchtests/bench-wcpncpy.c: New File.
19493         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19495         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19496         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19497         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19498         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19499         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19500         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19501         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19503         wcsncpy functions.
19504         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19505         * sysdeps/s390/multiarch/ifunc-impl-list.c
19506         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19507         * string/test-strncpy.c: Add wcsncpy support.
19508         * wcsmbs/test-wcsncpy.c: New File.
19509         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19510         * benchtests/bench-strncpy.c: Add wcsncpy support.
19511         * benchtests/bench-wcsncpy.c: New File.
19512         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19514         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19515         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19516         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19517         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19518         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19519         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19521         wcpcpy functions.
19522         * string/stpcpy.c: Use STPCPY if defined.
19523         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19524         * sysdeps/s390/multiarch/ifunc-impl-list.c
19525         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19526         * string/test-stpcpy.c: Add wcpcpy support.
19527         * wcsmbs/test-wcpcpy.c: New File.
19528         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19529         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19530         * benchtests/bench-wcpcpy.c: New File.
19531         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19533         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19534         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19535         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19536         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19537         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19538         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19539         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19541         wcscpy functions.
19542         * sysdeps/s390/multiarch/ifunc-impl-list.c
19543         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19544         * benchtests/bench-wcscpy.c: New File.
19545         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19547         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19548         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19549         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19550         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19551         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19552         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19553         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19554         wcsnlen functions.
19555         * sysdeps/s390/multiarch/ifunc-impl-list.c
19556         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19557         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19558         * string/test-strnlen.c: Add wcsnlen support.
19559         * wcsmbs/test-wcsnlen.c: New File.
19560         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19561         * benchtests/bench-strnlen.c: Add wcsnlen support.
19562         * benchtests/bench-wcsnlen.c: New File.
19563         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19565         * sysdeps/s390/multiarch/Makefile: New File.
19566         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19567         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19568         * sysdeps/s390/multiarch/strlen.c: Likewise.
19569         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19570         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19571         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19572         * string/strlen.c (STRLEN): Define and use macro.
19573         * sysdeps/s390/multiarch/ifunc-impl-list.c
19574         (IFUNC_VX_IMPL): New macro function.
19575         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19576         * benchtests/Makefile (wcsmbs-bench): New variable.
19577         (string-bench-all): Added wcsmbs-bench.
19578         * benchtests/bench-wcslen.c: New File.
19580         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19581         s390_vx_libc_ifunc2): New macro function.
19583         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19584         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19585         assembler support.
19586         * sysdeps/s390/configure: Regenerated.
19588         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19589         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19591         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19592         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19593         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19595         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19596         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19598         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19599         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19600         (memcmp, bcmp): Use __memcmp_default as alias source.
19601         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19602         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19603         Rename to __memcmp_default.
19604         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19605         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19606         (memcpy): Use __memcpy_default as alias source.
19607         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19608         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19609         Rename to __memcpy_default.
19610         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19611         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19612         (memset): Use __memset_default as alias source.
19613         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19614         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19615         Rename to __memset_default.
19616         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19617         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19618         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19619         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19620         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19621         (memcmp, bcmp): Use __memcmp_default as alias source.
19622         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19623         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19624         Rename to __memcmp_default.
19625         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19626         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19627         (memcpy): Use __memcpy_default as alias source.
19628         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19629         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19630         Rename to __memcpy_default.
19631         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19632         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19633         (memset): Use __memset_default as alias source.
19634         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19635         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19636         Rename to __memset_default.
19637         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19638         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19640         [BZ #18610]
19641         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19642         __ieee_instruction_pointer to __unused.
19643         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19644         __ieee_instruction_pointer.
19645         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19646         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19647         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19648         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19649         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19650         Mark dxc-field as reserved.
19652 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19654         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19655         if the weak reference is not null.
19657 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19659         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19661         [BZ #11214]
19662         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19664 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19666         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19667         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19668         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19669         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19670         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19671         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19672         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19673         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19674         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19675         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19676         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19677         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19678         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19679         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19680         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19681         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19682         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19683         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19685 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19687         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19688         register other than r0 for tabort, it has special meaning.
19689         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19690         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19691         transaction before starting syscall.
19693 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19695         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19697 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19699         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19701         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19702         * sysdeps/x86_64/rtld-memset.S: Likewise.
19703         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19704         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19705         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19706         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19708         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19710 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19712         * debug/strcpy_chk.c: Improve performance.
19713         * debug/stpcpy_chk.c: Likewise.
19714         * sysdeps/x86_64/strcpy_chk.S: Remove.
19715         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19717         [BZ #18240]
19718         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19720 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19722         [BZ #15128]
19723         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19724         ifuncmain8.
19725         (modules-names): Add ifuncmod8.
19726         ($(objpfx)ifuncmain8): New rule.
19727         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19728         <cpuid.h>.
19729         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19730         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19731         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19732         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19733         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19734         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19735         * sysdeps/x86_64/ifuncmain8.c: New file.
19736         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19737         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19738         Removed.
19739         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19740         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19741         Change rtld_savespace_sse to __glibc_unused2.
19742         (RTLD_CHECK_FOREIGN_CALL): Removed.
19743         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19744         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19745         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19747 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19749         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19751 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19753         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19754         Unconditionally set __fpcr to avoid uninialized warning.
19755         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19757 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19759         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19760         is corrupt.
19762         * malloc/arena.c (arena_get2): Drop unused argument.
19763         (arena_lock): Adjust.
19764         (arena_get_retry): Likewise.
19766 2015-08-24  Andreas Schwab  <schwab@suse.de>
19768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19769         Don't define.
19770         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19771         (__ASSUME_IPC64): Don't undef.
19772         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19773         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19774         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19775         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19776         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19777         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19778         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19779         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19780         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19781         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19782         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19783         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19784         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19785         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19786         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19787         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19788         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19789         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19790         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19791         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19792         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19794 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19796         * manual/Makefile (install): Only build manual when perl is available.
19798 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19801         '#undef memcpy' by '#undef memchr'.
19803 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19805         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19806         memchr not point to the internal __GI_memchr implementation.
19808 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19810         * timezone/Makefile (CFLAGS-zdump.c): Remove
19811         -Wno-strict-prototypes.
19812         (CFLAGS-zic.c): Likewise.
19813         (CFLAGS-ialloc.c): Likewise.
19814         (CFLAGS-scheck.c): Likewise.
19816         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19817         -Wno-error=undef.
19819 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19821         * i386/i686/multiarch/strcasestr-c.c: Removed.
19822         * x86_64/multiarch/strcasestr.c: Likewise.
19823         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19824         Remove strcasestr.
19826 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19828         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19830         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19831         variables for high and low parts before possibly modifying them.
19833 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19835         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19836         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19837         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19838         of "multiarch/init-arch.h".
19839         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19840         * sysdeps/x86/init-arch.h: This.
19842 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19844         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19845         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19847 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19849         [BZ #17787]
19850         * manual/macros.texi: Add twoexp macro.
19851         * manual/filesys.texi: Fix exponents.
19852         * manual/llio.texi: Likewise.
19853         * manual/stdio.texi: Likewise.
19855 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19857         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19858         incorrect use.
19860 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19862         [BZ #18370]
19863         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19864         whose real or imaginary part has small absolute value.
19865         * math/s_csqrtf.c (__csqrtf): Likewise.
19866         * math/s_csqrtl.c (__csqrtl): Likewise.
19867         * math/auto-libm-test-in: Add more tests of csqrt.
19868         * math/auto-libm-test-out: Regenerated.
19869         * sysdeps/i386/fpu/libm-test-ulps: Update.
19871 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19873         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19874         __ppc_set_ppr_very_low): New functions.
19875         * manual/platform.texi: Add documentation about
19876         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19878 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19880         * string/stpncpy.c (stpncpy): Improve performance using
19881         __strnlen/memcpy/memset.
19883 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19885         [BZ #18796]
19886         * scripts/test-installation.pl: Don't add -lmvec to build options if
19887         libmvec wasn't built.
19889 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19891         [BZ #14341]
19892         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19893         case when there is a gap between DT_REL and DT_JMPREL sections.
19894         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19895         (LDFLAGS-tst-split-dynreloc): New.
19896         (tst-split-dynreloc-ENV): Likewise.
19897         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19898         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19900 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19902         [BZ #18822]
19903         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19904         attribute_hidden.
19905         (__xstat64_conv): Likewise.
19906         (__xstat32_conv): Likewise.
19908 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19910         [BZ #18822]
19911         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19912         Don't load %ebx when calling __setcontext.  Call __setcontext
19913         with HIDDEN_JUMPTARGET.
19914         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19915         libc_hidden_def.
19917 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19919         * sysdeps/i386/i686/Makefile
19920         [$(subdir) == string] (sysdep_routines): Moved to ...
19921         * sysdeps/i386/Makefile: Here.
19922         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19923         * sysdeps/i386/cacheinfo.c: Here.
19924         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19925         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19926         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19927         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19929 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19931         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19932         __i586__ is defined.
19933         (HAS_I686): Defined to 1 if __i686__ is defined.
19935 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19937         * elf/Makefile [$(have-z-execstack) = yes]
19938         (CPPFLAGS-tst-execstack.c): New variable.
19940         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19941         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19942         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19943         UTMPX || _HAVE_UT_TV].
19944         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19945         UTMPX || _HAVE_UT_TV - 0].
19947 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19949         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19950         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19951         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19953 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19955         * sysdeps/powerpc/dl-procinfo.c:
19956         (_dl_powerpc_cap_flags): Added missing strings for some
19957         hwcap features.
19958         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19960 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19962         Port the 0x7efe...feff pattern to GCC 6.
19963         See Steve Ellcey's bug report in:
19964         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19965         * string/memrchr.c (MEMRCHR):
19966         * string/rawmemchr.c (RAWMEMCHR):
19967         * string/strchr.c (strchr):
19968         * string/strchrnul.c (STRCHRNUL):
19969         Rewrite code to avoid issues with signed shift overflow.
19971 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19973         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19974         whether cpuid is available only if HAS_CPUID is 0.
19975         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19976         (HAS_I586): Likewise.
19977         (HAS_I686): Likewise.
19979 2015-08-18  Zack Weinberg  <zackw@panix.com>
19981         * misc/Versions (libc): Add GLIBC_2.23.
19983 2015-08-18  Alan Modra  <amodra@gmail.com>
19985         [BZ #18421]
19986         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19987         .Lp__global.
19988         (_start): Load %dp via .Lp__global.
19989         [!SHARED]: Use .section .rodata.
19991 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19993         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19994         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19996 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19998         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19999         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20001 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20003         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20004         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20006 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20008         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20009         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20011 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20013         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20014         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20016 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20018         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20019         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20021 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20023         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20025 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20027         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20028         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
20029         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20030         (__ASSUME_LWS_CAS): Delete.
20032 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20034         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20035         * sysdeps/hppa/configure: Regenerated.
20036         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20037         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20038         * sysdeps/hppa/nptl/tls.h: Likewise.
20040 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20042         [BZ #18823]
20043         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20044         for scaling up small arguments.
20045         * math/s_csqrtf.c (__csqrtf): Likewise.
20046         * math/s_csqrtl.c (__csqrtl): Likewise.
20047         * math/auto-libm-test-in: Add more tests of csqrt.
20048         * math/auto-libm-test-out: Regenerated.
20050 2015-08-17  Andreas Schwab  <schwab@suse.de>
20052         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20053         version set GLIBC_2.19.
20055 2015-08-16  Zack Weinberg  <zackw@panix.com>
20057         [BZ #18681]
20058         * misc/regexp.h: This interface is no longer supported.
20059         Remove all contents, leaving only an #error directive.
20060         * misc/regexp.c (loc1, loc2, locs, step, advance):
20061         Demote to compatibility symbols.
20063 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20065         [BZ #18084]
20066         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20067         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20068         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20069         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20070         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20071         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20072         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20073         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20074         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20076 2015-08-15  Zack Weinberg  <zackw@panix.com>
20078         [BZ #18795]
20079         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20080         buffer length is known to be too large, not if it's known to be
20081         small enough.
20082         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20083         overflow at runtime, involving a length parameter, twice: once
20084         with a compile-time constant length parameter, once without.
20086 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20088         [BZ #18824]
20089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20090         scaling x * y up instead of down.
20091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20093         * math/auto-libm-test-in: Add more tests of fma.
20094         * math/auto-libm-test-out: Regenerated.
20096 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20100 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20102         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20103         unnecessary movq.
20104         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20105         Likewise.
20107 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20109         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20110         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20111         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20112         and tgamma.
20113         * math/auto-libm-test-out: Regenerated.
20114         * sysdeps/i386/fpu/libm-test-ulps: Update.
20115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117         [BZ #16520]
20118         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20119         (__tanh): Force underflow exception for arguments with small
20120         absolute value.
20121         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20122         (__tanhf): Force underflow exception for arguments with small
20123         absolute value.
20124         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20125         (__tanhl): Force underflow exception for arguments with small
20126         absolute value.
20127         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20128         (__tanhl): Force underflow exception for arguments with small
20129         absolute value.
20130         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20131         (__tanhl): Force underflow exception for arguments with small
20132         absolute value.
20133         * math/auto-libm-test-in: Add more tests of tanh.
20134         * math/auto-libm-test-out: Regenerated.
20135         * sysdeps/i386/fpu/libm-test-ulps: Update.
20137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20139         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20140         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20142 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20144         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20145         <cpuid.h>.
20147 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20149         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20150         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20152 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20154         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20155         Remove $(objpfx)init-arch.o.
20156         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20157         init-arch.
20158         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20159         (INIT_ARCH_EXT): Defined as empty.
20160         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20162         __init_cpu_features call.  Replace HAS_XXX with
20163         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20167         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20168         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20169         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20170         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20171         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20176         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20178         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20179         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20182         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20183         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20184         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20185         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20186         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20187         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20188         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20190         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20191         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20192         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20194         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20195         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20197         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20198         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20200 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20202         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20203         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20204         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20205         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20206         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20207         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20208         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20209         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20210         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20211         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20212         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20213         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20214         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20215         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20216         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20217         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20218         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20219         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20220         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20221         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20222         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20223         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20224         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20225         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20226         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20227         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20228         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20229         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20230         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20231         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20236         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20246 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20248         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20249         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20251         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20252         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20253         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20255         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20256         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20257         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20258         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20259         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20260         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20261         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20262         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20263         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20264         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20265         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20266         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20267         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20269         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20270         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20271         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20272         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20273         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20274         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20275         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20276         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20277         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20278         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20279         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20280         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20281         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20282         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20283         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20284         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20285         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20286         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20287         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20288         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20289         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20290         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20292 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20294         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20295         (dl_platform_init): Call init_cpu_features.
20296         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20297         * sysdeps/i386/i686/cacheinfo.c
20298         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20299         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20300         * sysdeps/i386/i686/multiarch/Versions: Removed.
20301         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20302         Removed.
20303         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20304         * sysdeps/unix/sysv/linux/x86/Makefile
20305         (libpthread-sysdep_routines): Remove init-arch.
20306         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20307         <sysdeps/x86_64/dl-procinfo.c> instead of
20308         sysdeps/generic/dl-procinfo.c>.
20309         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20310         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20311         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20312         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20313         [$(subdir) == elf] (tests-static): Add
20314         tst-get-cpu-features-static.
20315         * sysdeps/x86/Versions: New file.
20316         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20317         * sysdeps/x86/cpu-features.c: Likewise.
20318         * sysdeps/x86/cpu-features.h: Likewise.
20319         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20320         * sysdeps/x86/libc-start.c: Likewise.
20321         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20322         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20323         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20324         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20325         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20326         Assume USE_MULTIARCH is defined and don't check it.
20327         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20328         (is_amd): Likewise.
20329         (max_cpuid): Likewise.
20330         (intel_check_word): Likewise.
20331         (__cache_sysconf): Don't call __init_cpu_features.
20332         (__x86_preferred_memory_instruction): Removed.
20333         (init_cacheinfo): Don't call __init_cpu_features. Replace
20334         __cpu_features with GLRO(dl_x86_cpu_features).
20335         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20336         (dl_platform_init): Call init_cpu_features.
20337         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20338         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20339         * sysdeps/x86_64/multiarch/Versions: Removed.
20340         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20341         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20342         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20343         Removed.
20344         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20346 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20348         [BZ #18820]
20349         * libio/Makefile (test-fmemopen-mem): New test.
20350         * libio/test-fmemopen.c (do_bz18820): New test.
20351         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20352         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20354 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20356         [BZ #16734]
20357         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20358         (FREE_BUF): Delete.
20359         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20360         * libio/genops.c (_IO_setb): Use malloc and free directly.
20361         (_IO_default_doallocate, _IO_default_finish): Likewise.
20362         ( _IO_unbuffer_all): Likewise.
20363         ( libc_freeres_fn): Likewise.
20364         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20365         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20366         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20367         (_IO_wdefault_doallocate): Likewise.
20369 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20371         [BZ #18086]
20372         * sysdeps/posix/nice.c (nice): Restore old errno.
20373         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20375 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20379 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20381         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20382         __bcopy and add a weak_alias to bcopy.
20383         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20384         for static build.
20386         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20387         cleanup macro usage.
20388         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20392         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20393         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20394         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20395         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20396         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20397         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20399         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20401         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20403         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20404         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20405         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20406         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20408         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20409         libc_hidden_def.
20410         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20412         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20413         (sysdep_routines): Add strstr-ppc64.
20414         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20416 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20418         [BZ #18778]
20419         * elf/Makefile (tests): Add Add tst-nodelete2.
20420         (modules-names): Add tst-nodelete2mod.
20421         (tst-nodelete2mod.so-no-z-defs): New.
20422         ($(objpfx)tst-nodelete2): Likewise.
20423         ($(objpfx)tst-nodelete2.out): Likewise.
20424         (LDFLAGS-tst-nodelete2): Likewise.
20425         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20426         out of loop through all loaded libraries.
20427         * elf/tst-nodelete2.c: New file.
20428         * elf/tst-nodelete2mod.c: Likewise.
20429         * elf/tst-znodelete-zlib.cc: Delete.
20431 2015-08-11  Andreas Schwab  <schwab@suse.de>
20433         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20434         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20435         (__openat64_nocancel): Likewise.
20437 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20439         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20440         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20441         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20442         * math/auto-libm-test-out: Regenerated.
20443         * sysdeps/i386/fpu/libm-test-ulps: Update.
20444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20446 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20448         [BZ #18790]
20449         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20450         threshold for returning +/- 1.
20451         * math/auto-libm-test-in: Add more tests of tanh.
20452         * math/auto-libm-test-out: Regenerated.
20453         * sysdeps/i386/fpu/libm-test-ulps: Update.
20455 2015-08-10  Andreas Schwab  <schwab@suse.de>
20457         [BZ #18781]
20458         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20459         MORE_OFLAGS to oflag.
20460         * io/test-lfs.c (do_test): Test openat64.
20462 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20464         [BZ #18789]
20465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20466         smaller threshold for returning the argument.
20467         * math/auto-libm-test-in: Add more tests of sinh.
20468         * math/auto-libm-test-out: Regenerated.
20469         * sysdeps/i386/fpu/libm-test-ulps: Update.
20471 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20473         [BZ #18674]
20474         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20475         break.
20477 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20479         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20480         (generated): Don't add $(addprefix z.,$(tzfiles)).
20482 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20484         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20485         * scripts/sysd-rules.awk: Likewise.
20487 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20489         * iconvdata/tst-tables.sh: Change echo -n to printf.
20490         * nss/db-Makefile: Likewise.
20491         * posix/tst-getconf.sh: Likewise.
20492         * stdio-common/tst-unbputc.sh: Likewise.
20494 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20496         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20497         MADV_*_PAGES defines behind this feature check.
20499 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20501         [BZ #18480]
20502         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20503         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20504         Define.
20505         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20506         LOAD_REGS_5, LOAD_REGS_6): Update.
20507         (INTERNAL_SYSCALL): Update using new LOAD defines.
20508         (INTERNAL_SYSCALL_NCS): Likewise.
20509         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20511 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20513         [BZ #16734]
20514         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20516 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20518         [BZ #17905]
20519         * catgets/Makefile (tst-catgets-mem): New test.
20520         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20521         * catgets/open_catalog.c (__open_catalog): Likewise.
20522         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20524 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20526         [BZ #18787]
20527         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20528         clobber registers.
20529         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20530         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20531         Cast return to __typeof (oldval).
20533 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20535         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20536         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20537         and delete sys/syscall.h include.
20539 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20541         [BZ #16517]
20542         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20543         (tan): Force underflow exception for arguments with small absolute
20544         value.
20545         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20546         (__kernel_tanf): Force underflow exception for arguments with
20547         small absolute value.
20548         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20549         (__kernel_tanl): Force underflow exception for arguments with
20550         small absolute value.
20551         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20552         (__kernel_tanl): Force underflow exception for arguments with
20553         small absolute value.
20554         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20555         (__kernel_tanl): Force underflow exception for arguments with
20556         small absolute value.
20557         * math/auto-libm-test-in: Add more tests of tan.
20558         * math/auto-libm-test-out: Regenerated.
20560 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20562         Fix sysdeps/i386/fpu/s_scalbn.S build
20564         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20566 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20568         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20570 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20572         Fix gcrt0.o compilation
20574         When static-start-installed-name is different from
20575         start-installed-name, we must not use the shared objects.
20577         * csu/Makefile
20578         (extra-objs): Add gmon-start.o when building shared library and
20579         $(static-start-installed-name) is different from
20580         $(start-installed-name).
20581         $(objpfx)g$(static-start-installed-name): When building shared
20582         library and $(static-start-installed-name) is different from
20583         $(static-start-installed-name), revert to non-shared rule,
20584         i.e. using $(objpfx)% and gmon-start.o.
20586 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20588         [BZ #16519]
20589         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20590         (__ieee754_sinh): Force underflow exception for arguments with
20591         small absolute value.
20592         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20593         (__ieee754_sinhf): Force underflow exception for arguments with
20594         small absolute value.
20595         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20596         (__ieee754_sinhl): Force underflow exception for arguments with
20597         small absolute value.
20598         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20599         (__ieee754_sinhl): Force underflow exception for arguments with
20600         small absolute value.
20601         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20602         (__ieee754_sinhl): Force underflow exception for arguments with
20603         small absolute value.
20604         * math/auto-libm-test-in: Add more tests of sinh.
20605         * math/auto-libm-test-out: Regenerated.
20606         * sysdeps/i386/fpu/libm-test-ulps: Update.
20608 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20610         * libio/oldfileops.c: Include unistd.h.
20612 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20614         * stdlib/isomac.c: Include ctype.h.
20616 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20618         * dirent/tst-seekdir.c (main): Converted to ...
20619         (do_test): ... this.
20620         (TEST_FUNCTION): New macro.
20621         Include test-skeleton.c.
20622         * elf/tst-dlmodcount.c (main): Converted to ...
20623         (do_test): ... this.
20624         (TEST_FUNCTION): New macro.
20625         Include test-skeleton.c.
20626         * elf/tst-order-main.c (main): Converted to ...
20627         (do_test): ... this.
20628         (TEST_FUNCTION): New macro.
20629         Include test-skeleton.c.
20630         * elf/tst-pie2.c (main): Converted to ...
20631         (do_test): ... this.
20632         (TEST_FUNCTION): New macro.
20633         Include test-skeleton.c.
20634         * inet/tst-ether_aton.c (main): Converted to ...
20635         (do_test): ... this.
20636         (TEST_FUNCTION): New macro.
20637         Include test-skeleton.c.
20638         * misc/tst-mntent.c (main): Converted to ...
20639         (do_test): ... this.
20640         (TEST_FUNCTION): New macro.
20641         Include test-skeleton.c.
20642         * misc/tst-tsearch.c (main): Converted to ...
20643         (do_test): ... this.
20644         (TEST_FUNCTION): New macro.
20645         Include test-skeleton.c.
20646         * posix/tst-regexloc.c (main): Converted to ...
20647         (do_test): ... this.
20648         (TEST_FUNCTION): New macro.
20649         Include test-skeleton.c.
20650         * resolv/tst-aton.c (main): Converted to ...
20651         (do_test): ... this.
20652         (TEST_FUNCTION): New macro.
20653         Include test-skeleton.c.
20654         * stdio-common/test-fwrite.c (main): Converted to ...
20655         (do_test): ... this.
20656         (TEST_FUNCTION): New macro.
20657         Include test-skeleton.c.
20658         * stdio-common/tst-ferror.c (main): Converted to ...
20659         (do_test): ... this.
20660         (TEST_FUNCTION): New macro.
20661         Include test-skeleton.c.
20662         * stdio-common/tst-printf.c (main): Converted to ...
20663         (do_test): ... this.
20664         (TEST_FUNCTION): New macro.
20665         Include test-skeleton.c.
20666         * stdio-common/tst-printfsz.c (main): Converted to ...
20667         (do_test): ... this.
20668         (TEST_FUNCTION): New macro.
20669         Include test-skeleton.c.
20670         * stdlib/tst-strtod.c (main): Converted to ...
20671         (do_test): ... this.
20672         (TEST_FUNCTION): New macro.
20673         Include test-skeleton.c.
20674         * string/tst-strlen.c (main): Converted to ...
20675         (do_test): ... this.
20676         (TEST_FUNCTION): New macro.
20677         Include test-skeleton.c.
20678         * string/tst-svc.c (main): Converted to ...
20679         (do_test): ... this.
20680         (TEST_FUNCTION): New macro.
20681         Include test-skeleton.c.
20682         * time/tst-strptime.c (main): Converted to ...
20683         (do_test): ... this.
20684         (TEST_FUNCTION): New macro.
20685         Include test-skeleton.c.
20686         * timezone/tst-timezone.c (main): Converted to ...
20687         (do_test): ... this.
20688         (TEST_FUNCTION): New macro.
20689         Include test-skeleton.c.
20691 2015-08-05  Zack Weinberg  <zackw@panix.com>
20693         * misc/regexp.h: Update comments.
20695 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20697         [BZ #18635]
20698         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20699         before return label.
20701 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20703         [BZ #18661]
20704         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20705         when calling __errno_location.
20706         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20707         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20709 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20711         [BZ #18661]
20712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20713         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20714         __gettimeofday.
20716 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20718         [BZ #18661]
20719         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20720         (__start_context): Don't use pop to restore %rdi so that stack
20721         is aligned to 16 bytes when calling __setcontext.
20723 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20725         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20726         only for libc.
20727         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20729 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20731         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20732         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20733         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20735 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20737         * string/memccpy.c (memccpy):
20738         Improve performance by using memchr/memcpy/__mempcpy.
20740 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20742         * string/strncpy.c (strncpy):
20743         Improve performance by using __strnlen/memcpy.
20745 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20747         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20748         Optimize to avoid an unnecessary FPCR read.
20750 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20752         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20753         Optimize to reduce FPCR/FPSR accesses.
20755 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20757         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20758         dead->data[category] != NULL.
20760 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20762         [BZ #18647]
20763         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20764         and |x| close to 1, use absolute value of x when computing log.
20765         * math/auto-libm-test-in: Add more tests of pow.
20766         * math/auto-libm-test-out: Regenerated.
20768 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20770         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20771         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20772         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20774 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20776         [BZ #18525]
20777         * locales/km_KH: Remove timezone definition.
20778         * locales/lo_LA: Likewise.
20779         * locales/my_MM: Likewise.
20780         * locales/nan_TW@latin: Likewise.
20781         * locales/th_TH: Likewise.
20782         * locales/uk_UA: Likewise.
20784 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20786         [BZ #18265]
20787         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20788         (wcsncat): Likewise.
20789         (wcscmp): Likewise.
20790         (wcsncmp): Likewise.
20792 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20794         * test-skeleton.c (usage): New function.
20795         (main): Call usage when opt is '?'.
20797 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20799         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20800         before first use.
20802 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20804         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20805         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20806         in there too.
20808 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20810         * version.h (RELEASE): Set to "development".
20811         (VERSION): Set to "2.22.90"
20813         * version.h (RELEASE): Set to "stable".
20814         (VERSION): Set to "2.22"
20815         * include/features.h (__GLIBC_MINOR__): Set to 22.
20817 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20819         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20820         Restructure macro to avoid "value computed is not used" warning.
20821         (atomic_compare_and_exchange_val_acq): Likewise.
20823 2015-08-04  Andreas Schwab  <schwab@suse.de>
20825         [BZ #18635]
20826         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20827         ret.
20828         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20830 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20832         * po/pl.po: Updated translation.
20833         * po/uk.po: Likewise.
20834         * po/fi.po: Likewise.
20835         * po/ko.po: Likewise.
20836         * po/ru.po: Likewise.
20837         * po/vi.po: Likewise.
20839 2015-07-31  Zack Weinberg  <zackw@panix.com>
20841         [BZ #18681]
20842         * regexp.h: Add unconditional #warning stating that this header
20843         will be removed soon.  Revise banner comment to match.
20844         (compile): Consistently use ERROR instead of RETURN to report
20845         errors (partial fix for bz#18681).
20846         * regexp.c: Don't include regexp.h. Remove some unnecessary
20847         declarations.
20849 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20851         * po/libc.pot: Regenerated.
20853 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20855         [BZ #18740]
20856         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20857         float-vlen4-arch-ext-cflags): Removed.
20858         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20859         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20861 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20863         [BZ #14113]
20864         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20865         aligned to __aligned__.
20866         (pthread_cond_t, pthread_rwlock_t): Likewise.
20868 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20870         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20872 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20874         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20875         (struct sigaction): Change sa_flags from a long to an int, and add
20876         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20878 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20880         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20881         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20882         sysdeps/generic/sysdep.h include.
20883         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20884         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20885         sysdeps/hppa/sysdep.h.
20886         (ENTRY, PSEUDO): Undefine before defining.
20888 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20890         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20891         from scratch to use INTERNAL_SYSCALL.
20893 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20895         [BZ #18078]
20896         * scripts/check-localplt.awk: Support alternate relocations.
20897         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20898         sections.
20899         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20900         malloc entries with + REL R_386_GLOB_DAT.
20901         * sysdeps/x86_64/localplt.data: New file.
20903 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20905         [BZ #18731]
20906         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20907         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20908         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20910 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20912         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20914 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20916         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20917         directly in terms of __sync_fetch_and_add and delete (int) cast.
20919 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20921         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20922         the -D_ASM_IA64_CURRENT_H flag.
20924 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20926         [BZ #18641]
20927         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20929 2015-07-27  Andreas Schwab  <schwab@suse.de>
20931         * conform/conformtest.pl (checknamespace): Filter out string
20932         literals while tokenizing.
20934 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20936         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20937         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20938         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20940 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20942         * nptl/tst-join7mod.c: Add #include <string.h>.
20944 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20946         * sysdeps/nios2/libm-test-ulps: Update.
20948 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20950         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20951         Fix order of arguments to the rt_sigprocmask syscall.
20952         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20953         Likewise.
20955 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20957         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20959 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20961         [BZ #18457]
20962         * nptl/Makefile (tests): New test case tst-join7.
20963         (modules-names): New test case module tst-join7mod.
20964         * nptl/tst-join7.c: New file.
20965         * nptl/tst-join7mod.c: New file.
20966         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20967         all translation units in libc.so, libpthread.so and rtld.
20969 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20973 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20977         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20978         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20979         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20982         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20985         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20986         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20987         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20988         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20989         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20990         implementation.
20992 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20994         [BZ #17711]
20995         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20996         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20997         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20998         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20999         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21000         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21002 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21004         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21005         instead of just saying load lock in the comments.
21007 2015-07-23  Roland McGrath  <roland@hack.frob.com>
21009         * sysdeps/unix/Subdirs: Moved ...
21010         * sysdeps/posix/Subdirs: ... here.
21011         * login/pty.h (struct termios, struct winsize): Add forward decls.
21012         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21013         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21014         * sysdeps/arm/nacl/libc.abilist: Updated.
21015         * sysdeps/nacl/libutil.abilist: New file.
21017         * bits/signum.h: Update comments to mention 1003.1-2013 too.
21018         (SIGWINCH): New macro.
21020         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21021         * sysdeps/arm/nacl/libc.abilist: Add it.
21023 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21025         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21027 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21029         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21030         Swap __glibc_reserved0 and sa_flags order.
21032 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21034         [BZ #18657]
21035         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21036         are pending TLS destructor calls.
21037         * include/link.h (struct link_map): Add concurrency note for
21038         L_TLS_DTOR_COUNT.
21039         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21040         Don't touch the link map flag.  Atomically increment
21041         l_tls_dtor_count.
21042         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21043         Avoid taking the load lock and don't touch the link map flag.
21044         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21045         * stdlib/Makefile (tests): Use it.
21046         * stdlib/tst-tls-atexit.c (do_test): dlopen
21047         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21048         to allow tst-tls-atexit-nodelete test case to use it.
21050 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21052         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21053         to bits/types.h.
21054         (msgqnum_t): New typedef.
21055         (msglen_t): Likewise.
21056         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21057         and msg_qbytes type to msglen_t.
21059 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21061         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21062         pad0 to __glibc_reserved0.
21063         (struct stat64): Likewise.
21065 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21067         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21068         Change sa_flags from a long to an int and add __glibc_reserved0 before
21069         it for padding.
21071 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21073         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21074         anonymous by deleting "siginfo" name.
21076 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21078         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21079         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21080         rather than __nacl_irt_filename.
21081         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21083         * NEWS: New item for arm-nacl port.
21084         * sysdeps/arm/nacl/libc.abilist: New file.
21085         * sysdeps/nacl/ld.abilist: New file.
21086         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21087         * sysdeps/nacl/libanl.abilist: New file.
21088         * sysdeps/nacl/libcrypt.abilist: New file.
21089         * sysdeps/nacl/libdl.abilist: New file.
21090         * sysdeps/nacl/libm.abilist: New file.
21091         * sysdeps/nacl/libpthread.abilist: New file.
21092         * sysdeps/nacl/libresolv.abilist: New file.
21093         * sysdeps/nacl/librt.abilist: New file.
21095 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21097         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21098         __startcontext to initialize the new context.
21099         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21100         up CFI directive to forbid further backtracing.
21102 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21104         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21105         reference.
21106         * charmaps/ANSI_X3.4-1968: Likewise.
21107         * charmaps/BS_4730: Likewise.
21108         * charmaps/BS_VIEWDATA: Likewise.
21109         * charmaps/CP1250: Likewise.
21110         * charmaps/CP1251: Likewise.
21111         * charmaps/CP1252: Likewise.
21112         * charmaps/CP1253: Likewise.
21113         * charmaps/CP1254: Likewise.
21114         * charmaps/CP1255: Likewise.
21115         * charmaps/CP1256: Likewise.
21116         * charmaps/CSN_369103: Likewise.
21117         * charmaps/EBCDIC-DK-NO: Likewise.
21118         * charmaps/GB_1988-80: Likewise.
21119         * charmaps/GREEK-CCITT: Likewise.
21120         * charmaps/GREEK7: Likewise.
21121         * charmaps/INIS-8: Likewise.
21122         * charmaps/ISIRI-3342: Likewise.
21123         * charmaps/ISO_2033-1983: Likewise.
21124         * charmaps/ISO_5427-EXT: Likewise.
21125         * locales/POSIX: Likewise.
21126         * locales/ar_SA: Likewise.
21127         * locales/be_BY: Likewise.
21128         * locales/be_BY@latin: Likewise.
21129         * locales/ca_ES: Likewise.
21130         * locales/cs_CZ: Likewise.
21131         * locales/da_DK: Likewise.
21132         * locales/de_BE: Likewise.
21133         * locales/de_CH: Likewise.
21134         * locales/de_LU: Likewise.
21135         * locales/en_AU: Likewise.
21136         * locales/en_BW: Likewise.
21137         * locales/en_CA: Likewise.
21138         * locales/en_DK: Likewise.
21139         * locales/en_GB: Likewise.
21140         * locales/en_IE: Likewise.
21141         * locales/en_NZ: Likewise.
21142         * locales/en_ZA: Likewise.
21143         * locales/en_ZW: Likewise.
21144         * locales/es_AR: Likewise.
21145         * locales/es_BO: Likewise.
21146         * locales/es_CL: Likewise.
21147         * locales/es_CO: Likewise.
21148         * locales/es_DO: Likewise.
21149         * locales/es_EC: Likewise.
21150         * locales/es_ES: Likewise.
21151         * locales/es_HN: Likewise.
21152         * locales/es_MX: Likewise.
21153         * locales/es_PA: Likewise.
21154         * locales/es_PE: Likewise.
21155         * locales/es_PY: Likewise.
21156         * locales/es_SV: Likewise.
21157         * locales/es_US: Likewise.
21158         * locales/es_UY: Likewise.
21159         * locales/es_VE: Likewise.
21160         * locales/et_EE: Likewise.
21161         * locales/fa_IR: Likewise.
21162         * locales/fo_FO: Likewise.
21163         * locales/fr_CA: Likewise.
21164         * locales/fr_CH: Likewise.
21165         * locales/gv_GB: Likewise.
21166         * locales/he_IL: Likewise.
21167         * locales/hr_HR: Likewise.
21168         * locales/id_ID: Likewise.
21169         * locales/is_IS: Likewise.
21170         * locales/it_CH: Likewise.
21171         * locales/iw_IL: Likewise.
21172         * locales/kl_GL: Likewise.
21173         * locales/ko_KR: Likewise.
21174         * locales/kw_GB: Likewise.
21175         * locales/lg_UG: Likewise.
21176         * locales/lt_LT: Likewise.
21177         * locales/lv_LV: Likewise.
21178         * locales/mi_NZ: Likewise.
21179         * locales/nhn_MX: Likewise.
21180         * locales/nl_BE: Likewise.
21181         * locales/pl_PL: Likewise.
21182         * locales/sk_SK: Likewise.
21183         * locales/sl_SI: Likewise.
21184         * locales/sv_FI: Likewise.
21185         * locales/tl_PH: Likewise.
21186         * locales/tr_TR: Likewise.
21187         * locales/vi_VN: Likewise.
21189 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21191         [BZ #17475]
21192         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21193         of tu_IN and bh_IN.
21195 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21197         [BZ #18694]
21198         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21199         bits/wordsize.h.
21200         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21202 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21204         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21205         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21206         (spawn_thread): New function.
21207         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21208         (do_test): ... here.  Use IS_LOADED to test for its
21209         availability.
21211 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21213         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21215 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21217         [BZ #18696]
21218         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21219         si_addr_bnd.
21220         (si_lower): New.
21221         (si_upper): Likewise.
21223 2015-07-16  David S. Miller  <davem@davemloft.net>
21225         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21227 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21229         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21230         buffer.
21231         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21232         fail output information.
21234 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21237         and strstr-ppc64..
21238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21239         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21240         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21241         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21242         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21244 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21246         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21247         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21248         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21249         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21251 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21253         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21254         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21255         rtld_hidden_proto.
21256         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21258 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21261         the test can fail.
21263         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21265         [BZ #18676]
21266         * elf/tst-nodelete-opened.c: New test case.
21267         * elf/tst-nodelete-opened-lib.c: New test case module.
21268         * elf/Makefile (tests, modules-names): Use them.
21269         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21270         early.
21272 2015-07-15  David S. Miller  <davem@davemloft.net>
21274         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21275         futex-intenal.h
21276         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21277         * sysdeps/sparc/sparc64/Makefile: Likewise.
21278         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21279         Remove space from macro define.
21280         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21282 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21284         [BZ #17475]
21285         * locale/iso-639.def: Update Bhili and Tulu language codes as
21286         per iso639-3.
21288 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21290         * elf/tst-leaks1.c (main): Converted to ...
21291         (do_test): ... this.
21292         (TEST_FUNCTION): New macro.
21293         Include test-skeleton.c.
21294         * localedata/tst-langinfo.c (main): Converted to ...
21295         (do_test): ... this.
21296         (TEST_FUNCTION): New macro.
21297         Include test-skeleton.c.
21298         * math/test-fpucw.c (main): Converted to ...
21299         (do_test): ... this.
21300         (TEST_FUNCTION): New macro.
21301         Include test-skeleton.c.
21302         * math/test-tgmath.c (main): Converted to ...
21303         (do_test): ... this.
21304         (TEST_FUNCTION): New macro.
21305         Include test-skeleton.c.
21306         * math/test-tgmath2.c (main): Converted to ...
21307         (do_test): ... this.
21308         (TEST_FUNCTION): New macro.
21309         Include test-skeleton.c.
21310         * setjmp/tst-setjmp.c (main): Converted to ...
21311         (do_test): ... this.
21312         (TEST_FUNCTION): New macro.
21313         Include test-skeleton.c.
21314         * stdio-common/tst-sscanf.c (main): Converted to ...
21315         (do_test): ... this.
21316         (TEST_FUNCTION): New macro.
21317         Include test-skeleton.c.
21318         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21319         (do_test): ... this.
21320         (TEST_FUNCTION): New macro.
21321         Include test-skeleton.c.
21323         * elf/tst-audit9.c (main): Converted to ...
21324         (do_test): ... this.
21325         (TEST_FUNCTION): New macro.
21326         Include test-skeleton.c.
21328 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21330         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21332 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21334         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21335         New variable.
21337 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21339         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21341 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21343         * sysdeps/generic/dl-fileid.h: New file.
21344         * sysdeps/posix/dl-fileid.h: New file.
21345         * sysdeps/nacl/dl-fileid.h: New file.
21346         * include/link.h: Include <dl-fileid.h>.
21347         (struct link_map): Replace l_dev and l_ino with l_file_id.
21348         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21349         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21350         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21352 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21354         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21356 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21358         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21359         Add iff $CXX is set.
21360         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21361         Likewise.
21362         (tst-nodelete-zmodiff): Likewise.
21363         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21365 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21367         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21369 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21371         * sysdeps/aarch64/fpu/math_private.h
21372         (define math_opt_barrier): Add AArch64 version.
21373         (math_force_eval): Likewise.
21375 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21377         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21379 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21381         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21382         %ld with %jd and cast to intmax_t.
21383         (do_test_length_zero): Likewise.
21385 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21387         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21389 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21391         * sysdeps/tile/libm-test-ulps: Regenerated.
21393         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21394         Comment out the whole function, not just its body.
21396 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21398         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21399         locks.
21401         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21403 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21405         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21406         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21408 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21410         * sysdeps/nptl/futex-internal.h: New file.
21411         * sysdeps/nacl/futex-internal.h: New file.
21412         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21413         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21414         error checking.
21415         (setxid_unmark_thread): Likewise.
21416         (__nptl_setxid): Likewise.
21417         (__wait_lookup_done): Likewise.
21418         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21419         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21420         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21421         * nptl/pthread_once.c (clear_once_control): Likewise.
21422         (__pthread_once_slow): Likewise.
21423         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21424         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21425         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21426         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21427         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21428         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21429         Likewise.
21430         (__pthread_rwlock_rdlock): Likewise.
21431         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21432         Likewise.
21433         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21434         Likewise.
21435         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21436         Likewise.
21437         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21438         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21439         Likewise.
21440         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21441         __ASSUME_PRIVATE_FUTEX check.
21442         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21443         Check that shared futexes are supported.
21444         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21445         wrappers with error checking.
21446         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21447         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21448         * nptl/pthread_barrierattr_setpshared.c
21449         (pthread_barrierattr_setpshared): Check that shared futexes are
21450         supported.
21451         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21452         Likewise.
21453         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21454         Likewise.
21455         * nptl/sem_init.c (futex_private_if_supported): Remove.
21456         (__new_sem_init): Adapt and check that shared futexes are supported.
21457         * nptl/sem_open.c (sem_open): Likewise.
21458         * nptl/sem_post.c (futex_wake): Remove.
21459         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21460         (do_futex_wait): Use futex wrappers with error checking.
21461         * nptl/sem_wait.c: Include lowlevellock.h.
21462         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21463         Use futex_supports_pshared.
21464         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21465         Use futex wrappers with error checking.
21466         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21467         Likewise.
21468         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21469         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21470         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21471         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21472         (futex_wake): Likewise.
21473         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21474         (do_futex_wait): Use futex wrappers with error checking.
21475         (__new_sem_wait_slow): Update EINTR handling.
21476         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21478 2015-07-09  Martin Sebor  <msebor@redhat.com>
21480         [BZ #18435]
21481         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21482         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21483         * nptl/Makefile (test-xfail-tst-once5): Define.
21485 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21487         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21488         * elf/dl-minimal.c: For readability, reorder some definitions and
21489         introduce more page breaks.  Include <stdio.h>.
21490         (__libc_fatal): New function.
21492         * include/unistd.h: Add rtld_hidden_proto for _exit.
21493         * posix/_exit.c: Add rtld_hidden_def.
21494         * sysdeps/mach/hurd/_exit.c: Likewise.
21495         * sysdeps/nacl/_exit.c: Likewise.
21496         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21497         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21499 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21502         bndmov encoding with zero displacement.
21504 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21505             H.J. Lu  <hongjiu.lu@intel.com>
21507         [BZ #18134]
21508         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21509         * sysdeps/i386/configure: Regenerated.
21510         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21511         (_dl_runtime_profile): Save and restore Intel MPX return bound
21512         registers when calling _dl_call_pltexit.  Add
21513         PRESERVE_BND_REGS_PREFIX before return.
21514         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21515         (LRV_BND1_OFFSET): Likewise.
21516         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21517         lrv_bnd1.
21518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21519         typo in bndmov encoding.
21520         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21521         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21522         branch instructions to preserve bounds.
21524 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21527         [GLIBC_2.22]: Add fmemopen.
21529 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21531         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21532         returns an error, also try to use host port from __mach_host_self for
21533         the __vm_wire call.
21534         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21536 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21538         [BZ #18400]
21539         [BZ #18648]
21540         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21541         Fix pr_uid and pr_gid members.
21542         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21543         definition to elf_greg_t.
21545 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21547         [BZ #18383]
21548         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21549         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21550         * sysdeps/arm/configure: Regenerated.
21551         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21552         (test-xfail-tst-tlsalign-static): Variable removed.
21554         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21555         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21556         rather than explicit 'ln -s'.
21558         * resolv/rpc/netdb.h: New file.
21559         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21561 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21563         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21564         length buffers.
21565         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21566         test-skeleton.c.
21568         [BZ #6544]
21569         [BZ #11216]
21570         [BZ #12836]
21571         [BZ #13151]
21572         [BZ #13152]
21573         [BZ #14292]
21574         * include/stdio.h (fmemopen): Remove hidden prototype.
21575         (__fmemopen): Add new hidden prototype.
21576         * libio/Makefile: Add oldfmemopen object.
21577         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21578         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21579         compliance.
21580         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21581         symbol compatibility.
21582         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21583         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21584         fmemopen.
21585         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21586         on append and read mode.
21587         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21588         fmemopen.
21589         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21590         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21591         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21592         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21593         Likewise.
21594         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21595         [GLIBC_2.22]: Likewise.
21596         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21597         Likewise.
21598         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21599         Likewise.
21600         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21601         [GLIBC_2.22]: Likewise.
21602         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21603         [GLIBC_2.22]: Likewise.
21604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21605         [GLIBC_2.22]: Likewise.
21606         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21607         [GLIBC_2.22]: Likewise.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21609         [GLIBC_2.22]: Likewise.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21611         [GLIBC_2.22]: Likewise.
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21613         [GLIBC_2.22]: Likewise.
21614         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21615         Likewise.
21616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21617         Likewise.
21618         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21619         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21620         [GLIBC_2.22]: Likewise.
21621         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21622         [GLIBC_2.22]: Likewise.
21623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21624         [GLIBC_2.22]: Likewise.
21625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21626         [GLIBC_2.22]: Likewise.
21627         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21628         Likewise.
21629         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21630         Likewise.
21631         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21632         Likewise.
21633         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21634         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21636 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21638         [BZ #18643]
21639         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21640         IPV6_PATHMTU, and IPV6_DONTFRAG.
21642 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21644         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21645         and _IO_UNBUFFERED.
21646         * libio/oldfileops.c: Likewise.
21647         * libio/wfileops.c: Likewise.
21649 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21651         * nscd/selinux.c: Delete selinux/flask.h include.
21653 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21655         [BZ #18641]
21656         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21657         (putpwent): Likewise.
21658         (getpwnam): Likewise.
21659         (getpwent_r): Likewise.
21660         (getpwuid_r): Likewise.
21661         (getpwnam_r): Likewise.
21662         (fgetpwent_r): Likewise.
21664 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21666         [BZ #18557]
21667         * inet/rcmd.c (__validuser2_sa): Check user first to
21668         short-circuit host check.
21670 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21671             Mikhail Ilin  <m.ilin@samsung.com>
21673         [BZ #17833]
21674         * elf/Makefile (tests): Add tst-nodelete.
21675         (modules-names): Add tst-nodelete-uniquemod.
21676         (tst-nodelete-uniquemod.so-no-z-defs): New.
21677         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21678         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21679         ($(objpfx)tst-nodelete): Likewise.
21680         ($(objpfx)tst-nodelete.out): Likewise.
21681         (LDFLAGS-tst-nodelete): Likewise.
21682         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21683         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21684         implement forced object deletion.
21685         (_dl_close): Pass false to _dl_close_worker.
21686         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21687         * elf/tst-nodelete.cc: New file.
21688         * elf/tst-nodeletelib.cc: Likewise.
21689         * elf/tst-znodeletelib.cc: Likewise.
21690         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21692 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21694         [BZ #18508]
21695         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21696         Depend on $(libdl).
21697         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21698         is not called infinitely times.
21699         (backtrace_helper): New function.
21700         (trace_arg): New struct.
21701         (st1): Enlarge stack size.
21702         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21703         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21704         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21705         Likewise.
21707 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21709         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21711 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21713         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21714         Include sys/types.h instead of bits/types.h.
21715         Remove inclusion of bits/wordsize.h.
21717 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21719         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21720         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21721         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21722         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21723         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21724         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21726 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21728         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21729         link-defines.sym.
21730         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21731         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21732         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21733         and LR_SIZE.
21734         * sysdeps/i386/link-defines.sym: New file.
21736 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21738         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21739         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21740         ($(objpfx)tst-audit3): New rule.
21741         ($(objpfx)tst-audit3.out): Likewise.
21742         * sysdeps/i386/tst-audit3.c: New file.
21743         * sysdeps/i386/tst-audit3.h: Likewise.
21744         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21745         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21747 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21749         [BZ #18633]
21750         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21751         pointer in C code.
21752         (__strcat_c): Likewise.
21753         (__strcat_g): Likewise.
21755 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21757         [BZ #18592]
21758         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21760 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21762         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21763         New function.  (__ieee754_sqrtf): New function.
21764         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21765         New function.
21766         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21767         New function.
21769 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21771         * sysdeps/ieee754/support.c: Remove unused file.
21773 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21775         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21776         registers instead of d ones so the layout is kernel abi compatible.
21777         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21778         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21779         Likewise.
21781 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21783         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21785 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21787         [BZ #18619]
21788         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21789         and return argument in case of subnormal argument.
21791 2015-07-01  Martin Sebor  <msebor@redhat.com>
21793         [BZ #18435]
21794         * nptl/Makefile: Add tst-once5.cc.
21795         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21796         Remove macro redefinitions.
21797         * nptl/tst-once5.cc: New test.
21799 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21801         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21803         * sysdeps/arm/libm-test-ulps: Regenerated.
21805         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21806         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21808 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21810         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21811         lll_lock_wait_private and lll_futex_wake probes.
21813         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21814         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21815         Likewise.
21816         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21817         atomic_spin_nop.
21818         * sysdeps/x86_64/bits/atomic.h: Likewise.
21819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21820         to atomic_spin_nop and move ...
21821         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21822         ... here and ...
21823         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21824         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21825         atomic_spin_nop instead of BUSY_WAIT_NOP.
21826         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21827         Likewise.
21828         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21829         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21830         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21831         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21832         instead of atomic_delay.
21834 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21836         [BZ #18613]
21837         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21838         X_ADJ not X when adjusting exponent.
21839         (__ieee754_gamma_r): Do intermediate computations in
21840         round-to-nearest then adjust overflowing and underflowing results
21841         as needed.
21842         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21843         of X_ADJ not X when adjusting exponent.
21844         (__ieee754_gammaf_r): Do intermediate computations in
21845         round-to-nearest then adjust overflowing and underflowing results
21846         as needed.
21847         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21848         log of X_ADJ not X when adjusting exponent.
21849         (__ieee754_gammal_r): Do intermediate computations in
21850         round-to-nearest then adjust overflowing and underflowing results
21851         as needed.  Use 1.0L not 1.0f as numerator of division.
21852         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21853         log of X_ADJ not X when adjusting exponent.
21854         (__ieee754_gammal_r): Do intermediate computations in
21855         round-to-nearest then adjust overflowing and underflowing results
21856         as needed.  Use 1.0L not 1.0f as numerator of division.
21857         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21858         of X_ADJ not X when adjusting exponent.
21859         (__ieee754_gammal_r): Do intermediate computations in
21860         round-to-nearest then adjust overflowing and underflowing results
21861         as needed.  Use 1.0L not 1.0f as numerator of division.
21862         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21863         to auto-libm-test-in.
21864         (tgamma_test): Use ALL_RM_TEST.
21865         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21866         tests of tgamma with spurious-overflow.
21867         * math/auto-libm-test-out: Regenerated.
21868         * math/gen-libm-have-vector-test.sh: Do not check for START.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872         [BZ #18612]
21873         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21874         arguments, just return 0.5 times the argument, with underflow
21875         forced as needed.
21876         * math/auto-libm-test-in: Add more tests of j1.
21877         * math/auto-libm-test-out: Regenerated.
21879         [BZ #16559]
21880         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21881         (__ieee754_j1): Force underflow exception for small results.
21882         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21883         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21884         (__ieee754_j1f): Force underflow exception for small results.
21885         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21886         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21887         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21888         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21889         (__ieee754_j1l): Force underflow exception for small results.
21890         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21891         * math/auto-libm-test-in: Add more tests of j1 and jn.
21892         * math/auto-libm-test-out: Regenerated.
21894         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21895         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21896         (PF_MPLS): Likewise.
21897         (AF_IB): Likewise.
21898         (AF_MPLS): Likewise.
21899         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21900         value and macro.
21901         (MS_RMT_MASK): Include MS_LAZYTIME.
21903 2015-06-26  Mel Gorman  <mgorman@suse.de>
21905         [BZ #18502]
21906         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21907         already minimal.
21909 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21911         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21912         (DT_MIPS_NUM): Update.
21913         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21914         DT_MIPS_RLD_MAP_REL.
21916 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #16559]
21919         [BZ #18602]
21920         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21921         round-to-nearest internally then recompute results that
21922         underflowed to zero in the original rounding mode.
21923         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21924         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21926         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21927         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21928         * sysdeps/i386/fpu/libm-test-ulps: Update.
21929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21931 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21933         * NEWS: Fixed description of link with vector math library.
21935 2015-06-25  Andreas Schwab  <schwab@suse.de>
21937         [BZ #18549]
21938         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21939         * libio/test-fmemopen.c (do_test): Add test for it.
21941 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21943         [BZ #17841]
21944         * Makeconfig (no-pie-ldflag): New.
21945         (+link): Set to $(+link-pie) if default to PIE.
21946         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21947         * config.make.in (build-pie-default): New.
21948         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21949         is default.  AC_SUBST.
21950         * configure: Regenerated.
21951         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21953 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21955         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21956         to 'unsigned int'.
21958         * resolv/gai_misc.h (struct waitlist): Change type of field
21959         counterp to 'volatile unsigned int *'.
21960         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21961         FUTEXADDR and OLDVAL.
21962         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21963         Give local variable TOTAL type 'volatile unsigned int'.
21964         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21965         * resolv/gai_suspend.c (gai_suspend):
21966         Give local variable CNTR type 'unsigned int'.
21968         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21969         counterp to 'volatile unsigned int *'.
21970         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21971         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21972         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21973         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21974         Give local variable TOTAL type 'volatile unsigned int'.
21975         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21977 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21979         [BZ #18383]
21980         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21981         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21982         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21983         comment for i386/x86-64.
21984         (test-xfail-tst-tlsalign-extern-static): Removed.
21986 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21988         * math/test-double.h: New file.
21989         * math/test-float.h: Likewise.
21990         * math/test-ldouble.h: Likewise.
21991         * math/test-math-inline.h: Likewise.
21992         * math/test-math-no-inline.h: Likewise.
21993         * math/test-math-scalar.h: Likewise.
21994         * math/test-math-vector.h: Likewise.
21995         * math/test-vec-loop.h: Remove file.  Contents moved into
21996         test-math-vector.h.
21997         * math/libm-test.inc (MATHCONST): Do not document macro.
21998         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21999         and test-math-scalar.h.
22000         (FUNC): Remove macro.
22001         (FUNC_TEST): Likewise.
22002         (FLOAT): Likewise.
22003         (MATHCONST): Likewise.
22004         (PRINTF_EXPR): Likewise.
22005         (PRINTF_XEXPR): Likewise.
22006         (PRINTF_NEXPR): Likewise.
22007         (TEST_DOUBLE): Likewise.
22008         (TEST_MATHVEC): Likewise.
22009         (__NO_MATH_INLINES): Likewise.
22010         * math/test-float.c: Include test-float.h, test-math-no-inline.h
22011         and test-math-scalar.h.
22012         (FUNC): Remove macro.
22013         (FUNC_TEST): Likewise.
22014         (FLOAT): Likewise.
22015         (MATHCONST): Likewise.
22016         (PRINTF_EXPR): Likewise.
22017         (PRINTF_XEXPR): Likewise.
22018         (PRINTF_NEXPR): Likewise.
22019         (TEST_FLOAT): Likewise.
22020         (TEST_MATHVEC): Likewise.
22021         (__NO_MATH_INLINES): Likewise.
22022         * math/test-idouble.c: Include test-double.h, test-math-inline.h
22023         and test-math-scalar.h.
22024         (FUNC): Remove macro.
22025         (FUNC_TEST): Likewise.
22026         (FLOAT): Likewise.
22027         (MATHCONST): Likewise.
22028         (PRINTF_EXPR): Likewise.
22029         (PRINTF_XEXPR): Likewise.
22030         (PRINTF_NEXPR): Likewise.
22031         (TEST_DOUBLE): Likewise.
22032         (TEST_MATHVEC): Likewise.
22033         (TEST_INLINE): Likewise.
22034         (__NO_MATH_INLINES): Likewise.
22035         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22036         test-math-scalar.h.
22037         (FUNC): Remove macro.
22038         (FUNC_TEST): Likewise.
22039         (FLOAT): Likewise.
22040         (MATHCONST): Likewise.
22041         (PRINTF_EXPR): Likewise.
22042         (PRINTF_XEXPR): Likewise.
22043         (PRINTF_NEXPR): Likewise.
22044         (TEST_FLOAT): Likewise.
22045         (TEST_MATHVEC): Likewise.
22046         (TEST_INLINE): Likewise.
22047         (__NO_MATH_INLINES): Likewise.
22048         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22049         and test-math-scalar.h.
22050         (FUNC): Remove macro.
22051         (FUNC_TEST): Likewise.
22052         (FLOAT): Likewise.
22053         (MATHCONST): Likewise.
22054         (PRINTF_EXPR): Likewise.
22055         (PRINTF_XEXPR): Likewise.
22056         (PRINTF_NEXPR): Likewise.
22057         (TEST_LDOUBLE): Likewise.
22058         (TEST_MATHVEC): Likewise.
22059         (TEST_INLINE): Likewise.
22060         (__NO_MATH_INLINES): Likewise.
22061         * math/test-ldouble.c: Include test-ldouble.h,
22062         test-math-no-inline.h and test-math-scalar.h.
22063         (FUNC): Remove macro.
22064         (FUNC_TEST): Likewise.
22065         (FLOAT): Likewise.
22066         (MATHCONST): Likewise.
22067         (PRINTF_EXPR): Likewise.
22068         (PRINTF_XEXPR): Likewise.
22069         (PRINTF_NEXPR): Likewise.
22070         (TEST_LDOUBLE): Likewise.
22071         (TEST_MATHVEC): Likewise.
22072         (__NO_MATH_INLINES): Likewise.
22073         * math/test-double-vlen2.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-double-vlen4.h: Include test-double.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_DOUBLE): 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-double-vlen8.h: Include test-double.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_DOUBLE): 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-vlen4.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         * math/test-float-vlen8.h: Include test-float.h,
22158         test-math-no-inline.h and test-math-vector.h.
22159         (FLOAT): Remove macro.
22160         (FUNC): Likewise.
22161         (MATHCONST): Likewise.
22162         (PRINTF_EXPR): Likewise.
22163         (PRINTF_XEXPR): Likewise.
22164         (PRINTF_NEXPR): Likewise.
22165         (TEST_FLOAT): Likewise.
22166         (TEST_MATHVEC): Likewise.
22167         (__NO_MATH_INLINES): Likewise.
22168         (CNCT): Likewise.
22169         (CONCAT): Likewise.
22170         (WRAPPER_NAME): Likewise.
22171         (WRAPPER_DECL): Likewise.
22172         (WRAPPER_DECL_ff): Likewise.
22173         (WRAPPER_DECL_fFF): Likewise.
22174         (VECTOR_WRAPPER): Likewise.
22175         (VECTOR_WRAPPER_ff): Likewise.
22176         (VECTOR_WRAPPER_fFF): Likewise.
22177         (VEC_LEN): New macro.
22178         * math/test-float-vlen16.h: Include test-float.h,
22179         test-math-no-inline.h and test-math-vector.h.
22180         (FLOAT): Remove macro.
22181         (FUNC): Likewise.
22182         (MATHCONST): Likewise.
22183         (PRINTF_EXPR): Likewise.
22184         (PRINTF_XEXPR): Likewise.
22185         (PRINTF_NEXPR): Likewise.
22186         (TEST_FLOAT): Likewise.
22187         (TEST_MATHVEC): Likewise.
22188         (__NO_MATH_INLINES): Likewise.
22189         (CNCT): Likewise.
22190         (CONCAT): Likewise.
22191         (WRAPPER_NAME): Likewise.
22192         (WRAPPER_DECL): Likewise.
22193         (WRAPPER_DECL_ff): Likewise.
22194         (WRAPPER_DECL_fFF): Likewise.
22195         (VECTOR_WRAPPER): Likewise.
22196         (VECTOR_WRAPPER_ff): Likewise.
22197         (VECTOR_WRAPPER_fFF): Likewise.
22198         (VEC_LEN): New macro.
22199         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22200         test-vec-loop.h.
22201         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22202         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22203         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22204         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22205         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22207         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22209 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22211         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22212         (__getlogin_r): ... this.
22214 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22216         [BZ #18594]
22217         * math/s_ccosh.c (__ccosh): Compare with least normal value
22218         instead of comparing class with FP_SUBNORMAL.
22219         * math/s_ccoshf.c (__ccoshf): Likewise.
22220         * math/s_ccoshl.c (__ccoshl): Likewise.
22221         * math/s_cexp.c (__cexp): Likewise.
22222         * math/s_cexpf.c (__cexpf): Likewise.
22223         * math/s_cexpl.c (__cexpl): Likewise.
22224         * math/s_csin.c (__csin): Likewise.
22225         * math/s_csinf.c (__csinf): Likewise.
22226         * math/s_csinh.c (__csinh): Likewise.
22227         * math/s_csinhf.c (__csinhf): Likewise.
22228         * math/s_csinhl.c (__csinhl): Likewise.
22229         * math/s_csinl.c (__csinl): Likewise.
22230         * math/s_ctan.c (__ctan): Likewise.
22231         * math/s_ctanf.c (__ctanf): Likewise.
22232         * math/s_ctanh.c (__ctanh): Likewise.
22233         * math/s_ctanhf.c (__ctanhf): Likewise.
22234         * math/s_ctanhl.c (__ctanhl): Likewise.
22235         * math/s_ctanl.c (__ctanl): Likewise.
22236         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22237         csin, csinh, ctan and ctanh.
22238         * math/auto-libm-test-out: Regenerated.
22239         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22240         * sysdeps/i386/fpu/libm-test-ulps: Update.
22241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22245         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22246         return value is wrong, print the expected value too.
22248 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22250         [BZ #18585]
22251         * elf/readlib.c (is_gdb_python_file): New.
22252         (process_file): Don't issue errors on filenames with -gdb.py
22253         suffix.
22255 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22257         * math/auto-libm-test-in: Add more tests of csin and csinh.
22258         * math/auto-libm-test-out: Regenerated.
22259         * math/libm-test.inc (csin_test_data): Remove tests moved to
22260         auto-libm-test-in.
22261         (csinh_test_data): Likewise.
22263         [BZ #18593]
22264         * math/s_csin.c (__csin): Negate before rather than after possibly
22265         overflowing multiplication.
22266         * math/s_csinf.c (__csinf): Likewise.
22267         * math/s_csinh.c (__csinh): Likewise.
22268         * math/s_csinhf.c (__csinhf): Likewise.
22269         * math/s_csinhl.c (__csinhl): Likewise.
22270         * math/s_csinl.c (__csinl): Likewise.
22271         * math/auto-libm-test-in: Add some tests of csin and csinh.
22272         * math/auto-libm-test-out: Regenerated.
22273         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22274         (csinh_test_data): Likewise.
22275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22277         [BZ #18586]
22278         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22279         underflow exception for small results.
22281 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22283         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22284         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22285         variable and included header.
22286         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22287         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22288         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22289         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22290         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22291         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22294         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22295         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22296         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22297         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22298         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22299         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22300         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22301         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22303 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #16526]
22306         [BZ #16538]
22307         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22308         (__sin): Force underflow exception for arguments with small
22309         absolute value.
22310         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22311         (__kernel_sinf): Force underflow exception for arguments with
22312         small absolute value.
22313         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22314         (__kernel_sincosl): Force underflow exception for arguments with
22315         small absolute value.
22316         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22317         (__kernel_sinl): Force underflow exception for arguments with
22318         small absolute value.
22319         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22320         (__kernel_sincosl): Force underflow exception for arguments with
22321         small absolute value.
22322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22323         (__kernel_sinl): Force underflow exception for arguments with
22324         small absolute value.
22325         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22326         (__kernel_sinl): Force underflow exception for arguments with
22327         small absolute value.
22328         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22329         (__kernel_sinf): Force underflow exception for arguments with
22330         small absolute value.
22331         * math/auto-libm-test-in: Add more tests of sin and sincos.
22332         * math/auto-libm-test-out: Regenerated.
22334         [BZ #18245]
22335         [BZ #18583]
22336         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22337         (__kernel_standard_l): Use feholdexcept and fesetenv around
22338         conversion to double instead of special-casing overflow and
22339         underflow.
22340         * math/libm-test.inc (fmod_test_data): Add more tests.
22341         (remainder_test_data): Likewise.
22342         (sqrt_test_data): Likewise.
22344 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22346         [BZ #17403]
22347         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22348         atomic_read_barrier, atomic_write_barrier): Define.
22349         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22350         atomic_read_barrier, atomic_write_barrier): Define.
22352 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22354         * math/Makefile [$(PERL) != no]
22355         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22356         dependency on libm-test.stmp below the inclusion of Rules.
22358 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22362         and included header.
22363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22366         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22367         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22369         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22370         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22371         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22372         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22373         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22374         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22375         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22376         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22377         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22378         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22379         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22380         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22381         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22383 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22385         [BZ #18371]
22386         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22387         intermediate but not final result might underflow.
22388         * math/s_csqrtf.c (__csqrtf): Likewise.
22389         * math/s_csqrtl.c (__csqrtl): Likewise.
22390         * math/auto-libm-test-in: Add more tests of csqrt.
22391         * math/auto-libm-test-out: Regenerated.
22392         * sysdeps/i386/fpu/libm-test-ulps: Update.
22394         [BZ #18219]
22395         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22396         threshold on absolute value of exponent for which scaling is used.
22397         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22398         * math/auto-libm-test-in: Add more tests of exp2.
22399         * math/auto-libm-test-out: Regenerated.
22401 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22403         [BZ #17977]
22404         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22405         when initializing interface list, based on the bug analysis
22406         and the patch proposed by Eric Newton.
22407         * resolv/tst-res_hconf_reorder.c: New test.
22408         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22409         tst-res_hconf_reorder.
22410         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22411         and $(shared-thread-library).
22412         (tst-res_hconf_reorder-ENV): New variable.
22414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22415         in comment.
22417 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22419         [BZ #16353]
22420         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22421         (__expm1): Force underflow exception for arguments with small
22422         absolute value.
22423         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22424         (__expm1f): Force underflow exception for arguments with small
22425         absolute value.
22426         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22427         (__expm1): Force underflow exception for arguments with small
22428         absolute value.
22429         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22430         (__expm1f): Force underflow exception for arguments with small
22431         absolute value.
22432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22433         Check for small arguments before calling __expm1.
22434         * math/auto-libm-test-in: Do not mark underflow exceptions as
22435         possibly missing for bug 16353.
22436         * math/auto-libm-test-out: Regenerated.
22438 2015-06-22  Andreas Schwab  <schwab@suse.de>
22440         [BZ #18513]
22441         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22442         PTR queries.
22444 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22446         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22448         * string/strcoll_l.c: Remove unused struct element idxnow.
22450 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22452         [BZ #18569]
22453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22454         underflow and return argument in case of subnormal argument.
22455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22456         Likewise.
22457         * math/auto-libm-test-in: Add more tests of expm1.
22458         * math/auto-libm-test-out: Regenerated.
22460         [BZ #16361]
22461         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22462         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22463         tiny results.
22464         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22465         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22466         tiny results.
22467         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22468         mark underflow exceptions as possibly missing for bug 16361.
22469         * math/auto-libm-test-out: Regenerated.
22471 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22473         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22474         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22475         Remove variable.
22476         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22477         (test-xfail-XOPEN2K8/utmpx.h/conform).
22479         * conform/conformtest.pl ($xerrors): New variable.
22480         (note_error): New function.
22481         (compiletest): New argument $xfail.  Use not_error.
22482         (runtest): Likewise.
22483         (top level): Handle xfail- lines.  Update calls to compiletest and
22484         runtest.  Handle xfail- and optional- in headers listed with
22485         allow-header.
22486         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22487         (O_EXEC): Likewise.
22488         (O_SEARCH): Likewise.
22489         * conform/data/stropts.h-data (ioctl): Likewise.
22490         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22491         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22492         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22493         (msghdr.msg_controllen): Likewise.
22494         (cmsghdr.cmsg_len): Likewise.
22495         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22496         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22497         variable.
22498         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22499         (test-xfail-XPG4/stropts.h/conform): Likewise.
22500         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22501         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22502         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22503         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22504         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22505         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22506         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22507         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22508         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22509         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22510         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22511         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22512         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22513         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22514         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22515         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22516         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22517         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22518         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22520 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22522         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22523         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22524         definitions for proper unfolding of __MATHDECL_VEC.
22526 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22528         * benchtests/bench-strcoll.c:
22529         Include string.h.
22530         (main): Remove unused variable res.
22532 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22534         * timezone/Makefile (%/UTC %/Universal):
22535         Generate test-result files for UTC and Universal.
22537 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22539         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22541 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22543         [BZ #16350]
22544         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22545         for arguments with small absolute value.
22546         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22547         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22548         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22549         (__asinh): Force underflow exception for arguments with small
22550         absolute value.
22551         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22552         (__asinhf): Force underflow exception for arguments with small
22553         absolute value.
22554         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22555         (__asinhl): Force underflow exception for arguments with small
22556         absolute value.
22557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22558         (__asinhl): Force underflow exception for arguments with small
22559         absolute value.
22560         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22561         (__asinhl): Force underflow exception for arguments with small
22562         absolute value.
22563         * math/auto-libm-test-in: Do not mark underflow exceptions as
22564         possibly missing for bug 16350.
22565         * math/auto-libm-test-out: Regenerated.
22567         * include/bits/ipc.h: Remove file.
22568         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22569         variable.
22570         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22571         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22572         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22573         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22574         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22575         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22576         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22577         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22578         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22580         * math/auto-libm-test-in: Remove spurious underflow allowance for
22581         tests of cexp.
22582         * math/auto-libm-test-out: Regenerated.
22584         [BZ #18558]
22585         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22586         unconditional definition.
22587         (MCAST_BLOCK_SOURCE): Likewise.
22588         (MCAST_UNBLOCK_SOURCE): Likewise.
22589         (MCAST_LEAVE_GROUP): Likewise.
22590         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22591         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22592         (MCAST_MSFILTER): Likewise.
22593         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22594         Remove variable.
22595         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22596         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22597         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22598         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22599         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22601 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22603         * NEWS: Mention addition of x86_64 vector sincosf.
22604         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22605         * math/test-float-vlen4.h: Likewise.
22606         * math/test-float-vlen8.h: Likewise.
22607         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22608         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22610         * sysdeps/x86_64/fpu/Versions: New versions added.
22611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22612         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22613         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22614         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22617         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22618         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22619         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22620         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22621         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22622         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22623         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22624         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22625         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22626         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22627         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22628         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22629         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22630         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22631         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22632         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22633         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22634         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22636         * NEWS: Mention addition of x86_64 vector sincos.
22637         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22638         * math/math.h (__MATHDECL_VEC): New macro.
22639         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22640         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22641         declaration under condition.
22642         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22643         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22644         TEST_VEC_LOOP change.
22645         * math/test-double-vlen4.h: Likewise.
22646         * math/test-double-vlen8.h: Likewise.
22647         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22648         * math/test-float-vlen4.h: Likewise.
22649         * math/test-float-vlen8.h: Likewise.
22650         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22651         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22653         * sysdeps/x86_64/fpu/Versions: New versions added.
22654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22656         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22660         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22661         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22663         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22664         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22665         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22666         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22667         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22668         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22669         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22671         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22675         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22677         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22681         redirections for powf.
22682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22683         * sysdeps/x86_64/fpu/Versions: New versions added.
22684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22686         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22687         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22690         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22691         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22692         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22693         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22694         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22695         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22696         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22697         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22698         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22699         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22700         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22701         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22703         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22706         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22707         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22708         * math/test-float-vlen16.h: Fixed 2 argument macro.
22709         * math/test-float-vlen4.h: Likewise.
22710         * math/test-float-vlen8.h: Likewise.
22711         * NEWS: Mention addition of x86_64 vector powf.
22713 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22715         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22716         and redefine.
22717         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22718         and redefine.
22719         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22720         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22721         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22723         [BZ #18553]
22724         * resource/getpriority.c (getpriority): Rename to __getpriority
22725         and define as weak alias of __getpriority.
22726         * resource/setpriority.c (setpriority): Rename to __setpriority
22727         and define as weak alias of __setpriority.
22728         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22729         __getpriority and define as weak alias of __getpriority.
22730         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22731         __setpriority and define as weak alias of __setpriority.
22732         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22733         strong name.
22734         (setpriority): Use __setpriority as strong name.
22735         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22736         __getpriority and define as weak alias of __getpriority.
22737         * include/sys/resource.h (__getpriority): Declare.  Use
22738         libc_hidden_proto.
22739         (__setpriority): Likewise.
22740         (getpriority): Don't use libc_hidden_proto.
22741         (setpriority): Likewise.
22742         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22743         getpriority.  Call __setpriority instead of setpriority.
22744         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22745         Remove variable.
22747         [BZ #18547]
22748         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22749         as weak alias of __getttynam.  Use prototype function definition.
22750         Call __setttyent, __getttyent and __endttyent instead of
22751         setttyent, getttyent and endttyent.
22752         (getttyent): Rename to __getttyent and define as weak alias of
22753         __getttyent.  Call __setttyent instead of setttyent.  Call
22754         __fgets_unlocked instead of fgets_unlocked.
22755         (setttyent): Rename to __setttyent and define as weak alias of
22756         __setttyent.
22757         (endttyent): Rename to __endttyent and define as weak alias of
22758         __endttyent.
22759         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22760         (__setttyent): Likewise.
22761         (__endttyent): Likewise.
22762         (getttyent): Don't use libc_hidden_proto.
22763         (setttyent): Likewise.
22764         (endttyent): Likewise.
22765         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22766         __endttyent instead of setttyent, getttyent and endttyent.
22767         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22768         Remove variable.
22770         [BZ #18546]
22771         * socket/recv.c (__recv): Use libc_hidden_def.
22772         * socket/socket.c (__socket): Likewise.
22773         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22774         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22775         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22776         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22777         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22778         libc_hidden_def.
22779         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22780         libc_hidden_weak.
22781         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22782         Use libc_hidden_proto.
22783         (__recv): Likewise.
22784         * socket/Versions (libc): Export __recv and __socket at version
22785         GLIBC_PRIVATE.
22786         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22787         instead of recv.
22788         (init_mq_netlink): Call __socket instead of socket.
22789         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22790         Remove variable.
22792         [BZ #18545]
22793         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22794         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22795         hidden_weak.
22796         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22797         define as alias of __mq_timedsend.  Use hidden_weak.
22798         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22799         __mq_timedsend as strong name.
22800         (mq_timedreceive): Use __mq_timedreceive as strong name.
22801         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22802         (__mq_timedreceive): Likewise.
22803         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22804         __mq_timedreceive instead of mq_timedreceive.
22805         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22806         instead of mq_timedsend.
22807         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22808         Remove variable.
22810         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22811         hidden_def and hidden_weak instead of libc_hidden_def and
22812         libc_hidden_weak.
22813         (top level): Refer to hidden_def in comment.
22814         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22815         macro.  Use it instead of libc_hidden_def.
22816         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22817         specify __GI_* name explicitly.
22818         (mq_timedreceive): Likewise.
22819         (mq_setattr): Likewise.
22821         [BZ #18544]
22822         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22823         __pthread_barrier_init and define as weak alias of
22824         __pthread_barrier_init.
22825         * sysdeps/sparc/nptl/pthread_barrier_init.c
22826         (pthread_barrier_init): Likewise.
22827         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22828         __pthread_barrier_wait and define as weak alias of
22829         __pthread_barrier_wait.
22830         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22831         (pthread_barrier_wait): Likewise.
22832         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22833         (pthread_barrier_wait): Likewise.
22834         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22835         (pthread_barrier_wait): Likewise.
22836         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22837         (pthread_barrier_wait): Likewise.
22838         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22839         __pthread_barrier_wait at version GLIBC_PRIVATE.
22840         * include/pthread.h (__pthread_barrier_init): Declare.
22841         (__pthread_barrier_wait): Likewise.
22842         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22843         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22844         (helper_thread): Likewise.
22845         (init_mq_netlink): Call __pthread_barrier_init instead of
22846         pthread_barrier_init.
22848         [BZ #18542]
22849         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22850         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22851         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22852         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22853         vswscanf.
22854         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22855         Remove variable.
22857         [BZ #18540]
22858         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22859         strong alias of _IO_fflush.  Use libc_hidden_def.
22860         * libio/iofflush_u.c (fflush_unlocked): Rename to
22861         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22862         Use libc_hidden_weak.
22863         * include/stdio.h (__fflush_unlocked): Declare.  Use
22864         libc_hidden_proto.
22865         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22866         fflush_unlocked.
22867         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22868         Remove variable.
22870         [BZ #18539]
22871         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22872         define as weak alias of __addseverity.
22873         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22874         Remove variable.
22875         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22876         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22877         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22879         [BZ #18536]
22880         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22881         (__tfind): Likewise.
22882         (__tdelete): Likewise.
22883         (__twalk): Likewise.
22884         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22885         __twalk to GLIBC_PRIVATE.
22886         * include/search.h (__tsearch): Use libc_hidden_proto.
22887         (__tfind): Likewise.
22888         (__tdelete): Likewise.
22889         (__twalk): Likewise.
22890         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22891         Call __tdelete instead of tdelete.
22892         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22893         tfind.  Call __tsearch instead of tsearch.
22894         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22895         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22896         Remove variable.
22897         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22899         [BZ #18534]
22900         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22901         (dprintf): Define as a weak alias of __dprintf, not a strong
22902         alias.
22903         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22904         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22905         dprintf.
22906         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22907         Remove variable.
22908         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22909         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22911         [BZ #18533]
22912         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22913         not a strong alias.
22914         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22915         Remove variable.
22917         [BZ #18532]
22918         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22919         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22920         (in6addr_loopback): Rename to __in6addr_loopback and define as
22921         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22922         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22923         libc_hidden_proto.
22924         (__in6addr_any): Likewise.
22925         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22926         in6addr_any.
22927         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22928         variable.
22929         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22931 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22933         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22934         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22937         redirections for pow.
22938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22939         * sysdeps/x86_64/fpu/Versions: New versions added.
22940         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22942         build of SSE, AVX2 and AVX512 IFUNC versions.
22943         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22944         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22945         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22946         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22947         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22948         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22949         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22950         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22951         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22952         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22953         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22954         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22955         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22956         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22957         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22958         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22960         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22961         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22962         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22963         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22964         * NEWS: Mention addition of x86_64 vector pow.
22966         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22967         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22968         redirections for expf.
22969         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22970         * sysdeps/x86_64/fpu/Versions: New versions added.
22971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22972         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22973         build of SSE, AVX2 and AVX512 IFUNC versions.
22974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22975         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22977         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22979         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22980         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22981         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22982         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22983         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22984         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22985         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22986         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22987         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22988         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22989         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22991         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22992         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22993         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22994         * NEWS: Mention addition of x86_64 vector expf.
22996         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22997         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23000         redirections for exp.
23001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23002         * sysdeps/x86_64/fpu/Versions: New versions added.
23003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23005         build of SSE, AVX2 and AVX512 IFUNC versions.
23006         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23007         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23008         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23009         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23010         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23011         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23012         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23013         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23014         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23015         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23016         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23017         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23018         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23019         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23020         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23022         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23023         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23024         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23025         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23026         * NEWS: Mention addition of x86_64 vector exp.
23028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23029         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23030         redirections for logf.
23031         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23032         * sysdeps/x86_64/fpu/Versions: New versions added.
23033         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23034         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23035         build of SSE, AVX2 and AVX512 IFUNC versions.
23036         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23037         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23038         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23040         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23041         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23042         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23043         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23044         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23045         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23046         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23047         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23048         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23049         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23050         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23051         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23052         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23054         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23055         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23056         * NEWS: Mention addition of x86_64 vector logf.
23058         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23059         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23060         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23061         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23062         redirections for log.
23063         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23064         * sysdeps/x86_64/fpu/Versions: New versions added.
23065         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23066         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23067         build of SSE, AVX2 and AVX512 IFUNC versions.
23068         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23069         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23070         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23071         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23072         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23073         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23074         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23075         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23076         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23077         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23078         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23079         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23080         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23081         test.
23082         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23084         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23085         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23086         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23087         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23088         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23089         * NEWS: Mention addition of x86_64 vector log.
23091 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23093         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23094         cfi_adjust_cfa_offset argument.
23095         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23096         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23098         [BZ #18034]
23099         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23100         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23101         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23102         ordering using ldar.
23103         (_dl_tlsdesc_dynamic): Likewise.
23104         (_dl_tlsdesc_return_lazy): Likewise.
23105         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23106         relaxed atomics instead of volatile and synchronize with release store.
23107         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23108         volatile.
23109         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23111 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23113         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23114         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23116         * sysdeps/x86_64/fpu/Versions: New versions added.
23117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23119         build of SSE, AVX2 and AVX512 IFUNC versions.
23120         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23122         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23123         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23124         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23126         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23127         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23128         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23129         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23130         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23131         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23132         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23133         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23134         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23135         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23137         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23138         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23139         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23140         * NEWS: Mention addition of x86_64 vector sinf.
23142 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23144         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23145         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23146         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23147         Remove variable.
23148         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23149         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23151 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23153         [BZ #18530]
23154         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23155         strong alias of _IO_fputs.  Use libc_hidden_def.
23156         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23157         and define as weak alias of __fputs_unlocked.  Use
23158         libc_hidden_weak.
23159         * include/stdio.h (__fputs_unlocked): Declare.  Use
23160         libc_hidden_proto.
23161         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23162         fputs_unlocked.
23164         [BZ #18529]
23165         * resolv/netdb.h [__USE_POSIX]: Change condition to
23166         [__USE_XOPEN2K].
23167         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23168         not expect.
23169         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23170         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23171         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23172         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23173         [XPG4 || UNIX98] (AI_ALL): Likewise.
23174         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23175         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23176         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23177         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23178         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23179         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23180         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23181         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23182         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23183         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23184         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23185         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23186         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23187         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23188         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23189         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23190         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23191         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23192         [XPG4 || UNIX98] (gai_strerror): Likewise.
23193         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23194         [XPG4 || UNIX98] (getnameinfo): Likewise.
23196         [BZ #18528]
23197         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23198         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23199         __USE_XOPEN2K8].
23200         (getgrent): Likewise.
23201         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23202         expect.
23203         [XPG3 || POSIX2008] (endgrent): Likewise.
23204         [XPG3] (setgrent): Likewise.
23205         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23206         variable.
23207         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23209         [BZ #18527]
23210         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23211         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23212         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23213         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23214         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23215         * include/unistd.h (__getlogin_r): Declare.  Use
23216         libc_hidden_proto.
23217         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23218         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23219         variable.
23220         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23221         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23222         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23224 2015-06-12  Martin Sebor  <msebor@redhat.com>
23226         [BZ #18512]
23227         * Makerules (check-install-supported): New target.
23228         (install): Add check-install-supported as a dependency.
23229         * manual/install.texi (Installing the C Library): Document
23230         that overriding prefix and exec_prefix is not supported.
23231         Mention DESTDIR.
23232         * INSTALL: Regenerate from the above.
23234 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23236         [BZ #18519]
23237         * posix/Versions (libc): Export __libc_pread at version
23238         GLIBC_PRIVATE.
23239         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23240         instead of pread.
23241         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23242         variable.
23244         [BZ #18522]
23245         * misc/efgcvt_r.c
23246         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23247         (cvt_symbol): Use weak_alias instead of strong_alias.
23248         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23249         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23250         Remove variable.
23251         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23252         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23254         [BZ #18520]
23255         * inet/herrno.c (h_errno): Rename to __h_errno.
23256         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23257         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23258         to __h_errno instead of h_errno.
23259         * nptl/herrno.c (h_errno): Rename to __h_errno.
23260         (__h_errno_location): Refer to __h_errno not h_errno.
23261         * resolv/Versions (h_errno): Rename to __h_errno.
23262         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23263         Remove variable.
23264         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23266 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23268         * configure.ac: More strict check for AVX512 assembler support.
23269         * configure: Regenerated.
23271         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23272         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23273         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23274         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23276         * sysdeps/x86_64/fpu/Versions: New versions added.
23277         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23278         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23279         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23284         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23285         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23286         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23287         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23288         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23289         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23290         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23291         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23292         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23293         test.
23294         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23295         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23296         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23297         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23298         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23299         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23300         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23301         * NEWS: Mention addition of x86_64 vector sin.
23303 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23305         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23306         comment.
23308 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23310         [BZ #18479]
23311         * nptl/pt-interp.c: New file.
23312         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23313         Add pt-interp.
23314         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23315         $(common-objpfx)runtime-linker.h.
23317 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23319         * Makeconfig (+interp): Remove unused variable.
23320         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23321         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23322         $(elf-objpfx)runtime-linker.h.
23323         ($(elf-objpfx)runtime-linker.h): Rename to
23324         $(common-objpfx)runtime-linker.h and move ...
23325         * Makerules [$(build-shared) = yes]: ... here.
23326         * elf/interp.c: Include <runtime-linker.h> instead of
23327         <elf/runtime-linker.h>.
23329 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23331         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23332         (__gettimeofday_syscall): Remove vsyscall fallback.
23333         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23334         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23335         Add syscall fallback function.
23336         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23337         if vDSO is not present.
23338         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23339         fallback function.
23340         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23341         present.
23342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23343         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23345 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23347         [BZ #18497]
23348         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23349         of wcscmp.
23350         (wcscmp): Define as weak alias of WCSCMP.
23351         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23352         wcscoll.
23353         (USE_HIDDEN_DEF): Define.
23354         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23355         __wcscoll.  Don't use libc_hidden_weak.
23356         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23357         wcscmp.
23358         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23359         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23360         __GI_wcscmp.
23361         (weak_alias): Undefine and redefine.
23362         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23363         __wcscmp and define as weak alias of __wcscmp.
23364         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23365         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23366         (__wcscoll): Likewise.
23367         (wcscmp): Don't use libc_hidden_proto.
23368         (wcscoll): Likewise.
23369         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23370         wcscoll.
23371         * posix/regexec.c (check_node_accept_bytes): Likewise.
23372         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23373         variable.
23374         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23375         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23377         [BZ #18507]
23378         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23379         __fstatvfs and define as weak alias of __fstatvfs.  Use
23380         libc_hidden_weak.
23381         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23382         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23383         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23384         Define as alias of __fstatvfs, not fstatvfs.
23385         (fstatvfs64): Likewise.
23386         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23387         Define as alias of __statvfs, not statvfs.
23388         (statvfs64): Likewise.
23389         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23390         Remove variable.
23392 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23395         (HAVE_GETCPU_VSYSCALL): Define.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23397         (HAVE_GETCPU_VSYSCALL): Likewise.
23398         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23399         * sysdeps/unix/sysv/linux/sched_getcpu.c
23400         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23401         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23402         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23403         prototype.
23404         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23405         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23408         Define.
23409         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23410         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23414 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23416         * sysdeps/x86_64/fpu/Makefile: New file.
23417         * sysdeps/x86_64/fpu/Versions: New file.
23418         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23419         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23420         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23421         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23422         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23423         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23424         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23425         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23426         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23428         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23429         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23430         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23431         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23432         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23434         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23435         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23436         * sysdeps/x86_64/configure: Regenerated.
23437         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23438         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23439         * manual/install.texi (Configuring and compiling): Document
23440         --disable-mathvec.
23441         * INSTALL: Regenerated.
23442         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23444         * math/Makefile: Added rules for vector tests.
23445         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23446         declaration under condition.
23447         * math/test-double-vlen2.h: New file.
23448         * math/test-double-vlen4.h: New file.
23449         * math/test-double-vlen8.h: New file.
23450         * math/test-vec-loop.h: Added initialization macro.
23451         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23453         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23455         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23457         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23458         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23459         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23460         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23461         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23464         * sysdeps/x86_64/fpu/Versions: New versions added.
23465         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23468         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23469         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23472         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23473         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23474         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23475         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23476         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23477         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23478         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23479         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23480         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23482         * NEWS: Mention addition of x86_64 vector cosf.
23484         * math/Makefile: Added CFLAGS for new tests.
23485         * math/test-float-vlen16.h: New file.
23486         * math/test-float-vlen4.h: New file.
23487         * math/test-float-vlen8.h: New file.
23488         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23489         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23491         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23492         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23493         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23494         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23495         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23496         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23497         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23498         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23500 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23502         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23503         * locale/programs/ld-ctype.c: Likewise.
23505 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23507         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23508         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23509         bit_ZMM16_31_state): New macro.
23510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23511         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23513 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23515         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23517 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23519         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23521 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23523         [BZ #18498]
23524         * libio/memstream.c (open_memstream): Rename to __open_memstream
23525         and define as weak alias of __open_memstream.
23526         * include/stdio.h (__open_memstream): Declare.  Use
23527         libc_hidden_proto.
23528         (open_memstream): Don't use libc_hidden_proto.
23529         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23530         open_memstream.
23531         * posix/getopt.c (_getopt_internal_r): Likewise.
23532         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23533         variable.
23534         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23535         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23536         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23538         [BZ #18496]
23539         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23540         instead of wcrtomb.
23542         [BZ #18483]
23543         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23544         [__USE_XOPEN2K8].  Remove redundant #endif.
23545         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23546         Remove redundant #if.
23547         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23548         Remove variable.
23549         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23550         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23552         [BZ #18495]
23553         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23554         (__iswlower): Likewise.
23555         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23556         (__iswlower): Likewise.
23557         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23558         instead of towlower.
23559         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23560         instead of iswlower.  Call __towupper instead of towupper.
23561         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23562         instead of iswalnum.
23564 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23566         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23567         errors to stderr.
23569 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23571         [BZ #15661]
23572         [BZ #17322]
23573         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23574         Check for overflow properly.  Check for O_APPEND.  Ignore large
23575         file system block sizes.  Add comments about problems.
23576         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23577         * manual/filesys.texi (Storage Allocation): New node.
23579 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23581         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23582         cancellable syscalls.
23583         (SYS_ify): Add guard to no redefine it.
23584         (INLINE_SYSCALL): Likewise.
23585         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23586         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23587         SYSCALL_CANCEL instead.
23588         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23589         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23590         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23591         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23592         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23593         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23594         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23595         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23596         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23597         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23598         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23599         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23600         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23601         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23602         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23604         Likewise.
23605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23606         (__libc_pread64): Likewise.
23607         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23608         (__libc_preadv): Likewise.
23609         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23610         (__libc_readv64): Likewise.
23611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23612         (__libc_pwrite): Likewise.
23613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23614         (__libc_pwrite64): Likewise.
23615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23616         (__libc_pwritev): Likewise.
23617         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23618         (__libc_pwritev64): Likewise.
23619         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23620         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23621         (sync_file_range): Likewise.
23622         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23623         Likewise.
23624         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23625         Likewise.
23626         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23627         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23628         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23629         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23630         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23631         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23632         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23633         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23635         Likewise.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23637         (__libc_read64): Likewise.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23639         Likewise.
23640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23641         Likewise.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23643         Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23647         (__libc_pread64): Likewise.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23649         Likewise.
23650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23651         (__libc_pwrite64): Likewise.
23652         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23653         (sync_file_range): Likewise.
23654         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23655         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23656         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23657         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23658         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23659         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23660         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23661         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23662         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23663         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23664         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23665         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23666         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23667         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23668         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23669         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23670         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23671         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23672         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23673         Likewise.
23674         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23675         Likewise.
23676         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23677         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23678         Likewise.
23679         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23680         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23681         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23682         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23683         Likewise.
23684         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23685         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23686         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23687         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23688         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23690 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23692         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23693         Include dl-vdso.
23694         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23695         Use VDSO routines for gettimeofday, clock_gettime if
23696         available.
23697         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23698         Declare VDSO symbols.
23699         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23700         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23701         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23702         * sysdeps/unix/sysv/linux/arm/Versions: Add
23703         __vdso_clock_gettime.
23705 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23707         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23708         be an inline implementation regardless of library is built within.
23709         (open_not_cancel_2): Likewise.
23710         (__read_nocancel): Likewise.
23711         (__write_nocancel): Likewise.
23712         (openat_not_cancel): Likewise.
23713         (openat_not_cancel_3): Likewise.
23714         (openat64_not_cancel): Likewise.
23715         (openat64_not_cancel_3): Likewise.
23716         (__close_nocancel): Likewise.
23717         (pause_not_cancel): Likewise.
23718         (nanosleep_not_cancel): Likewise.
23719         (sigsuspend_not_cancel): Likewise.
23721 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23723         [BZ #14958]
23724         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23725         wake-up.
23726         (__pthread_rwlock_rdlock_slow): Likewise.
23727         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23728         Likewise.
23729         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23730         Likewise.
23731         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23732         * nptl/tst-rwlock16.c: New file.
23733         * nptl/Makefile (tests): Add new test.
23735 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23737         [BZ #18324]
23738         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23739         missing wake-up of readers.
23740         * nptl/tst-rwlock15.c: New file.
23741         * nptl/Makefile (tests): Add new test.
23743 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23745         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23746         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23747         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23748         and __nacl_supply_interface_rtld.
23749         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23750         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23751         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23752         Add __nacl_supply_interface_rtld.
23753         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23755 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23757         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23758         isfinite.
23759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23760         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23762 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23764         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23765         __signbit* with standard C99 macros.
23766         * math/e_exp10l.c: Likewise.
23767         * math/e_exp2l.c: Likewise.
23768         * math/e_scalb.c: Likewise.
23769         * math/e_scalbf.c: Likewise.
23770         * math/e_scalbl.c: Likewise.
23771         * math/s_ldexp.c: Likewise.
23772         * math/s_ldexpf.c: Likewise.
23773         * math/s_ldexpl.c: Likewise.
23774         * math/w_atan2.c: Likewise.
23775         * math/w_atan2f.c: Likewise.
23776         * math/w_atan2l.c: Likewise.
23777         * math/w_cosh.c: Likewise.
23778         * math/w_coshf.c: Likewise.
23779         * math/w_coshl.c: Likewise.
23780         * math/w_exp10.c: Likewise.
23781         * math/w_exp10f.c: Likewise.
23782         * math/w_exp10l.c: Likewise.
23783         * math/w_exp2.c: Likewise.
23784         * math/w_exp2f.c: Likewise.
23785         * math/w_exp2l.c: Likewise.
23786         * math/w_fmod.c: Likewise.
23787         * math/w_fmodf.c: Likewise.
23788         * math/w_fmodl.c: Likewise.
23789         * math/w_hypot.c: Likewise.
23790         * math/w_hypotf.c: Likewise.
23791         * math/w_hypotl.c: Likewise.
23792         * math/w_jnl.c: Likewise.
23793         * math/w_lgamma.c: Likewise.
23794         * math/w_lgamma_r.c: Likewise.
23795         * math/w_lgammaf.c: Likewise.
23796         * math/w_lgammaf_r.c: Likewise.
23797         * math/w_lgammal.c: Likewise.
23798         * math/w_lgammal_r.c: Likewise.
23799         * math/w_pow.c: Likewise.
23800         * math/w_powf.c: Likewise.
23801         * math/w_powl.c: Likewise.
23802         * math/w_remainder.c: Likewise.
23803         * math/w_remainderf.c: Likewise.
23804         * math/w_remainderl.c: Likewise.
23805         * math/w_scalb.c: Likewise.
23806         * math/w_scalbf.c: Likewise.
23807         * math/w_scalbl.c: Likewise.
23808         * math/w_scalbln.c: Likewise.
23809         * math/w_scalblnf.c: Likewise.
23810         * math/w_scalblnl.c: Likewise.
23811         * math/w_sinh.c: Likewise.
23812         * math/w_sinhf.c: Likewise.
23813         * math/w_sinhl.c: Likewise.
23814         * math/w_tgamma.c: Likewise.
23815         * math/w_tgammaf.c: Likewise.
23816         * math/w_tgammal.c: Likewise.
23817         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23818         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23819         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23820         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23821         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23823         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23824         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23825         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23826         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23827         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23828         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23829         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23830         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23831         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23833         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23834         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23836         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23837         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23838         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23839         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23840         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23841         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23842         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23843         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23844         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23845         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23846         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23847         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23848         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23849         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23850         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23851         * stdio-common/printf_fp.c: Likewise.
23852         * stdio-common/printf_fphex.c: Likewise.
23853         * stdio-common/printf_size.c: Likewise.
23855 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #18470]
23858         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23859         strnlen.
23860         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23861         Remove variable.
23862         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23863         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23864         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23865         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23866         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23867         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23868         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23869         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23870         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23871         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23873         [BZ #18468]
23874         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23875         weak alias of __wmemchr.  Use libc_hidden_weak.
23876         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23877         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23878         instead of wmemchr.
23880 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23882         [BZ #18383]
23883         * elf/tst-tlsalign-extern.c: New file.
23884         * elf/tst-tlsalign-extern-static.c: New file.
23885         * elf/tst-tlsalign-vars.c: New file.
23886         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23887         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23888         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23889         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23890         (test-xfail-tst-tlsalign-extern-static): New variable.
23892 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23894         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23895         Use variable name _sc_err instead of err.
23896         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23897         instead of ret.
23898         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23899         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23900         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23901         (INLINE_SYSCALL): Likewise.
23903         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23904         * include/string.h (__strnlen): Use libc_hidden_proto.
23905         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23906         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23907         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23909         (libc_hidden_def): Undefine and redefine.
23910         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23911         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23912         __GI_strnlen.
23913         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23914         libc_hidden_def.
23915         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23917         [BZ #18469]
23918         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23919         weak alias of __towlower.  Use libc_hidden_weak.
23920         (towupper): Rename to __towupper and define as weak alias of
23921         __towupper.  Use libc_hidden_weak.
23922         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23923         (__towupper): Likewise.
23924         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23925         __towlower instead of towlower.
23927 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23929         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23930         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23932 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23934         * sysdeps/aarch64/libm-test-ulps: Update.
23936 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23938         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23939         Define.
23940         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23942         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23943         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23944         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23945         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23946         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23948 2015-06-01  Martin Sebor  <msebor@redhat.com>
23950         [BZ #18116]
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23952         (__setcontext): Use extended four-operand version of mtsf whenever
23953         possible.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23955         (__novec_swapcontext): Likewise.
23957 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23959         * benchtests/scripts/compare_bench.py: New file.
23960         * benchtests/scripts/import_bench.py (mean): New function.
23961         (split_list): Likewise.
23962         (do_for_all_timings): Likewise.
23963         (compress_timings): Likewise.
23965         * benchtests/scripts/import_bench.py: New file.
23966         * benchtests/scripts/validate_benchout.py: Import import_bench
23967         instead of jsonschema.
23968         (validate_bench): Remove function.
23969         (main): Use import_bench.
23971 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23973         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23974         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23976 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23980 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23982         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23983         set THREAD_SELF->tid to a magic value and futex-wake it.
23984         Pass its address to the thread_exit system call.
23985         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23986         bit is clear.
23987         * sysdeps/nacl/lowlevellock.h: New file.
23988         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23990         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23991         Add TIMEOUT to current time, don't subtract it.
23993 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23995         [BZ #2981]
23996         [BZ #18422]
23997         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23998         ($(objpfx)tst-audit2.out): Also depend on
23999         $(objpfx)tst-auditmod9b.so.
24000         * elf/tst-audit2.c: Include <dlfcn.h>.
24001         (calloc_called): New.
24002         (calloc): Allow to be called more than once.
24003         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24005 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
24007         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24008         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24010 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
24012         * stdlib/monetary.h: Fix comment.
24014 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
24016         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24017         Avoid using variables in #defines that might cause shadowing.
24018         (INTERNAL_VSYSCALL_CALL): Likewise.
24020 2015-05-26  Roland McGrath  <roland@hack.frob.com>
24022         * sysdeps/nacl/lll_timedlock_wait.c: New file.
24024         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24025         * nptl/lll_timedlock_wait.c: ... to this new file.
24026         * nptl/Makefile (libpthread-routines): Add it.
24027         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24028         * nptl/lll_timedwait_tid.c: ... to this new file.
24029         * nptl/Makefile (libpthread-routines): Add it.
24030         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24031         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24032         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24033         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24034         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24035         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24036         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24037         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24038         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24039         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24041 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24043         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24044         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24045         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24046         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24047         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24049         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24051         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24052         * sysdeps/unix/sysv/linux/tile/sysdep.h
24053         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24054         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24055         using vDSO syscall macro.
24057 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24059         [BZ #17293]
24060         * uk_UA: Fix sorting order for Ukrainian locale
24062 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24064         * stdlib/monetary.h: Fix comment.
24066 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24068         [BZ #18234]
24069         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24070         st_mtim and st_ctim members.
24071         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24072         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24073         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24074         (struct stat64): Likewise.
24075         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24076         (struct stat64): Likewise.
24077         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24078         (struct stat64): Likewise.
24080 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24082         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24083         Define and include sysdep-vdso.h.
24084         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24085         Likewise.
24086         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24087         Likewise.
24088         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24089         Define with VDSO_SYMBOL and use PTR_MANGLE.
24090         (__vdso_clock_gettime): Likewise.
24091         (__vdso_clock_getres): Likewise.
24092         (_libc_vdso_platform_setup): Likewise.
24093         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24094         Likewise.
24095         (_libc_vdso_platform_setup): Likewise.
24096         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24097         Likewise.
24098         (__vdso_clock_gettime): Likewise.
24099         (__vdso_clock_getres): Likewise.
24100         (__vdso_get_tbfreq): Likewise.
24101         (__vdso_getcpu): Likewise.
24102         (__vdso_time): Likewise.
24103         (__vdso_sigtramp_rt64): Likewise.
24104         (__vdso_signtramp32): Likewise.
24105         (__vdso_sigtramp_rt32): Likewise.
24106         (_libc_vdso_platform_setup): Likewise.
24107         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24108         Likewise.
24109         (__vdso_clock_gettime): Likewise.
24110         (__vdso_clock_getres): Likewise.
24111         (_libc_vdso_platform_setup): Likewise.
24112         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24113         Likewise.
24114         (__vdso_clock_gettime): Likewise.
24115         (_libc_vdso_platform_setup): Likewise.
24116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24117         Likewise.
24118         (__vdso_getcpu): Likewise.
24119         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24120         Use VDSO_SYMBOL macro to define.
24121         (__vdso_clock_gettime): Likewise.
24122         (__vdso_clock_getres): Likewise.
24123         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24124         Likewise.
24125         (__vdso_clock_gettime): Likewise.
24126         (__vdso_clock_getres): Likewise.
24127         (__vdso_get_tbfreq): Likewise.
24128         (__vdso_getcpu): Likewise.
24129         (__vdso_time): Likewise.
24130         (__vdso_sigtramp_rt64): Likewise.
24131         (__vdso_signtramp32): Likewise.
24132         (__vdso_sigtramp_rt32): Likewise.
24133         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24134         Likewise.
24135         (__vdso_clock_gettime): Likewise.
24136         (__vdso_clock_getres): Likewise.
24137         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24138         Likewise.
24139         (__vdso_clock_gettime): Likewise.
24140         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24141         Likewise.
24142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24143         macro.
24144         (INTERNAL_VSYSCALL): Likewise.
24145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24146         Remove macro.
24147         (INTERNAL_VSYSCALL): Likewise.
24148         (INTERNAL_VSYSCALL_NCS): Likewise.
24149         (INTERNAL_VSYSCALL_CALL): New macro.
24150         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24152         Likewise.
24153         (INTERNAL_VSYSCALL): Likewise.
24154         (INTERNAL_VSYSCALL_NCS): Likewise.
24155         (INTERNAL_VSYSCALL_CALL): New macro.
24156         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24158         (INLINE_VSYSCALL): Remove macro.
24159         (INTERNAL_VSYSCALL): Remove macro.
24160         (INTERNAL_VSYSCALL_NCS): Remove macro.
24161         (INTERNAL_VSYSCALL_CALL): New macro.
24162         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24163         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24164         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24165         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24166         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24168         (INLINE_VSYSCALL): Remove macro.
24169         (INTERNAL_VSYSCALL): Likewise.
24170         (INTERNAL_VSYSCALL_NCS): Likewise.
24171         (INTERNAL_VSYSCALL_CALL): New macro.
24172         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24173         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24174         PTR_DEMANGLE on vDSO pointer.
24175         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24176         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24177         macro.
24178         (INTERNAL_SYSCALL): Likewise.
24179         (INTERNAL_VSYSCALL_NCS): Remove macro.
24180         (INTERNAL_VSYSCALL_CALL): New macro.
24181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24182         Remove macro.
24183         (INTERNAL_VSYSCALL): Likewise.
24184         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24185         sysdep-vdso.h instead of libc-vdso.h.
24186         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24187         definition.
24188         (INLINE_VSYSCALL): Likewise.
24189         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24190         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24191         definition.
24192         (INLINE_VSYSCALL): Likewise.
24193         (INTERNAL_VSYSCALL): Likewise.
24194         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24195         * sysdeps/unix/sysv/linux/timespec_get.c
24196         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24197         (timespec_get): Use ANSI prototype.
24198         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24199         and definition for Linux.
24201 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24203         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24204         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24206 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24208         [BZ #2981]
24209         [BZ #18410]
24210         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24211         for missing DT_PLTRELSZ.
24213 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24215         Remove obsolete aliases that broke 'locale -a'
24216         [BZ #18412]
24217         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24218         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24219         breaking some applications that use 'locale -a' output.
24220         Change the encoding of this file from Latin-1 to ASCII to avoid
24221         other potential problems with people grepping this file.
24223 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24225         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24226         -fasynchronous-unwind-tables.
24227         (CFLAGS-sendto.c): Likewise.
24228         (CFLAGS-sendmsg.c): Likewise.
24229         (CFLAGS-connect.c): Likewise.
24230         (CFLAGS-recvmsg.c): Likewise.
24231         (CFLAGS-recvfrom.c): Likewise.
24232         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24233         (SOCKETCALL): New macro: non-cancellable socketcall.
24234         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24235         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24236         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24237         * sysdeps/unix/sysv/linux/accept.c: New file.
24238         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24239         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24240         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24241         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24242         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24243         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24244         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24245         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24246         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24247         * sysdeps/unix/sysv/linux/send.c: Likewise.
24248         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24249         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24250         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24251         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24252         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24253         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24254         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24255         prototype.
24256         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24257         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24258         instead of __internal_xxx function.
24259         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24260         prototype.
24261         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24262         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24263         instead of __internal_xxx function.
24264         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24265         prototype.
24266         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24267         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24268         instead of __internal_xxx function.
24269         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24270         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24271         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24272         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24273         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24274         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24275         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24276         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24277         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24278         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24279         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24280         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24281         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24282         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24283         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24284         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24285         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24286         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24287         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24288         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24291         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24292         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24293         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24294         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24295         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24296         * sysdeps/unix/sysv/linux/send.S: Likewise.
24297         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24298         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24299         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24300         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24301         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24302         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24303         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24304         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24305         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24306         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24307         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24308         socketcall is implemented in GLIBC.
24310 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24312         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24313         (__fma): Ignore uninitialized warnings around packing.
24314         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24315         (__fmaf): Ignore uninitialized warnings around packing.
24316         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24317         (__fmal): Ignore uninitialized warnings around packing.
24319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24320         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24321         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24322         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24324         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24325         switch statement into default case.
24326         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24328         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24329         a conditional in forcing "inexact".
24330         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24331         Likewise.
24333 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24335         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24336         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24337         for each INTERNAL_SYSCALL use.
24339 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24341         [BZ #438]
24342         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24343         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24344         variable.
24346         [BZ #18444]
24347         * string/basename.c (basename): Rename to __basename and define as
24348         weak alias of __basename.  Use libc_hidden_weak.
24349         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24350         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24351         __basename instead of basename.
24352         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24353         Remove variable.
24354         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24356 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24358         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24359         (_IO_JUMPS_FILE_plus): New.
24360         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24361         _IO_CAST_FIELD_ACCESS.
24362         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24363         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24364         * libio/freopen.c (freopen): Likewise.
24365         * libio/freopen64.c (freopen64): Likewise.
24366         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24367         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24368         * libio/iofwide.c (_IO_fwide): Likewise.
24369         * libio/memstream.c (open_memstream): Likewise.
24370         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24371         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24372         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24374 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24376         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24377         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24378         NADJ.
24379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24380         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24381         NADJ.
24382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24383         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24384         NADJ.
24386         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24387         (p == 4) case.
24389         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24390         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24391         Remove variable.
24392         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24393         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24394         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24396 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24398         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24399         Adjust jump table label generation macros.
24401 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24403         * stdio-common/vfprintf.c (vfprintf): Move local variables
24404         args_malloced, specs, specs_malloced, and the code after
24405         do_positional to the printf_positional function.
24406         (printf_positional): New function.
24408 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24410         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24411         function.
24412         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24413         STEP4_TABLE, process_arg): Move macro definitions
24414         out of the vfprintf function.  (Cosmetic change only.)
24416 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24418         * benchtests/Makefile (stdio-common-bench): Define.
24419         (benchset): Add stdio-common-bench.
24420         * sprintf-inputs: New file.
24421         * sprintf-source.c: New file.
24423 2015-05-21  Andreas Schwab  <schwab@suse.de>
24425         [BZ #13028]
24426         [BZ #17053]
24427         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24428         of struct __res_state.
24429         * resolv/res_send.c (__libc_res_nsend): Likewise.
24430         (get_nsaddr): New function.
24431         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24432         statp directly.
24434 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24436         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24437         -D_POSIX_C_SOURCE=199506L.
24439         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24441         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24442         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24443         Do not mention otherwise.
24444         [POSIX] (_XOPEN_VERSION): Do not expect.
24445         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24446         [POSIX] (_POSIX2_C_BIND): Likewise.
24447         [POSIX] (_POSIX2_VERSION): Likewise.
24448         [POSIX] (_XOPEN_XPG2): Likewise.
24449         [POSIX] (_XOPEN_XPG3): Likewise.
24450         [POSIX] (_XOPEN_XPG4): Likewise.
24451         [POSIX] (_XOPEN_UNIX): Likewise.
24452         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24453         [POSIX] (_POSIX_BARRIERS): Likewise.
24454         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24455         [POSIX] (_POSIX_CPUTIME): Likewise.
24456         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24457         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24458         [POSIX] (_POSIX_SHELL): Likewise.
24459         [POSIX] (_POSIX_SPAWN): Likewise.
24460         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24461         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24462         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24463         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24464         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24465         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24466         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24467         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24468         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24469         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24470         [POSIX] (_POSIX2_PBS): Likewise.
24471         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24472         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24473         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24474         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24475         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24476         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24477         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24478         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24479         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24480         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24481         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24482         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24483         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24484         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24485         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24486         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24487         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24488         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24489         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24490         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24491         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24492         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24493         [POSIX] (_SC_2_C_BIND): Likewise.
24494         [POSIX] (_SC_2_C_VERSION): Likewise.
24495         [POSIX] (_SC_2_PBS): Likewise.
24496         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24497         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24498         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24499         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24500         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24501         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24502         [POSIX] (_SC_BARRIERS): Likewise.
24503         [POSIX] (_SC_BASE): Likewise.
24504         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24505         [POSIX] (_SC_DEVICE_IO): Likewise.
24506         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24507         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24508         [POSIX] (_SC_FD_MGMT): Likewise.
24509         [POSIX] (_SC_FIFO): Likewise.
24510         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24511         [POSIX] (_SC_FILE_LOCKING): Likewise.
24512         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24513         [POSIX] (_SC_IOV_MAX): Likewise.
24514         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24515         [POSIX] (_SC_NETWORKING): Likewise.
24516         [POSIX] (_SC_PAGE_SIZE): Likewise.
24517         [POSIX] (_SC_PASS_MAX): Likewise.
24518         [POSIX] (_SC_PIPE): Likewise.
24519         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24520         [POSIX] (_SC_REGEXP): Likewise.
24521         [POSIX] (_SC_SHELL): Likewise.
24522         [POSIX] (_SC_SIGNALS): Likewise.
24523         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24524         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24525         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24526         [POSIX] (_SC_USER_GROUPS): Likewise.
24527         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24528         [POSIX] (_SC_STREAMS): Likewise.
24529         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24530         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24531         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24532         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24533         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24534         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24535         [POSIX] (_PC_FILESIZEBITS): Likewise.
24536         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24537         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24538         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24539         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24540         [POSIX] (uid_t): Likewise.
24541         [POSIX] (gid_t): Likewise.
24542         [POSIX] (off_t): Likewise.
24543         [POSIX] (pid_t): Likewise.
24544         [POSIX] (cuserid): Allow.
24545         (_SC_2_CHAR_TERM): Require constant.
24546         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24547         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24548         variable.
24550 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24552         * sysdeps/nacl/pthread-pids.h: New file.
24553         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24554         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24556         * nptl/pthread-pids.h: New file.
24557         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24558         * nptl/nptl-init.c: Include <pthread-pids.h>.
24559         (__pthread_initialize_minimal_internal):
24560         Call __pthread_initialize_pids instead of set_tid_address syscall.
24562         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24563         * sysdeps/posix/usleep.c: ... here.
24565 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24567         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24568         call_pselect6 object.
24569         [$(subdir) = io]: Remove call_sync_file_range object.
24570         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24571         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24572         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24573         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24575 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24577         * math/s_cproj.c: Add include "math_private.h".
24578         * math/s_cprojf.c: Likewise.
24579         * math/s_cprojl.c: Likewise.
24581 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24583         [BZ #18244]
24584         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24585         high mantissa bit when testing whether P is a NaN.
24586         * math/libm-test.inc (remainder_test_data): Add more tests.
24587         (remquo_test_data): Likewise.
24589         [BZ #18049]
24590         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24591         below -32, return the argument, with underflow if subnormal.
24592         * math/auto-libm-test-in: Add more tests of atanh.
24593         * math/auto-libm-test-out: Regenerated.
24595 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24597         [BZ #18434]
24598         * nptl/tst-sem15.c: New file.
24599         * nptl/Makefile (tests): Add it.
24600         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24601         s/<</>>/ to fix typo in EOVERFLOW check.
24602         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24604 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606         * manual/strings.texi (envz_remove): Fix typo in safety
24607         annotations.
24609 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24610             Steve Ellcey  <sellcey@imgtec.com>
24612         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24613         in order to avoid strict alias warnings.
24614         (iruserok_af): Ditto for ra.
24616 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24618         [BZ #17581]
24619         * malloc/hooks.c
24620         (magicbyte): Convert to a function and avoid returning 0x01.
24621         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24622         (mem2chunk_check): Fix unsigned comparisons to zero.
24623         Hoist defs of sz and magic.
24625 2015-05-19  Richard Henderson  <rth@redhat.com>
24627         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24629         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24631 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24633         [BZ #16159]
24634         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24635         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24636         (reused_arena): Find a non-corrupt arena.
24637         (heap_trim): Pass arena to unlink.
24638         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24639         malloc_printerr.
24640         (top_check): Likewise.
24641         (free_check): Likewise.
24642         (realloc_check): Likewise.
24643         * malloc/malloc.c (malloc_printerr): Add arena argument.
24644         (unlink): Likewise.
24645         (munmap_chunk): Adjust.
24646         (ARENA_CORRUPTION_BIT): New macro.
24647         (arena_is_corrupt): Likewise.
24648         (set_arena_corrupt): Likewise.
24649         (sysmalloc): Use mmap if there are no usable arenas.
24650         (_int_malloc): Likewise.
24651         (__libc_malloc): Don't fail if arena_get returns NULL.
24652         (_mid_memalign): Likewise.
24653         (__libc_calloc): Likewise.
24654         (__libc_realloc): Adjust for additional argument to
24655         malloc_printerr.
24656         (_int_free): Likewise.
24657         (malloc_consolidate): Likewise.
24658         (_int_realloc): Likewise.
24659         (_int_memalign): Don't touch corrupt arenas.
24660         * malloc/tst-malloc-backtrace.c: New test case.
24662         * Makefile (summarize-tests): Fix return value on success.
24664         * manual/string.texi (Envz Functions): Add envz_remove.
24666 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24668         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24669         (invalid_name): New function, broken out of ...
24670         (__opendirat): ... here.  Call it.
24671         (need_isdir_precheck): New function, broken out of ...
24672         (__opendirat): ... here.  Call it.
24673         Use __fxstatat64, not __xstatat64.
24674         (opendir_oflags): New function, broken out of ...
24675         (__opendirat): ... here.  Call it.
24676         (opendir_tail): New function, broken out of ...
24677         (__opendirat): ... here.  Call it.
24678         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24679         opendir_tail, rather than punting to __opendirat.
24680         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24682 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24684         * .gitignore: Ignore generated *.pyc.
24686 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24688         * include/stdio.h: Define __need_wint_t.
24689         * test-skeleton.c: Avoid `for' loop initial declaration.
24690         * nptl/tst-initializers1.c: Use test-skeleton.c.
24692 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24694         [BZ #18418]
24695         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24697 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #16352]
24700         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24701         (__ieee754_atanh): Force underflow exception for results with
24702         small absolute value.
24703         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24704         (__ieee754_atanhf): Force underflow exception for results with
24705         small absolute value.
24706         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24707         (__ieee754_atanh): Force underflow exception for results with
24708         small absolute value.
24709         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24710         (__ieee754_atanhf): Force underflow exception for results with
24711         small absolute value.
24712         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24713         (__ieee754_atanhl): Force underflow exception for results with
24714         small absolute value.
24715         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24716         (__ieee754_atanhl): Force underflow exception for results with
24717         small absolute value.
24718         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24719         (__ieee754_atanhl): Force underflow exception for results with
24720         small absolute value.
24721         * math/auto-libm-test-in: Do not allow missing underflow
24722         exceptions from atanh.
24723         * math/auto-libm-test-out: Regenerated.
24725         [BZ #18221]
24726         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24727         2**-28 as threshold for returning x or +/- 1/x.
24728         * math/auto-libm-test-in: Add more tests of tan.
24729         * math/auto-libm-test-out: Regenerated.
24731         [BZ #18220]
24732         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24733         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24734         * math/auto-libm-test-in: Add another test of lgamma.
24735         * math/auto-libm-test-out: Regenerated.
24737 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24739         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24740         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24741         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24742         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24743         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24744         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24745         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24748         (log1): Use fabs.  (my_log2): Use fabs.
24749         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24750         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24751         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24752         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24754         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24755         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24756         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24757         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24758         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24759         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24761 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24763         [BZ #18217]
24764         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24765         as threshold for returning 1 - x.
24766         * math/auto-libm-test-in: Add more tests of erfc.
24767         * math/auto-libm-test-out: Regenerated.
24769 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24771         [BZ #18196]
24772         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24773         threshold for large arguments.
24774         * math/auto-libm-test-in: Add another test of atan.
24775         * math/auto-libm-test-out: Regenerated.
24777         [BZ #16339]
24778         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24779         (__log1p): Force underflow exception for results with small
24780         absolute value.
24781         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24782         (__log1pf): Force underflow exception for results with small
24783         absolute value.
24784         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24785         (__log1p): Force underflow exception for results with small
24786         absolute value.
24787         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24788         (__log1pf): Force underflow exception for results with small
24789         absolute value.
24790         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24791         (__log1pl): Force underflow exception for results with small
24792         absolute value.
24793         * math/auto-libm-test-in: Do not allow missing underflow
24794         exceptions from log1p.
24795         * math/auto-libm-test-out: Regenerated.
24797 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24798             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24800         [BZ #16704]
24801         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24803 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24805         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24806         (libmvec): New variable.
24807         * configure.ac: Added option for mathvec build.
24808         * configure: Regenerated.
24809         * mathvec/Depend: New file.
24810         * mathvec/Makefile: New file.
24811         * shlib-versions: Added libmvec.
24812         * math/Makefile: Added rule for libm.so installation.
24814         * bits/math-vector.h: New file.
24815         * bits/libm-simd-decl-stubs.h: New header.
24816         * math/Makefile (headers): Added new header
24817         libm-simd-decl-stubs.h.
24818         * math/math.h (__MATHCALL_VEC): New macro.
24820         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24821         for conditions in testing functions.
24822         * math/Makefile: Added call of libm-have-vector-test.sh.
24823         * math/libm-test.inc (HAVE_VECTOR): New macros.
24825         * math/libm-test.inc: START refactored.
24826         * math/test-double.c (TEST_MATHVEC): Add define.
24827         * math/test-float.c: Likewise.
24828         * math/test-idouble.c: Likewise.
24829         * math/test-ifloat.c: Likewise.
24830         * math/test-ildoubl.c: Likewise.
24831         * math/test-ldouble.c: Likewise.
24832         * sysdeps/generic/math-tests-arch.h
24833         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24834         architecture check.
24836         * math/test-double.c (FUNC_TEST): New macro.
24837         * math/test-float.c: Likewise.
24838         * math/test-idouble.c: Likewise.
24839         * math/test-ifloat.c: Likewise.
24840         * math/test-ildoubl.c: Likewise.
24841         * math/test-ldouble.c: Likewise.
24842         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24844 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24846         * sysdeps/nacl/fdopendir.c: New file.
24848         * dirent/scandir-tail.c: New file.
24849         * dirent/scandir64-tail.c: New file.
24850         * dirent/Makefile (routines): Add them.
24851         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24852         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24853         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24854         [!SCANDIR] (SCANDIR_TAIL): New macro.
24855         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24856         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24857         (SCANDIRAT): Macro removed.
24858         (SCANDIR_TAIL): New macro.
24859         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24860         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24861         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24862         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24863         (READDIR): Macro removed.
24864         (SCANDIR_TAIL): New macro.
24865         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24866         (SCANDIR_TAIL): New macro.
24868         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24869         * dirent/scandir-cancel.c: ... to this new file.
24870         * dirent/Makefile (routines): Add it.
24871         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24872         * sysdeps/unix/sysv/linux/i386/scandir64.c
24873         (SKIP_SCANDIR_CANCEL): Macro removed.
24874         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24876         * dirent/tst-scandir.c: New file.
24877         * dirent/tst-scandir64.c: New file.
24878         * dirent/Makefile (tests): Add them.
24880 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24882         [BZ #18409]
24883         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24885 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24887         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24888         list.
24890 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24892         * benchtests/bench-strcoll.c: New benchmark.
24893         * benchtests/Makefile: Generate locales and run benchmark.
24894         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24895         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24896         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24897         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24898         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24899         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24900         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24901         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24902         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24903         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24904         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24905         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24906         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24907         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24908         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24909         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24910         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24911         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24912         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24913         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24914         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24915         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24916         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24917         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24919 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24921         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24922         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24924 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24926         * posix/uname-values.h: New file.
24927         * posix/uname.c: Include that instead of <config-name.h>.
24928         * sysdeps/nacl/uname-values.h: New file.
24929         * sysdeps/arm/nacl/uname-values.h: New file.
24931 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24933         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24934         splitting into fields.
24936 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24938         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24939         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24940         * locale/localeinfo.h: Add enum collation_encoding_type.
24941         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24942         * programs/ld-collate.c (collate_output): Add encoding type info.
24943         * string/strcoll_l.c (STRDIFF): New function.
24944         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24945         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24947 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24949         [BZ #18397]
24950         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24951         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24952         <fpu_control.h> instead of <math/fpu_control.c>.
24953         * sysdeps/mips/mips32/fpu/Makefile: New file.
24955 2015-05-11  Andreas Schwab  <schwab@suse.de>
24957         [BZ #18007]
24958         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24959         nss_endgrent.
24960         (_nss_compat_endgrent): Call nss_endgrent.
24961         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24962         nss_endpwent.
24963         (_nss_compat_endpwent): Call nss_endpwent.
24964         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24965         needent, call nss_setspent only if non-zero.
24966         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24967         (internal_endspent): Don't call nss_endspent.
24968         (_nss_compat_endspent): Call nss_endspent.
24969         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24970         Remove.  All uses removed.
24971         (internal_setent): Remove parameter stayopen, add parameter
24972         stream.  Use it instead of global variable.
24973         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24974         (internal_endent, internal_getent): Add parameter stream.  Use it
24975         instead of global variable.
24976         (CONCAT(_nss_files_end,ENTNAME))
24977         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24978         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24979         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24980         uses removed.
24981         (internal_setent, internal_endent): Add parameter stream.  Use it
24982         instead of global variable.
24983         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24984         stream.
24985         (get_next_alias): Add parameter stream.
24986         (_nss_files_getaliasent_r): Pass global stream.
24987         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24988         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24989         (_nss_files_gethostbyname4_r): Pass local stream to
24990         internal_setent, internal_getent and internal_endent.  Remove
24991         locking.
24993 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24995         * tst-strfmon1.c (tests): Update expected currency symbol.
24997 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24999         * sysdeps/nacl/gethostname.c: New file.
25001 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
25003         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25004         and sinh.
25005         * math/auto-libm-test-out: Regenerated.
25006         * sysdeps/i386/fpu/libm-test-ulps: Update.
25007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25009 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
25011         [BZ #18125]
25012         * stdlib/tst-setcontext3.c: New file.
25013         * stdlib/tst-setcontext3.sh: New file.
25014         * stdlib/Makefile (tests): Add tst-setcontext3.
25015         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25016         to verify test program created output file.
25017         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25018         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25019         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25020         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25022 2015-05-06  Roland McGrath  <roland@hack.frob.com>
25024         [BZ #18383]
25025         * elf/tst-tlsalign.c: New file.
25026         * elf/tst-tlsalign-static.c: New file.
25027         * elf/tst-tlsalign-lib.c: New file.
25028         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25029         (tests-static): Add tst-tlsalign-static.
25030         (modules-names): Add tst-tlsalign-lib.
25031         (test-xfail-tst-tlsalign): New variable.
25032         (test-xfail-tst-tlsalign-static): New variable.
25034         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25035         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25037 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
25039         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25040         csqrt, erfc, sin and sincos.
25041         * math/auto-libm-test-out: Regenerated.
25042         * sysdeps/i386/fpu/libm-test-ulps: Update.
25043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25047         * sysdeps/aarch64/libm-test-ulps: Update.
25049 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25051         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25052         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25053         * math/auto-libm-test-out: Regenerated.
25054         * sysdeps/i386/fpu/libm-test-ulps: Update.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25059         [BZ #18265]
25060         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25061         (wcsncpy): Likewise.
25063 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25065         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25066         Assume __ASSUME_FALLOCATE is always true.
25067         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25068         (__posix_fallocate64_l64): Likweise.
25069         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25070         (posix_fallocate): Likewise.
25071         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25072         (__posix_fallocate64_l64): Likewise.
25073         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25074         [!__ASSUME_FALLOCATE]: Add comment.
25076 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25078         * sysdeps/unix/sysv/linux/i386/Makefile
25079         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25080         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25081         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25082         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25083         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25084         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25085         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25087 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25089         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25090         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25091         tgamma.
25092         * math/auto-libm-test-out: Regenerated.
25093         * sysdeps/i386/fpu/libm-test-ulps: Update.
25094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25096 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25098         * math/auto-libm-test-in: Add more tests of tgamma.
25099         * math/auto-libm-test-out: Regenerated.
25100         * sysdeps/i386/fpu/libm-test-ulps: Update.
25101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103         * math/auto-libm-test-in: Add more tests of tanh.
25104         * math/auto-libm-test-out: Regenerated.
25105         * sysdeps/i386/fpu/libm-test-ulps: Update.
25106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25108         * math/auto-libm-test-in: Add more tests of tan.
25109         * math/auto-libm-test-out: Regenerated.
25110         * sysdeps/i386/fpu/libm-test-ulps: Update.
25111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25113         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25114         * math/auto-libm-test-out: Regenerated.
25115         * sysdeps/i386/fpu/libm-test-ulps: Update.
25116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25118         * math/auto-libm-test-in: Add another test of pow.
25119         * math/auto-libm-test-out: Regenerated.
25120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25122         * math/auto-libm-test-in: Add more tests of lgamma.
25123         * math/auto-libm-test-out: Regenerated.
25124         * sysdeps/i386/fpu/libm-test-ulps: Update.
25125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25128         log1p.
25129         * math/auto-libm-test-out: Regenerated.
25130         * sysdeps/i386/fpu/libm-test-ulps: Update.
25131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25133 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25135         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25136         Elf64_Chdr structs and ELFCOMPRESS constants.
25138 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25140         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25141         expm1.
25142         * math/auto-libm-test-out: Regenerated.
25143         * sysdeps/i386/fpu/libm-test-ulps: Update.
25144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25146         * math/auto-libm-test-in: Add more tests of erf and erfc.
25147         * math/auto-libm-test-out: Regenerated.
25148         * sysdeps/i386/fpu/libm-test-ulps: Update.
25149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25153         * config.h.in (HAVE_AARCH64_BE): Add.
25155 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25157         * math/auto-libm-test-in: Add more tests of csqrt.
25158         * math/auto-libm-test-out: Regenerated.
25159         * sysdeps/i386/fpu/libm-test-ulps: Update.
25160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25163         * math/auto-libm-test-out: Regenerated.
25164         * sysdeps/i386/fpu/libm-test-ulps: Update.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25169 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25171         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25172         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25174         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25175         (euidaccess, eaccess): Define as weak aliases.
25177         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25178         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25179         but __suseconds_t is often 'long int' so some sources assume that
25180         type is being used (e.g. they use %ld to print tv_usec).
25182 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25184         [BZ #18007]
25185         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25186         (CVE-2014-8121)
25187         * nss/tst-nss-getpwent.c: New file.
25188         * nss/Makefile (tests): Add new test.
25190 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25192         [BZ #18346]
25193         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25194         exponents less than 48 as cases where high part of mantissa needs
25195         examining to determine whether argument is integral.
25196         * math/libm-test.inc (round_test_data): Add more tests.
25198 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25200         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25202 2015-04-27  David S. Miller  <davem@davemloft.net>
25204         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25205         __tls_get_addr.
25206         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25208 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25210         [BZ#18333]
25211         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25213 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25215         [BZ#18333]
25216         * time/tzset.c (parse_tzname): Return error on memory allocation
25217         failure.
25218         * test-skeleton.c (struct temp_name_list): Change type of name
25219         member to non-const.
25220         (add_temp_file): Create a copy of the file name.
25221         (delete_temp_files): Deallocate memory.
25222         (create_temp_file): Add comment.
25224 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25226         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25227         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25229 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25231         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25232         * sysdeps/arm/configure: Regenerated.
25234 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25236         [BZ #17715]
25237         * time/tzfile.c (__tzfile_read): Check for large values of
25238         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25239         * time/tzset.c (__tzstring_len): New function, based on the old
25240         __tzstring function.
25241         (__tzstring): Call __tzstring_len.
25242         (parse_tzname): New helper function extracted from
25243         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25244         the input string.
25245         (parse_offset): New helper function extracted from
25246         __tzset_parse_tz.  Replace switch with fallthrough with
25247         initialization before sscanf.
25248         (parse_rule): Likewise.
25249         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25250         new-style function definition.
25251         * timezone/Makefile (tests): Add tst-tzset.
25252         (tst-tzset.out): Dependencies on time zone files.
25253         (tst-tzset-ENV): Set TZDIR.
25254         (testdata/XT%): Copy crafted time zone files.
25255         * timezone/README: Mention crafted time zone files.
25256         * timezone/testdata/XT1, timezone/testdata/XT2,
25257         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25258         files.
25259         * timezone/tst-tzset.c: New test.
25261 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25263         * Makeconfig (+gccwarn): Remove -Winline.
25265 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25267         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25269 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25271         * NEWS: Mention sysconf() cache information support for s390.
25272         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25274 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25276         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25277         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25278         (__nearbyint): Likewise.
25279         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25280         (copysignl): Likewise.
25282 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25284         [BZ #18287]
25285         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25286         based on padding.  (CVE-2015-1781)
25288 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25290         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25291         libc-vdso.h.
25292         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25293         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25294         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25295         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25296         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25297         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25298         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25299         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25300         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25301         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25302         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25303         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25304         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25305         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25306         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25307         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25308         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25309         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25310         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25311         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25312         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25313         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25314         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25316 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25318         * stdlib/setenv.c (__add_to_environ):
25319         Dump core quickly if setenv (..., NULL, ...) is called.
25320         This time, do it the right way, and pacify GCC with a pragma.
25322 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25324         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25325         IMAP->l_prev cannot be null, and #if out the code for the contrary
25326         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25327         believe that NS (&_dl_ns[NSID]) could point outside the array.
25329         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25330         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25331         before using NSID as an index.
25333 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25335         [BZ #17825]
25336         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25337         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25338         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25340 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25342         Add preliminary port to Google Native Client on ARM.
25343         * abi-tags (.*-.*-nacl.*): New entry.
25344         * sysdeps/arm/nacl: New directory.
25345         * sysdeps/nacl: New directory.
25347 2015-04-16  David S. Miller  <davem@davemloft.net>
25349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25350         lowlevellock-futex.h
25352 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25354         * sysdeps/tile/configure.ac: New file.
25355         * sysdeps/tile/configure: Regenerated.
25357 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25359         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25360         conditionals for weak_alias and libc_hidden_weak.
25361         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25362         libc_hidden_weak and weak_alias.
25363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25364         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25365         and weak_alias for static one.
25367 2015-04-15  David S. Miller  <davem@davemloft.net>
25369         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25371 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25373         [BZ #18206]
25374         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25375           Use signed comparision instead of substraction to avoid
25376           overflow bug.
25377         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25378           Take the sign of ret.
25379         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25380           Do not expect precise return values. Only the sign matters.
25381         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25382         * wcsmbs/test-wcsncmp.c: New File.
25383         * string/test-strncmp.c: Add wcsncmp support.
25385 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25387         [BZ #6792]
25388         * math/w_log1p.c: New file.
25389         * math/w_log1pf.c: Likewise.
25390         * math/w_log1pl.c: Likewise.
25391         * math/Makefile (libm-calls): Add w_log1p.
25392         * math/s_log1pl.c (log1pl): Remove weak_alias.
25393         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25394         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25395         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25396         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25397         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25398         [NO_LONG_DOUBLE] (log1pl): Likewise.
25399         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25400         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25401         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25402         (log1p): Remove long_double_symbol.
25403         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25404         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25405         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25406         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25407         remove weak_alias for corresponding log1p function.
25408         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25409         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25410         * sysdeps/ia64/fpu/w_log1p.c: New file.
25411         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25412         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25413         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25415 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25417         [BZ #18247]
25418         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25419         decimal exponent by 1.
25420         * stdlib/tst-strtod-round-data: Add more tests.
25421         * stdlib/tst-strtod-round.c (tests): Regenerated.
25423 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25425         * math/auto-libm-test-in: Add more tests of clog and clog10.
25426         * math/auto-libm-test-out: Regenerated.
25427         * sysdeps/i386/fpu/libm-test-ulps: Update.
25428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25430 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25432         * Makeconfig (module-cppflags): Exclude all .v.i files.
25433         (skip-module-cppflags): Variable removed.
25435         * configure.ac (libc_config_ok): Initialize before reading
25436         preconfigure scripts, not after.
25437         * configure: Regenerated.
25439         * test-skeleton.c (TIMEOUT): Move #define to top level.
25440         (main): Grok environment variable TEST_DIRECT.  If set, print
25441         test expectation details into that file and then behave as if
25442         given --direct.
25444 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25446         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25447         warning on 32-bit.
25449 2015-04-08  David S. Miller  <davem@davemloft.net>
25451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25453 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25455         * math/auto-libm-test-in: Add more tests of atanh.
25456         * math/auto-libm-test-out: Regenerated.
25457         * sysdeps/i386/fpu/libm-test-ulps: Update.
25458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25460         * math/auto-libm-test-in: Add more tests of atan.
25461         * math/auto-libm-test-out: Regenerated.
25462         * sysdeps/i386/fpu/libm-test-ulps: Update.
25463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25465 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25467         * elf/pldd.c (main): Rewrite to use struct
25468         scratch_buffer instead of extend_alloca.
25469         * elf/pldd-xx.c (find_maps): Likewise.
25470         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25471         <alloca.h>.
25472         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25473         scratch_buffer instead of extend_alloca.
25474         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25475         grp/compat-initgroups.c.
25476         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25477         Rewrite to use struct scratch_buffer instead of extend_alloca.
25478         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25479         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25481 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25483         * math/auto-libm-test-in: Add more tests of cbrt.
25484         * math/auto-libm-test-out: Regenerated.
25485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25487         * math/auto-libm-test-in: Add more tests of cabs.
25488         * math/auto-libm-test-out: Regenerated.
25489         * sysdeps/i386/fpu/libm-test-ulps: Update.
25490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25492         [BZ #18210]
25493         [BZ #18211]
25494         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25495         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25496         computations.
25497         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25498         clog10.
25499         * math/auto-libm-test-out: Regenerated.
25500         * sysdeps/i386/fpu/libm-test-ulps: Update.
25501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25503         [BZ #18197]
25504         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25505         (atan): Set FE_TONEAREST mode for internal computations.
25506         * math/auto-libm-test-in: Add more tests of atan.
25507         * math/auto-libm-test-out: Regenerated.
25509 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25511         [BZ #17930]
25512         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25514 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25516         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25518 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25520         * include/scratch_buffer.h: New file.
25521         * malloc/scratch_buffer_grow.c: Likewise.
25522         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25523         * malloc/scratch_buffer_set_array_size.c: Likewise.
25524         * malloc/tst-scratch_buffer.c: Likewise.
25525         * malloc/Makefile (routines): Add scratch_buffer_grow.
25526         (tests): Add test case.
25527         * malloc/Versions (GLIBC_PRIVATE): Export
25528         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25529         __libc_scratch_buffer_set_array_size.
25531 2015-04-06  Richard Henderson  <rth@redhat.com>
25533         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25534         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25536         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25537         unsigned int before printing.
25539 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25541         [BZ #17596]
25542         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25543         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25545 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25547         * include/libc-internal.h (libc_max_align_t): Define.
25549 2015-04-02  Andreas Schwab  <schwab@suse.de>
25551         [BZ #16850]
25552         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25554 2015-04-02  Mel Gorman  <mgorman@suse.de>
25556         [BZ #17195]
25557         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25558         as well as the main arena.
25560 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25562         [BZ #18185]
25563         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25564         sharing L2 cache to 2 for Silvermont/Knights Landing.
25566 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25568         [BZ #17711]
25569         * config.make.in (have-protected-data): New.
25570         * configure.ac: Check linker support for protected data symbol.
25571         * configure: Regenerated.
25572         * elf/Makefile (modules-names): Add tst-protected1moda and
25573         tst-protected1modb if $(have-protected-data) is yes.
25574         (tests): Add tst-protected1a and tst-protected1b if
25575         $(have-protected-data) is yes.
25576         ($(objpfx)tst-protected1a): New.
25577         ($(objpfx)tst-protected1b): Likewise.
25578         (tst-protected1modb.so-no-z-defs): Likewise.
25579         * elf/tst-protected1a.c: New file.
25580         * elf/tst-protected1b.c: Likewise.
25581         * elf/tst-protected1mod.h: Likewise.
25582         * elf/tst-protected1moda.c: Likewise.
25583         * elf/tst-protected1modb.c: Likewise.
25585 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25587         [BZ #17711]
25588         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25589         indicates it is called from do_lookup_x on relocation against
25590         protected data, skip the data definion in the executable from
25591         copy reloc.
25592         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25593         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25594         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25595         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25596         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25597         otherwise to 0.
25598         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25599         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25600         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25601         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25602         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25603         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25605 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25607         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25608         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25610 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25612         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25613         THREAD_SETMEM_NC.
25614         * sysdeps/x86_64/nptl/tls.h: Ditto.
25616 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25618         * dlfcn/tststatic.c (main): Converted to ...
25619         (do_test): ... this.
25620         (TEST_FUNCTION): New macro.
25621         Include test-skeleton.c.
25623 2015-03-26  Alan Modra  <amodra@gmail.com>
25625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25626         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25627         zero for undefined weak.
25628         (elf_machine_plt_conflict): Similarly.
25630 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25632         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25633         atanh.
25634         * math/auto-libm-test-out: Regenerated.
25635         * sysdeps/i386/fpu/libm-test-ulps: Update.
25636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25638         * math/auto-libm-test-in: Add another test of asin.
25639         * math/auto-libm-test-out: Regenerated.
25640         * sysdeps/i386/fpu/libm-test-ulps: Update.
25641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25643         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25644         Remove macro.
25645         (LLL_EBX_REG): Likewise.
25646         (LLL_ENTER_KERNEL): Likewise.
25648         * math/auto-libm-test-in: Add more tests of asin.
25649         * math/auto-libm-test-out: Regenerated.
25650         * sysdeps/i386/fpu/libm-test-ulps: Update.
25651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25653         [BZ #18138]
25654         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25655         libc_do_syscall_args): New structure.
25656         (INTERNAL_SYSCALL_MAIN_0): New macro.
25657         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25658         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25659         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25660         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25661         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25662         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25663         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25664         Replace conditional definitions by conditional definitions of ....
25665         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25666         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25667         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25668         (libpthread-sysdep_routines): Add libc-do-syscall.
25669         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25670         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25671         to __NR_futex not 240.
25673 2015-03-25  Alan Modra  <amodra@gmail.com>
25675         * NEWS: Advertise TLS optimization.
25676         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25677         (DT_PPC_NUM): Increment.
25678         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25679         (CHECK_STATIC_TLS): Use here.
25680         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25681         TLS descriptors.
25682         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25683         * sysdeps/powerpc/dl-tls.c: New file.
25684         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25685         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25686         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25687         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25692 2015-03-25  Alan Modra  <amodra@gmail.com>
25694         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25695         for overlapping .opd entries" to "support...".
25696         * sysdeps/powerpc/powerpc64/configure: Regenerate
25698 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25700         * math/auto-libm-test-in: Add more tests of acos.
25701         * math/auto-libm-test-out: Regenerated.
25702         * sysdeps/i386/fpu/libm-test-ulps: Update.
25703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25705         * math/auto-libm-test-in: Add more tests of expm1.
25706         * math/auto-libm-test-out: Regenerated.
25707         * sysdeps/i386/fpu/libm-test-ulps: Update.
25708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25710 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25712         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25713         * math/auto-libm-test-out: Regenerated.
25714         * sysdeps/i386/fpu/libm-test-ulps: Update.
25715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25717         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25720         * math/auto-libm-test-in: Add more tests of log2.
25721         * math/auto-libm-test-out: Regenerated.
25722         * sysdeps/i386/fpu/libm-test-ulps: Update.
25723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25725 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25727         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25728         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25729         _IO_IS_APPENDING bit in READ_WRITE instead.
25731 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25733         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25734         (__determine_cpumask_size): Replace extend_alloca with a
25735         variable-length array.  Do not treat res == 0 as an error.
25737 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25739         [BZ #18100]
25740         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25741         and integer overflow.
25742         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25743         (main): Add integer overflow tests.
25744         * manual/pattern.texi (Calling Wordexp): Document additional use
25745         for WRDE_SYNTAX.
25747 2015-03-23  Alan Modra  <amodra@gmail.com>
25749         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25750         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25751         and false branch of conditional.
25752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25753         Likewise.
25755 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25757         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25758         libc-modules.h
25759         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25760         unused declaration of _hurd_intr_rpc_msg_in_trap.
25761         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25762         defined instead of whether it is non-zero.
25763         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25764         input constraint instead of both input and output constraint.  Use ecx
25765         clobber instead of %ecx.
25766         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25767         mutex_unlock): Use a statement expression instead of an expression list.
25768         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25769         type to vm_size_t instead of vm_address_t.
25770         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25771         defined instead of whether it is non-zero.
25772         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25773         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25774         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25775         comparisons with mapaddr.
25776         * nscd/nscd-client.h: Include <time.h>.
25777         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25778         9th parameter to __vm_region instead of int.
25779         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25780         * scripts/check-local-headers.sh (exclude): Add device/,
25781         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25782         cthreads.h.
25784 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25786         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25787         to account for alignment padding.
25788         * sysdeps/arm/memmove.S: Likewise.
25790 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25792         * sysdeps/unix/sysv/linux/generic/README: New file.
25794 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25796         [BZ #18138]
25797         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25798         (futex_abstimed_wait)
25799         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25800         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25801         of lll_futex_timed_wait.
25803 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25805         [BZ #17542]
25806         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25808 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25810         [BZ #17090]
25811         [BZ #17620]
25812         [BZ #17621]
25813         [BZ #17628]
25814         * NEWS: Update.
25815         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25816         entries with Static TLS too.  Skip entries past the end of the
25817         allocated DTV, from Alan Modra.
25818         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25819         Static TLS DTV entry set up from...
25820         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25821         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25822         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25823         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25824         for Static TLS.
25825         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25826         that the slot we find is associated with the given map before
25827         using its generation count.
25828         * nptl_db/db_info.c: Include ldsodefs.h.
25829         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25830         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25831         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25832         (link_map::l_tls_offset): New struct field.
25833         (dtv_t::counter): Likewise.
25834         (rtld_global): New struct.
25835         (_rtld_global): New rtld variable.
25836         (dl_tls_dtv_slotinfo_list): New rtld global field.
25837         (dtv_slotinfo_list): New struct.
25838         (dtv_slotinfo): Likewise.
25839         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25840         (td_lookup): Rename to...
25841         (td_mod_lookup): ... this.  Use new mod parameter instead of
25842         LIBPTHREAD_SO.
25843         * nptl_db/td_thr_tlsbase.c: Include link.h.
25844         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25845         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25846         addresses even if the DTV is out of date or missing them.
25847         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25848         index zero-length arrays.
25849         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25850         (td_lookup): Make it a macro implemented in terms of...
25851         (td_mod_lookup): ... this declaration.
25852         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25853         (DB_MAIN_VARIABLE): Likewise.
25855 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25857         [BZ #18134]
25858         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25860 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25862         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25864 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25866         [BZ #18128]
25867         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25868         (atomic_add, atomic_increment_and_test)
25869         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25871 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25873         * stdlib/setenv.c (__add_to_environ):
25874         Dump core quickly if setenv (..., NULL, ...) is called.
25876 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25878         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25879         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25880         all the necessary asm magic in one place.
25881         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25882         using those.
25884 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25886         [BZ #14906]
25887         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25888         traced file mtime. Use consistent log message.
25889         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25890         (register_traced_file): Call install_watches. Always set mtime.
25891         (invalidate_cache): Iterate over all trace files. Call install_watches.
25892         (inotify_check_files): Don't inline. Handle watching parent
25893         directories and configuration file movement in and out.
25894         (handle_inotify_events): New function.
25895         (main_loop_poll): Call handle_inotify_events.
25896         (main_loop_epoll): Likewise.
25897         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25898         (struct traced_file): Use array of inotify fds. Add parent directory,
25899         and basename.
25900         (struct database_dyn): Remove unused file_mtime.
25901         (init_traced_file): New inline function.
25902         (define_traced_file): New macro.
25903         * nss/nss_db/db-init.c: Use define_traced_file.
25904         (_nss_db_init): Use init_traced_file.
25905         * nss/nss_files/files-init.c: Use define_traced_file.
25906         (_nss_files_init): Use init_traced_file.
25908 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25910         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25911         [_LIBC]: Do not include <stdlib.h>.
25912         [!_LIBC] (abort): Remove declaration.
25913         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25914         _FP_STATIC_ASSERT instead of conditionally calling abort.
25915         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25916         (_FP_EXTEND_CNAN): Likewise.
25917         (FP_TRUNC): Likewise.
25918         (__FP_CLZ): Likewise.
25919         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25921 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25923         * manual/string.texi (XPG basename): Fix prototype.
25925 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25927         [BZ #18080]
25928         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25929         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25930         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25931         (__setcontext): Likewise.
25932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25933         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25934         Call rt_sigprocmask syscall one time to set new signal mask
25935         and retrieve the current signal mask instead of two calls.
25936         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25937         (__swapcontext): Likewise.
25938         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25939         * stdlib/tst-setcontext2.c: New file.
25941 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25943         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25945 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25947         [BZ #18093]
25948         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25949         the wrong size.
25951 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25953         [BZ #18043]
25954         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25956 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25958         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25959         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25960         Remove define.
25961         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25962         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25963         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25964         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25965         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25966         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25967         define.
25968         * nptl_db/td_symbol_list.c (td_lookup): Remove
25969         HAVE_ASM_GLOBAL_DOT_NAME code.
25970         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25971         HAVE_ASM_GLOBAL_DOT_NAME check.
25972         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25973         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25974         (DOT_LABEL): Remove define.
25975         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25976         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25977         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25978         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25979         (__TLS_GET_ADDR): Likewise.
25980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25981         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25983 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25985         [BZ #18111]
25986         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25987         (_FPU_SETCW): Initialize cw from fpsr before storing.
25988         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25989         (fesetexceptflag): Rewrite using fpu_control.h.
25990         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25992 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25994         [BZ #18110]
25995         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25996         asms.
25997         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25999 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
26001         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26002         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26003         abort.
26004         (_FP_FMA): Likewise.
26005         (_FP_DIV): Likewise.
26007 2015-03-10  Roland McGrath  <roland@hack.frob.com>
26009         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26010         with 0 in that case.
26011         * Makefile (summarize-tests): New canned sequence, factored out of
26012         commands for targets tests and xtests.  Display summary lines that
26013         don't start with PASS: or XFAIL: rather than ones that do start with
26014         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
26015         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26016         do start with ERROR: or FAIL:.
26017         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26018         (except for [$(build-shared) = yes]).
26019         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26020         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26021         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26022         * nptl/Makefile: Revert 2015-03-04 changes.
26023         [$(CXX) empty] (tests-unsupported): New variable.
26024         * debug/Makefile: Likewise.
26026         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26027         gnulib file.  Replace __attribute with __attribute__ throughout.
26029 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
26031         * sysdeps/hppa/fpu/libm-test-ulps: Update.
26033 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26035         [BZ #18104]
26036         * math/auto-libm-test-in: Add another test of pow.
26037         * math/auto-libm-test-out: Regenerated.
26039 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26041         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26042         $(config-cflags-nofma).
26044 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26046         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26047         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26048         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26049         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26050         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26051         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26052         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26053         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26054         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26055         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26056         Add comment on closing #endif.
26058 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26060         * posix/wordexp.c (CHAR_IN_SET): New macro.
26061         (parse_param): Use it.
26063 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26065         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26067 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26069         [BZ #18043]
26070         * posix/wordexp.c (parse_param): Fix buffer overflow.
26071         * posix/wordexp-test.c (test_case): Add test case.
26073 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26075         [BZ #18042]
26076         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26077         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26079 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26081         [BZ #18043]
26082         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26083         (do_bz18043): Delete.
26084         (at_page_end): New.
26085         (testit): Refactor to have words at the edge of unreadable page.
26087 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26089         [BZ #16734]
26090         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26091         Cleanup read-only streams as well.
26092         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26094 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26096         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26097         <bits/libc-lockP.h>
26099 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26101         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26102         on [__KERNEL__].
26103         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26104         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26105         * soft-fp/op-common.h (_FP_DECL): Likewise.
26107 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26109         * elf/ifuncdep2.c (global): Replace
26110         __attribute__((visibility("protected"))) with
26111         asm (".protected global").
26112         * elf/ifuncmod1.c (global): Likewise.
26113         * elf/ifuncmod5.c (global): Likewise.
26115 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26117         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26118         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26120 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26122         * manual/install.texi (Configuring and compiling):
26123         Document test-wrapper-env-only.
26124         * INSTALL: Regenerated.
26126 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26128         [BZ #18043]
26129         * posix/wordexp.c (parse_param): Fix buffer overflow.
26130         * posix/wordexp-test.c (do_bz18043): Add test case.
26132 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26134         * time/tst-strptime2.c (do_test): Ensure failing tests are
26135         reported correctly.
26136         * time/tst-strptime3.c (do_test): Likewise.
26138 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26140         Fix aio_error thread-safety.
26141         * sysdeps/pthread/aio_error.c: New file
26142         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26143         synchronization.
26145 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26147         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26148         (group_number, vfprintf): Use it.
26149         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26150         (JUMP, REF): Use it.
26151         (WORK_BUFFER_SIZE): New enum constant.
26152         (process_arg, vfprintf): Use it.
26154 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26156         * manual/errno.texi (Error Messages): Complete example function
26157         by adding missing #define.
26158         (program_invocation_name): Add statement indicating GNU
26159         extension and reference which header file declares the variable.
26160         (program_invocation_short_name): Likewise.
26162 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26164         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26165         compatibility note.
26167 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26169         * Makeconfig (test-wrapper-env-only): New variable.
26170         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26171         then use that with $(test-wrapper-env-only) rather than using
26172         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26174 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26176         [BZ #18082]
26177         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26178         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26179         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26180         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26181         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26182         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26183         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26184         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26185         Likewise.
26186         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26187         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26188         Likewise.
26189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26190         Likewise.
26191         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26192         Likewise.
26193         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26194         Likewise.
26195         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26197         Likewise.
26198         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26199         Likewise.
26200         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26201         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26203 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26205         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26206         (ETH_ALEN): New macro.
26207         (struct ether_addr): Use it for length of ether_addr_octet.
26209         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26210         (setdb): Don't call __nss_configure_lookup for "rpc".
26211         (do_test): Don't call test_rpc.
26212         (output_rpcent, test_rpc): Functions moved ...
26213         * sunrpc/test-rpcent.c: ... to this new file.
26214         * sunrpc/Makefile (tests): Add it.
26216         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26217         __xpg_sigpause.
26218         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26219         * nptl/tst-signal6.c: Likewise.
26220         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26221         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26223         * configure.ac (libc_cv_cxx_link_ok): New check.
26224         Reset CXX to empty if it fails to link.
26225         * configure: Regenerated.
26226         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26227         bug-atexit3-lib only if $(CXX) is nonempty.
26228         * nptl/Makefile (tests): Likewise for tst-cancel24.
26229         (tests, tests-static): Likewise for tst-cancel24-static.
26230         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26231         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26232         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26233         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26235 2015-03-04  Andreas Schwab  <schwab@suse.de>
26237         [BZ #17631]
26238         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26239         for non-GCC compilers.
26240         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26241         Likewise.
26243 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26245         [BZ #17776]
26246         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26247         integer before bitwise and assembly operations.
26248         (feclearexcept): Likewise.
26249         * math/test-fenvinline.c: New file.
26250         * math/Makefile: Add test-fenvinline test.
26252 2015-03-03  Alan Modra  <amodra@gmail.com>
26254         [BZ #16512]
26255         * scripts/localplt.awk: Strip off symbol version.
26256         * NEWS: Mention bug fix.
26258 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26260         * sysdeps/pthread/timer_routines.c
26261         (timer_free_list, thread_free_list, thread_active_list): Make static.
26263 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26265         [BZ #17779]
26266         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26267         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26268         Undefine.
26269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26270         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26271         Likewise.
26272         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26273         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26274         Likewise.
26276 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26278         [BZ #18036]
26279         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26280         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26282 2015-03-02  Andreas Schwab  <schwab@suse.de>
26284         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26285         variable name.
26287 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26289         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26290         Return error status.
26292 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26294         [BZ #15969]
26295         * locale/findlocale.c (_nl_find_locale): Introduce const
26296         version of loc_name and drop unsafe type casts.
26298 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26300         * dlfcn/tststatic2.c (main): Converted to ...
26301         (do_test): ... this.
26302         (TEST_FUNCTION): New macro.
26303         Include test-skeleton.c.
26305 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26307         [BZ #17711]
26308         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26309         (tests-pie): Add vismain.
26310         (CFLAGS-vismain.c): New.
26311         * elf/vismain.c: Add comments for PIE requirement.
26313 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26315         [BZ #18046]
26316         [BZ #18047]
26317         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26318         0x1p-56L as threshold for just returning the argument.
26319         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26320         0x1p-32L as threshold for just returning the argument.
26321         * math/auto-libm-test-in: Add more tests of atanh.
26322         * math/auto-libm-test-out: Regenerated.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26324         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26326 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26328         * string/bcopy.c (bcopy): Call memmove for performance.
26330 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26332         * string/bzero.c (__bzero): Call memset for performance.
26334 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26336         [BZ #18068]
26337         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26338         to 00100000.
26340 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26342         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26344 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26346         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26347         (__kernel_standard): Use CSTR macro when setting exc.name.
26348         * sysdeps/ieee754/Makefile [$(subdir) = math]
26349         (CFLAGS-k_standard.c): Remove variable.
26351         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26352         setting p and q from "else if" to "else".
26353         (qzero): Likewise.
26354         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26355         (qone): Likewise.
26356         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26357         (qzerof): Likewise.
26358         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26359         (qonef): Likewise.
26360         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26361         (qzero): Likewise.
26362         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26363         (qone): Likewise.
26365         [BZ #18038]
26366         [BZ #18039]
26367         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26368         return pi/2 for arguments below 0x1p-113L.
26369         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26370         return pi/2 for arguments below 0x1p-106L.
26371         * math/auto-libm-test-in: Add more tests of acos.
26372         * math/auto-libm-test-out: Regenerated.
26374         [BZ #16351]
26375         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26376         (MO): New macro.
26377         (__ieee754_asin): Force underflow exception for results with small
26378         absolute value.
26379         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26380         (MO): New macro.
26381         (__ieee754_asinf): Force underflow exception for results with
26382         small absolute value.
26383         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26384         (__ieee754_asin): Force underflow exception for results with small
26385         absolute value.
26386         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26387         (__ieee754_asinf): Force underflow exception for results with
26388         small absolute value.
26389         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26390         (__ieee754_asinl): Force underflow exception for results with
26391         small absolute value.
26392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26393         (__ieee754_asinl): Force underflow exception for results with
26394         small absolute value.
26395         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26396         (__ieee754_asinl): Force underflow exception for results with
26397         small absolute value.
26398         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26399         Include <math.h>.
26400         * math/auto-libm-test-in: Do not mark underflow exceptions as
26401         possibly missing for bug 16351.
26402         * math/auto-libm-test-out: Regenerated.
26404         [BZ #18030]
26405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26406         of power of 2 down when low part has opposite sign.
26407         * math/libm-test.inc (logb_test_data): Add more tests.
26409 2015-02-26  Andreas Schwab  <schwab@suse.de>
26411         [BZ #18032]
26412         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26413         over collating symbol inside a bracket expression.  Minor cleanup.
26414         * posix/tst-fnmatch3.c (do_test): Add test case.
26416 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26418         [BZ #18029]
26419         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26420         Adjust exponent of power of 2 down when low part has opposite
26421         sign.
26422         * math/libm-test.inc (ilogb_test_data): Add more tests.
26424 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26426         [BZ #15969]
26427         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26428         the previous change.
26430         [BZ #15969]
26431         * locale/findlocale.c (_nl_find_locale): Retry archive search
26432         after alias expansion.
26434 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26436         * iconv/tst-iconv3.c (main): Converted to ...
26437         (do_test): ... this.
26438         (TEST_FUNCTION): New macro.
26439         Include test-skeleton.c.
26441         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26442         (convert): Make function static.
26443         (test_unalign): Likewise.  Add const to argument pointee types.
26444         (main): Replace with static function do_test.
26445         Print "Succeeded." only if RET is zero.
26446         (TEST_FUNCTION): New macro.
26447         Include test-skeleton.c.
26449         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26450         returns a null pointer.
26452 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26454         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26455         to __memcpy_ppc only for static builds.
26457 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26459         [BZ #18020]
26460         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26461         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26462         * math/auto-libm-test-in: Add more tests of asinh.
26463         * math/auto-libm-test-out: Regenerated.
26464         * sysdeps/i386/fpu/libm-test-ulps: Update.
26465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26467 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26469         [BZ #15850]
26470         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26471         and ip6_mtuinfo definitions here.
26472         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26473         in this define too.  Update comment.
26475 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26477         * elf/sprof.c (load_shobj): Tweak error message to match others.
26479 2015-02-24  Kevin Easton  <kevin@guarana.org>
26481         [BZ #16145] (partial fix)
26482         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26483         to reduce lock contention.
26485 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26487         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26488         (struct timex): Update time comment.
26489         (ADJ_SETOFFSET): Define.
26491 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26493         [BZ #18019]
26494         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26495         2**56 not 2**28 as threshold for log (2x) formula.
26496         * math/auto-libm-test-in: Add more tests of acosh.
26497         * math/auto-libm-test-out: Regenerated.
26498         * sysdeps/i386/fpu/libm-test-ulps: Update.
26499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26501 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26503         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26504         parenthesis around the buf assignment.
26505         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26507 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26509         [BZ #16783]
26510         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26511         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26512         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26513         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26514         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26515         * math/libm-test.inc (scalb_test_data): Add more tests.
26517 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26519         [BZ #17916]
26520         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26521         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26523 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26525         [BZ #17523]
26526         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26527         * io/bits/fcntl2.h (open): Use it.
26528         (openat): Likewise.
26529         * io/open.c (__libc_open): Likewise.
26530         * io/open64.c (__libc_open64): Likewise.
26531         * io/open64_2.c (__open64_2): Likewise.
26532         * io/open_2.c (__open_2): Likewise.
26533         * io/openat.c (__openat): Likewise.
26534         * io/openat64.c (__openat64): Likewise.
26535         * io/openat64_2.c (__openat64_2): Likewise.
26536         * io/openat_2.c (__openat_2): Likewise.
26537         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26538         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26539         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26540         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26541         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26542         (__open_nocancel): Likewise.
26543         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26544         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26545         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26547 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26549         [BZ #14841]
26550         * resolv/gethnamaddr.c (getanswer): Skip logging if
26551         RES_USE_DNSSEC is set.
26552         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26554 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26556         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26558 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26560         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26561         201304L, for Unicode 7.
26563 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26565         [BZ #17836]
26566         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26567         shared library.  Add gmon-start.os otherwise.
26568         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26569         $(objpfx)gmon-start.os if builing shared library.
26570         ($(objpfx)g$(static-start-installed-name)): Likewise.
26572 2015-02-23  Andreas Schwab  <schwab@suse.de>
26574         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26576 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26578         [BZ #17269]
26579         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26580         (enlarge_userbuf): Likewise.
26582 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26584         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26585         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26586         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26587         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26589 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26591         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26592         expression inside statement expression.
26594 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26596         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26597         <sysdeps/nptl/lowlevellock.h> and remove macros and
26598         functions that are now defined there.
26599         (SYS_futex): Remove.
26600         (lll_compare_and_swap): Remove.
26601         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26603 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26605         [BZ #17999]
26606         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26607         instead of scandirat.
26608         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26609         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26610         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26611         __scandirat.
26612         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26613         (__scandirat): Declare.  Use libc_hidden_proto.
26614         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26615         Remove variable.
26616         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26618 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26620         [BZ #15319]
26621         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26622         (MO): New macro.
26623         (__ieee754_atan2): For results with small absolute value, force
26624         underflow exception and remove excess range and precision from
26625         return value.
26626         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26627         (MO): New macro.
26628         (__ieee754_atan2f): For results with small absolute value, force
26629         underflow exception and remove excess range and precision from
26630         return value.
26631         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26632         (MO): New macro.
26633         (__atan): For results with small absolute value, force underflow
26634         exception and remove excess range and precision from return value.
26635         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26636         (MO): New macro.
26637         (__atanf): For results with small absolute value, force underflow
26638         exception and remove excess range and precision from return value.
26639         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26640         <math.h>.
26641         (__ieee754_atan2): Force underflow exception for results with
26642         small absolute value.
26643         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26644         <math_private.h>.
26645         (atan): Force underflow exception for results with small absolute
26646         value.
26647         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26648         (__atanf): Force underflow exception for results with small
26649         absolute value.
26650         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26651         <math.h>.
26652         (__atanl): Force underflow exception for results with small
26653         absolute value.
26654         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26655         (__atanl): Force underflow exception for results with small
26656         absolute value.
26657         * sysdeps/x86/fpu/bits/mathinline.h
26658         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26659         (__ieee754_atan2): Only define inline for long double.
26660         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26661         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26662         * math/auto-libm-test-in: Do not mark underflow exceptions as
26663         possibly missing for bug 15319.  Add more tests of atan2.
26664         * math/auto-libm-test-out: Regenerated.
26665         * math/libm-test.inc (casin_test_data): Do not mark underflow
26666         exceptions as possibly missing for bug 15319.
26667         (casinh_test_data): Likewise.
26668         * sysdeps/i386/fpu/libm-test-ulps: Update.
26670 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26672         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26673         * sysdeps/mips/bits/endian.h: Fix comments.
26675 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26677         [BZ #17996]
26678         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26679         (hdestroy_r): Likewise.
26680         (hsearch_r): Likewise.
26681         (__hcreate_r): Declare and use libc_hidden_proto.
26682         (__hdestroy_r): Likewise.
26683         (__hsearch_r): Likewise.
26684         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26685         (hcreate): Call __hcreate_r instead of hcreate_r.
26686         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26687         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26688         as weak alias of __hcreate_r.
26689         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26690         __hdestroy_r.
26691         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26692         __hsearch_r.
26693         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26694         Remove variable.
26695         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26696         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26697         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26698         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26700 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26702         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26703         arena_lock into a single arena_get.
26705 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26707         * dl-reloc.c: Inlucde libc-internal.h.
26708         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26709         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26710         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26711         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26712         (grow_heap): Likewise.
26713         * malloc/malloc.c: Include libc-internal.h.
26714         (do_check_malloc): Call powerof2.
26715         (sysmalloc): Use pagesize. Call ALIGN_UP.
26716         (systrim): Use pagesize.
26717         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26718         (__libc_valloc): Use pagesize.
26719         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26721 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26723         [BZ #17991]
26724         * include/sys/resource.h (__getrlimit64): Declare.  Use
26725         libc_hidden_proto.
26726         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26727         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26728         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26729         getrlimit64.
26730         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26731         __getrlimit64.
26732         [!getrlimit64] (getrlimit64): Define as weak alias of
26733         __getrlimit64.  Use libc_hidden_weak.
26734         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26735         using __getrlimit64 not __new_getrlimit64.
26736         (__GI_getrlimit64): Likewise.
26737         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26738         Likewise.
26739         (__GI_getrlimit64): Likewise.
26740         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26742         (getrlimit): Add __getrlimit64 alias.
26743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26744         Likewise.
26745         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26746         Remove variable.
26747         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26748         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26750 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26752         * libio/fileops.c: Add missing sys/mman.h
26753         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26755 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26757         * manual/math.texi (Errors in Math Functions): Clarify goals
26758         regarding inexact and underflow exceptions.
26760 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26762         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26763         * sysdeps/mips/memset.S: Ditto.
26765 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26767         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26769 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26771         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26772         (__v1longjmp): Remove versioned symbol.
26773         (__v1siglongjmp): Remove alias and versioned symbol.
26774         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26775         (__v2siglongjmp): Likewise.
26777 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26781 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26783         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26785 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26787         [BZ #17987]
26788         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26789         zero result does not depend on the sign resulting from
26790         subtraction.
26791         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26792         Likewise.
26793         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26794         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26795         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26796         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26797         * math/libm-test.inc (remquo_test_data): Add more tests.
26799 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26801         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26802         Problem reported by J William Piggott.
26804 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26806         [BZ #17978]
26807         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26808         products 4 * y and 2 * y where those would overflow.
26809         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26810         Likewise.
26811         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26812         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26813         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26814         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26815         * math/libm-test.inc (remquo_test_data): Add more tests.
26817         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26819         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26820         [defined _COMPILING_NEWLIB].
26821         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26822         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26824         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26825         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26827 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26829         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26830         acquired.
26832 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26834         [BZ #17792]
26835         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26836         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26837         HOST_STACK_END_ADDR): Likewise.
26839 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26841         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26842         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26843         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26845 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26847         * sysdeps/generic/c++-types.data: New file.
26848         * sysdeps/generic/ld.abilist: New file.
26849         * sysdeps/generic/libBrokenLocale.abilist: New file.
26850         * sysdeps/generic/libanl.abilist: New file.
26851         * sysdeps/generic/libc.abilist: New file.
26852         * sysdeps/generic/libcrypt.abilist: New file.
26853         * sysdeps/generic/libdl.abilist: New file.
26854         * sysdeps/generic/libm.abilist: New file.
26855         * sysdeps/generic/libpthread.abilist: New file.
26856         * sysdeps/generic/libresolv.abilist: New file.
26857         * sysdeps/generic/librt.abilist: New file.
26859 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26861         [BZ #17569]
26862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26863         Compute absolute value of x as modified by fmod, not original
26864         value of x.
26865         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26866         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26867         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26868         RUN_TEST_ffI_f1_mod8.
26869         (remquo_test_data): Add more tests.
26871 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26873         * sysdeps/init_array/pt-crti.S: New file.
26875 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26877         [BZ #17967]
26878         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26879         __builtin_fmaf instead of relying on contraction of a * b + c.
26881 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26883         [BZ #17969]
26884         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26885         node.
26887 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26889         [BZ #17964]
26890         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26891         __builtin_fma instead of relying on contraction of a * b + c.
26893 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26895         * Makeconfig (ASFLAGS): Add -Werror=undef.
26896         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26897         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26898         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26900         * Makeconfig (after-link): New variable.
26901         (+link-pie, +link-pie-tests): Use it.
26902         (+link-static, +link-static-tests): Likewise.
26903         (+link, +link-tests): Likewise.
26904         * Makerules (build-module, build-module-asneeded): Likewise.
26905         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26906         Likewise.
26907         * elf/Makefile ($(objpfx)ld.so): Likewise.
26909 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26911         [BZ #17965]
26912         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26913         both struct timeval and struct timespec.
26915 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26917         [BZ #16560]
26918         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26919         and redefine.
26920         (__ieee754_exp2l): Do not multiply small fractional parts by
26921         M_LN2l.
26922         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26923         small argument.
26924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26925         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26926         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26927         * math/auto-libm-test-in: Add more tests of exp2.
26928         * math/auto-libm-test-out: Regenerated.
26930 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26932         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26933         unaligned path.
26935 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26937         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26938         little endian.
26940 2015-02-12  Andreas Schwab  <schwab@suse.de>
26942         [BZ #15790]
26943         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26944         Filter out elision flags from value returned in kind.
26945         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26946         * nptl/tst-pthread-mutexattr.c: New file.
26948 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26950         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26951         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26952         into gnu-gnu, and update comment to refer to abi-tags.
26954 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26956         [BZ #15467]
26957         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26958         (__sincos): Set errno to EDOM for infinite argument.
26959         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26960         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26961         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26962         (__sincosl): Set errno to EDOM for infinite argument.
26963         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26964         (__sincosl): Set errno to EDOM for infinite argument.
26965         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26966         (__sincosl): Set errno to EDOM for infinite argument.
26967         * math/libm-test.inc (sincos_test_data): Test errno setting.
26969 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26971         * string/strxfrm_l.c: Remove #define STRCMP.
26972         * string/strcoll_l.c: Remove #define STRLEN.
26973         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26974         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26976 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26978         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26979         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26980         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26981         * sysdeps/mips/mips64/Makefile: ... here.
26982         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26983         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26984         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26985         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26986         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26987         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26988         * sysdeps/mips/mips64/n64/Implies: Likewise.
26990 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26992         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26993         <sys/time.h>, <string.h>, and <errno.h>.
26994         (dest_offset, dest_address, value, zero): Remove unused variables.
26995         (ldouble): Remove typedef.
26996         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26997         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26998         1).  Fix code style.
26999         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27000         (check): Function removed.
27001         (CHECK): New macro.
27002         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
27003         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27004         Don't call set_sigaction_FP and remove_sigaction_FP here.
27005         (ldouble_test): Just use 'long double' as macro argument, no need for
27006         the 'ldouble' typedef.
27007         (do_test): Set up SIGFPE handler at start, using plain signal rather
27008         than sigaction.  Fix code style.
27010 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
27012         [BZ #17949]
27013         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27014         jump label.
27016 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27018         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27019         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27021         * sysdeps/powerpc/configure.ac: Remove file.
27022         * sysdeps/powerpc/configure: Likewise.
27024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27025         [sysdep_routines]: Remove wordcopy-power6 object.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27027         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27029         (__memmove_ppc32): Likewise.
27030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27031         file.
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27034         Remove preprocessor.
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27037         [sysdep_routines]: Remove wide chars objects.
27038         [wcsmbs]: New rule for wide char objects.
27040         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27041         Remove wordcopy-power6 obejct.
27042         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27043         Use local call for wordcopy and memcpy symbols.
27044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27045         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27046         implementation for loader.
27047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27049         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27050         Remove wordcopy-power7 object.
27051         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27052         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27053         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27054         (_wordcopy_fwd_dest_aligned): Likewise.
27055         (_wordcopy_bwd_aligned): Likewise.
27056         (_wordcopy_bwd_dest_aligned): Likewise.
27058         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27059         Rewrite to call __memmove_ppc instead of include default
27060         implementation.
27062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27063         Remove wide chars objects.
27064         [wcsmbs]: New rule for wide char objects.
27066 2015-02-09  Andreas Schwab  <schwab@suse.de>
27068         [BZ #17912]
27069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27070         in terms of __O_DIRECTORY.
27072 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27074         * time/getdate.c: Include <stdbool.h>.
27075         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27076         call PTR_MANGLE.
27077         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27078         PTR_DEMANGLE.
27080 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27082         Add ersatz _Static_assert on older C hosts
27083         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27084         pre-C11 C platform that is not known to support _Static_assert.
27086 2015-02-07  Richard Braun  <rbraun@sceen.net>
27088         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27089         sigstate.
27090         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27092 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27094         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27095         priority against unexistent AIO_PRIO_DELTA_MAX.
27096         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27097         instead of int.
27098         * misc/fchflags.c (fchflags): Likewise.
27099         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27100         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27101         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27102         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27103         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27104         Declare macros.
27105         [__USE_MISC] (chflags, fchflags): Declare functions.
27106         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27107         EINVAL when nfds is greater than FD_SETSIZE.
27108         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27109         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27110         45.
27111         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27112         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27113         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27114         MACH_RCV_TIMED_OUT.
27115         * hurd/hurd/signal.h (_hurd_self_sigstate,
27116         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27117         Explicit casts from void *.
27118         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27119         * abi-tags: Rename gnu-gnu os into gnu.
27121         [BZ #4719]
27122         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27123         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27124         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27125         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27126         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27127         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27129         [BZ #17944]
27130         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27131         duplicates ADDR->sun_path with sockaddr LEN limitation.
27132         * sysdeps/mach/hurd/connect.c: Include <string.h>
27133         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27134         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27135         * sysdeps/mach/hurd/sendto.c: Likewise.
27136         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27137         implementing it by hand.
27139 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27141         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27142         Use sfi_breg on ldr.
27143         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27144         Likewise.
27146         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27147         it's defined.
27148         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27149         Test SIGSETXID only if it's defined.
27151         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27153         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27154         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27156         * nptl/tst-align2.c: Moved ...
27157         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27158         * nptl/Makefile (tests): Remove tst-align2.
27159         * sysdeps/unix/sysv/linux/Makefile
27160         [$(subdir) = nptl] (tests): Add tst-align-clone.
27161         * nptl/tst-getpid1.c: Moved ...
27162         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27163         * nptl/tst-getpid2.c: Moved ...
27164         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27165         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27166         * sysdeps/unix/sysv/linux/Makefile
27167         [$(subdir) = nptl] (tests): ... here.
27168         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27169         * sysdeps/unix/sysv/linux/Makefile
27170         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27172         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27173         Drop trailing \n from perror argument.  Use return rather than exit.
27175         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27176         on [SA_SIGINFO].
27177         * nptl/tst-cancel21.c (do_test): Likewise.
27178         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27179         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27180         [!SA_SIGINFO]: Make it a stub test.
27182         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27183         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27185         * posix/tst-getlogin.c: Move to ...
27186         * login/tst-getlogin.c: ... here.
27187         * posix/Makefile (tests): Move tst-getlogin to ...
27188         * login/Makefile (tests): ... here.
27190         * libio/tst-atime.c (do_test): Move local variables SV and E
27191         inside [ST_NOATIME] conditional.
27193         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27195         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27197         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27198         (wait_code): New function replaces macro.
27199         Call nanosleep rather than syscall.
27201         * nptl/pt-system.c: Rewritten.  Put everything under
27202         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27203         Use IFUNC to redirect when possible.
27205         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27206         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27207         Use IFUNC to redirect when possible.
27209         * nptl/pt-fork.c: Rewritten.  Put everything under
27210         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27211         Use IFUNC to redirect when possible.
27212         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27214         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27215         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27216         unconditionally nowadays.  This included the only reference to
27217         __vdso_clock_gettime that appears outside libc proper.
27218         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27219         Remove version set (containing only __vdso_clock_gettime).
27220         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27221         Add attribute_hidden.
27222         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27223         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27224         libc_hidden_data_def.
27225         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27226         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27228         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27229         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27230         setrpcent, and getrpcport to ...
27231         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27232         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27233         getrpcbynumber_r, and getrpcent_r to ...
27234         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27235         * inet/getrpcbyname.c: Moved ...
27236         * sunrpc/getrpcbyname.c: ... here.
27237         * inet/getrpcbyname_r.c: Moved ...
27238         * sunrpc/getrpcbyname_r.c: ... here.
27239         * inet/getrpcbynumber.c: Moved ...
27240         * sunrpc/getrpcbynumber.c: ... here.
27241         * inet/getrpcbynumber_r.c: Moved ...
27242         * sunrpc/getrpcbynumber_r.c: ... here.
27243         * inet/getrpcent.c: Moved ...
27244         * sunrpc/getrpcent.c: ... here.
27245         * inet/getrpcent_r.c: Moved ...
27246         * sunrpc/getrpcent_r.c: ... here.
27247         * inet/Makefile (routines): Move those to ...
27248         * sunrpc/Makefile (routines): ... here.
27249         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27250         the $(subdirs) list.
27251         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27252         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27253         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27254         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27256         * elf/Makefile (routines): Include $(all-dl-routines), not just
27257         $(dl-routines).
27258         (rtld-routines): Likewise.  Use = rather than :=.
27259         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27260         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27261         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27262         * sysdeps/arm/Makefile: Likewise.
27263         * sysdeps/i386/Makefile: Likewise.
27264         * sysdeps/x86_64/Makefile: Likewise.
27265         * sysdeps/hppa/Makefile [$(subdir) = elf]
27266         (sysdep_routines, sysdep-rtld-routines): Don't add
27267         $(sysdep-dl-routines) to these.
27268         * sysdeps/ia64/Makefile: Likewise.
27269         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27270         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27271         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27272         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27273         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27274         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27275         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27276         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27277         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27278         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27279         these; sysdep-dl-routines alone is enough.
27281 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27283         [BZ #17932]
27284         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27285         where multiplication results in zero and third argument is finite
27286         and nonzero.
27287         * math/auto-libm-test-in: Add more tests of fma.
27288         * math/auto-libm-test-out: Regenerated.
27290         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27291         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27292         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27293         (_FP_CMP_EQ): Likewise.
27294         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27296         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27297         extra argument CHECK_NAN.  Redefine as wrapper around
27298         _FP_EXTEND_CNAN.
27300 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27302         * version.h (RELEASE): Set to "stable".
27303         (VERSION): Set to "2.21"
27304         * include/features.h (__GLIBC_MINOR__): Set to 21.
27306         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27308 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27309             Paul Eggert  <eggert@cs.ucla.edu>
27311         [BZ #16618]
27312         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27313         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27314         size in bytes. Store needed elements in wpmax. Use needed size
27315         in bytes for extend_alloca.
27317 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27319         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27320         binutls 2.25, and texinfo 5.2.
27321         * INSTALL: Regenerate.
27322         * sysdeps/nios2/configure: Regenerate.
27323         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27324         * manual/contrib.texi: Update.
27325         * po/be.po: Update.
27326         * po/bg.po: Update.
27327         * po/ca.po: Update.
27328         * po/cs.po: Update.
27329         * po/da.po: Update.
27330         * po/de.po: Update.
27331         * po/el.po: Update.
27332         * po/eo.po: Update.
27333         * po/es.po: Update.
27334         * po/fi.po: Update.
27335         * po/fr.po: Update.
27336         * po/gl.po: Update.
27337         * po/hr.po: Update.
27338         * po/hu.po: Update.
27339         * po/ia.po: Update.
27340         * po/id.po: Update.
27341         * po/it.po: Update.
27342         * po/ja.po: Update.
27343         * po/ko.po: Update.
27344         * po/lt.po: Update.
27345         * po/nb.po: Update.
27346         * po/nl.po: Update.
27347         * po/pl.po: Update.
27348         * po/pt_BR.po: Update.
27349         * po/ru.po: Update.
27350         * po/rw.po: Update.
27351         * po/sk.po: Update.
27352         * po/sl.po: Update.
27353         * po/sv.po: Update.
27354         * po/tr.po: Update.
27355         * po/uk.po: Update.
27356         * po/vi.po: Update.
27357         * po/zh_CN.po: Update.
27358         * po/zh_TW.po: Update.
27360         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27361         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27362         * sysdeps/hppa/dl-irel.h: Remove #warning.
27363         * sysdeps/hppa/entry.h: Provide prototype for
27364         __canonicalize_funcptr_for_compare and cast argument.
27365         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27366         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27367         * sysdeps/hppa/sotruss-lib.c: New file.
27368         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27369         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27370         (atomic_compare_and_exchange_bool_acq): Likewise.
27371         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27372         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27374         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27375         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27376         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27378 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27380         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27381         called function in non-PIC case.
27383 2015-01-31  David S. Miller  <davem@davemloft.net>
27385         * sysdeps/sparc/sparc32/bits/atomic.h
27386         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27387         unlock not after it.
27388         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27389         volatile register usage warnings from the compiler.
27391         * sysdeps/sparc/nptl/sem_init.c: Delete.
27392         * sysdeps/sparc/nptl/sem_post.c: Delete.
27393         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27394         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27395         * sysdeps/sparc/sparc32/sem_init.c: New file.
27396         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27397         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27398         padding explicitly initialized.
27399         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27400         padding for in-semaphore spinlock.
27401         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27402         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27403         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27404         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27405         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27406         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27407         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27408         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27409         version.
27410         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27411         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27413 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27415         [BZ #17801]
27416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27417         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27418         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27419         New.
27420         (index_AVX_Fast_Unaligned_Load): Likewise.
27421         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27422         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27423         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27424         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27425         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27426         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27427         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27428         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27429         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27431 2015-01-29  Andreas Schwab  <schwab@suse.de>
27433         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27435 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27437         [BZ #17892]
27438         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27440 2015-01-28  Martin Sebor  <msebor@redhat.com>
27442         * math/README.libm-test: Clarify. Add "How to read the test output."
27444 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27446         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27447         Define to 0.
27449 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27451         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27452         (__HAVE_64B_ATOMICS): Define to 0.
27454 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27456         [BZ #17885]
27457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27458         value to set as new flag.
27460         [BZ #16576]
27461         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27462         and use _ARCH_PPCSQ instead.
27463         (__ieee754_sqrt): Likewise.
27464         (__ieee754_sqrtf): Likewise.
27465         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27466         _ARCH_PPCSQ is defined.
27467         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27468         fsqrt instruction.
27469         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27470         _ARCH_PPCSQ is defined.
27471         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27472         fsqrts instruction.
27473         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27475 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27477         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27478         bug (GCC BZ #64739).
27480 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27482         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27483         Mark _retval as used.
27484         (lll_futex_wake_unlock): Likewise.
27485         (lll_futex_timed_wait_requeue_pi): Likewise.
27487         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27488         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27489         register variables.
27491         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27492         libm_hidden_def.
27494         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27495         (__bswap_64): Mark as __always_inline.
27497 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27499         [BZ #15378]
27500         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27501         when none of the search directories exist.
27503 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27505         [BZ #17869]
27506         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27507         power8 in .machine directive.
27509         [BZ #17868]
27510         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27511         set dependency from opd value.
27513 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27516         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27517         architecture.
27519 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27521         [BZ #17870]
27522         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27523         with uint64_t.
27524         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27525         (uint64_t) 1.
27526         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27527         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27528         Replace 1UL with (uint64_t) 1.
27529         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27530         int with uint64_t.
27532 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27534         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27535         (if_freenameindex): Likewise.
27537         * resource/getrlimit64.c: Add missing libc_hidden_def.
27539 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27541         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27542         __label__.
27543         (_FP_FMA): Likewise.
27544         (_FP_TO_INT_ROUND): Likewise.
27545         (_FP_FROM_INT): Likewise.
27547 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27549         [BZ #16418]
27550         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27551         Make code racy and cancel safe.
27553 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27555         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27556         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27557         attribution.
27559         * pwd/tst-getpw.c: Rewrite.
27561         [BZ #17702]
27562         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27563         (modules-names): Add moddummy1 and moddummy2.
27564         ($(objpfx)tst-rec-dlopen): Define.
27565         * dlfcn/moddummy1.c: New file.
27566         * dlfcn/moddummy2.c: New file.
27567         * dlfcn/tst-rec-dlopen.c: New file.
27568         * elf/dl-cache.c (_dl_load_cache_lookup):
27569         Return char*. Copy result with alloca/strcpy/strdup.
27570         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27571         returns char*. Free cached. If not saving realname
27572         free cached.
27573         * elf/dl-open.c (dl_open_worker): Do not assert that
27574         _r_debug->r_state is RT_CONSISTENT.
27575         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27576         returns char*.
27578 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27579             Carlos O'Donell  <carlos@redhat.com>
27581         [BZ #12674]
27582         * nptl/sem_waitcommon.c: New file.
27583         * nptl/sem_wait.c: Include sem_waitcommon.c.
27584         (__sem_wait_cleanup, do_futex_wait): Remove.
27585         (__new_sem_wait): Adapt.
27586         (__new_sem_trywait): New function.
27587         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27588         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27589         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27590         (sem_timedwait): Adapt.
27591         * nptl/sem_post.c (__new_sem_post): Adapt.
27592         (futex_wake): New function.
27593         (__old_sem_post): Add release MO fence.
27594         * nptl/sem_open.c (sem_open): Adapt.
27595         * nptl/sem_init.c (__new_sem_init): Adapt.
27596         (futex_private_if_supported): New function.
27597         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27598         (__old_sem_getvalue): Add using previous code.
27599         * sysdeps/nptl/internaltypes.h: Adapt.
27600         * nptl/tst-sem13.c (do_test): Adapt.
27601         * nptl/tst-sem11.c (main): Adapt.
27602         * nptl/sem_trywait.c: Remove.
27603         * nptl/DESIGN-sem.txt: Remove.
27604         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27605         (gen-as-const-headers): Remove structsem.sym.
27606         * nptl/structsem.sym: Remove.
27607         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27608         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27609         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27610         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27611         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27612         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27613         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27614         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27615         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27616         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27617         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27618         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27619         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27620         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27621         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27622         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27623         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27624         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27625         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27626         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27627         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27628         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27630 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27632         * INSTALL: Regenerated.
27634         * po/libc.pot: Regenerated.
27636 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27637             Sandra Loosemore  <sandra@codesourcery.com>
27638             Andrew Jenner  <andrew@codesourcery.com>
27639             Joseph Myers  <joseph@codesourcery.com>
27640             Nathan Sidwell  <nathan@codesourcery.com>
27642         * NEWS: Mention new Nios II port.
27643         * sysdeps/nios2/Implies: New file.
27644         * sysdeps/nios2/Makefile: New file.
27645         * sysdeps/nios2/Subdirs: New file.
27646         * sysdeps/nios2/Versions: New file.
27647         * sysdeps/nios2/__longjmp.S: New file.
27648         * sysdeps/nios2/abort-instr.h: New file.
27649         * sysdeps/nios2/backtrace.c: New file.
27650         * sysdeps/nios2/bits/endian.h: New file.
27651         * sysdeps/nios2/bits/fenv.h: New file.
27652         * sysdeps/nios2/bits/link.h: New file.
27653         * sysdeps/nios2/bits/setjmp.h: New file.
27654         * sysdeps/nios2/bsd-_setjmp.S: New file.
27655         * sysdeps/nios2/bsd-setjmp.S: New file.
27656         * sysdeps/nios2/configure: New generated file.
27657         * sysdeps/nios2/configure.ac: New file.
27658         * sysdeps/nios2/crti.S: New file.
27659         * sysdeps/nios2/crtn.S: New file.
27660         * sysdeps/nios2/dl-init.c: New file.
27661         * sysdeps/nios2/dl-machine.h: New file.
27662         * sysdeps/nios2/dl-sysdep.h: New file.
27663         * sysdeps/nios2/dl-tls.h: New file.
27664         * sysdeps/nios2/dl-trampoline.S: New file.
27665         * sysdeps/nios2/gccframe.h: New file.
27666         * sysdeps/nios2/gmp-mparam.h: New file.
27667         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27668         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27669         * sysdeps/nios2/ldsodefs.h: New file.
27670         * sysdeps/nios2/libc-tls.c: New file.
27671         * sysdeps/nios2/libm-test-ulps: New file.
27672         * sysdeps/nios2/machine-gmon.h: New file.
27673         * sysdeps/nios2/math-tests.h: New file.
27674         * sysdeps/nios2/math_private.h: New file.
27675         * sysdeps/nios2/memusage.h: New file.
27676         * sysdeps/nios2/nptl/Makefile: New file.
27677         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27678         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27679         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27680         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27681         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27682         * sysdeps/nios2/nptl/tls.h: New file.
27683         * sysdeps/nios2/preconfigure: New file.
27684         * sysdeps/nios2/s_fma.c: New file.
27685         * sysdeps/nios2/s_fmaf.c: New file.
27686         * sysdeps/nios2/setjmp.S: New file.
27687         * sysdeps/nios2/sfp-machine.h: New file.
27688         * sysdeps/nios2/sotruss-lib.c: New file.
27689         * sysdeps/nios2/stackguard-macros.h: New file.
27690         * sysdeps/nios2/stackinfo.h: New file.
27691         * sysdeps/nios2/start.S: New file.
27692         * sysdeps/nios2/sysdep.h: New file.
27693         * sysdeps/nios2/tls-macros.h: New file.
27694         * sysdeps/nios2/tst-audit.h: New file.
27695         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27696         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27697         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27698         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27699         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27700         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27701         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27702         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27703         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27704         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27705         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27706         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27707         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27708         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27709         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27710         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27711         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27712         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27713         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27714         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27715         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27716         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27717         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27718         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27719         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27720         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27721         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27722         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27723         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27724         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27725         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27726         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27727         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27728         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27729         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27730         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27731         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27732         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27733         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27734         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27735         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27736         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27737         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27738         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27740 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27742         [BZ #17844]
27743         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27744         (getutent): Use weak_alias in non SHARED case
27745         and default_symbol_version in SHARED case.
27746         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27747         (getutent_r, pututline): Likewise.
27748         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27749         (getutid): Likewise.
27750         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27751         (getutid_r): Likewise.
27752         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27753         (getutline): Likewise.
27754         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27755         (getutline_r): Likewise.
27756         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27757         (updwtmp): Likewise.
27759 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27761         [BZ #17848]
27762         * sysdeps/s390/s390-32/memcmp.S
27763         (memcmp_g5): Rename to __memcmp_g5.
27764         * sysdeps/s390/s390-32/memcpy.S
27765         (memcpy_g5): Rename to __memcpy_g5.
27766         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27767         (memcpy_mvcle) Rename to __memcpy_mvcle.
27768         * sysdeps/s390/s390-32/memset.S
27769         (memset_g5): Rename to __memset_g5.
27770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27771         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27772         and use prefixed functions.
27773         * sysdeps/s390/s390-32/multiarch/memcmp.S
27774         (memcmp_z196): Rename to __memcmp_z196.
27775         (memcmp_z10): Rename to __memcmp_z10.
27776         (memcmp): Set alias to __memcmp_g5.
27777         (bcmp): Set alias to __memcmp_g5.
27778         * sysdeps/s390/s390-32/multiarch/memcpy.S
27779         (memcpy_z196): Rename to __memcpy_z196.
27780         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27781         (memcpy_z10): Rename to __memcpy_z10.
27782         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27783         (memcpy): Set alias to __memcpy_g5.
27784         * sysdeps/s390/s390-32/multiarch/memset.S
27785         (memset_z196): Rename to __memset_z196.
27786         Jump to __memset_mvcle instead of memset_mvcle.
27787         (memset_z10): Rename to __memset_z10.
27788         Jump to __memset_mvcle instead of memset_mvcle.
27789         (memset_mvcle) Rename to __memset_mvcle.
27790         (memset): Set alias to __memset_g5.
27791         * sysdeps/s390/s390-64/memcmp.S
27792         (memcmp_z900): Rename to __memcmp_z900.
27793         * sysdeps/s390/s390-64/memcpy.S
27794         (memcpy_z900): Rename to __memcpy_z900.
27795         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27796         (memcpy_mvcle) Rename to __memcpy_mvcle.
27797         * sysdeps/s390/s390-64/memset.S
27798         (memset_z900): Rename to __memset_z900.
27799         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27800         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27801         and use prefixed functions.
27802         * sysdeps/s390/s390-64/multiarch/memcmp.S
27803         (memcmp_z196): Rename to __memcmp_z196.
27804         (memcmp_z10): Rename to __memcmp_z10.
27805         (memcmp): Set alias to __memcmp_z900.
27806         (bcmp): Set alias to __memcmp_z900.
27807         * sysdeps/s390/s390-64/multiarch/memcpy.S
27808         (memcpy_z196): Rename to __memcpy_z196.
27809         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27810         (memcpy_z10): Rename to __memcpy_z10.
27811         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27812         (memcpy): Set alias to __memcpy_z900.
27813         * sysdeps/s390/s390-64/multiarch/memset.S
27814         (memset_z196): Rename to __memset_z196.
27815         Jump to __memset_mvcle instead of memset_mvcle.
27816         (memset_z10): Rename to __memset_z10.
27817         Jump to __memset_mvcle instead of memset_mvcle.
27818         (memset_mvcle) Rename to __memset_mvcle.
27819         (memset): Set alias to __memset_z900.
27821 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27823         [BZ #17748]
27824         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27825         __fesetenv instead of fesetenv.
27827 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27829         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27830         macro.
27832 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27834         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27835         regression on LE.
27837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27838         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27840         strncmp-power8 object.
27841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27842         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27843         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27844         * NEWS: Update.
27846 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27847             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27849         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27850         trailing byte check.
27852 2015-01-13  David S. Miller  <davem@davemloft.net>
27854         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27856 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27858         * login/logout.c (logout): Use memset rather than bzero.
27859         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27860         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27861         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27862         (_gethtbyaddr): Likewise.
27863         * locale/programs/simple-hash.c (bcopy): Macro removed.
27865 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27868         Add strcmp-power8 object.
27869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27870         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27871         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27872         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27873         __strcmp_power8 implementation.
27874         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27875         * NEWS: Update.
27877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27878         Add strncpy-power8 and stpncpy-power8 objects.
27879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27880         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27881         implementations.
27882         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27883         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27884         __stpncpy_power8 implementation.
27885         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27886         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27887         __strncpy_power8 implementation.
27888         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27889         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27890         * NEWS: Update.
27892         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27893         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27894         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27897         strncat-power8 object.
27898         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27899         __strcat_power8 implementation.
27900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27901         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27902         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27903         optimized strcat for power8.
27905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27906         strcpy-power8 and stpcpy-power8 objects.
27907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27908         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27909         implementations.
27910         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27911         multiarch stpcpy implementation for POWER8.
27912         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27913         multiarch strcpy implementation for POWER8.
27914         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27915         __strcpy_power8 function.
27916         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27917         stpcpy for POWER8.
27918         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27919         strcpy for POWER8.
27920         * NEWS: Update.
27922 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27924         [BZ #16009]
27925         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27926         weights and rules. Use do_xfrm_cached if data fits in cache,
27927         do_xfrm otherwise.  Moved former main loop to...
27928         * (do_xfrm_cached): New function.
27929         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27930         find_idx, find_position and stack_push.
27931         * (find_idx): New function.
27932         * (find_position): Likewise.
27933         * localedata/sort-test.sh: Added test run for do_xfrm.
27934         * localedata/xfrm-test.c (main): Added command line option
27935         -nocache to run the test with strings that are too large for
27936         the STRXFRM cache.
27938 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27940         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27941         variable to lll_futex_wake call, not the value itself.
27943 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27945         [BZ #17803]
27946         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27947         twom64.  Adjust value to 0x1p-64L.
27948         (__scalblnl): Only return standard underflowing result for K <=
27949         -64 not K <= -63; adjust exponent for underflowing result by 64
27950         not 63.
27951         * math/libm-test.inc (scalbn_test_data): Add more tests.
27952         (scalbln_test_data): Likewise.
27954         [BZ #17834]
27955         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27956         0x1p63L.
27957         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27958         not HX.
27959         * math/libm-test.inc (scalbn_test_data): Add more tests.
27960         (scalbln_test_data): Likewise.
27962 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27963             Stefani Seibold  <stefani@seibold.net>
27965         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27966         (sysdep_routines): Add dl-vdso here, ...
27967         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27968         (sysdep_routines): ... not here.
27969         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27970         fallback when vDSO is not presented.
27971         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27972         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27973         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27974         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27975         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27976         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27977         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27978         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27979         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27981         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27982         fallback configurable symbol when vDSO is not available.
27983         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27984         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27985         be able to redefine fallback symbol when vDSO is not available.
27986         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27987         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27989 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27991         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27992         (TLS_INIT_TP): Add tm_capable initialization.
27993         (TLS_DEFINE_INIT_TP): Likewise.
27994         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27995         TCB.
27996         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27997         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27998         calculation.
27999         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28000         transactoion is lock elision is built and TCB tm_capable is set.
28001         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28003         (INTERNAL_SYSCALL_NCS): Likewise.
28004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28005         (INTERNAL_SYSCALL_NCS): Likewise.
28006         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28008         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28009         for powerpc.
28010         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28011         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28012         and remove it for 32 bits case.
28013         [pthread_rwlock_t] (__rwelision): New field for lock elision.
28014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28015         initialization.
28016         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28017         Disable lock elision with rdlocks if elision is not available.
28019         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28020         (sysdep_routines): Add lock elision objects.
28021         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28022         [pthread_mutex_t] (__spins): Rework to add lock elision field.
28023         [pthread_mutex_t] (__elision): Add field.
28024         [__PTHREAD_SPINS]: Adjust to init lock elision field.
28025         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28026         elision definitions for powerpc.
28027         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28028         implementation of lock elision for powerpc.
28029         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28030         implementation of timed lock elision for powerpc.
28031         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28032         implementation of trylock with lock elision for powerpc.
28033         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28034         implementaion of unlock for lock elision for powerpc.
28035         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28036         automatic enable lock elision for mutexes.
28037         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28038         transaction execution definitions for powerpc.
28039         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28040         definitions.
28041         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28042         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28043         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28044         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28045         * NEWS: Update.
28047 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28049         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28050         for #include of <shm-directory.h>.
28052 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28055         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28057 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28059         [BZ #17791]
28060         * NEWS: Mention bug fix.
28061         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28062         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28063         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28065 2015-01-09  Torvald Riegel <triegel@redhat.com>
28067         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28069 2015-01-09  Torvald Riegel <triegel@redhat.com>
28071         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28073 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28075         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28076         pointer and cast to uintptr_t.
28078 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28080         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28081         removed.
28082         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28084 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28086         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28087         of 0.
28089 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28091         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28092         <nptl/pthreadP.h> instead.
28093         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28095         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28096         already defined.
28097         [__SIGRTMIN] (init): Function removed.
28098         [__SIGRTMIN] (initialized): Variable removed.
28099         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28100         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28101         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28102         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28103         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28104         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28105         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28106         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28107         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28108         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28109         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28110         * sysdeps/nptl/allocrtsig.c: New file.
28111         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28112         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28113         * sysdeps/generic/testrtsig.h: File removed.
28115         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28116         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28118         * nptl/nptl-init.c (pthread_functions): Conditionalize
28119         .ptr__nptl_setxid initialization on [SIGSETXID].
28121         * sysdeps/nptl/sys/procfs.h: New file.
28122         * nptl_db/Makefile (headers): Add it.
28123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28125         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28126         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28127         * nptl/pthread_attr_setaffinity.c: Include it.
28128         * nptl/pthread_setattr_default_np.c: Likewise.
28129         * nptl/check-cpuset.h: New file.
28131 2015-01-08  Richard Henderson  <rth@redhat.com>
28133         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28134         (CFLAGS-tst-execstack-prog.c): Likewise.
28135         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28137 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28138             Sandra Loosemore  <sandra@codesourcery.com>
28139             Andrew Jenner  <andrew@codesourcery.com>
28140             Joseph Myers  <joseph@codesourcery.com>
28141             Nathan Sidwell  <nathan@codesourcery.com>
28143         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28144         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28145         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28146         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28147         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28148         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28149         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28150         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28151         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28152         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28153         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28154         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28155         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28156         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28157         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28158         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28159         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28161 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28163         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28164         timespec struct member in syscall macro.
28165         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28166         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28167         first timeval struct member in syscall macro.
28168         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28170 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28172         [BZ #17748]
28173         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28174         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28175         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28176         __feupdateenv and define as weak alias of __feupdateenv.  Use
28177         libm_hidden_weak.
28178         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28179         libm_hidden_def.
28180         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28181         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28182         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28183         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28184         libm_hidden_def.
28185         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28186         __feupdateenv and define as weak alias of __feupdateenv.  Use
28187         libm_hidden_weak.
28188         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28189         libm_hidden_def.
28190         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28191         __feupdateenv and define as weak alias of __feupdateenv.  Use
28192         libm_hidden_weak.
28193         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28194         libm_hidden_def.
28195         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28196         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28197         (__feupdateenv): Likewise.
28198         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28199         __feupdateenv and define as weak alias of __feupdateenv.  Use
28200         libm_hidden_weak.
28201         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28202         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28203         libm_hidden_def.
28204         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28205         function.
28206         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28207         libm_hidden_def.
28208         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28209         __feupdateenv instead of feupdateenv.
28210         (default_libc_feupdateenv_test): Likewise.
28211         (libc_feresetround_ctx): Likewise.
28213 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28215         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28216         prototype.
28218 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28220         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28221         COLL_SYM in a couple of places to avoid uninitialized variable
28222         wanings on tilegx gcc 4.8.2.
28224 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28226         * sysdeps/aarch64/strcpy.S: New file.
28227         * sysdeps/aarch64/stpcpy.S: New file.
28228         * NEWS: Updated.
28230 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28232         * sysdeps/aarch64/strrchr.S: New file.
28233         * NEWS: Updated.
28235 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28237         [BZ #17658]
28238         * stdlib/setenv.c: Fix memory leak when setting large,
28239         duplicate string.
28241 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28243         [BZ #17273]
28244         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28245         and tabs from buffer before parsing fstab entry.
28246         * misc/tst-mntent.c (main): Add test for mount entry with
28247         trailing spaces and tabs.
28249 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28251         [BZ #17748]
28252         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28253         * math/fesetround.c (fesetround): Rename to __fesetround and
28254         define as weak alias of __fesetround.  Use libm_hidden_weak.
28255         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28256         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28257         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28258         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28259         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28260         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28261         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28262         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28263         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28264         __fesetround_inline.
28265         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28266         __fesetround_inline instead of __fesetround.
28267         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28268         __fesetround and define as weak alias of __fesetround.  Use
28269         libm_hidden_weak.  Call __fesetround_inline instead of
28270         __fesetround.
28271         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28272         __fesetround and define as weak alias of __fesetround.  Use
28273         libm_hidden_weak.
28274         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28275         Likewise.
28276         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28277         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28278         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28279         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28280         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28281         __fesetround and define as weak alias of __fesetround.  Use
28282         libm_hidden_weak.
28283         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28284         __fesetround instead of fesetround.
28285         (default_libc_feholdexcept_setround): Likewise.
28286         (libc_feholdsetround_ctx): Likewise.
28287         (libc_feholdsetround_noex_ctx): Likewise.
28289         [BZ #17748]
28290         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28291         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28292         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28293         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28294         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28295         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28296         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28297         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28298         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28299         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28300         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28301         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28302         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28303         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28304         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28305         libm_hidden_def.
28306         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28307         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28308         Likewise.
28309         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28310         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28311         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28312         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28313         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28314         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28315         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28316         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28317         __fesetenv instead of fesetenv.
28318         (libc_feresetround_noex_ctx): Likewise.
28319         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28320         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28321         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28322         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28323         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28324         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28325         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28326         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28327         (__feupdateenv): Likewise.
28328         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28329         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28330         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28331         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28333 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28335         [BZ #17806]
28336         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28337         addresses have been freed.
28339 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28341         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28342         and nservall.
28344 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28346         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28347         Clean up check_pf allocation pattern. addresses
28349 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28351         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28352         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28353         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28354         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28355         * nptl/pthread_join.c (pthread_join): Likewise.
28356         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28357         * sysdeps/posix/waitid.c (__waitid): Likewise.
28358         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28359         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28360         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28361         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28363         Likewise.
28364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28365         (__libc_pread64): Likewise.
28366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28367         (__libc_pwrite): Likewise.
28368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28369         (__libc_pwrite64): Likewsie.
28370         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28371         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28372         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28373         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28374         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28375         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28376         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28378         Likewise.
28379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28380         (__libc_pread64): Likewise.
28381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28382         Likewise.
28383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28384         (__libc_pwrite64): Likewise.
28385         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28386         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28387         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28388         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28389         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28390         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28391         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28392         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28393         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28394         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28395         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28396         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28397         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28398         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28399         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28401         Likewise.
28403 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28405         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28406         (CFLAGS-test-double.c): Likewise.
28407         (CFLAGS-test-ldouble.c): Likewise.
28408         (CPPFLAGS-test-ifloat.c): Likewise.
28409         (CPPFLAGS-test-idouble.c): Likewise.
28410         (CPPFLAGS-test-ildoubl.c): Likewise.
28411         (CFLAGS-test-test-fenv.c): Remove variable.
28412         (CFLAGS-test-misc.c): Likewise.
28414 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28416         [BZ #17797]
28417         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28418         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28419         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28420         CLOCKS_PER_SEC == 1000000.
28421         * time/clocktest.c (main): Replace %ld with %jd and cast to
28422         intmax_t.
28424 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28426         * sysdeps/generic/unwind-resume.h: New file.
28427         * sysdeps/gnu/unwind-resume.c: Include it.
28428         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28429         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28430         argument list.
28431         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28432         global rather than static.
28433         (_Unwind_Resume): Update user.
28434         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28435         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28436         rather than static.  Add __attribute__ ((cold)).
28437         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28438         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28439         * sysdeps/arm/arm-unwind-resume.S: New file.
28440         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28441         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28442         * sysdeps/arm/Makefile [$(subdir) = csu]
28443         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28444         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28445         Add rt-arm-unwind-resume.
28446         [$(subdir) = nptl]
28447         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28448         Add pt-arm-unwind-resume.
28449         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28450         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28452 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28454         [BZ #17748]
28455         * include/fenv.h (__feholdexcept): Declare.  Use
28456         libm_hidden_proto.
28457         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28458         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28459         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28460         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28461         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28462         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28463         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28464         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28465         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28466         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28467         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28468         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28469         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28470         (feholdexcept): Likewise.
28471         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28472         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28473         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28474         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28475         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28476         __feholdexcept instead of feholdexcept.
28477         (default_libc_feholdexcept_setround): Likewise.
28479 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28481         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28482         to avoid using stl/str to align destination.
28484 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28486         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28488 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28490         [BZ #17796]
28491         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28492         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28493         Define as weak alias not strong alias.
28495 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28497         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28498         bltzal with addiupc.
28499         (RTLD_START): Ditto.
28501 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28503         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28504         for __vdso_* functions in declarations.
28505         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28506         definitions.
28507         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28508         INTERNAL_VSYSCALL): Use struct return types to check for error.
28510         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28511         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28512         function with cast from llround().
28513         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28514         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28515         Define.
28517 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #17793]
28520         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28521         Define as weak alias not strong alias.
28523         [BZ #17635]
28524         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28525         ...
28526         * ctype/ctype-extn.c: ... here.
28527         (__isblank_l): Move to ...
28528         * ctype/ctype-c99_l.c: ... here.  New file.
28529         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28530         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28531         Remove variable.
28532         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28533         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28534         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28535         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28536         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28538         [BZ #17777]
28539         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28540         (posix_fadvise64): Define as weak alias not strong alias.
28541         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28542         (posix_fallocate64): Likewise.
28543         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28544         Remove variable.
28545         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28546         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28547         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28548         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28549         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28551 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28553         [BZ #16191]
28554         * NEWS: Mention bug fix.
28555         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28556         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28557         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28558         (HOST_STACK_END_ADDR): Likewise.
28560 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28562         [BZ #17748]
28563         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28564         * math/fegetround.c (fegetround): Rename to __fegetround and
28565         define as weak alias of __fegetround.  Use libm_hidden_weak.
28566         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28567         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28568         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28569         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28570         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28571         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28572         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28573         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28574         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28575         Undefine after rather than before function definition; use
28576         parentheses around function name in definition.
28577         (__fegetround): Also undefine macro after function definition.
28578         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28579         __fegetround and define as weak alias of __fegetround.  Use
28580         libm_hidden_weak.  Do not undefine as macro.
28581         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28582         Likewise.
28583         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28584         __fegetround and define as weak alias of __fegetround.  Use
28585         libm_hidden_weak.
28586         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28587         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28588         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28589         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28590         __fegetround and define as weak alias of __fegetround.  Use
28591         libm_hidden_weak.
28592         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28593         __fegetround instead of fegetround.
28595         [BZ #17782]
28596         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28597         Condition macro definition on [__USE_MISC].
28599         [BZ #17781]
28600         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28601         (struct sigaction): Change type of sa_flags field to int.
28603         [BZ #17780]
28604         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28605         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28606         __glibc_reserved0.
28608         * nptl/version.c (banner): Use single year in copyright notice.
28610         * NEWS: Update copyright dates.
28611         * catgets/gencat.c (print_version): Likewise.
28612         * csu/version.c (banner): Likewise.
28613         * debug/catchsegv.sh: Likewise.
28614         * debug/pcprofiledump.c (print_version): Likewise.
28615         * debug/xtrace.sh (do_version): Likewise.
28616         * elf/ldconfig.c (print_version): Likewise.
28617         * elf/ldd.bash.in: Likewise.
28618         * elf/pldd.c (print_version): Likewise.
28619         * elf/sotruss.sh: Likewise.
28620         * elf/sprof.c (print_version): Likewise.
28621         * iconv/iconv_prog.c (print_version): Likewise.
28622         * iconv/iconvconfig.c (print_version): Likewise.
28623         * locale/programs/locale.c (print_version): Likewise.
28624         * locale/programs/localedef.c (print_version): Likewise.
28625         * login/programs/pt_chown.c (print_version): Likewise.
28626         * malloc/memusage.sh (do_version): Likewise.
28627         * malloc/memusagestat.c (print_version): Likewise.
28628         * malloc/mtrace.pl: Likewise.
28629         * manual/libc.texinfo: Likewise.
28630         * nptl/version.c (banner): Likewise.
28631         * nscd/nscd.c (print_version): Likewise.
28632         * nss/getent.c (print_version): Likewise.
28633         * nss/makedb.c (print_version): Likewise.
28634         * posix/getconf.c (main): Likewise.
28635         * scripts/test-installation.pl: Likewise.
28636         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28638 2015-01-02  Will Newton  <will.newton@linaro.org>
28640         * sysdeps/arm/armv7/configure: Removed.
28641         * sysdeps/arm/armv7/configure.ac: Likewise.
28643 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28645         * All files with FSF copyright notices: Update copyright dates
28646         using scripts/update-copyrights.
28647         * intl/plural.c: Regenerated.
28648         * locale/programs/charmap-kw.h: Likewise.
28649         * locale/programs/locfile-kw.h: Likewise.
28651 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28653         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28655 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28657         [BZ #17748]
28658         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28659         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28660         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28661         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28662         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28663         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28664         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28665         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28666         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28667         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28668         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28669         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28670         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28671         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28672         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28673         libm_hidden_def.
28674         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28675         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28676         Likewise.
28677         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28678         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28679         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28680         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28681         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28682         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28683         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28684         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28685         __fegetenv instead of fegetenv.
28686         (libc_feholdsetround_noex_ctx): Likewise.
28688 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28690         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28691         (Elf_MIPS_ABIFlags_v0): New structure.
28692         (EF_MIPS_FP64): Define.
28693         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28694         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28695         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28696         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28697         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28698         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28699         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28700         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28701         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28702         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28703         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28704         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28705         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28706         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28707         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28708         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28709         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28710         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28711         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28712         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28713         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28714         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28715         field.
28716         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28717         EF_MIPS_FP64.
28718         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28719         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28720         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28721         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28722         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28723         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28724         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28725         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28726         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28727         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28728         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28729         record the current FP ABI extension.
28730         (mips-mode-switch): Define to show if kernel headers support mode
28731         switching.
28732         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28733         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28734         supported SYSV ABI version to 3.
28735         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28736         feature.
28738 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28739             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28741         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28742         path.
28743         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28745 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28747         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28748         __fegetround and redefine to call __fegetround.  Remove condition
28749         on [!__NO_MATH_INLINES].
28750         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28751         function.
28752         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28753         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28754         Remove macro.
28755         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28756         instead of <fenv_libc.h>.
28757         (__llrintl): Call fegetround instead of __fegetround.
28758         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28759         instead of <fenv_libc.h>.
28760         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28761         (__lrintl): Call fegetround instead of __fegetround.
28762         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28763         instead of <fenv_libc.h>.
28764         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28765         (__rintl): Call fegetround instead of __fegetround.
28767 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28769         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28770         arrays.
28772 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28774         [BZ #17775]
28775         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28776         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28777         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28779 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28781         * sysdeps/i386/tls-macros.h: Include <features.h>.
28782         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28783         (TLS_IE): Likewise.
28784         (TLS_LD): Likewise.
28785         (TLS_GD): Likewise.
28786         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28787         define for GCC >= 5.0.
28789 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28791         * math/test-fenv.c (test_single_exception, set_single_exc,
28792         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28793         feexcp_mask_test, feenable_test, fe_single_test): Add
28794         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28795         case where they are not used.
28796         * math/libm-test.inc: Likewise.
28797         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28798         unused in the absence of FP rounding/exception support.
28799         * stdio-common/tst-printf-round.c: Likewise.
28800         * stdlib/tst-strtod-round.c: Likewise.
28801         * stdlib/tst-strtod-underflow.c: Likewise.
28803 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28805         [BZ #17723]
28806         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28807         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28808         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28809         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28810         libm_hidden_weak.
28811         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28812         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28813         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28814         libm_hidden_def.
28815         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28816         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28817         libm_hidden_weak.
28818         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28819         Likewise.
28820         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28821         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28822         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28823         libm_hidden_weak.
28824         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28825         libm_hidden_def.
28826         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28827         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28828         (__feraiseexcept): Likewise.
28829         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28830         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28831         libm_hidden_weak.
28832         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28833         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28834         libm_hidden_def.
28835         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28836         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28837         Use libm_hidden_def.
28838         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28839         libm_hidden_def.
28840         (feraiseexcept): Define as weak not strong alias.  Use
28841         libm_hidden_weak.
28842         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28843         New inline function.  Factored out of ...
28844         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28845         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28846         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28847         feraiseexcept.
28848         * math/w_acos.c (__acos): Likewise.
28849         * math/w_asin.c (__asin): Likewise.
28850         * math/w_ilogb.c (__ilogb): Likewise.
28851         * math/w_j0.c (y0): Likewise.
28852         * math/w_j1.c (y1): Likewise.
28853         * math/w_jn.c (yn): Likewise.
28854         * math/w_log.c (__log): Likewise.
28855         * math/w_log10.c (__log10): Likewise.
28856         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28857         * sysdeps/aarch64/fpu/math_private.h
28858         (libc_feupdateenv_test_aarch64): Likewise.
28859         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28860         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28861         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28862         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28863         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28864         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28865         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28866         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28867         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28868         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28870 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28872         [BZ #17732]
28873         * io/test-utime.c (main): Replace %ld with %jd and cast to
28874         intmax_t.
28875         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28876         * nptl/tst-mutex5.c: Include <stdint.h>.
28877         (do_test): Replace %ld with %jd and cast to intmax_t.
28878         * posix/tst-regex.c (run_test): Likewise.
28879         (run_test_backwards): Likewise.
28880         * rt/tst-clock.c: Include <stdint.h>.
28881         (clock_test): Replace %ld with %jd and cast to intmax_t.
28882         * rt/tst-cpuclock1.c: Include <stdint.h>.
28883         (do_test): Replace %lu with %ju and cast to uintmax_t.
28884         * rt/tst-cpuclock2.c: Include <stdint.h>.
28885         (do_test): Replace %lu with %ju and cast to uintmax_t.
28886         * rt/tst-mqueue1.c: Include <stdint.h>.
28887         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28888         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28889         intmax_t.
28890         * rt/tst-mqueue4.c (do_test): Likewise.
28891         * rt/tst-timer4.c: Include <stdint.h>.
28892         (check_ts): Replace %ld with %jd and cast to intmax_t.
28893         (do_test): Likewise.
28894         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28895         and cast to intmax_t.
28896         * sysdeps/pthread/tst-timer.c (main): Likewise.
28897         * time/clocktest.c (main): Likewise.
28898         * time/tst-posixtz.c (do_test): Likewise.
28899         * timezone/tst-timezone.c (main): Likewise.
28901 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28902             H.J. Lu  <hongjiu.lu@intel.com>
28904         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28905         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28906         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28907         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28908         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28909         version if bit_Fast_Unaligned_Load is set.
28910         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28911         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28912         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28913         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28914         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28915         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28917         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28918         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28919         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28920         to 4.
28921         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28922         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28923         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28924         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28926 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28928         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28929         instead of #if to avoid a Wundef warning.
28930         * stdlib/tst-limits.c (do_test): Likewise.
28932         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28933         parallel other exception macros.
28934         (fegetenv): Convert from macro to extern inline so that it applies
28935         retroactively to inline functions already seen by the compiler.
28936         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28938         * posix/Makefile (before-compile): Use $(objpfx) for
28939         posix-conf-vars-def.h.
28941 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28943         * posix/getconf.c (main): Use size_t for type of I.
28944         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28945         NSPEC.
28947         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28948         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28949         * posix/posix-envs.def: Likewise.
28950         * sysdeps/posix/sysconf.c: Likewise.
28951         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28952         (specs): Remove array.
28953         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28954         array.
28956         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28957         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28958         (__sysconf): Use CONF_IS_* macros.
28960         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28961         ($(objpfx)posix-conf-vars-def.h): New target.
28962         * posix/posix-conf-vars.list: New file.
28963         * posix/posix-conf-vars.h: New file.
28964         * posix/confstr.c: Include posix-conf-vars.h.
28965         (confstr): Use CONF_IS_* macros.
28966         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28967         CONF_IS_* macros.
28968         * scripts/gen-posix-conf-vars.awk: New file.
28970 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28972         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28973         fegetround): Add no-op macros to avoid linknamespace issues.
28975         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28976         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28978         * sysdeps/unix/sysv/linux/tile/sysdep.h
28979         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28980         assembly-specific section to avoid a redefinition warning.
28982         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28983         long before casting to pointer to avoid a cast warning.
28985 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28987         * sysdeps/tile/tilegx/Implies: New file.
28989 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28991         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28993 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28995         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28997 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29000         not define.
29001         * sysdeps/unix/sysv/linux/utimes.c: Do not include
29002         <kernel-features.h>.
29003         (__utimes) [__NR_utimes]: Make code unconditional.
29004         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29005         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29006         (__ASSUME_UTIMES): Do not undefine.
29007         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29008         (__ASSUME_UTIMES): Likewise.
29009         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29010         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29011         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29012         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29014 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29016         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29018 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
29020         [BZ #17747]
29021         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29022         alias to weak alias for j0l, y0l.
29023         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29024         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29026         [BZ #17746]
29027         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29028         conversion.
29030 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29032         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29033         to zero if not already defined.
29035 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29037         [BZ #17724]
29038         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29039         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
29040         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
29041         (char *) casts added.
29042         * sysdeps/ieee754/k_standardf.c: New file.
29043         * sysdeps/ieee754/k_standardl.c: Likewise.
29044         * math/Makefile (libm-support): Remove k_standard.
29045         (libm-calls): Add k_standard.
29047 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29049         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29050         Optimize to avoid an unnecessary FPCR read.
29052 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29054         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29055         Optimize to reduce FPCR/FPSR accesses.
29057 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29059         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29060         Call libc_fetestexcept_aarch64.
29062 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29064         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29065         Call libc_fesetround_aarch64.
29067 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29069         [BZ #17733]
29070         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29071         (__bind): Do not define as weak alias.
29072         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29073         define.
29074         (__getsockname): Do not define as weak alias.
29076 2014-12-22  Will Newton  <will.newton@linaro.org>
29078         * manual/install.texi: Document that we require bison 2.7
29079         or above.
29080         * INSTALL: Regenerate.
29081         * configure.ac: Use AC_CHECK_PROG_VER instead of
29082         AC_PATH_PROG when checking for bison and check for
29083         version 2.7 or above.
29084         * configure: Regenerate.
29086 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29088         [BZ #17745]
29089         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29090         * sysdeps/tile/ffsll.c (ffsll): To here.
29092         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29094 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29096         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29097         if not defined.
29098         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29099         definition.
29100         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29101         hidden ___tls_get_addr.
29102         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29103         hidden __tls_get_addr.
29104         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29105         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29106         Likewise.
29108 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29110         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29111         _dl_init call.
29113 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29115         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29116         from "call _dl_init@PLT".
29117         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29119 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29121         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29122         guarantees.
29124 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29126         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29128 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29130         [BZ #17744]
29131         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29132         strnlen.
29134 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29136         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29137         of multu on MIPSr6.
29138         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29139         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29140         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29141         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29142         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29144 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29146         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29147         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29148         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29149         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29150         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29151         mips32r6/mips64r6.
29152         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29154 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29156         * string/strncat.c (STRNCAT): Simplify implementation.
29158 2014-12-19  David S. Miller  <davem@davemloft.net>
29160         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29161         access the quad as both a long double and as a series of 4 words.
29163         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29164         link_map->l_info array access.
29166 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29168         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29170         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29171         * math/atest-exp2.c (TIMEOUT): Likewise.
29172         * math/atest-sincos.c (TIMEOUT): Likewise.
29174 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29176         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29177         -Wno-error with -fno-builtin-lround.
29179 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29181         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29182         Contains futex constants and functions moved over from ...
29183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29184         <lowlevellock-futex.h>.
29185         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29186         (lll_timedwait_tid): Add comments and parentheses around macro
29187         arguments.
29189 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29191         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29192         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29193         (__lll_private_flag): Remove.
29194         (lll_futex_wait): Likewise.
29195         (lll_futex_timed_wait): Likewise.
29196         (lll_futex_wake): Likewise.
29197         (lll_futex_requeue): Likewise.
29198         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29199         (__lll_timedwait_tid): Spell out argument names.
29200         (lll_timedwait_tid): Add comments and parentheses around macro
29201         arguments.
29202         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29203         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29205 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29207         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29208         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29209         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29210         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29211         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29212         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29213         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29214         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29215         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29218         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29219         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29220         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29221         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29222         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29223         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29224         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29225         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29227 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29229         * sysdeps/x86_64/x32/Makefile: New file.
29231 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29233         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29234         1L with (mp_limb_t) 1.
29236 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29238         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29239         * nptl/libc_pthread_init.c: ... here.
29240         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29241         * nptl/register-atfork.c: ... here.
29243         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29244         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29245         Use assert_perror to check its return value.
29246         (__gai_create_helper_thread): Likewise.
29248         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29250         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29252 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29254         [BZ #17725]
29255         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29256         __profil_counter.
29257         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29258         Likewise.
29259         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29260         Likewise.
29261         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29262         Likewise.
29263         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29264         (profil_counter): Likewise.
29265         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29266         (profil_counter): Likewise.
29267         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29268         Likewise.
29269         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29270         Likewise.
29271         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29272         (profil_counter): Likewise.
29273         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29274         Likewise.
29275         [!__profil_counter] (profil_counter): Define as weak alias of
29276         __profil_counter.
29277         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29278         (profil_counter): Rename to __profil_counter.
29279         [!__profil_counter] (profil_counter): Define as weak alias of
29280         __profil_counter.
29281         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29282         (profil_counter): Rename to __profil_counter.
29283         [!__profil_counter] (profil_counter): Define as weak alias of
29284         __profil_counter.
29285         * sysdeps/posix/profil.c: Update comment referring to
29286         profil_counter.
29287         (__profil): Use __profil_counter instead of profil_counter.
29288         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29289         __profil_counter.  Use __profil_counter_ushort and
29290         __profil_counter_uint in definitions.
29291         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29292         instead of profil_counter_uint and profil_counter_ushort.
29294         [BZ #17722]
29295         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29296         define as weak alias of __inet_makeaddr.
29297         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29298         as weak alias of __inet_addr.
29299         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29300         as weak alias of __inet_pton.  Use libc_hidden_weak.
29301         * include/arpa/inet.h (__inet_pton): Declare.  Use
29302         libc_hidden_proto.
29303         (inet_makeaddr): Don't use libc_hidden_proto.
29304         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29305         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29306         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29307         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29308         Remove variable.
29309         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29310         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29312 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29314         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29316 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29318         * stdio-common/bug-vfprintf-nargs.c (do_test):
29319         Cast value to intptr_t to avoid format warning
29320         for usage with PRIdPTR printing macro.
29322 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29324         * libio/tst-widetext.c (do_test):
29325         Use format type %td instead of %Zd for ptrdiff_t
29326         in order to avoid format warning.
29328 2014-12-17  Andreas Schwab  <schwab@suse.de>
29330         * nscd/mem.c (gc): Add size_t cast to match printf format.
29332 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29334         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29335         (init): Apply PTR_MANGLE to pointers before storing them.
29336         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29337         before using them.
29339 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29341         [BZ #17719]
29342         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29343         define as weak alias of __memrchr.
29344         (__memrchr): Do not define as strong alias of memrchr.
29345         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29346         Remove variable.
29347         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29348         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29349         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29351         [BZ #17717]
29352         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29353         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29354         (if_indextoname): Rename to __if_indextoname and define as weak
29355         alias of __if_indextoname.  Use libc_hidden_weak.
29356         (if_freenameindex): Rename to __if_freenameindex and define as
29357         weak alias of __if_freenameindex.
29358         (if_nameindex): Rename to __if_nameindex and define as weak alias
29359         of __if_nameindex.
29360         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29361         __if_nametoindex and define as weak alias of __if_nametoindex.
29362         Use libc_hidden_weak.
29363         (if_freenameindex): Rename to __if_freenameindex and define as
29364         weak alias of __if_freenameindex.
29365         (if_nameindex): Rename to __if_nameindex and define as weak alias
29366         of __if_nameindex.
29367         (if_indextoname): Rename to __if_indextoname and define as weak
29368         alias of __if_indextoname.  Use libc_hidden_weak.
29369         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29370         __if_nametoindex and define as weak alias of __if_nametoindex.
29371         Use libc_hidden_weak.
29372         (if_freenameindex): Rename to __if_freenameindex and define as
29373         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29374         (if_nameindex_netlink): Use __if_freenameindex instead of
29375         if_freenameindex.
29376         (if_nameindex): Rename to __if_nameindex and define as weak alias
29377         of __if_nameindex.  Use libc_hidden_weak.
29378         (if_indextoname): Rename to __if_indextoname and define as weak
29379         alias of __if_indextoname.  Use libc_hidden_weak.
29380         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29381         libc_hidden_proto.
29382         [!_ISOMAC] (__if_freenameindex): Likewise.
29383         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29384         if_nametoindex.
29385         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29386         variable.
29387         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29388         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29389         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29390         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29391         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29392         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29393         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29395         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29396         Remove variable.
29397         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29398         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29400 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29402         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29403         subscript above bounds'
29405         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29406         bounds.
29408 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29410         * libio/tst-fopenloc.c: Use test-skeleton.c.
29412         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29413         (entry): Rename to ITEM.
29414         (do_test, comp): Adjust.
29416         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29418 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29420         * string/tester.c: Include <libc-internal.h>.
29421         (test_memset): Ignore -Wmemset-transposed-args.
29423 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29425         * misc/tst-mntent2.c (do_test): Fix warning.
29427 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29429         * elf/tst-unique4lib.cc(a): Mark as used.
29431 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29433         [BZ #17630]
29434         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29435         names.
29437 2014-12-16  Allan McRae  <allan@archlinux.org>
29439         * stdio-common/Makefile (tests): Re-add bug26.
29441 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29443         [BZ #17657]
29444         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29445         static array.
29447 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29449         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29450         (__lll_lock_wait): Likewise.
29451         (__lll_timedlock_wait): Likewise.
29452         (__lll_timedwait_tid): Likewise.
29453         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29454         (__lll_robust_timedlock_wait): Likewise.
29455         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29456         (lll_cond_trylock): Likewise.
29457         (__lll_lock): Likewise.
29458         (__lll_robust_lock): Likewise.
29459         (__lll_cond_lock): Likewise.
29460         (lll_robust_cond_lock): Likewise.
29461         (__lll_timedlock): Likewise.
29462         (__lll_robust_timedlock): Likewise.
29463         (__lll_unlock): Likewise.
29464         (__lll_robust_unlock): Likewise.
29465         (lll_wait_tid): Likewise.
29466         (lll_timedwait_tid): Likewise.
29468 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29470         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29472 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29474         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29476 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29478         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29479         * stdio-common/tst-sprintf.c: Likewise.
29481 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29483         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29485 2014-12-15  Jeff Law  <law@redhat.com>
29487         [BZ #16617]
29488         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29489         on the heap.  (CVE-2012-3406)
29490         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29491         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29492         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29494 2014-12-15  Will Newton  <will.newton@linaro.org>
29496         * manual/install.texi: Bump required version of texinfo
29497         to 4.7 from 4.5.
29498         * INSTALL: Regenerated.
29499         * configure.ac: Check for makeinfo version 4.7 and above.
29500         * configure: Regenerated.
29502 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29504         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29505         PREFIX, string constant to insert between directory and name.
29506         * sysdeps/posix/shm_open.c: Update caller.
29507         * sysdeps/posix/shm_unlink.c: Likewise.
29508         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29509         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29510         (SEM_SHM_PREFIX): New macro.
29511         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29512         [$(have-thread-library) = no].
29513         * nptl/Makefile (libpthread-routines): Add shm-directory.
29514         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29515         * sysdeps/nptl/shm-directory.h: New file.
29516         * sysdeps/posix/shm-directory.c
29517         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29518         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29519         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29520         INTERNAL_SYSCALL.
29521         (__where_is_shmfs): Function removed.
29522         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29523         Variables removed.
29524         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29525         Use SHM_GET_NAME.
29526         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29528         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29529         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29530         unconditional for use inside libpthread.
29531         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29533 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29535         * nptl/pthread_getaffinity.c: New file.
29536         * nptl/pthread_setaffinity.c: New file.
29537         * nptl/pthread_getname.c: New file.
29538         * nptl/pthread_setname.c: New file.
29540         * nptl/pthread_create.c (START_THREAD_DEFN)
29541         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29543 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29544             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29546         * resolv/res_send.c (send_vc): Disable warning resplen may
29547         be used uninitialized.
29549 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29551         * nptl/tst-mutex6.c
29552         (ATTR_NULL): New define checks ATTR against NULL.
29553         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29554         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29556 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29558         [BZ #17581]
29559         * malloc/hooks.c
29560         (mem2mem_check): Revert my previous change.
29561         (malloc_check_get_size): Revert my previous change.
29562         (mem2chunk_check): Revert my previous change.
29564 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29566         * sysdeps/posix/shm-directory.c: New file.
29567         * sysdeps/posix/shm-directory.h: New file.
29568         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29569         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29570         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29571         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29572         Transmute EPERM to EACCES.
29573         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29574         from ...
29575         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29576         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29578 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29580         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29581         pointer and cast to uintptr_t.
29582         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29583         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29584         Add cast to avoid warning.
29585         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29587 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29589         * nptl/semaphore.h: Move to ...
29590         * sysdeps/pthread/semaphore.h: ... here.
29591         * Makefile (installed-headers): Change nptl/semaphore.h to
29592         sysdeps/pthread/semaphore.h.
29594 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29596         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29597         generated error format strings.
29599         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29600         -Wformat-extra-args warnings for scanf formats.
29601         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29602         test of zero-length format (duh).
29603         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29604         corner-case scanf format test.
29605         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29606         generated fprintf format string.
29607         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29608         corner-case sprintf format tests.
29609         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29610         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29611         -Wformat-extra-args warnings throughout.
29612         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29613         (CFLAGS-scanf4.c): Likewise.
29614         (CFLAGS-scanf7.c): Likewise.
29615         (CFLAGS-tst-sprintf.c): Likewise.
29616         (CFLAGS-tst-printf.c): Likewise.
29617         (CFLAGS-tst-printfsz.c): Likewise.
29619 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29621         * include/cpio.h: New file.
29622         * include/fmtmsg.h: Likewise.
29624         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29625         corresponding format argument to size_t.
29626         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29627         arguments.
29628         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29629         corresponding format argument to size_t.
29630         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29631         arguments.
29632         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29633         corresponding format argument to size_t.
29634         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29635         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29636         (CFLAGS-tst-mbswcs2.c): Likewise.
29637         (CFLAGS-tst-mbswcs3.c): Likewise.
29638         (CFLAGS-tst-mbswcs4.c): Likewise.
29639         (CFLAGS-tst-mbswcs5.c): Likewise.
29640         (CFLAGS-tst-trans.c): Likewise.
29642 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29644         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29645         rather than assuming they won't contain any '%'s.
29647 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29649         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29650         inhibit_loop_to_libcall to avoid recursive calls.
29651         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29652         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29654 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29656         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29657         prototype.
29659 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29661         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29662         integer value instead of boolean.
29664 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29666         * malloc/malloc.c: Fix powerof2 check.
29668 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29670         * locale/programs/locfile.h (maybe_swap_uint32):
29671         Remove inline and add unused attribute.
29673 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29676         Truncating assembler expression to a .long expression.
29678 2014-12-11  Andreas Schwab  <schwab@suse.de>
29680         * elf/rtld.c (struct map_args): Constify str member.
29681         (do_preload): Constify fname argument.
29683 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29685         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29686         constants definition.
29688 2014-12-11  Andreas Schwab  <schwab@suse.de>
29690         [BZ #16657]
29691         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29692         FORCE_ELISION instead of DO_ELISION.
29693         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29694         Remove.
29695         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29696         Likewise.
29698         * iconvdata/gconv-modules: Remove duplicate entry.
29700 2014-12-11  Will Newton  <will.newton@linaro.org>
29702         Merge gettext 0.19.3 into intl/.
29704         This involves a number of cosmetic changes to comments
29705         and ANSI function definitions and prototypes throughout
29706         all the files. The gettext copyright header is used but
29707         with the date ranges taken from the glibc copy.
29709         * NEWS: Add gettext merge to 2.21.
29710         * intl/bindtextdom.c: Switch to gettext copyright.
29711         Use ANSI definitions and prototypes.
29712         Use gl_* locking primitives rather than __libc_* ones.
29713         Use __builtin_expect rather than __glibc_likely/unlikely.
29714         * intl/dcgettext.c: Switch to gettext copyright.
29715         Use ANSI definitions and prototypes.
29716         * intl/dcigettext.c: Switch to gettext copyright.
29717         Use ANSI definitions and prototypes.
29718         (INTDIV0_RAISES_SIGFPE): New define.
29719         Use gl_* locking primitives rather than __libc_* ones.
29720         Include eval-plural.h instead of plural-eval.c.
29721         Use __builtin_expect rather than __glibc_likely/unlikely.
29722         * intl/dcngettext.c: Switch to gettext copyright.
29723         Use ANSI definitions and prototypes.
29724         * intl/dgettext.c: Likewise.
29725         * intl/dngettext.c: Likewise.
29726         * intl/plural-eval.c: Renamed to...
29727         * intl/eval-plural.h: ...this.
29728         * intl/explodename.c: Switch to gettext copyright.
29729         Use ANSI definitions and prototypes.
29730         (_nl_explode_name): Use strchr instead of __rawmemchr.
29731         * intl/finddomain.c: Switch to gettext copyright.
29732         Use ANSI definitions and prototypes.
29733         Use gl_* locking primitives rather than __libc_* ones.
29734         (_nl_find_domain): Use malloc rather than alloca for
29735         allocation of temporary locale name.
29736         * intl/gettext.c: Switch to gettext copyright.
29737         Use ANSI definitions and prototypes.
29738         * intl/gettextP.h: Switch to gettext copyright.
29739         Use ANSI definitions and prototypes.
29740         Use gl_* locking primitives rather than __libc_* ones.
29741         * intl/gmo.h: Switch to gettext copyright.
29742         (struct sysdep_string): Move struct segment_pair outside of
29743         struct definition.
29744         * intl/hash-string.c: Use ANSI definitions and prototypes.
29745         * intl/hash-string.h: Switch to gettext copyright.
29746         Use ANSI definitions and prototypes.
29747         * intl/l10nflist.c: Switch to gettext copyright.
29748         Use ANSI definitions and prototypes.
29749         (_nl_normalize_codeset): Avoid integer overflow.
29750         * intl/loadinfo.h: Switch to gettext copyright.
29751         Use ANSI definitions and prototypes.
29752         (LIBINTL_DLL_EXPORTED): New define.
29753         (PATH_SEPARATOR): New define.
29754         * intl/loadmsgcat.c: Switch to gettext copyright.
29755         * intl/localealias.c: Switch to gettext copyright.
29756         Use ANSI definitions and prototypes.
29757         (_nl_expand_alias): Use PATH_SEPARATOR.
29758         * intl/ngettext.c: Switch to gettext copyright.
29759         Use ANSI definitions and prototypes.
29760         * intl/plural-exp.c: Likewise.
29761         * intl/plural-exp.h: Switch to gettext copyright.
29762         Use ANSI definitions and prototypes.
29763         (struct expression): Move definition of enum operator outside
29764         of struct definition.
29765         * intl/plural.c: Regenerate.
29766         * intl/plural.y: Switch to gettext copyright.
29767         Use ANSI definitions and prototypes.
29768         Port to bison 3.0.
29769         * intl/textdomain.c: Switch to gettext copyright.
29770         Use ANSI definitions and prototypes.
29771         Use gl_* locking primitives rather than __libc_* ones.
29773 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29775         * debug/warning-nop.c: Add used atrribute.
29777 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29779         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29781         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29782         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29783         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29785 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29786             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29788         [BZ #17634]
29789         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29790         Undefine after defining function.  Define as weak alias of
29791         __wcschr.  Use libc_hidden_weak.
29792         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29793         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29794         (libc_hidden_def): Also define __GI___wcschr alias.
29795         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29796         __wcschr and define as weak alias of __wcschr.
29797         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29798         __wcschr.
29799         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29800         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29801         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29802         libc_hidden_weak.  Do not use libc_hidden_def.
29803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29804         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29805         __GI___wcschr alias.
29806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29807         [IS_IN (libc)] (wcschr): Define as macro expanding to
29808         __redirect_wcschr.
29809         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29810         [IS_IN (libc)] (__wcschr_power6): Likewise.
29811         [IS_IN (libc)] (__wcschr_power7): Likewise.
29812         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29813         instead of wcschr.
29814         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29815         __libc_wcschr.
29816         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29817         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29818         __wcschr and define as weak alias of __wcschr.  Use
29819         libc_hidden_builtin_def.
29820         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29821         as weak alias of __wcschr.  Use libc_hidden_weak.
29822         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29823         wcschr.
29824         * time/era.c (_nl_init_era_entries): Likewise.
29825         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29826         variable.
29827         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29828         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29830 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29832         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29833         format for long int variable.
29835 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29837         [BZ #10672]
29838         * manual/search.texi: (Array Sort Function): Remove claim how to make
29839         qsort stable.
29841 2014-12-10  Andreas Schwab  <schwab@suse.de>
29843         [BZ #12847]
29844         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29845         user-controlled locks.
29847 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29849         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29850         register.
29852 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29854         * configure.ac (--disable-werror): New configure option.
29855         (enable_werror): New AC_SUBST.
29856         * configure: Regenerated.
29857         * config.make.in (enable-werror): New variable.
29858         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29859         -Wno-error=undef.
29860         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29861         * manual/install.texi (Configuring and compiling): Document
29862         --disable-werror.
29863         * INSTALL: Regenerated.
29864         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29865         (CFLAGS-tst-chk2.c): Likewise.
29866         (CFLAGS-tst-chk3.c): Likewise.
29867         (CFLAGS-tst-chk4.cc): Likewise.
29868         (CFLAGS-tst-chk5.cc): Likewise.
29869         (CFLAGS-tst-chk6.cc): Likewise.
29870         (CFLAGS-tst-lfschk1.c): Likewise.
29871         (CFLAGS-tst-lfschk2.c): Likewise.
29872         (CFLAGS-tst-lfschk3.c): Likewise.
29873         (CFLAGS-tst-lfschk4.cc): Likewise.
29874         (CFLAGS-tst-lfschk5.cc): Likewise.
29875         (CFLAGS-tst-lfschk6.cc): Likewise.
29877         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29878         (main): Disable -Wdeprecated-declarations around calls to
29879         register_printf_function.
29881         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29882         (do_test): Disable -Wdiv-by-zero around some calls to
29883         fwrite_unlocked and fread_unlocked.
29885         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29886         (DIAG_POP_NEEDS_COMMENT): Likewise.
29887         (_DIAG_STR1): Likewise.
29888         (_DIAG_STR): Likewise.
29889         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29890         * stdio-common/bug21.c: Include <libc-internal.h>.
29891         (do_test): Disable -Wformat around call to sscanf.
29892         * stdio-common/scanf14.c: Include <libc-internal.h>.
29893         (main): Disable -Wformat around some calls to scanf functions.
29895 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29897         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29899 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29901         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29902         stack variable alignment.
29904 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29906         [BZ #17682]
29907         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29908         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29909         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29910         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29911         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29912         __getrlimit instead of getrlimit.
29913         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29914         __gettimeofday instead of gettimeofday.
29915         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29916         Likewise.
29917         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29918         Likewise.
29919         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29920         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29921         Remove variable.
29922         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29923         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29925 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29927         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29928         for wide-character tests.
29930 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29932         * io/openat64.c: #include <libc-internal.h>
29933         (__openat64): Prototypify.  Use ignore_value on MODE.
29934         * io/openat.c: Likewise.
29935         * misc/reboot.c: #include <libc-internal.h>
29936         (reboot): Prototypify.  Use ignore_value on HOWTO.
29937         * misc/ptrace.c: #include <libc-internal.h>
29938         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29940 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29942         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29943         XPG4, UNIX98 and XOPEN2K.
29944         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29945         Remove variable.
29946         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29948 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29950         * libio/fileops.c: Use ISO C style for function definitions.
29951         * libio/iofopen.c: Likewise.
29952         * libio/wfileops.c: Likewise.
29954         [BZ #17653]
29955         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29956         offset on EOF.
29957         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29958         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29959         (fgets_func): Function pointer to fgets and fgetws.
29960         (do_ftell_test): Add test to verify ftell value after read
29961         EOF.
29962         (do_test): Set fgets_func.
29964         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29965         O_TRUNC flag for w and w+ modes.
29966         (do_rewind_test): Likewise.
29967         (do_ftell_test): Likewise.
29968         (do_write_test): Likewise.
29970         [BZ #17647]
29971         * libio/fileops.c (do_ftell): Seek only when there are
29972         unflushed writes.
29973         * libio/wfileops.c (do_ftell_wide): Likewise.
29974         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29975         test case.
29976         (do_one_test): Call it.
29978 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29980         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29981         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29982         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29983         Remove variable.
29984         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29985         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29986         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29988 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29990         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29991         Remove variable.
29992         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29994         [BZ #17668]
29995         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29996         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29997         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29998         __freeifaddrs.  Use libc_hidden_weak.
29999         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30000         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
30001         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30002         __freeifaddrs.  Use libc_hidden_weak.
30003         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30004         __getifaddrs and define as weak alias of __getifaddrs.  Use
30005         libc_hidden_weak.
30006         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30007         __freeifaddrs.  Use libc_hidden_weak.
30008         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30009         Remove variable.
30010         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30011         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30013 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30015         [BZ #17601]
30016         * sysdeps/mips/start.S (__start): Use indirect jump to call
30017         __libc_start_main.
30019 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30021         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30023         * nptl/tst-mutex1.c: Include <stdbool.h>.
30024         [!ATTR] (ATTR_NULL): New macro.
30025         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30026         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30027         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30029         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30030         to char *.
30032         [BZ #17665]
30033         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30034         Change conditional to [__USE_MISC].
30036         [BZ #17664]
30037         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30038         fgets_unlocked.
30039         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30040         __fgets_unlocked.
30041         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30042         fgets_unlocked.
30043         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30044         Remove variable.
30045         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30046         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30047         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30048         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30049         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30050         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30051         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30052         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30053         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30055         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30057 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30060         Remove strpbrk objects.
30061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30062         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30063         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30064         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30065         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30066         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30068         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30069         Remove strcspn objects.
30070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30071         (__libc_ifunc_impl_list): Remove strcspn implementation.
30072         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30073         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30074         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30075         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30077         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30078         Remove strspn objetcs.
30079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30080         (__libc_ifunc_impl_list): Remove strspn implementation.
30081         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30082         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30083         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30084         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30086 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30088         [BZ #17581]
30089         * malloc/hooks.c
30090         (mem2mem_check): Add a terminator to the chain of checking blocks.
30091         (malloc_check_get_size): Use it here.
30092         (mem2chunk_check): Ditto.
30094 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30096         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30097         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30099 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30101         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30103         * nptl/nptl-init.c: Include libc-internal.h.
30104         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30106         * elf/ldconfig.c (search_dir): Expand comment.
30108 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30110         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30111         variable.
30112         (linknamespace-symlist-stdlibs-tests): Likewise.
30113         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30114         instead of $(objpfx)symlist-stdlibs.
30115         (linknamespace-libs-isoc): New variable.
30116         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30117         (linknamespace-libs-ISO): New variable.
30118         (linknamespace-libs-ISO99): Likewise.
30119         (linknamespace-libs-ISO11): Likewise.
30120         (linknamespace-libs-XPG3): Likewise.
30121         (linknamespace-libs-XPG4): Likewise.
30122         (linknamespace-libs-POSIX): Likewise.
30123         (linknamespace-libs-UNIX98): Likewise.
30124         (linknamespace-libs-XOPEN2K): Likewise.
30125         (linknamespace-libs-POSIX2008): Likewise.
30126         (linknamespace-libs-XOPEN2K8): Likewise.
30127         ($(objpfx)symlist-stdlibs): Replace by
30128         $(linknamespace-symlist-stdlibs-tests).  Use
30129         $(linknamespace-libs-$*) as set of libraries.
30130         ($(linknamespace-header-tests)): Update dependencies.  Use
30131         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30132         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30133         * conform/linknamespace.pl: Remove comment about considering
30134         definitions of symbols from irrelevant libraries.
30136 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30138         [BZ #13862]
30139         * elf/dl-tls.c: Include <atomic.h>.
30140         (oom): Remove #ifdef SHARED/#endif.
30141         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30142         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30143         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30144         big enough.
30145         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30146         * nptl/Makefile (tests): Add tst-stack4.
30147         (modules-names): Add tst-stack4mod.
30148         ($(objpfx)tst-stack4): New.
30149         (tst-stack4mod.sos): Likewise.
30150         ($(objpfx)tst-stack4.out): Likewise.
30151         ($(tst-stack4mod.sos)): Likewise.
30152         (clean): Likewise.
30153         * nptl/tst-stack4.c: New file.
30154         * nptl/tst-stack4mod.c: Likewise.
30156 2014-11-27  J. Brown  <jb999@gmx.de>
30158         * sysdeps/x86/bits/string.h: Add recent CPUs.
30160 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30162         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30163         sigblock.
30165         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30166         feof.
30168         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30169         variable.
30171 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30173         * nscd/connections.c: Include libc-internal.h because of macro
30174         usage ignore_value.
30176 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30178         * string/bits/string3.h (__warn_memset_zero_len): Don't
30179         declare for gcc newer than 5.0.
30180         (memset): Don't test for zero-length __LEN for gcc newer than
30181         5.0.
30183 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30185         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30186         size_t for %zu format.
30188         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30189         difference, not %ju.
30191 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30193         * include/libc-internal.h (ignore_value): New macro.
30194         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30195         with ignore_value.
30197         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30198         definition.
30200         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30201         pthread_cleanup_push to void *.
30203         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30204         Undefine.
30206         [BZ #16619]
30207         [BZ #16740]
30208         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30209         instead of 1L << 52.
30211         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30212         * libio/bug-rewind2.c (do_test): Likewise.
30214         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30215         * debug/test-strcpy_chk-ifunc.c: Likewise.
30216         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30217         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30218         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30219         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30220         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30221         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30222         * Rules [$(multi-arch) = no] (tests): Do not filter out
30223         $(tests-ifunc).
30224         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30225         * debug/Makefile (tests-ifunc): Remove variable.
30226         (tests): Do not add $(tests-ifunc).
30227         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30228         (tests): Do not add $(tests-ifunc).
30229         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30230         [TEST_IFUNC]: Remove conditionals.
30231         * string/test-string.h (TEST_IFUNC): Remove macro.
30232         [TEST_IFUNC]: Remove conditionals.
30234         * string/test-strchr.c [!WIDE] (L): New macro.
30235         [WIDE] (L): Likewise.
30236         (check1): Use CHAR instead of char.  Use L on string and character
30237         constants.
30239 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30241         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30242         tests.
30243         * sysdeps/powerpc/bits/atomic.h
30244         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30245         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30246         (atomic_exchange_and_add_acq): Likewise.
30247         (atomic_exchange_and_add_rel): Likewise.
30248         * sysdeps/powerpc/powerpc32/bits/atomic.h
30249         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30250         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30251         * sysdeps/powerpc/powerpc64/bits/atomic.h
30252         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30253         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30255 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30257         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30258         Change synchronization of __sched_fifo_min_prio and
30259         __sched_fifo_max_prio.
30260         * nptl/pthread_mutexattr_getprioceiling.c
30261         (pthread_mutexattr_getprioceiling): Likewise.
30262         * nptl/pthread_mutexattr_setprioceiling.c
30263         (pthread_mutexattr_setprioceiling): Likewise.
30264         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30265         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30266         Likewise.
30268 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30270         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30271         void.
30273 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30275         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30276         third argument const.
30278 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30280         fnmatch: work around GCC compiler warning bug with uninit var
30281         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30282         This works around a bug with x86-64 GCC 4.9.2 and earlier
30283         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30284         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30285         used uninitialized in this function [-Wmaybe-uninitialized]".
30287 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30289         * posix/bug-regex31.c (main): Return RES not 0.
30291 2014-11-25  Anton Blanchard <anton@samba.org>
30293         * sysdeps/powerpc/bits/atomic.h
30294         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30296 2014-11-24  Sterling Augustine  <saugustine@google.com>
30298         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30300 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30302         [BZ #17608]
30303         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30305 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30307         [BZ #17633]
30308         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30309         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30310         variable.
30311         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30312         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30314 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30316         * string/strncpy.c (strncpy): Improve performance by using memset.
30318 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30320         * string/strcpy.c (strcpy):
30321         Improve performance by using strlen and memcpy.
30323 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30325         * string/strcoll_l.c (get_next_seq): __always_inline.
30326         * string/strcoll_l.c (do_compare): __always_inline.
30328 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30330         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30331         defined.
30332         * include/mqueue.h: Likewise.
30333         * include/stdlib.h: Likewise.
30335         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30336         (get_null_defines): Adjust.
30337         * sunrpc/Makefile: Adjust comment.
30338         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30339         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30340         (CFLAGS-interp.c): Likewise.
30341         (CFLAGS-ldconfig.c): Likewise.
30342         (CPPFLAGS-.os): Likewise.
30343         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30344         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30345         * extra-modules.mk (extra-modules.mk): Likewise.
30346         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30347         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30348         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30349         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30350         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30351         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30352         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30353         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30354         * iconvdata/Makefile (CPPFLAGS): Likewise.
30355         (cpp-srcs-left): Add libof for all iconvdata routines.
30356         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30357         * include/assert.h: Likewise.
30358         * include/ctype.h: Likewise.
30359         * include/errno.h: Likewise.
30360         * include/libc-symbols.h: Likewise.
30361         * include/math.h: Likewise.
30362         * include/netdb.h: Likewise.
30363         * include/resolv.h: Likewise.
30364         * include/stdio.h: Likewise.
30365         * include/stdlib.h: Likewise.
30366         * include/string.h: Likewise.
30367         * include/sys/stat.h: Likewise.
30368         * include/wctype.h: Likewise.
30369         * intl/l10nflist.c: Likewise.
30370         * libidn/idn-stub.c: Likewise.
30371         * libio/libioP.h: Likewise.
30372         * nptl/libc_multiple_threads.c: Likewise.
30373         * nptl/pthreadP.h: Likewise.
30374         * posix/regex_internal.h: Likewise.
30375         * resolv/res_hconf.c: Likewise.
30376         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30377         * sysdeps/arm/memmove.S: Likewise.
30378         * sysdeps/arm/sysdep.h: Likewise.
30379         * sysdeps/generic/_itoa.h: Likewise.
30380         * sysdeps/generic/symbol-hacks.h: Likewise.
30381         * sysdeps/gnu/errlist.awk: Likewise.
30382         * sysdeps/gnu/errlist.c: Likewise.
30383         * sysdeps/i386/i586/memcpy.S: Likewise.
30384         * sysdeps/i386/i586/memset.S: Likewise.
30385         * sysdeps/i386/i686/memcpy.S: Likewise.
30386         * sysdeps/i386/i686/memmove.S: Likewise.
30387         * sysdeps/i386/i686/mempcpy.S: Likewise.
30388         * sysdeps/i386/i686/memset.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30394         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30406         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30408         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30409         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30410         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30411         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30412         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30413         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30414         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30415         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30417         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30418         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30419         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30420         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30421         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30422         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30423         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30424         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30425         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30426         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30429         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30430         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30431         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30432         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30433         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30434         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30435         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30436         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30437         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30438         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30439         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30440         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30441         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30442         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30443         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30444         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30445         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30446         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30447         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30448         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30449         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30450         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30451         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30452         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30453         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30454         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30455         * sysdeps/posix/closedir.c: Likewise.
30456         * sysdeps/posix/opendir.c: Likewise.
30457         * sysdeps/posix/readdir.c: Likewise.
30458         * sysdeps/posix/rewinddir.c: Likewise.
30459         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30460         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30461         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30462         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30463         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30464         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30470         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30471         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30472         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30473         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30474         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30475         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30476         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30477         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30478         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30479         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30480         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30481         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30482         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30483         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30485         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30487         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30494         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30495         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30496         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30497         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30498         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30499         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30500         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30501         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30502         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30503         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30504         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30505         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30506         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30507         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30508         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30509         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30512         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30513         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30514         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30516         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30517         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30518         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30519         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30520         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30521         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30522         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30523         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30524         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30525         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30526         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30527         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30528         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30529         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30530         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30531         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30532         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30533         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30534         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30535         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30536         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30537         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30538         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30539         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30540         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30541         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30543         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30544         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30545         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30546         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30547         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30548         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30549         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30550         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30551         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30552         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30553         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30554         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30555         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30557         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30558         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30559         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30560         * sysdeps/unix/alpha/sysdep.S: Likewise.
30561         * sysdeps/unix/alpha/sysdep.h: Likewise.
30562         * sysdeps/unix/make-syscalls.sh: Likewise.
30563         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30565         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30566         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30567         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30568         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30569         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30570         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30571         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30572         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30573         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30574         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30576         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30577         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30578         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30579         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30580         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30581         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30582         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30583         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30584         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30585         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30586         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30587         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30588         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30592         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30594         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30597         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30601         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30602         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30603         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30604         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30605         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30606         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30607         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30609         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30610         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30614         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30615         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30616         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30618         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30619         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30621         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30622         * sysdeps/x86_64/memcpy.S: Likewise.
30623         * sysdeps/x86_64/memmove.c: Likewise.
30624         * sysdeps/x86_64/memset.S: Likewise.
30625         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30626         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30627         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30628         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30629         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30630         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30631         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30632         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30633         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30634         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30635         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30636         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30637         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30638         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30639         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30640         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30641         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30642         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30643         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30644         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30645         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30646         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30647         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30648         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30649         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30650         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30651         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30652         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30653         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30654         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30655         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30656         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30657         * sysdeps/x86_64/strcmp.S: Likewise.
30659         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30661         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30662         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30663         * elf/rtld-Rules: Likewise.
30664         * elf/setup-vdso.h: Likewise.
30665         * include/assert.h: Likewise.
30666         * include/bits/stdlib-float.h: Likewise.
30667         * include/errno.h: Likewise.
30668         * include/sys/stat.h: Likewise.
30669         * include/unistd.h: Likewise.
30670         * sysdeps/aarch64/setjmp.S: Likewise.
30671         * sysdeps/alpha/setjmp.S: Likewise.
30672         * sysdeps/arm/__longjmp.S: Likewise.
30673         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30674         * sysdeps/arm/setjmp.S: Likewise.
30675         * sysdeps/arm/sysdep.h: Likewise.
30676         * sysdeps/generic/_itoa.h: Likewise.
30677         * sysdeps/generic/dl-sysdep.h: Likewise.
30678         * sysdeps/generic/ldsodefs.h: Likewise.
30679         * sysdeps/i386/dl-tls.h: Likewise.
30680         * sysdeps/i386/setjmp.S: Likewise.
30681         * sysdeps/m68k/setjmp.c: Likewise.
30682         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30683         * sysdeps/mach/hurd/opendir.c: Likewise.
30684         * sysdeps/posix/getcwd.c: Likewise.
30685         * sysdeps/posix/opendir.c: Likewise.
30686         * sysdeps/posix/profil.c: Likewise.
30687         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30688         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30689         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30690         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30691         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30692         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30693         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30694         * sysdeps/s390/dl-tls.h: Likewise.
30695         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30696         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30697         * sysdeps/sh/sh3/setjmp.S: Likewise.
30698         * sysdeps/sh/sh4/setjmp.S: Likewise.
30699         * sysdeps/unix/alpha/sysdep.h: Likewise.
30700         * sysdeps/unix/arm/sysdep.S: Likewise.
30701         * sysdeps/unix/i386/sysdep.S: Likewise.
30702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30703         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30704         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30705         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30707         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30708         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30709         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30710         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30711         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30712         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30713         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30717         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30720         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30721         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30722         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30725         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30726         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30727         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30729         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30730         * sysdeps/x86_64/setjmp.S: Likewise.
30732         * include/math.h: Use IS_IN instead of IS_IN_libm.
30733         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30734         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30735         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30736         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30737         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30738         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30739         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30740         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30742         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30743         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30744         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30745         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30746         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30747         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30748         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30749         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30750         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30751         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30752         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30753         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30754         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30755         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30756         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30757         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30758         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30759         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30760         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30761         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30762         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30763         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30764         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30767         Likewise.
30768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30769         Likewise.
30770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30771         Likewise.
30772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30773         Likewise.
30774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30775         Likewise.
30776         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30777         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30778         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30779         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30780         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30781         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30787         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30788         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30789         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30790         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30791         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30792         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30793         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30794         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30795         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30796         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30797         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30800         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30802         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30804         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30805         * nptl/pthreadP.h: Likewise.
30806         * nptl_db/structs.def: Likewise.
30807         * sysdeps/arm/sysdep.h: Likewise.
30808         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30809         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30810         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30811         * sysdeps/unix/alpha/sysdep.h: Likewise.
30812         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30814         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30815         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30816         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30817         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30819         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30820         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30821         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30822         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30823         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30824         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30825         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30829         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30830         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30833         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30834         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30835         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30836         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30837         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30839         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30840         * nptl/pthreadP.h: Likewise.
30841         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30842         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30843         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30844         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30845         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30846         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30847         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30848         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30849         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30850         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30851         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30852         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30854         Likewise.
30855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30856         Likewise.
30857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30859         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30862         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30863         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30864         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30866         * dlfcn/dladdr.c: Use IS_IN.
30867         * dlfcn/dladdr1.c: Likewise.
30868         * dlfcn/dlclose.c: Likewise.
30869         * dlfcn/dlerror.c: Likewise.
30870         * dlfcn/dlinfo.c: Likewise.
30871         * dlfcn/dlmopen.c: Likewise.
30872         * dlfcn/dlopen.c: Likewise.
30873         * dlfcn/dlsym.c: Likewise.
30874         * dlfcn/dlvsym.c: Likewise.
30876         * include/ifaddrs.h: Use IS_IN.
30877         * inet/check_pf.c: Likewise.
30878         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30879         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30881         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30882         IS_IN_ldconfig.
30883         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30884         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30886         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30887         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30888         IS_IN (libc).
30890         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30892         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30893         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30894         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30895         * include/libc-symbols.h (IS_IN_LIB): New macro.
30896         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30897         * include/netdb.h: Likewise.
30898         * include/stap-probe.h: Remove all uses of IN_LIB.
30900         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30901         instead of IN_MODULE.
30902         * include/libc-symbols.h (IN_MODULE): Define using
30903         MODULE_NAME.
30904         (PASTE_NAME, PASTE_NAME1): New macros.
30905         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30906         of IN_LIB.
30907         (STAP_PROBE_ASM): Likewise.
30909 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30911         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30912         __mach_init in dlopened libc.
30914 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30916         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30917         * sysdeps/arm/preconfigure: Regenerate.
30919 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30921         * nptl/pthread_create.c (__pthread_create_2_1): Set
30922         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30923         when copying values from IATTR into PD.
30925 2014-11-21  Will Newton  <will.newton@linaro.org>
30926             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30928         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30929         Refactor inline-asm.  Also add comment.
30931         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30932         ElfW macro instead of hardcoded Elf64 types.
30933         (la_aarch64_gnu_pltenter): Likewise.
30934         * sysdeps/aarch64/dl-machine.h
30935         (elf_machine_runtime_setup): Use ElfW(Addr).
30937         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30938         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30939         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30940         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30941         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30942         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30943         (R_AARCH64_TLS_DTPMOD): This.
30944         (R_AARCH64_TLS_DTPREL64): Rename to ...
30945         (R_AARCH64_TLS_DTPREL): This.
30946         (R_AARCH64_TLS_TPREL64): Rename to ...
30947         (R_AARCH64_TLS_TPREL): This.
30948         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30949         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30950         R_AARCH64_TLS_TPREL64.
30951         (elf_machine_rela): Likewise.
30953 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30955         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30956         by setting it to 0.  64b atomics are not supported currently.
30958 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30960         [BZ #16469]
30961         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30962         search domain names.
30964 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30966         [BZ #16469]
30967         * NEWS: Update.
30968         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30969         trailing dot.
30970         * posix/tst-getaddrinfo5.c: New.
30971         * posix/Makefile (tests): Add it.
30973 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30975         [BZ #14498]
30976         * NEWS: Fixed.
30977         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30978         after parsing line but before break_if_match.
30979         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30980         if there is a protocol mismatch.
30982 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30984         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30985         because the potential race is on the user-supplied stream.
30987 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30989         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30990         string literal if not passed a buffer.
30991         * manual/job.texi (ctermid): Update reasoning, note deviation
30992         from posix, suggest mtasurace when not passed a buffer, for
30993         future non-preliminary safety notes.
30995 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30997         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30998         of not passing it a buffer.
30999         Reported by Peng Haitao.
31001 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31003         * manual/Makefile ($(objpfx)stamp-summary): Require
31004         check-safety.sh to pass.
31005         * manual/check-safety.sh: Wish for verification that every
31006         @deftypefn and @deftypefun is followed by a @safety remark.
31008 2014-11-20  Roland McGrath  <roland@hack.frob.com>
31010         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31012         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31013         PTHREAD_CANCEL_ASYNCHRONOUS.
31014         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31015         send SIGCANCEL.
31017         * nptl/default-sched.h: New file.
31018         * sysdeps/unix/sysv/linux/default-sched.h: New file.
31019         * nptl/pthread_create.c: Include it.
31020         (__pthread_create_2_1): Use collect_default_sched instead of making
31021         Linux syscalls here directly.
31023 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31025         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31026         __pthread_once): Use C11 atomics.
31028 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31030         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31032 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31034         * include/atomic.h (__atomic_link_error, __atomic_check_size,
31035         atomic_thread_fence_acquire, atomic_thread_fence_release,
31036         atomic_thread_fence_seq_cst, atomic_load_relaxed,
31037         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31038         atomic_compare_exchange_weak_relaxed,
31039         atomic_compare_exchange_weak_acquire,
31040         atomic_compare_exchange_weak_release,
31041         atomic_exchange_acquire, atomic_exchange_release,
31042         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31043         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31044         atomic_fetch_and_acquire,
31045         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31047 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31049         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31050         USE_ATOMIC_COMPILER_BUILTINS): Define.
31051         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31053         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31055         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31057         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31059         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31061         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31063         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31065         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31067         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31069         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31071         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31073         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31075         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31077         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31079         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31081         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31083         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31085         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31086         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31087         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31088         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31089         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31090         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31092 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31094         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31095         the sched_priority value here.  It was already checked when the user
31096         called pthread_attr_setschedparam.
31098         * nptl/tst-bad-schedattr.c: New file.
31099         * nptl/Makefile (tests): Add it.
31101 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31102             Florian Weimer  <fweimer@redhat.com>
31103             Joseph Myers  <joseph@codesourcery.com>
31104             Adam Conrad  <adconrad@0c3.net>
31105             Andreas Schwab  <schwab@suse.de>
31106             Brooks  <bmoses@google.com>
31108         [BZ #17625]
31109         * wordexp-test.c (__dso_handle): Add prototype.
31110         (__register_atfork): Likewise.
31111         (__app_register_atfork): New function.
31112         (registered_forks): New global.
31113         (register_fork): New function.
31114         (test_case): Add 3 new tests for WRDE_CMDSUB.
31115         (main): Call __app_register_atfork.
31116         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31117         fork count is non-zero fail the test.
31118         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31119         is set.
31120         (parse_dollars): Remove check for WRDE_NOCMD.
31121         (parse_dquote): Likewise.
31123 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31125         * Makeconfig (built-modules): List non-library modules to be
31126         built.
31127         (module-cppflags): Include libc-modules.h for
31128         everything except shlib-versions.v.i.
31129         (CPPFLAGS): Use it.
31130         (before-compile): Add libc-modules.h.
31131         ($(common-objpfx)libc-modules.h,
31132         $(common-objpfx)libc-modules.stmp): New targets.
31133         (common-generated): Add libc-modules.h and libc-modules.stmp.
31134         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31135         * include/libc-symbols.h: Don't include libc-modules.h.
31136         * include/libc-modules.h: Remove file.
31137         * scripts/gen-libc-modules.awk: New script to generate
31138         libc-modules.h.
31139         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31140         Depend on libc-modules.stmp.
31142         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31144         * Makeconfig (in-module): Get value of libof set for the
31145         translation unit.
31146         (CPPFLAGS): Use $(in-module).
31147         * Makerules: Don't suffix routine names for nonlib.
31148         * include/libc-modules.h: New file.
31149         * include/libc-symbols.h: Include libc-modules.h
31150         (IS_IN): New macro to replace IS_IN_* macros.
31151         * elf/Makefile: Set libof-* for each routine.
31152         * elf/rtld-Rules: Likewise.
31153         * extra-modules.mk: Likewise.
31154         * iconv/Makefile: Likewise.
31155         * iconvdata/Makefile: Likewise.
31156         * locale/Makefile: Likewise.
31157         * malloc/Makefile: Likewise.
31158         * nss/Makefile: Likewise.
31159         * sysdeps/gnu/Makefile: Likewise.
31160         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31161         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31162         * sysdeps/s390/s390-64/Makefile: Likewise.
31163         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31164         CPPFLAGS for nscd instead of nonlib.
31166 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31168         * nptl/createthread.c: New file.
31170         * nptl/createthread.c: Moved ...
31171         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31173         * nptl/createthread.c: Add proper top-line comment.
31174         (do_clone): Folded into ...
31175         (create_thread): ... here.  Take new arguments STOPPED_START and
31176         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31177         increment __nptl_threads, do event-reporting logic, do
31178         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31179         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31180         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31181         just send SIGCANCEL.
31182         * nptl/pthread_create.c: Forward-declare create_thread before
31183         including createthread.c.
31184         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31185         declaration, and new macro START_THREAD_SELF to replace argument.
31186         Remove return statement.
31187         (report_thread_creation): New function.
31188         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31189         synchronization logic, and __nptl_nthreads increment here, around
31190         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31191         PD->parent_cancelhandling here, before create_thread.  When
31192         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31193         __deallocate_stack, and ENOMEM translation here.
31195 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31197         [BZ #17616]
31198         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31199         (mptwo): Rename to __mptwo.
31200         (__inv): Use __mptwo instead of mptwo.
31201         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31202         (mptwo): Rename to __mptwo.
31203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31204         of mpone and __mptwo instead of mptwo.
31205         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31206         instead of mpone.
31207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31208         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31209         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31210         of mpone and __mptwo instead of mptwo.
31211         (__mpranred): Use __mpone instead of mpone.
31212         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31213         variable.
31214         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31215         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31216         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31217         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31218         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31219         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31220         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31221         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31222         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31223         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31224         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31225         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31226         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31227         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31228         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31229         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31230         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31231         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31232         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31234 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31236         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31237         replace BSD Handler xref with BSD Signal Handling.
31239 2014-11-17  Richard Henderson  <rth@redhat.com>
31241         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31242         (_FP_PACK_RAW_2): Remove.
31243         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31244         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31245         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31246         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31247         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31248         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31249         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31250         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31251         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31252         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31253         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31254         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31255         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31256         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31257         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31258         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31260 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31262         * signal/signal.h [__USE_MISC]
31263         (struct sigvec): Remove type.
31264         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31265         (sigvec): Remove declaration.
31266         * sysdeps/posix/sigvec.c: Moved ...
31267         * signal/sigvec.c: ... here, replacing old file.
31268         (struct sigvec): New type, copied from old signal.h definition.
31269         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31270         (__sigvec): Convert definition to prototype.
31271         (sigvec): Replace weak_alias with compat_symbol.
31272         * signal/Versions (libc: GLIBC_2.21): New version set.
31273         * include/signal.h: Remove __sigvec declaration.
31274         * sysdeps/unix/bsd/sigvec.c: Remove file.
31275         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31276         * manual/signal.texi (BSD Handler): Remove subsection.
31277         Move siginterrupt up to ...
31278         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31279         (Blocking in BSD): Fold subsection into its parent.
31280         * NEWS: Mention sigvec removal.
31282 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31284         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31285         (DLA_FMS): Make definition conditional only on [__FMA4__].
31286         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31287         definition.
31289         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31290         Make definition conditional only on [PROF].
31291         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31292         definition.
31293         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31294         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31296         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31297         !__GNUC__].
31298         * include/signal.h (__sigpause): Move declaration above call to
31299         libc_hidden_proto.
31300         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31301         variable.
31302         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31303         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31305 2014-11-14  David S. Miller  <davem@davemloft.net>
31307         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31308         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31310 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31312         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31313         * configure: Regenerated.
31314         * manual/install.texi (Tools for Compilation): Document a
31315         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31316         compiler verified to work.
31317         * INSTALL: Regenerated.
31319         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31320         redeclare with asm name.
31321         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31322         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31323         including <string.h>.
31324         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31325         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31326         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31327         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31328         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31330         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31332 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31334         * stdlib/strtol.c (__strtol): Use prototype definition.
31336         [BZ #17594]
31337         * stdlib/strtol.c (SYM__): New macro.
31338         (SYM__1): Likewise.
31339         (__strtol): Likewise.
31340         (strtol): Rename to __strtol and define as weak alias of
31341         __strtol.  Use libc_hidden_weak.
31343 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31345         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31346         Use numbered labels in inline assembly.
31348 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31350         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31351         Add setjmp LIBC_PROBE.
31352         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31353         Likewise.
31354         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31355         Add longjmp, longjmp_target LIBC_PROBE.
31356         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31357         Likewise.
31359 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31361         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31362         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31363         to get rid of unused variable warning.
31365 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31367         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31368         Check for unwind_backtrace ==  NULL only in SHARED case.
31369         (__backchain_backtrace): Compile only in SHARED case.
31370         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31371         Likewise.
31372         (__backchain_backtrace): Declare as static.
31374 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31376         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31377         (__libc_multiple_threads_ptr): Variable moved ...
31378         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31380 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31382         * conform/GlibcConform.pm: New file.
31383         * conform/conformtest.pl: Use GlibcConform module.
31384         * conform/linknamespace.pl: New file.
31385         * conform/list-header-symbols.pl: Likewise.
31386         * conform/Makefile (linknamespace-symlists-base): New variable.
31387         (linknamespace-symlists-tests): Likewise.
31388         (linknamespace-header-base): Likewise.
31389         (linknamespace-header-tests): Likewise.
31390         (tests-special): Add new tests.
31391         ($(linknamespace-symlists-tests)): New rule.
31392         (linknamespace-libs): New variable.
31393         ($(objpfx)symlist-stdlibs): New rule.
31394         ($(linknamespace-header-tests)): Likewise.
31395         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31396         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31397         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31398         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31399         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31400         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31401         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31402         (test-xfail-ISO/math.h/linknamespace): Likewise.
31403         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31404         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31405         (test-xfail-ISO/time.h/linknamespace): Likewise.
31406         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31407         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31408         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31409         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31410         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31411         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31412         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31413         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31414         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31415         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31416         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31417         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31418         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31419         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31420         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31421         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31422         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31423         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31424         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31425         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31426         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31427         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31428         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31429         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31430         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31431         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31432         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31433         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31434         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31435         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31436         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31437         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31438         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31439         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31440         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31441         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31442         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31443         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31444         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31445         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31446         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31447         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31448         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31449         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31450         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31451         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31452         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31453         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31454         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31455         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31456         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31457         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31458         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31459         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31460         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31461         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31462         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31463         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31464         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31465         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31466         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31467         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31468         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31469         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31470         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31471         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31472         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31473         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31474         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31475         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31476         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31477         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31478         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31479         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31480         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31481         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31482         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31483         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31484         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31485         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31486         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31487         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31488         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31489         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31490         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31491         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31492         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31493         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31494         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31495         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31496         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31497         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31498         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31499         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31500         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31501         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31502         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31503         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31504         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31505         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31506         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31507         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31508         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31509         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31510         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31511         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31512         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31513         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31514         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31515         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31516         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31517         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31518         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31519         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31520         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31521         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31522         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31523         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31524         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31525         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31526         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31527         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31528         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31529         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31530         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31531         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31532         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31533         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31534         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31535         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31536         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31537         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31538         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31539         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31540         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31541         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31542         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31543         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31544         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31545         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31546         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31547         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31548         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31549         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31550         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31551         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31552         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31553         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31554         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31555         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31557         [BZ #17589]
31558         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31559         of fgets_unlocked.
31561         [BZ #17585]
31562         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31563         (memmem): Rename to __memmem and define as weak alias of
31564         __memmem.  Use libc_hidden_weak.
31565         (__memmem): Use libc_hidden_def.
31566         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31567         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31568         memmem.
31570         [BZ #17582]
31571         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31572         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31573         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31574         and define as weak alias of __fgets_unlocked.  Use
31575         libc_hidden_weak.
31576         (__fgets_unlocked): Use libc_hidden_def.
31577         * include/stdio.h (__fgets_unlocked): Declare.  Use
31578         libc_hidden_proto.
31579         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31580         __fgets_unlocked instead of fgets_unlocked.
31581         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31582         (GET_NPROCS_CONF_PARSER): Likewise.
31583         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31584         (GET_NPROCS_CONF_PARSER): Likewise.
31586         [BZ #17574]
31587         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31588         weak alias of __wmemset.  Use libc_hidden_weak.
31589         (__wmemset): Use libc_hidden_def.
31590         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31591         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31592         of wmemset.
31594         [BZ #17573]
31595         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31596         with asm name __mempcpy.
31597         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31599         [BZ #17572]
31600         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31601         and define as weak alias of __rawmemchr.
31602         (__rawmemchr): Do not define as strong alias of rawmemchr.
31604         [BZ #17571]
31605         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31606         alias of __qsort_r.
31607         (qsort): Call __qsort_r instead of qsort_r.
31608         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31609         (__qsort_r): Declare.  Call libc_hidden_proto.
31610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31611         instead of qsort_r.
31612         * nscd/gai.c (__qsort_r): Define to qsort_r.
31613         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31614         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31615         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31617         [BZ #17570]
31618         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31619         define as weak alias of __malloc_info.
31621         [BZ #17584]
31622         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31623         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31624         (__rewinddir): Use libc_hidden_def.
31625         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31626         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31627         (__rewinddir): Use libc_hidden_def.
31628         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31629         weak alias of __rewinddir.  Don't use libc_hidden_def.
31630         (__rewinddir): Use libc_hidden_def.
31631         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31632         (__rewinddir): Use libc_hidden_proto.
31633         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31634         rewinddir.
31635         (__getcwd): Use __rewinddir instead of rewinddir.
31637         [BZ #17583]
31638         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31639         alias of __fileno.  Use libc_hidden_weak.
31640         (__fileno): Use libc_hidden_def.
31641         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31642         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31643         alias of __ftello.
31644         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31645         __ftello.
31646         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31647         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31648         libc_hidden_def.
31649         (fread_unlocked): Don't use libc_hidden_ver.
31650         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31651         and define as weak alias of __fread_unlocked.  Don't use
31652         libc_hidden_def.
31653         (__fread_unlocked): Use libc_hidden_def.
31654         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31655         (ftello): Don't use libc_hidden_proto.
31656         (__ftello): Declare.  Use libc_hidden_proto.
31657         (fread_unlocked): Don't use libc_hidden_proto.
31658         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31659         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31660         and __ftello instead of fileno, fread_unlocked and ftello.
31662 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31664         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31665         GOT12.
31666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31667         Likewise.
31668         (_dl_start_user): Likewise.
31669         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31671 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31672             Siddhesh Poyarekar  <siddhesh@redhat.com>
31674         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31675         Move argv and envp down instead of moving argc up.
31676         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31678 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31680         [BZ #17506]
31681         * test-skeleton.c (main): Return successful if one of
31682         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31683         * string/tst-strcoll-overflow.c: Define expected status.
31685 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31687         [BZ #17475]
31688         * locale/iso-639.def: Define Bhili and Tulu language codes.
31690 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31692         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31694 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31696         [BZ #17555]
31697         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31699 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31701         * configure.ac: Updated check of minimal required version to
31702         2.22.
31703         * manual/install.texi (Tools for Compilation): Updated version
31704         number.
31705         * configure: Regenerated.
31706         * INSTALL: Likewise.
31708 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31710         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31711         __tls_get_addr.
31713 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31715         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31716         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31717         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31718         libc_hidden_weak.
31719         (waitpid): Define as alias of __waitpid.
31720         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31721         __waitpid.
31722         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31723         libc_hidden_weak.
31724         (waitpid): Define as alias of __waitpid.
31725         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31726         __libc_waitpid alias.
31727         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31728         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31729         Likewise.
31730         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31731         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31732         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31733         alias.
31734         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31735         __waitpid.
31736         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31737         libc_hidden_weak.
31738         (waitpid): Define as alias of __waitpid.
31740 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31742         * manual/llio.texi: Add comment that write safety has been
31743         fixed in Linux.
31745         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31746         (localplt-build-dso): Add elf/ld.so.
31747         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31748         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31749         and free for ld.so.
31750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31751         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31753         Likewise.
31754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31755         Likewise.
31756         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31757         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31758         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31759         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31760         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31761         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31762         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31763         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31764         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31765         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31766         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31768 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31770         [BZ #14132]
31771         * include/libc-symbols.h (INTUSE): Remove macro.
31772         (INTDEF): Likewise.
31773         (INTVARDEF): Likewise.
31774         (_INTVARDEF): Likewise.
31775         (INTDEF2): Likewise.
31776         (INTVARDEF2): Likewise.
31777         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31778         rtld_hidden_def instead of INTVARDEF.
31779         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31780         (_dl_starting_up_internal): Remove declaration.
31781         (_dl_starting_up): Use rtld_hidden_proto.
31782         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31783         declaration.
31784         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31785         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31786         _dl_starting_up.
31787         * elf/dl-writev.h (_dl_writev): Likewise.
31788         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31789         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31790         _dl_starting_up_internal.
31792 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31794         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31795         test-skeleton.c.
31797 2014-11-05  Will Newton  <will.newton@linaro.org>
31799         * benchtests/Makefile: (bench-malloc): Add malloc thread
31800         scalability benchmark.
31801         * benchtests/bench-malloc-threads.c: New file.
31803 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31805         * sysdeps/aarch64/strchrnul.S: New file.
31807 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31809         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31810         definition.
31811         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31812         Likwise.
31813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31814         Likewise.
31815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31816         Likewise.
31817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31818         Likewise.
31819         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31820         Likewise.
31822 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31824         * catgets/test-gencat.c: Use test-skeleton.c.
31825         * catgets/tst-catgets.c: Likewise.
31826         * csu/tst-empty.c: Likewise.
31827         * elf/tst-audit2.c: Likewise.
31828         * elf/tst-global1.c: Likewise.
31829         * elf/tst-pathopt.c: Likewise.
31830         * elf/tst-piemod1.c: Likewise.
31831         * elf/tst-tls10.c: Likewise.
31832         * elf/tst-tls11.c: Likewise.
31833         * elf/tst-tls12.c: Likewise.
31834         * gnulib/tst-gcc.c: Likewise.
31835         * iconvdata/tst-e2big.c: Likewise.
31836         * iconvdata/tst-loading.c: Likewise.
31837         * iconv/tst-iconv1.c: Likewise.
31838         * iconv/tst-iconv2.c: Likewise.
31839         * inet/test-inet6_opt.c: Likewise.
31840         * inet/tst-gethnm.c: Likewise.
31841         * inet/tst-network.c: Likewise.
31842         * inet/tst-ntoa.c: Likewise.
31843         * intl/tst-codeset.c: Likewise.
31844         * intl/tst-gettext2.c: Likewise.
31845         * intl/tst-gettext3.c: Likewise.
31846         * intl/tst-ngettext.c: Likewise.
31847         * intl/tst-translit.c: Likewise.
31848         * io/test-stat.c: Likewise.
31849         * libio/test-fmemopen.c: Likewise.
31850         * libio/tst-freopen.c: Likewise.
31851         * libio/tst-sscanf.c: Likewise.
31852         * libio/tst-ungetwc1.c: Likewise.
31853         * libio/tst-ungetwc2.c: Likewise.
31854         * libio/tst-widetext.c: Likewise.
31855         * localedata/tst-ctype.c: Likewise.
31856         * localedata/tst-digits.c: Likewise.
31857         * localedata/tst-leaks.c: Likewise.
31858         * localedata/tst-mbswcs1.c: Likewise.
31859         * localedata/tst-mbswcs2.c: Likewise.
31860         * localedata/tst-mbswcs3.c: Likewise.
31861         * localedata/tst-mbswcs4.c: Likewise.
31862         * localedata/tst-mbswcs5.c: Likewise.
31863         * localedata/tst-setlocale.c: Likewise.
31864         * localedata/tst-trans.c: Likewise.
31865         * localedata/tst-wctype.c: Likewise.
31866         * localedata/tst-xlocale1.c: Likewise.
31867         * login/tst-grantpt.c: Likewise.
31868         * malloc/tst-calloc.c: Likewise.
31869         * malloc/tst-malloc.c: Likewise.
31870         * malloc/tst-mallocstate.c: Likewise.
31871         * malloc/tst-mcheck.c: Likewise.
31872         * malloc/tst-mtrace.c: Likewise.
31873         * malloc/tst-obstack.c: Likewise.
31874         * math/atest-exp2.c: Likewise.
31875         * math/atest-exp.c: Likewise.
31876         * math/atest-sincos.c: Likewise.
31877         * math/test-matherr.c: Likewise.
31878         * math/test-misc.c: Likewise.
31879         * math/test-powl.c: Likewise.
31880         * math/tst-definitions.c: Likewise.
31881         * misc/tst-dirname.c: Likewise.
31882         * misc/tst-efgcvt.c: Likewise.
31883         * misc/tst-fdset.c: Likewise.
31884         * misc/tst-hsearch.c: Likewise.
31885         * misc/tst-mntent2.c: Likewise.
31886         * nptl/tst-sem7.c: Likewise.
31887         * nptl/tst-sem8.c: Likewise.
31888         * nptl/tst-sem9.c: Likewise.
31889         * nss/test-netdb.c: Likewise.
31890         * posix/tst-fnmatch.c: Likewise.
31891         * posix/tst-getlogin.c: Likewise.
31892         * posix/tst-gnuglob.c: Likewise.
31893         * posix/tst-mmap.c: Likewise.
31894         * pwd/tst-getpw.c: Likewise.
31895         * resolv/tst-inet_ntop.c: Likewise.
31896         * rt/tst-timer.c: Likewise.
31897         * stdio-common/test-fseek.c: Likewise.
31898         * stdio-common/test-popen.c: Likewise.
31899         * stdio-common/test-vfprintf.c: Likewise.
31900         * stdio-common/tst-cookie.c: Likewise.
31901         * stdio-common/tst-fileno.c: Likewise.
31902         * stdio-common/tst-gets.c: Likewise.
31903         * stdio-common/tst-obprintf.c: Likewise.
31904         * stdio-common/tst-perror.c: Likewise.
31905         * stdio-common/tst-sprintf2.c: Likewise.
31906         * stdio-common/tst-sprintf3.c: Likewise.
31907         * stdio-common/tst-sprintf.c: Likewise.
31908         * stdio-common/tst-swprintf.c: Likewise.
31909         * stdio-common/tst-tmpnam.c: Likewise.
31910         * stdio-common/tst-unbputc.c: Likewise.
31911         * stdio-common/tst-wc-printf.c: Likewise.
31912         * stdlib/tst-environ.c: Likewise.
31913         * stdlib/tst-fmtmsg.c: Likewise.
31914         * stdlib/tst-limits.c: Likewise.
31915         * stdlib/tst-rand48-2.c: Likewise.
31916         * stdlib/tst-rand48.c: Likewise.
31917         * stdlib/tst-random2.c: Likewise.
31918         * stdlib/tst-random.c: Likewise.
31919         * stdlib/tst-strtol.c: Likewise.
31920         * stdlib/tst-strtoll.c: Likewise.
31921         * stdlib/tst-tls-atexit.c: Likewise.
31922         * stdlib/tst-xpg-basename.c: Likewise.
31923         * string/test-ffs.c: Likewise.
31924         * string/tst-bswap.c: Likewise.
31925         * string/tst-inlcall.c: Likewise.
31926         * string/tst-strtok.c: Likewise.
31927         * string/tst-strxfrm.c: Likewise.
31928         * sysdeps/x86_64/tst-audit10.c: Likewise.
31929         * sysdeps/x86_64/tst-audit3.c: Likewise.
31930         * sysdeps/x86_64/tst-audit4.c: Likewise.
31931         * sysdeps/x86_64/tst-audit5.c: Likewise.
31932         * time/tst-ftime_l.c: Likewise.
31933         * time/tst-getdate.c: Likewise.
31934         * time/tst-mktime3.c: Likewise.
31935         * time/tst-mktime.c: Likewise.
31936         * time/tst-posixtz.c: Likewise.
31937         * time/tst-strptime2.c: Likewise.
31938         * time/tst-strptime3.c: Likewise.
31939         * wcsmbs/tst-btowc.c: Likewise.
31940         * wcsmbs/tst-mbrtowc.c: Likewise.
31941         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31942         * wcsmbs/tst-wchar-h.c: Likewise.
31943         * wcsmbs/tst-wcpncpy.c: Likewise.
31944         * wcsmbs/tst-wcrtomb.c: Likewise.
31945         * wcsmbs/tst-wcsnlen.c: Likewise.
31946         * wcsmbs/tst-wcstof.c: Likewise.
31948 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31950         [BZ #14132]
31951         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31952         INTDEF.
31953         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31954         declaration.
31955         (_dl_mcount): Use rtld_hidden_proto.
31956         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31957         _dl_mcount.
31958         * elf/rtld.c (_rtld_global_ro): Likewise.
31960         [BZ #14132]
31961         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31962         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31963         of _dl_init_internal.
31964         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31965         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31966         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31967         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31968         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31969         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31970         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31971         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31972         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31973         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31974         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31975         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31976         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31977         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31978         * sysdeps/tile/dl-start.S (_start): Likewise.
31979         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31980         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31982         [BZ #14132]
31983         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31984         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31985         (rtld_progname): Make macro definition unconditional.
31986         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31987         INTDEF.
31988         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31989         (dl_main): Likewise.
31990         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31991         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31992         instead of _dl_argv_internal.
31993         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31994         __GI__dl_argv instead of INTUSE(_dl_argv).
31995         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31996         __GI__dl_argv instead of _dl_argv_internal.
31998         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31999         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32000         macro.
32001         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32002         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32003         New macro.
32004         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32005         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32006         macro.
32007         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32008         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32010 2014-11-04  Andreas Schwab  <schwab@suse.de>
32012         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32014 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32016         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32017         mtvsrd instruction in binary form.
32019 2014-11-03  Andreas Schwab  <schwab@suse.de>
32021         [BZ #17522]
32022         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32023         for less than MB_LEN_MAX use a local buffer of that size.
32024         * libio/tst-fputws.c: New file.
32025         * libio/Makefile (tests): Add tst-fputws.
32027 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
32029         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32030         the size of the fpu_fr.fpu_dregs[] array.
32032 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
32034         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32035         (__nanosleep): Do not define as alias.
32036         (nanosleep): Define as alias of __nanosleep.
32037         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32038         __libc_nanosleep name.
32040 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32042         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32043         install.texi in comment.
32045 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32047         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32048         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32049         ... add here and use lwsync or sync ...
32050         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32051         ... and add here using lwsync.
32053 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32055         * elf/dl-machine-reject-phdr.h: New file.
32056         * elf/dl-load.c: #include that.
32057         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32058         if that returned true.
32060 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32062         [BZ #17496]
32063         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32064         gen-as-const-headers chunk.  Add a big scare comment after the last
32065         safe place to touch before-compile.
32067 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32069         * manual/install.texi (Tools for Compilation): Update autoconf
32070         version requirements.
32071         * INSTALL: Regenerated.
32073         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32074         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32075         (__libc_pselect): Likewise.
32077         [BZ #14138]
32078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32083 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32085         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32086         correct barrier instruction.
32087         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32088         Likewise.
32089         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32090         Likewise.
32092 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32094         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32095         after defining inlines.  Instead, just use parens to defeat macro
32096         expansion of __isctype in its declaration.
32098 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32100         * include/sys/uio.h (__libc_readv): Remove declaration.
32101         (__libc_writev): Likewise.
32102         * misc/readv.c (__libc_readv): Rename to __readv.
32103         (__readv): Do not define as alias.
32104         (readv): Define as alias of __readv.
32105         * misc/writev.c (__libc_writev): Rename to __writev.
32106         (__writev): Do not define as alias.
32107         (writev): Define as alias of __writev.
32108         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32109         (__readv): Do not define as alias.
32110         (readv): Define unconditionally as alias of __readv.
32111         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32112         (__writev): Do not define as alias.
32113         (writev): Define unconditionally as alias of __writev.
32114         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32115         name.
32116         (writev): Do not define __libc_writev name.
32118 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32120         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32121         (convert_charseq): New function, broken out of ...
32122         (use_from_charmap): ... here.  Call it.
32123         (use_to_charmap): Use convert_charseq and free instead of duplicating
32124         its code with a variable-length stack struct.
32126 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32128         * include/fcntl.h (__libc_creat): Remove declaration.
32129         * io/creat.c (__libc_creat): Rename to creat.
32130         (creat): Do not define as alias.
32131         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32132         of creat instead of __libc_creat.
32133         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32134         to creat.
32135         (creat): Do not define as alias.
32136         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32137         __libc_creat.
32138         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32139         __libc_creat name.
32140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32141         Likewise.
32143 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32145         * manual/llio.texi: Add comments discussing why write() may be
32146         considered MT-unsafe on Linux.
32148 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32150         * dl-load.c (local_strdup): Remove.
32151         (expand_dynamic_string_token): Use __strdup.
32152         (decompose_rpath): Likewise.
32153         (_dl_map_object): Likewise.
32155 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32157         [BZ #14132]
32158         * sysdeps/generic/unwind-dw2-fde.c
32159         (__register_frame_info_bases_internal): Do not declare.
32160         (__register_frame_info_table_bases_internal): Likewise.
32161         (__deregister_frame_info_bases_internal): Likewise.
32162         (__register_frame_info_bases): Declare and use hidden_proto before
32163         definition.  Use hidden_def instead of INTDEF.
32164         (__register_frame_info_table_bases): Likewise.
32165         (__deregister_frame_info_bases): Likewise.
32166         (__register_frame_info): Do not use INTUSE.
32167         (__register_frame): Likewise.
32168         (__register_frame_info_table): Likewise.
32169         (__register_frame_table): Likewise.
32170         (__deregister_frame_info): Likewise.
32171         (__deregister_frame): Likewise.
32173 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32175         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32176         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32177         not undefine.
32178         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32179         Likewise.
32180         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32181         Likewise.
32183 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32185         [BZ #14138]
32186         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32187         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32188         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32189         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32190         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32191         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32192         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32193         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32194         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32195         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32196         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32197         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32198         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32199         syscall.
32200         (setfsuid): Likewise.
32201         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32202         (setfsuid): Likewise.
32203         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32204         (setfsuid): Likewise.
32205         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32206         Likewise.
32207         (setfsuid): Likewise.
32208         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32209         (setfsuid): Likewise.
32210         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32211         Likewise.
32212         (setfsuid): Likewise.
32214 2014-10-27  Andreas Schwab  <schwab@suse.de>
32216         [BZ #17501]
32217         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32218         check for Slow_SSE4_2 feature bit.
32219         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32220         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32221         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32222         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32224 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32226         * configure.ac: Validate compiler version with a empirical test of
32227         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32228         $CC -v output.
32229         * configure: Regenerated.
32231         * inet/htons.c (htons): Prototypify.
32232         * inet/htonl.c (htonl): Likewise.
32234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32236         * string/strncat.c (strncat): Improve performance by using strlen.
32238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32240         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32242 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32244         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32245         Call libc_fetestexcept_aarch64.
32247 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32249         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32250         Call libc_feholdexcept_aarch64.
32252 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32254         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32255         Call get_rounding_mode.
32257 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32259         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32260         Simplify logic.
32262 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32264         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32265         Simplify logic.
32267 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32269         [BZ #14138]
32270         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32271         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32272         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32273         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32274         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32275         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32276         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32277         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32278         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32279         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32280         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32281         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32283         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32284         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32285         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32286         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32287         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32288         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32289         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32290         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32291         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32292         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32293         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32294         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32295         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32296         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32297         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32298         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32299         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32300         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32301         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32302         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32303         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32304         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32305         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32306         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32307         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32308         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32309         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32310         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32311         syscall.
32312         (geteuid): Likewise.
32313         (getgid): Likewise.
32314         (getuid): Likewise.
32315         (getresgid): Likewise.
32316         (getresuid): Likewise.
32317         (getgroups): Likewise.
32318         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32319         (geteuid): Likewise.
32320         (getgid): Likewise.
32321         (getuid): Likewise.
32322         (getresgid): Likewise.
32323         (getresuid): Likewise.
32324         (getgroups): Likewise.
32325         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32326         (geteuid): Likewise.
32327         (getgid): Likewise.
32328         (getuid): Likewise.
32329         (getresgid): Likewise.
32330         (getresuid): Likewise.
32331         (getgroups): Likewise.
32332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32333         Likewise.
32334         (geteuid): Likewise.
32335         (getgid): Likewise.
32336         (getuid): Likewise.
32337         (getresgid): Likewise.
32338         (getresuid): Likewise.
32339         (getgroups): Likewise.
32340         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32341         (geteuid): Likewise.
32342         (getgid): Likewise.
32343         (getuid): Likewise.
32344         (getresgid): Likewise.
32345         (getresuid): Likewise.
32346         (getgroups): Likewise.
32347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32348         Likewise.
32349         (geteuid): Likewise.
32350         (getgid): Likewise.
32351         (getuid): Likewise.
32352         (getgroups): Likewise.
32354         [BZ #14138]
32355         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32356         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32357         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32358         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32359         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32360         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32361         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32362         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32363         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32364         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32365         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32366         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32367         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32368         __chown.
32369         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32370         (lchown): Likewise.
32371         (fchown): Likewise.
32372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32373         Likewise.
32374         (lchown): Likewise.
32375         (fchown): Likewise.
32376         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32377         (lchown): Likewise.
32378         (fchown): Likewise.
32379         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32380         Likewise.
32381         (lchown): Likewise.
32382         (fchown): Likewise.
32384 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32386         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32387         Simplify logic.
32389 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32391         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32392         Cleanup logic.
32394 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32396         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32397         Remove unused include.
32399 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32401         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32402         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32403         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32404         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32406 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32407             Helge Deller <deller@gmx.de>
32409         [BZ #17508]
32410         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32411         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32412         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32414 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32416         [BZ #14132]
32417         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32418         Remove macro definition.
32419         (__ashrdi3_v_glibc20): Likewise.
32420         (__lshrdi3_v_glibc20): Likewise.
32421         (__cmpdi2_v_glibc20): Likewise.
32422         (__ucmpdi2_v_glibc20): Likewise.
32423         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32424         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32425         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32426         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32427         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32428         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32430 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32432         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32433         old GNU extension [0] syntax.
32434         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32435         alloca rather than an array member with variable length.
32436         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32437         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32438         (parse_opt): ... here.  Likewise use alloca there.
32439         Validate the -i argument before checking for rootness.
32440         (send_shutdown): New function, broken out of ...
32441         (parse_opt): ... here.
32443 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32445         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32446         macro to get at the _rt_local_ro field.
32447         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32448         ([PIC] case) or _dl_hwcap ([!PIC] case).
32449         * sysdeps/arm/setjmp.S: Likewise.
32451         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32452         * sysdeps/arm/configure.ac: New check to define it.
32453         * sysdeps/arm/configure: Regenerated.
32454         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32455         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32456         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32457         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32458         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32459         Use move/movt pair instead of a load.
32460         (LDST_GLOBAL): Macro removed.
32461         (LDR_GLOBAL): New macro replaces it.
32462         (LDR_HIDDEN): New macro.
32463         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32464         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32466         * setjmp/tst-setjmp-static.c: New file.
32467         * setjmp/Makefile (tests): Add it.
32468         (tests-static): New variable.
32470 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32472         [BZ #17485]
32473         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32475 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32477         [BZ #14132]
32478         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32480 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32482         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32484 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32486         * io/fts.c (dirent_not_directory): New function.
32487         (fts_build): Call it.
32489 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32491         * nptl/version.c (__nptl_main): Use normal __write rather than
32492         INTERNAL_SYSCALL.
32493         (banner): Update copyright years.
32495         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32496         gettimeofday.
32497         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32498         * nptl/pthread_cond_timedwait.c: Likewise.
32499         * nptl/pthread_mutex_timedlock.c: Likewise.
32500         * nptl/sem_timedwait.c: Likewise.
32502         * sysdeps/nptl/bits/libc-lock.h
32503         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32504         (__libc_lock_init_recursive): Return void, not 0.
32505         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32506         (__libc_rwlock_init): Likewise.
32507         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32509 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32511         [BZ #15215]
32512         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32513         (__pthread_once_slow): ... here.
32514         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32515         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32517 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32519         [BZ #15215]
32520         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32521         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32522         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32523         * nptl/pthread_once.c (__pthread_once): Likewise.
32524         Update comments.
32526 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32528         [BZ #14138]
32529         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32530         name.
32531         (writev): Use __libc_writev as strong name.
32532         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32533         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32535 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32537         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32539         * sysdeps/i386/nptl/tls.h
32540         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32541         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32542         New macros.
32543         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32544         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32545         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32546         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32547         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32548         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32550         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32551         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32552         on [__NR_futex].
32553         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32554         broken out of ...
32555         (__pthread_mutex_init): ... here.  Call it.
32556         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32557         Conditionalize PI cases on [__NR_futex].
32558         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32559         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32560         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32562         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32563         conditional on [SIGSETXID].
32564         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32565         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32566         is defined.  Likewise for SIGSETXID.
32567         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32568         Conditionalize definitions on [SIGSETXID].
32569         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32570         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32571         unblocking on [SIGCANCEL].
32573         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32574         [__NR_set_robust_list].
32576 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32578         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32579         (do_compare): Likewise.
32581 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32583         [BZ #15884]
32584         * string/strcoll_l.c: Don't include stdio.h.
32585         (coll_seq): Remove members idxarr and rulearr.
32586         (get_next_seq_cached): Remove function.
32587         (get_next_seq): Likewise.
32588         (get_next_seq_nocache): Rename to get_next_seq.
32589         (do_compare): Remove function.
32590         (do_compare_nocache): Rename to do_compare.
32591         (STRCOLL): Remove weight and rules cache.
32593 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32595         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32596         * sysdeps/arm/sfp-machine.h: ... to here.
32597         * sysdeps/arm/Implies: Remove arm/soft-fp.
32599 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32601         * conform/data/sys/utsname.h-data (*_t): Allow.
32602         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32603         [POSIX] (WEXITED): Do not expect constant.
32604         [POSIX] (WSTOPPED): Likewise.
32605         [POSIX] (WNOHANG): Likewise.
32606         [POSIX] (WNOWAIT): Likewise.
32607         [POSIX] (siginfo_t): Do not expect type or elements.
32608         [POSIX] (pid_t): Do not expect type.
32609         [POSIX] (signal.h): Do not allow header.
32610         [POSIX] (sys/resource.h): Likewise.
32611         [POSIX] (si_*): Do not allow pattern.
32612         [POSIX] (W*): Likewise.
32613         [POSIX] (P_*): Likewise.
32614         [POSIX] (BUS_*): Likewise.
32615         [POSIX] (CLD_*): Likewise.
32616         [POSIX] (FPE_*): Likewise.
32617         [POSIX] (ILL_*): Likewise.
32618         [POSIX] (POLL_*): Likewise.
32619         [POSIX] (SEGV_*): Likewise.
32620         [POSIX] (SI_*): Likewise.
32621         [POSIX] (TRAP_*): Likewise.
32622         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32623         variable.
32625 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32627         [BZ #12926]
32628         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32629         infinite loop when __recvmsg returns 0.
32631 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32633         * CANCEL-FCT-WAIVE: Remove file.
32634         * CANCEL-FILE-WAIVE: Likewise.
32636         [BZ #14132]
32637         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32638         instead of INTVARDEF.
32639         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32640         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32641         rtld_hidden_data_def instead of INTVARDEF.
32642         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32643         * elf/dl-deps.c (expand_dst): Likewise.
32644         * elf/dl-load.c (_dl_dst_count): Likewise.
32645         (_dl_dst_substitute): Likewise.
32646         (decompose_rpath): Likewise.
32647         (_dl_init_paths): Likewise.
32648         (open_path): Likewise.
32649         (_dl_map_object): Likewise.
32650         * elf/rtld.c (dl_main): Likewise.
32651         (process_dl_audit): Likewise.
32652         (process_envvars): Likewise.
32653         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32654         Remove declaration.
32655         (__libc_enable_secure): Use rtld_hidden_proto.
32657 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32659         * elf/dl-load.c
32660         (add_path): New function broken out of _dl_rtld_di_serinfo.
32661         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32663 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32665         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32666         parentheses around macro arguments.
32667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32670         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32671         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32672         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32676         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32678         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32679         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32680         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32681         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32682         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32683         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32696         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32697         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32698         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32699         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32700         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32701         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32702         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32703         Likewise.
32704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32706         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32708         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32710         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32711         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32712         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32713         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32714         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32715         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32716         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32717         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32718         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32721         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32725         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32726         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32727         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32728         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32729         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32730         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32731         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32732         (_FP_FRAC_SRS_1): Likewise.
32733         (_FP_FRAC_CLZ_1): Likewise.
32734         (_FP_MUL_MEAT_1_imm): Likewise.
32735         (_FP_MUL_MEAT_1_wide): Likewise.
32736         (_FP_MUL_MEAT_1_hard): Likewise.
32737         (_FP_SQRT_MEAT_1): Likewise.
32738         (_FP_FRAC_ASSEMBLE_1): Likewise.
32739         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32740         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32741         (__FP_CLZ_2): Likewise.
32742         (_FP_MUL_MEAT_2_wide): Likewise.
32743         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32744         (_FP_MUL_MEAT_2_gmp): Likewise.
32745         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32746         (_FP_SQRT_MEAT_2): Likewise.
32747         (_FP_FRAC_ASSEMBLE_2): Likewise.
32748         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32749         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32750         (_FP_FRAC_CLZ_4): Likewise.
32751         (_FP_MUL_MEAT_4_wide): Likewise.
32752         (_FP_MUL_MEAT_4_gmp): Likewise.
32753         (_FP_SQRT_MEAT_4): Likewise.
32754         (_FP_FRAC_ASSEMBLE_4): Likewise.
32755         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32756         * soft-fp/op-common.h (_FP_CMP): Likewise.
32757         (_FP_CMP_EQ): Likewise.
32758         (_FP_CMP_UNORD): Likewise.
32759         (_FP_TO_INT): Likewise.
32760         (_FP_FROM_INT): Likewise.
32761         [!__FP_CLZ] (__FP_CLZ): Likewise.
32762         (_FP_DIV_HELP_imm): Likewise.
32763         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32764         Likewise.
32765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32768         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32769         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32770         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32771         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32773         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32774         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32776         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32777         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32778         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32779         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32780         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32781         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32791         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32794         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32795         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32796         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32798         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32799         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32800         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32801         (FP_UNPACK_RAW_SP): Likewise.
32802         (FP_PACK_RAW_S): Likewise.
32803         (FP_PACK_RAW_SP): Likewise.
32804         (FP_UNPACK_S): Likewise.
32805         (FP_UNPACK_SP): Likewise.
32806         (FP_UNPACK_SEMIRAW_S): Likewise.
32807         (FP_UNPACK_SEMIRAW_SP): Likewise.
32808         (FP_PACK_S): Likewise.
32809         (FP_PACK_SP): Likewise.
32810         (FP_PACK_SEMIRAW_S): Likewise.
32811         (FP_PACK_SEMIRAW_SP): Likewise.
32812         (_FP_SQRT_MEAT_S): Likewise.
32813         (FP_CMP_S): Likewise.
32814         (FP_CMP_EQ_S): Likewise.
32815         (FP_CMP_UNORD_S): Likewise.
32816         (FP_TO_INT_S): Likewise.
32817         (FP_FROM_INT_S): Likewise.
32819         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32821         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32822         (FP_EX_INVALID_IMZ): Likewise.
32823         (FP_EX_INVALID_IMZ_FMA): Likewise.
32824         (FP_EX_INVALID_ISI): Likewise.
32825         (FP_EX_INVALID_ZDZ): Likewise.
32826         (FP_EX_INVALID_IDI): Likewise.
32827         (FP_EX_INVALID_SQRT): Likewise.
32828         (FP_EX_INVALID_CVI): Likewise.
32829         (FP_EX_INVALID_VC): Likewise.
32830         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32831         "invalid" exceptions.
32832         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32833         (_FP_ADD_INTERNAL): Likewise.
32834         (_FP_MUL): Likewise.
32835         (_FP_FMA): Likewise.
32836         (_FP_DIV): Likewise.
32837         (_FP_CMP_CHECK_NAN): Likewise.
32838         (_FP_SQRT): Likewise.
32839         (_FP_TO_INT): Likewise.
32840         (FP_EXTEND): Likewise.
32842 2014-10-09  Allan McRae  <allan@archlinux.org>
32844         * po/fr.po: Update French translation from translation project.
32846 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32848         [BZ #14132]
32849         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32850         of INTDEF.
32851         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32852         (__cxa_atexit): Use libc_hidden_proto.
32853         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32855         [BZ #14132]
32856         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32857         declaration.
32858         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32859         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32860         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32861         [!_ISOMAC] (__iswctype_internal): Likewise.
32862         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32863         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32864         alias.
32865         (fcntl): Remove __fcntl_internal alias.
32866         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32867         __connect_internal alias.
32868         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32869         Likewise.
32871         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32872         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32873         FP_DENORM_ZERO.
32874         (_FP_CHECK_FLUSH_ZERO): New macro.
32875         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32876         (_FP_CMP): Likewise.
32877         (_FP_CMP_EQ): Likewise.
32878         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32879         FP_DENORM_ZERO.
32880         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32881         (FP_TRUNC): Likewise.
32883         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32884         treated as invalid conversion, not as normal exponent.
32886         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32887         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32888         (_FP_CMP_EQ): Likewise.
32889         (_FP_CMP_UNORD): Likewise.
32890         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32891         (FP_CMP_EQ_D): Likewise.
32892         (FP_CMP_UNORD_D): Likewise.
32893         * soft-fp/extended.h (FP_CMP_E): Likewise.
32894         (FP_CMP_EQ_E): Likewise.
32895         (FP_CMP_UNORD_E): Likewise.
32896         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32897         (FP_CMP_EQ_Q): Likewise.
32898         (FP_CMP_UNORD_Q): Likewise.
32899         * soft-fp/single.h (FP_CMP_S): Likewise.
32900         (FP_CMP_EQ_S): Likewise.
32901         (FP_CMP_UNORD_S): Likewise.
32902         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32903         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32904         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32905         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32906         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32907         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32908         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32909         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32910         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32911         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32912         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32913         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32914         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32915         to FP_CMP_Q.
32916         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32917         FP_CMP_Q.
32918         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32919         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32920         FP_CMP_EQ_Q.
32921         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32922         FP_CMP_Q.
32923         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32924         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32925         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32926         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32927         FP_CMP_EQ_Q.
32928         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32929         FP_CMP_Q.
32930         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32931         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32932         FP_CMP_EQ_Q.
32933         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32934         FP_CMP_Q.
32935         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32936         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32937         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32938         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32939         FP_CMP_EQ_Q.
32941         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32942         a subnormal result, set the underflow exception if trapping on
32943         underflow is enabled.
32944         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32945         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32946         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32947         redefine to 0.
32948         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32949         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32950         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32951         * soft-fp/extendxftf2.c (__extendxftf2): Use
32952         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32954         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32955         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32956         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32957         FP_HANDLE_EXCEPTIONS.
32958         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32959         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32960         FP_HANDLE_EXCEPTIONS.
32961         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32962         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32963         FP_HANDLE_EXCEPTIONS.
32964         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32965         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32966         FP_HANDLE_EXCEPTIONS.
32968 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32970         [BZ #14132]
32971         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32972         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32973         use INTUSE.
32974         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32975         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32976         Remove alias.
32977         (__adjtimex): Define using libc_hidden_ver.
32978         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32979         Remove declaration.
32980         (ntp_gettime): Call __adjtimex directly.
32981         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32982         Remove declaration.
32983         (ntp_gettimex): Call __adjtimex directly.
32984         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32985         __adjtimex_internal alias.
32987 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32989         [BZ #17460]
32990         * nscd/nscd.c (more_help): Rewrite list of tables collection
32991         using xstrdup and asprintf.
32993         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32995 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32996             Roland McGrath  <roland@hack.frob.com>
32998         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32999         (do_lookup_unique): ... local function 'enter' here; update callers.
33001 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
33003         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33004         compat_symbol calls on [SHARED].
33005         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33006         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33007         Remove.
33008         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33009         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33010         (oldsetrlimit): Remove.
33011         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33013         (lchown): New syscall entry.
33014         (oldsetrlimit): Remove.
33015         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33017         (oldsetrlimit): Remove.
33018         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33020         [BZ #14138]
33021         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33022         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33023         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33024         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33025         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33026         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33027         (fchown): Likewise.
33028         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33029         (fchown): Likewise.
33030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33031         Likewise.
33033 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33035         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33036         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33037         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33038         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33039         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33040         Likewise.
33041         (__old_sem_post): Likewise.
33043 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33045         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33046         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33047         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33048         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33049         Use INLINE_VSYSCALL macro.
33050         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33051         __vdso_clock_gettime.
33052         * sysdeps/unix/sysv/linux/tile/init-first.c
33053         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33054         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33055         __vdso_clock_gettime.
33057         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33058         to set up frame more cleanly.
33060         * sysdeps/tile/memcmp.c: New file.
33062         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33064         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33065         * sysdeps/tile/tilegx/strcasestr.c: New file.
33066         * sysdeps/tile/tilegx/strnlen.c: New file.
33067         * sysdeps/tile/tilegx/strstr.c: New file.
33069         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33071 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33073         * nptl/tst-setuid3.c: Write errors to stdout.
33075 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33077         * elf/dl-deps.c
33078         (preload): New functions broken out of _dl_map_object_deps.
33079         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33081 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #14138]
33084         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33085         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33087 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33089         * sysdeps/mips/strcmp.S: New.
33091 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33093         [BZ #14138]
33094         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33095         (linkat): Likewise.
33096         (mkdirat): Likewise.
33097         (readlinkat): Likewise.
33098         (renameat): Likewise.
33099         (symlinkat): Likewise.
33100         (unlinkat): Likewise.
33101         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33102         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33103         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33104         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33105         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33106         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33107         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33109 2014-09-30  Will Newton  <will.newton@linaro.org>
33111         * math/math.h: Define long double math functions if
33112         _LIBC_TEST is defined.
33113         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33115         * localedata/Makefile: Move assignment to tests-special
33116         into an ifdef testing run-built-tests.
33117         * timezone/Makefile: Likewise.
33119 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33121         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33122         with $(BASH) not $(SHELL).
33124 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33125             Matthew LeGendre  <legendre1@llnl.gov>
33127         [BZ #17411]
33128         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33129         l_reloc_result.
33131 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33133         * stdio-common/printf_fp.c
33134         (hack_digit): New function, broken out of ...
33135         (__printf_fp): ... local function here.  Update call sites.
33136         hack_digit now takes an additional parameter that is a pointer
33137         to a struct of the referenced locals.  Those locals moved inside
33138         the struct and references updated.
33140 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33142         * aclocal.m4: Require autoconf 2.69.
33143         * configure: Regenerated.
33144         * sysdeps/aarch64/configure: Likewise.
33145         * sysdeps/alpha/configure: Likewise.
33146         * sysdeps/arm/armv7/configure: Likewise.
33147         * sysdeps/arm/configure: Likewise.
33148         * sysdeps/ia64/configure: Likewise.
33149         * sysdeps/mach/configure: Likewise.
33150         * sysdeps/mips/configure: Likewise.
33151         * sysdeps/s390/configure: Likewise.
33152         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33155         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33156         file.
33157         * sysdeps/ia64/configure.ac: Likewise.
33159 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33162         specify symbol version for ld.so.  Do not include entry for
33163         libpthread.
33164         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33165         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33166         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33168         [BZ #14171]
33169         * Makeconfig [$(build-shared) = yes]
33170         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33171         makefiles.
33172         [$(build-shared) = yes && $(soversions.mk-done) = t]
33173         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33174         [$(build-shared) = yes && $(soversions.mk-done) = t]
33175         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33176         to Makerules.
33177         [$(build-shared) = yes && $(soversions.mk-done) = t]
33178         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33179         here.
33180         [$(build-shared) = yes && $(soversions.mk-done) = t]
33181         (common-generated): Don't append gnu/lib-names.h and
33182         gnu/lib-names.stmp here.
33183         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33184         (lib-names-h-abi): New variable.
33185         [$(build-shared) = yes && $(soversions.mk-done) = t]
33186         (lib-names-stmp-abi): Likewise.
33187         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33188         abi-variants] (before-compile): Append
33189         $(common-objpfx)$(lib-names-h-abi).
33190         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33191         abi-variants] (common-generated): Append gnu/lib-names.h.
33192         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33193         abi-variants] (install-others-nosubdir): Depend on
33194         $(inst_includedir)/$(lib-names-h-abi).
33195         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33196         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33197         [$(build-shared) = yes && $(soversions.mk-done) = t]
33198         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33199         [$(build-shared) = yes && $(soversions.mk-done) = t]
33200         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33201         [$(build-shared) = yes && $(soversions.mk-done) = t]
33202         (common-generated): Append $(lib-names-h-abi) and
33203         $(lib-names-stmp-abi).
33204         * scripts/lib-names.awk: Do not handle multi being set.
33205         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33206         Remove variable.
33207         (abi-lp64_be-ld-soname): Likewise.
33208         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33209         Likewise.
33210         (abi-hard-ld-soname): Likewise.
33211         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33212         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33213         Remove variable.
33214         (abi-o32_hard-ld-soname): Likewise.
33215         (abi-o32_soft_2008-ld-soname): Likewise.
33216         (abi-o32_hard_2008-ld-soname): Likewise.
33217         (abi-n32_soft-ld-soname): Likewise.
33218         (abi-n32_hard-ld-soname): Likewise.
33219         (abi-n32_soft_2008-ld-soname): Likewise.
33220         (abi-n32_hard_2008-ld-soname): Likewise.
33221         (abi-n64_soft-ld-soname): Likewise.
33222         (abi-n64_hard-ld-soname): Likewise.
33223         (abi-n64_soft_2008-ld-soname): Likewise.
33224         (abi-n64_hard_2008-ld-soname): Likewise.
33225         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33226         Likewise.
33227         (abi-64-v2-ld-soname): Likewise.
33228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33229         ld.so entries.
33230         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33231         variable.
33232         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33233         entry.
33234         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33235         variable.
33236         (abi-64-ld-soname): Likewise.
33237         (abi-x32-ld-soname): Likewise.
33238         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33239         entry.
33240         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33242 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33244         [BZ #14138]
33245         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33246         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33247         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33248         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33249         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33250         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33251         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33252         syscall entry for GLIBC_2.2 symbol version.
33253         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33254         Likewise.
33255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33256         (setrlimit): Likewise.
33257         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33258         Likewise.
33260 2014-09-23  Will Newton  <will.newton@linaro.org>
33262         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33263         _LINUX_ARM_SYSDEP_H include guard too.
33264         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33265         define.
33267 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33269         * sysdeps/unix/sysv/linux/eventfd.c:
33270         Make first argument unsigned.
33271         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33272         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33274 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33276         [BZ #16852]
33277         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33278         * socket/sys/socket.h: Likewise.
33279         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33281 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33283         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33285 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33287         * time/tst-ftime.c: New test.
33288         * time/Makefile (tests): Add tst-ftime.
33290 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33292         * soft-fp/extended.h: Fix comment formatting.
33293         * soft-fp/op-1.h: Likewise.
33294         * soft-fp/op-2.h: Likewise.
33295         * soft-fp/op-4.h: Likewise.
33296         * soft-fp/op-8.h: Likewise.
33297         * soft-fp/op-common.h: Likewise.
33298         * soft-fp/soft-fp.h: Likewise.
33300         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33302 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33304         [BZ #6652]
33305         * Makeconfig (soversions-default-setname): Remove variable.
33306         ($(common-objpfx)soversions.i): Don't pass default_setname to
33307         soversions.awk.
33308         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33309         oldest_abi to abi-versions.awk.
33310         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33311         * config.make.in (oldest-abi): Remove variable.
33312         * configure.ac (--enable-oldest-abi): Remove configure option.
33313         * configure: Regenerated.
33314         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33315         text.
33316         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33317         * scripts/soversions.awk: Do not handle default_setname variable.
33318         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33319         variable.
33320         * sysdeps/mach/hurd/configure: Regenerated.
33321         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33322         variable.
33323         * sysdeps/unix/sysv/linux/configure: Regenerated.
33325 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33327         * elf/Makefile (CFLAGS-interp.c): Remove.
33328         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33329         path string.
33330         * elf/interp.c: Include generated runtime-linker.h
33332         * Makerules (lib%.so): Don't include $(+interp) in
33333         prerequisites.
33334         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33335         * dlfcn/eval.c: Remove file.
33337         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33338         macros.
33340         [BZ #17266]
33341         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33342         4.2 and newer.
33344         [BZ #17370]
33345         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33347 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33348             Jakub Jelinek  <jakub@redhat.com>
33350         [BZ #17266]
33351         * libio/stdio.h: Check definition of __fortify_function
33352         instead of __extern_always_inline to include bits/stdio2.h.
33353         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33354         check if __extern_always_inline is defined.
33355         [__USE_MISC || __USE_XOPEN]: Likewise.
33356         [__USE_ISOC99] Likewise.
33357         * misc/sys/cdefs.h (__fortify_function): Define only if
33358         __extern_always_inline is defined.
33359         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33360         __extern_always_inline and __extern_inline only for g++-4.3
33361         and newer or a compatible gcc.
33363 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33365         [BZ #17371]
33366         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33367         last change to handle zero prefix length.
33369 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33371         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33372         _SC_REGEX_VERSION.
33374         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33375         _POSIX_RAW_SOCKETS.
33377 2014-09-13  Allan McRae  <allan@archlinux.org>
33379         * po/ru.po: Update Russian translation from translation project.
33381 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33383         * locale/programs/locale.c (show_locale_vars): Inline local function
33384         into its sole call site.  Clean up some style nits.
33385         (print_item): New function, broken out of ...
33386         (show_info): ... local function here.  Clean up style nits.
33388         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33389         out of ...
33390         (set_class_defaults): ... local function set_default here.
33391         Define set_default as a macro locally to pass constant parameters.
33392         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33393         rather than a shared local.
33395         * stdlib/rpmatch.c (try): New function, broken out of ...
33396         (rpmatch): ... local function here.  Also, prototypify definition.
33398 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33400         * scripts/soversions.awk: Do not handle configuration names.
33401         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33402         vendor and os variables to soversions.awk.
33403         * configure.ac: Do not modify gnu-* host_os.
33404         * configure: Regenerated
33405         * shlib-versions: Remove first column with configuration names.
33406         * nptl/shlib-versions: Likewise.
33407         * nptl_db/shlib-versions: Likewise.
33408         * sysdeps/hppa/shlib-versions: Likewise.
33409         * sysdeps/m68k/shlib-versions: Likewise.
33410         * sysdeps/mach/hurd/shlib-versions: Likewise.
33411         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33412         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33413         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33414         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33415         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33416         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33417         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33418         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33420         Likewise.
33421         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33422         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33423         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33424         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33425         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33426         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33427         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33428         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33431         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33433         Regenerated.
33434         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33436         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33438         * shlib-versions: Remove OS-specific entries.  Moved to files in
33439         sysdeps.
33440         * sysdeps/mach/hurd/shlib-versions: New file.
33441         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33443         * nptl/shlib-versions: Remove architecture-specific entries.
33444         Moved to files in sysdeps.
33445         * shlib-versions: Likewise.
33446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33447         file.
33448         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33449         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33450         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33451         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33453         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33454         (UDP_NO_CHECK6_RX): Likewise.
33456 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33458         * sysdeps/posix/sysconf.c (__sysconf): Spell
33459         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33461 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33463         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33464         loading.
33465         * iconv/Versions (__gconv_transliterate): Export for use from
33466         gconv modules.
33467         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33468         (struct __gconv_trans_data, __gconv_trans_fct,
33469         __gconv_trans_context_fct, __gconv_trans_query_fct,
33470         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33471         definitions.
33472         (struct __gconv_step_data): Remove __trans member.
33473         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33474         longer hidden.  Remove unused trans_data argument.
33475         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33476         (__gconv_translit_find): Remove declaration.
33477         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33478         prototype.
33479         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33480         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33481         trans_data argument.  Add hidden definition.
33482         (__gconv_translit_find): Remove.
33483         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33484         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33485         * iconv/skeleton.c: Remove transliteration initialization.
33486         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33487         __gconv_step_data initialization.
33488         * libio/iofwide.c (__libio_translit_): Remove.
33489         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33490         * wcsmbs/btowc.c (__btowc): Likewise.
33491         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33492         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33493         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33494         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33495         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33496         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33497         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33498         * wcsmbs/wctob.c (wctob): Likewise.
33500 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33502         [BZ #16194]
33503         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33504         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33505         register usage.
33506         * sysdeps/x86/Makefile: Adjust.
33508 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33509             Roland McGrath  <roland@hack.frob.com>
33511         * locale/weight.h: Add include guard.
33512         (findidx): Make static rather than auto; take new parameters
33513         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33514         * locale/weightwc.h: Likewise.
33515         * posix/fnmatch_loop.c
33516         (FCT): Change type of EXTRA from int32_t to wint_t.
33517         Don't include either header inside the function.
33518         Call FINDIDX rather than findidx, and pass new arguments.
33519         #undef FINDIDX at the end of the file.
33520         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33521         FINDIDX before including fnmatch_loop.c for the non-wide version.
33522         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33523         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33524         for the wide version.
33525         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33526         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33527         Pass new arguments to findidx.
33528         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33529         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33530         Don't #include it inside the function.  Pass new arguments to findidx.
33531         * posix/regex_internal.h
33532         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33533         (re_string_elem_size_at): Don't #include it inside the function.
33534         Pass new arguments to findidx.
33535         * string/strcoll_l.c: #include WEIGHT_H at top level.
33536         (get_next_seq): Don't #include it inside the function.
33537         Pass new arguments to findidx.
33538         (get_next_seq_nocache): Likewise.
33539         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33540         (STRXFRM): Don't #include it inside the function.
33541         Pass new arguments to findidx.
33543 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33545         [BZ #17344]
33546         * malloc/malloc.c (unlink): Turn asserts into a call to
33547         malloc_printerr.
33549 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33551         [BZ #17370]
33552         * libio/wfileops (do_ftell_wide): Free OUT.
33554 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33556         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33558 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33560         [BZ #17363]
33561         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33562         group if the current group is empty.
33564 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33566         * benchtests/bench-memset.c (test_main): Add more test from size
33567         from 32 to 512 bytes.
33568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33569         Add POWER8 memset object.
33570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33571         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33572         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33573         implementation.
33574         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33575         Likewise.
33576         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33577         multiarch POWER8 memset optimization.
33578         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33579         POWER8 memset optimization.
33581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33582         Remove bzero multiarch objects.
33583         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33584         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33585         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33586         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33587         Remove define.
33588         [__bzero]: Redefine to specific name.
33589         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33590         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33591         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33592         define.
33593         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33594         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33596 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33598         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33599         warnings into errors.
33601         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33602         __cxa_thread_atexit_impl prototype.
33604 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33606         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33607         Fix capitalization of error message.
33609 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33611         * sysdeps/mips/preconfigure: Modify ABI tests.
33613 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33615         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33617 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33618             Carlos O'Donell  <carlos@systemhalted.org>
33620         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33621         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33622         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33623         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33624         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33625         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33626         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33627         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33628         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33629         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33630         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33631         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33632         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33633         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33634         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33635         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33636         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33637         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33638         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33639         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33640         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33641         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33642         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33643         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33644         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33645         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33646         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33647         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33648         Deconditionalize the code that was previously under [RESET_PID].
33649         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33650         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33651         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33652         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33653         include sysdep.h.
33655 2014-09-08  Allan McRae  <allan@archlinux.org>
33657         * version.h (RELEASE): Set to "development".
33658         (VERSION): Set to "2.20.90"
33660 2014-09-07  Allan McRae  <allan@archlinux.org
33662         * version.h (RELEASE): Set to "stable".
33663         (VERSION): Set to "2.20"
33664         * include/features.h (__GLIBC_MINOR__): Set to 20.
33666         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33667         Liebler.
33669         * po/ko.po: Update Korean translation from translation project.
33671 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33673         [BZ #17354]
33674         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33675         macro for handling signed relocations.
33677 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33679         [BZ #17325]
33680         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33681         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33682         assert.
33683         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33684         * iconvdata/ibm935.c (BODY): Likewise.
33685         * iconvdata/ibm937.c (BODY): Likewise.
33686         * iconvdata/ibm939.c (BODY): Likewise.
33687         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33688         assert.
33689         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33690         script.
33691         * iconvdata/run-iconv-test.sh: New test loop for checking for
33692         decoder crashers.
33694 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33697         libm_hidden_ver.
33699 2014-09-01  Allan McRae  <allan@archlinux.org>
33701         * po/eo.po: Update Esperanto translation from translation project.
33703         * po/ca.po: Update Catalan translation from translation project.
33705 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33707         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33708         __proc_dostop call.
33710 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33712         [BZ #17319]
33713         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33714         to call set_thread_area instead of hand written asm.
33715         (__NR_set_thread_area): Removed define.
33716         (TLS_FLAG_WRITABLE): Likewise.
33717         (__ASSUME_SET_THREAD_AREA): Remove check.
33718         (TLS_EBX_ARG): Remove define.
33719         (TLS_LOAD_EBX): Likewise.
33721 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33723         Simplify atomicity of socket creation in bind.
33725         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33726         looking up the name after linking the file.
33728 2014-08-27  Allan McRae  <allan@archlinux.org>
33730         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33732 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33734         [BZ #17187]
33735         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33736         trans_compare, open_translit, __gconv_translit_find):
33737         Remove module loading code.
33739 2014-08-26  Allan McRae  <allan@archlinux.org>
33741         * po/vi.po: Update Vietnamese translation from translation project.
33743         * po/uk.po: Update Ukrainian translation from translation project.
33745         * po/fr.po: Update French translation from translation project.
33747         * po/ru.po: Update Russian translation from translation project.
33749         * po/pl.po: Update Polish translation from translation project.
33751         * po/cs.po: Update Czech translation from translation project.
33753         * po/de.po: Update German translation from translation project.
33755         * po/bg.po: Update Bulgarian translation from translation project.
33757         * po/sv.po: Update Sweedish translation from translation project.
33759         * po/nl.po: Update Dutch translation from translation project.
33761         * po/es.po: Update Spanish translation from translation project.
33763 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33765         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33767         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33768         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33769         (CPPFLAGS-iconvconfig): Likewise.
33770         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33772         * include/libc-symbols.h: Remove unnecessary check for
33773         NOT_IN_libc.
33774         * nptl/pthreadP.h: Likewise.
33775         * sysdeps/aarch64/setjmp.S: Likewise.
33776         * sysdeps/alpha/setjmp.S: Likewise.
33777         * sysdeps/arm/sysdep.h: Likewise.
33778         * sysdeps/i386/setjmp.S: Likewise.
33779         * sysdeps/m68k/setjmp.c: Likewise.
33780         * sysdeps/posix/getcwd.c: Likewise.
33781         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33782         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33783         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33784         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33785         * sysdeps/sh/sh3/setjmp.S: Likewise.
33786         * sysdeps/sh/sh4/setjmp.S: Likewise.
33787         * sysdeps/unix/alpha/sysdep.h: Likewise.
33788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33789         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33790         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33791         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33796         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33799         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33801         * sysdeps/x86_64/setjmp.S: Likewise.
33803 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33805         [BZ #17263]
33806         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33807         <stdint.h>.
33808         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33809         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33811 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33813         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33815         [BZ #17262]
33816         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33817         and __x86_64__ when disabling x87 inline functions.
33819 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33821         [BZ #17259]
33822         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33823         asm statement with __cpuid_count.
33825 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33827         * configure.ac: Change __ehdr_start code to dereference the struct.
33828         Run readelf on the output to look for relocations.
33829         * configure: Regenerated.
33831 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33833         [BZ #17261]
33834         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33835         value to 0.
33836         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33838 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33840         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33842 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33844         [BZ #16892]
33845         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33846         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33848 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33850         * malloc/malloc.c: Fix typo in comment.
33852 2014-08-09  Allan McRae  <allan@archlinux.org>
33854         * Regenerate libc.po.
33856 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33858         * intl/tst-gettext2.sh: Check every lang file for creation.
33860 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33862         * sysdeps/aarch64/fpu/math_private.h
33863         (libc_feholdsetround_noex_aarch64_ctx): New function.
33865 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33867         * sysdeps/arm/armv6/strcpy.S (strcpy):
33868         Fix performance issue in misaligned cases.
33870 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33872         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33873         Move definition from termios.h.
33874         (struct termio): Likewise.
33875         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33876         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33877         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33878         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33879         Likewise.
33880         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33881         Move definition to ioctl-types.h
33882         (struct termio): Likewise.
33883         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33884         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33885         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33886         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33887         Likewise.
33889 2014-08-05  Richard Henderson  <rth@redhat.com>
33891         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33892         exceptions.
33893         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33894         Add fraiseexcpt.
33895         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33896         Use __feraiseexcept.
33897         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33898         Protect libm symbols with IS_IN_libm.
33900         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33902 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33904         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33906 2014-08-04  Will Newton  <will.newton@linaro.org>
33908         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33909         file.
33911 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33913         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33914         variants for each function.
33916 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33918         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33919         appended ...
33920         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33921         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33922         appended ...
33923         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33924         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33925         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33926         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33927         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33928         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33929         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33930         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33931         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33932         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33933         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33934         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33943         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33945         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33946         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33949         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33950         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33951         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33952         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33953         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33954         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33955         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33956         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33957         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33958         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33959         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33960         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33961         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33962         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33963         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33965         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33967         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33968         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33969         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33970         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33971         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33972         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33973         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33974         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33975         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33976         Update #include.
33977         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33978         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33980 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33982         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33983         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33984         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33985         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33986         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33987         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33989 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33991         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33992         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33993         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33994         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33996 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33998         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33999         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34000         (__libc_vfork): Define function under this name.
34001         (__vfork): Define as an alias.
34002         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34003         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34005 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34007         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34008         that was previously under [RESET_PID].
34009         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34011 2014-08-04  Andreas Schwab  <schwab@suse.de>
34013         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34015 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
34017         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34018         (main): Likewise.
34020 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34022         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34024 2014-08-01  Richard Henderon  <rth@redhat.com>
34026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34027         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34028         typo in exact zero test.
34029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34030         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34033 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34035         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34036         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34037         * sysdeps/arm/sysdep.h: ... here.
34038         [!__ASSEMBLER__]: Include <stdint.h>.
34040 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34042         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34043         (HAVE_WCTYPE_H): Likewise.
34044         (HAVE_ISWCTYPE): Likewise.
34045         (ENABLE_NLS): Likewise.
34046         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34047         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34049         * posix/regex_internal.c: Check if DEBUG is defined and is
34050         set.
34052         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34053         (HAVE_MBSRTOWCS): Likewise.
34054         * posix/fnmatch.c: Include string.h unconditionally.
34056 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34058         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34059         reversal.
34061 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34063         * sysdeps/generic/safe-fatal.h: New file.
34064         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34065         * nptl/forward.c: Include it.
34066         (__pthread_unwind): Use __safe_fatal as default action, rather
34067         than a bogus use of INTERNAL_SYSCALL that could never work.
34069         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34070         * configure.ac (libc_cv_builtin_trap): New test.
34071         * configure: Regenerated.
34072         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34073         (ABORT_INSTRUCTION): Define using __builtin_trap.
34075         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34076         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34077         * sysdeps/nptl/nptl-signals.h: New file.
34078         * nptl/pthreadP.h: Include <nptl-signals.h>.
34080 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34082         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34083         (ONE_DIRECTION): Define.
34084         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34085         (ONE_DIRECTION): Define.
34086         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34087         (ONE_DIRECTION): Define.
34089 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34091         * sysdeps/s390/Makefile: Delete file.
34092         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34093         * sysdeps/s390/__longjmp.c: Delete file.
34094         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34095         Remove fields __flags and __reserved.
34096         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34097         and add versioning.
34098         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34099         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34100         * sysdeps/s390/rtld-setjmp.S: Likewise.
34101         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34102         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34103         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34104         * sysdeps/s390/s390-32/setjmp.S: ... here.
34105         Add versioning.
34106         (__sigsetjmp): Remove setting __flags field.
34107         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34108         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34109         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34110         * sysdeps/s390/s390-64/setjmp.S: ... here.
34111         Add versioning.
34112         (__sigsetjmp): Remove setting __flags field.
34113         * sysdeps/s390/setjmp.S: Delete file.
34114         * sysdeps/s390/sigjmp.c: Likewise.
34115         * sysdeps/s390/v1-longjmp.c: Likewise.
34116         * sysdeps/s390/v1-setjmp.h: Likewise.
34117         * sysdeps/s390/v1-sigjmp.c: Likewise.
34118         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34119         Remove v1-longjmp_chk.
34120         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34121         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34122         Include debug/longjmp_chk.c and add versioning.
34123         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34124         Include nptl/pt-longjmp.c and add versioning.
34125         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34126         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34127         Include __longjmp.c.
34128         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34129         Move to ...
34130         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34131         (__getcontext): Remove setting __flags field.
34132         Add versioning.
34133         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34134         Don't restore upper high grps.
34135         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34136         Likewise.
34137         (__swapcontext): Remove setting uc_flags field.
34138         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34139         Delete file.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34141         Include __longjmp.c.
34142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34143         Move to ...
34144         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34145         (__getcontext): Remove setting __flags field.
34146         Add versioning.
34147         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34148         (__swapcontext): Remove setting uc_flags field.
34149         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34150         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34151         Remove fields uc_high_gprs and __reserved.
34152         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34153         New file with reverted content.
34154         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34155         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34156         Regenerated.
34157         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34158         Regenerated.
34160 2014-07-31  Andreas Schwab  <schwab@suse.de>
34162         * config.h.in (HAVE_IFUNC): Define to 0.
34163         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34164         definedness.
34166 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34169         memmove-avx-unaligned, memcpy-avx-unaligned and
34170         mempcpy-avx-unaligned.
34171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34172         Add tests for AVX memcpy functions.
34173         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34174         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34175         memcpy_chk.
34176         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34177         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34178         memmove_chk.
34179         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34180         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34181         mempcpy_chk.
34182         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34183         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34184         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34186 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34188         [BZ #17213]
34189         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34190         powerpc64le.
34192 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34194         [BZ #16839]
34195         * manual/llio.texi: Add section about open file description locks.
34196         * manual/examples/ofdlocks.c: Example of open file description
34197         lock usage.
34198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34199         F_OFD_SETLK, and F_OFD_SETLKW.
34201 2014-07-23  Allan McRae  <allan@archlinux.org>
34203         * po/es.po: Update Spanish translation from translation project.
34205 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34209 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34211         [BZ #17078]
34212         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34213         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34214         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34216 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34218         [BZ #17088]
34219         * math/fesetenv.c (__fesetenv)
34220         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34221         * math/feupdateenv.c (__feupdateenv)
34222         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34224         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34225         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34226         (__ASSUME_SOCKETCALL): Do not define.
34228         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34229         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34230         (__ASSUME_SOCKETCALL): Do not define.
34231         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34232         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34233         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34234         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34235         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34236         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34237         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34238         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34240         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34241         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34242         (__ASSUME_SOCKETCALL): Do not define.
34243         (__ASSUME_IPC64): Define unconditionally.
34244         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34245         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34246         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34247         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34248         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34249         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34250         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34251         Likewise.
34253         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34254         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34255         (__ASSUME_SOCKETCALL): Do not define.
34256         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34257         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34258         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34259         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34260         (__ASSUME_REQUEUE_PI): Define unconditionally.
34261         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34262         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34263         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34264         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34265         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34266         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34268         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34269         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34270         (__ASSUME_SOCKETCALL): Do not define.
34271         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34272         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34273         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34274         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34276         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34278         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34279         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34280         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34281         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34282         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34283         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34284         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34285         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34286         (__ASSUME_GETCPU_SYSCALL): Likewise.
34288         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34289         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34290         cases for individual architectures.
34291         * sysdeps/gnu/configure: Regenerated.
34292         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34293         LIBC_SLIBDIR_RTLDDIR.
34294         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34295         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34296         LIBC_SLIBDIR_RTLDDIR.
34297         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34299         LIBC_SLIBDIR_RTLDDIR.
34300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34301         Regenerated.
34302         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34303         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34304         file.
34305         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34306         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34307         file.
34308         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34309         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34310         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34311         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34313         * sysdeps/aarch64/shlib-versions: Move to ...
34314         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34315         * sysdeps/alpha/shlib-versions: Move to ...
34316         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34317         * sysdeps/arm/shlib-versions: Move to ...
34318         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34319         * sysdeps/hppa/shlib-versions: Move all contents except for
34320         libgcc_s entry to ...
34321         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34322         entry from ...
34323         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34324         * sysdeps/ia64/shlib-versions: Move to ...
34325         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34326         entry from ...
34327         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34328         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34329         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34330         * sysdeps/microblaze/shlib-versions: Move to ...
34331         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34332         * sysdeps/mips/shlib-versions: Move to ...
34333         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34334         entry from ...
34335         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34336         * sysdeps/tile/shlib-versions: Move to ...
34337         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34338         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34339         from ...
34340         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34341         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34342         entry from ...
34343         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34345 2014-07-17  Will Newton  <will.newton@linaro.org>
34347         * sysdeps/arm/bits/atomic.h
34348         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34349         (__arch_compare_and_exchange_bool_16_int): Likewise.
34350         (__arch_compare_and_exchange_bool_64_int): Likewise.
34352         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34353         into an #else block.
34355 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34357         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34358         just Linux configurations.  Test empirically that the compiler sets
34359         __ARM_EABI__, rather than using the tuple to decide.
34360         * sysdeps/arm/preconfigure: Regenerated.
34361         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34362         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34363         contents appended ...
34364         * sysdeps/arm/configure.ac: ... here.
34365         * sysdeps/arm/configure: Regenerated.
34367 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34369         * nptl/pthread_kill.c: New file.
34370         * nptl/pthread_sigmask.c: New file.
34371         * nptl/pthread_sigqueue.c: New file.
34373         * sysdeps/nptl/lowlevellock.h: New file.
34374         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34375         * sysdeps/nptl/lowlevellock-futex.h: New file.
34377         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34378         Remove dead declarations.
34380 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34382         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34383         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34384         config-cflags-avx2.
34385         * sysdeps/x86_64/configure.ac: Likewise.
34386         * sysdeps/i386/configure: Regenerated.
34387         * sysdeps/x86_64/configure: Likewise.
34388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34389         memset-avx2 only if config-cflags-avx2 is yes.
34390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34391         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34392         defined.
34393         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34394         only if HAVE_AVX2_SUPPORT is defined.
34395         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34397 2014-07-14  Alan Modra  <amodra@gmail.com>
34399         [BZ #17153]
34400         * elf/elf.h (DT_PPC64_NUM): Correct value.
34401         * NEWS: Add to fixed bug list.
34403 2014-07-13  Jim Meyering  <meyering@fb.com>
34405         [BZ 17150]
34406         regex: don't deref NULL upon heap allocation failure
34407         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34408         failure in one more place.
34409         To trigger the segfault, configure grep -with-included-regex,
34410         build it, and run these commands:
34411         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34413 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34415         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34417 2014-07-11  Richard Henderson  <rth@redhat.com>
34419         * sysdeps/aarch64/libm-test-ulps: Update.
34421 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34423         [BZ #17135]
34424         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34425         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34426         (__nptl_setxid): Initialize error member.  Call
34427         __nptl_setxid_error.
34428         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34429         * nptl/descr.h (struct xid_command): Add error member.
34430         * nptl/tst-setuid3.c: New file.
34431         * nptl/Makefile (tests): Add it.
34433 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34435         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34436         New define.
34437         (__lll_trylock): Use __lll_base_trylock.
34438         (__lll_cond_trylock): Likewise.
34440 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34442         * nptl/pthread_create.c (start_thread): Use atomic_or and
34443         lll_futex_wake directly rather than lll_robust_dead.
34444         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34445         (lll_robust_dead): Macro removed.
34446         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34447         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34448         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34449         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34450         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34451         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34452         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34453         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34454         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34456         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34457         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34458         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34459         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34460         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34462         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34463         Use atomic_compare_and_exchange_val_acq directly rather than
34464         lll_robust_trylock.
34465         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34466         (__lll_robust_trylock, lll_robust_trylock): Removed.
34467         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34468         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34469         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34471         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34472         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34473         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34474         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34475         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34476         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34477         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34478         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34479         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34482 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34484         * manual/locale.texi (Locale Names): New section documenting
34485         locale name syntax.  Adjust menu and node chaining accordingly.
34486         (Choosing Locale): Reference Locale Names, Locale Categories.
34487         Mention setting LC_ALL=C.  Reflect that name syntax is now
34488         documented.
34489         (Locale Categories): New section title.  Reference Locale Names.
34490         LC_ALL is an environment variable, but not a category.
34491         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34492         description, now in Locale Name.  Reference that section.  Locale
34493         name syntax is now documented.
34495 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34497         [BZ #17137]
34498         * locale/findlocale.c (name_present, valid_locale_name): New
34499         functions.
34500         (_nl_find_locale): Use the loc_name variable to store name
34501         candidates.  Call name_present and valid_locale_name to check and
34502         validate locale names.  Return an error if the locale is invalid.
34504 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34506         * locale/setlocale.c (setlocale): Use strdup for allocating
34507         composite name copy.
34509 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34511         Sync up with gnulib.
34512         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34513         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34514         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34515         and _GL_ARG_NONNULL.
34516         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34517         [!_LIBC]: Include code for Windows and Cygwin.
34518         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34519         Include prototype for int strerror_r.
34520         [!_LIBC] (is_open): New function.
34521         (flush_stdout): New function.
34522         (print_errno_message): Use it.
34523         (error): Likewise.
34524         (error_at_line): Likewise.
34525         (error_tail) Add function attribute macros.  Use
34526         __builtin_expect.
34528         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34530         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34532         * io/ftw.c: Include sys/param.h unconditionally.
34534         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34536         [BZ #17125]
34537         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34538         libc_freeres_ptr.
34539         (freecache): New function to free CACHE on exit.
34541         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34542         initialization.
34544 2014-07-09  David S. Miller  <davem@davemloft.net>
34546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34548         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34549         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34550         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34551         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34552         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34553         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34554         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34555         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34556         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34557         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34558         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34559         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34560         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34562 2014-07-09  Andreas Schwab  <schwab@suse.de>
34564         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34565         output.
34566         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34567         (do_test): Likewise.
34569         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34571 2014-07-09  Will Newton  <will.newton@linaro.org>
34573         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34574         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34575         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34576         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34577         * sysdeps/hppa/start.S (_start): Likewise.
34579 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34581         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34583         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34584         defined.
34586 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34588         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34589         after checking that it is non-NULL.
34591         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34593 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34595         * sysdeps/powerpc/memmove.c: Remove file.
34596         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34597         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34599         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34600         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34601         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34602         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34603         string memmove instead of removed powerpc one.
34605         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34606         [weak_alias]: Fix compiler warning due trailing data.
34607         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34608         [weak_alias]: Likewise.
34609         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34610         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34613         (__libc_ifunc_impl_list): Add memmove functions.
34615 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34617         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34618         Remove code.
34619         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34620         Likewise.
34621         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34622         Likewise.
34623         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34624         Likewise.
34625         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34626         Likewise.
34627         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34628         Likewise.
34629         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34630         Likewise.
34631         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34632         Likewise.
34633         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34634         Likewise.
34635         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34636         Likewise.
34637         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34638         Likewise.
34639         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34640         Likewise.
34641         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34642         Likewise.
34643         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34644         Likewise.
34645         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34646         Likewise.
34647         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34648         Likewise.
34649         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34650         Likewise.
34652 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34654         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34655         to avoid alignment traps in non-cacheable memory.
34656         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34659         multiarch objects.
34660         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34661         file: multiarch power7 memmove.
34662         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34663         multiarch default memmove.
34664         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34665         multiarch memove for powerpc32/power4.
34667         * string/bcopy.c: Use full path to include memmove.c.
34668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34669         multiarch objects.
34670         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34671         bcopy for powerpc64.
34672         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34673         bcopy for powerpc64.
34674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34675         and memmove implementations.
34676         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34677         optimized multiarch memmove for POWER7/powerpc64.
34678         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34679         default multiarch memmove for powerpc64.
34680         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34681         multiarch for powerpc64.
34682         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34683         for POWER7/powerpc64.
34684         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34685         memmove for POWER7/powerpc64.
34687         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34688         glibc default one.
34690         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34691         __ELF_NATIVE_CLASS equal to 64.
34693 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34695         * sysdeps/nptl/lowlevellock.h: File removed.
34697         * NEWS: NPTL is no longer an add-on!
34698         * nptl/internaltypes.h: Moved ...
34699         * sysdeps/nptl/internaltypes.h: ... here.
34700         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34701         * sysdeps/nptl/fork.c: Likewise.
34702         * sysdeps/nptl/gai_misc.h: Likewise.
34703         * sysdeps/nptl/librt-cancellation.c: Likewise.
34704         * sysdeps/nptl/jmp-unwind.c: Likewise.
34705         * sysdeps/nptl/setxid.h: Likewise.
34706         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34707         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34708         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34709         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34710         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34711         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34712         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34713         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34714         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34715         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34716         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34717         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34718         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34719         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34720         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34721         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34722         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34723         * nptl/Makeconfig: Moved ...
34724         * sysdeps/nptl/Makeconfig: ... here.
34725         * nptl/configure: File removed.
34726         * nptl/ANNOUNCE: File removed.
34727         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34728         * sysdeps/unix/sysv/linux/configure: Regenerated.
34730         * nptl/Makefile (routines): Add libc_pthread_init,
34731         libc_multiple_threads, register-atfork and unregister-atfork.
34732         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34733         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34734         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34735         pthread-pi-defines.sym, structsem.sym.
34736         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34737         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34738         [$(subdir) = nptl] (tests): Add tst-setgetname.
34739         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34740         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34741         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34742         [!LIBC_SIGACTION]: Remove aliases.
34743         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34744         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34745         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34746         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34747         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34748         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34749         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34750         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34751         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34752         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34753         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34754         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34755         __libc_allocate_rtsig_private.
34756         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34757         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34758         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34759         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34760         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34761         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34762         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34763         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34764         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34765         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34766         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34767         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34768         * nptl/internaltypes.h: ... here.
34769         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34770         * sysdeps/nptl/jmp-unwind.c: ... here.
34771         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34772         * nptl/libc-lowlevellock.c: ... here.
34773         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34774         * nptl/libc_multiple_threads.c: ... here.
34775         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34776         * nptl/libc_pthread_init.c: ... here.
34777         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34778         * nptl/lowlevelbarrier.sym: ... here.
34779         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34780         * nptl/lowlevelcond.sym: ... here.
34781         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34782         * nptl/lowlevellock.c: ... here.
34783         * nptl/lowlevellock.h: Moved ...
34784         * sysdeps/nptl/lowlevellock.h: ... here.
34785         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34786         * nptl/lowlevelrobustlock.c: ... here.
34787         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34788         * nptl/lowlevelrobustlock.sym: ... here.
34789         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34790         * nptl/lowlevelrwlock.sym: ... here.
34791         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34792         * nptl/pt-fork.c: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34794         * nptl/pthread-pi-defines.sym: ... here.
34795         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34796         * nptl/pthread_attr_getaffinity.c: ... here.
34797         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34798         * nptl/pthread_attr_setaffinity.c: ... here.
34799         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34800         * nptl/pthread_mutex_cond_lock.c: ... here.
34801         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34802         Update #include.
34803         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34804         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34805         * nptl/pthread_once.c: ... here, replacing old file.
34806         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34807         * nptl/pthread_yield.c: ... here.
34808         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34809         * nptl/register-atfork.c: ... here.
34810         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34811         * nptl/sem_post.c: ... here.
34812         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34813         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34814         * nptl/sem_timedwait.c: ... here.
34815         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34816         * nptl/sem_trywait.c: ... here.
34817         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34818         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34819         * nptl/sem_wait.c: ... here.
34820         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34821         * nptl/structsem.sym: ... here.
34822         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34823         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34824         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34825         * nptl/unregister-atfork.c: ... here.
34826         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34827         * nptl/unwindbuf.sym: ... here.
34828         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34829         * sysdeps/nptl/fork.c: ... here.
34830         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34831         * sysdeps/nptl/fork.h: ... here.
34832         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34833         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34834         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34835         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34836         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34837         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34838         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34839         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34840         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34841         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34842         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34843         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34844         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34845         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34846         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34847         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34848         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34849         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34850         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34851         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34852         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34853         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34854         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34855         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34856         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34857         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34858         * sysdeps/unix/sysv/linux/raise.c: ... here.
34859         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34860         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34861         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34862         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34863         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34864         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34865         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34866         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34867         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34868         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34869         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34870         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34871         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34872         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34873         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34875 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34877         * sysdeps/generic/memcopy.h: Add comment for
34878         MEMCPY_OK_FOR_FWD_MEMMOVE.
34880 2014-07-04  Will Newton  <will.newton@linaro.org>
34882         * string/memchr.c: Merge from gnulib.
34883         [_LIBC]: Remove conditionals.
34884         (__ptr_t): Remove define.
34885         (LONG_MAX_32_BITS): Likewise.
34886         (LONG_MAX): Likewise.
34887         (MEMCHR): Use ANSI prototype and optimize algorithm.
34889         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34891 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34893         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34894         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34896         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34897         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34898         in a bare environment with no <stdlib.h> installed.
34899         * sysdeps/nptl/configure: Regenerated.
34901         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34903         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34904         AC_EGREP_CPP for kernel header checks, so they only succeed if
34905         including <linux/version.h> actually works right.
34906         * sysdeps/unix/sysv/linux/configure: Regenerated.
34908         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34909         value so it's not diagnosed as unused.
34911         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34912         thing) with "ifeq ($(subdir),rt)".
34914 2014-07-03  Richard Henderson  <rth@redhat.com>
34916         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34917         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34918         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34920         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34921         (math_force_eval): New.
34923         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34924         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34926         * sysdeps/alpha/fpu/s_round.c: Remove file.
34927         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34929         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34930         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34931         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34932         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34933         (_dl_start, print_statistics): Likewise.
34934         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34935         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34937         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34938         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34939         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34940         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34942         (HP_SMALL_TIMING_AVAIL): Define.
34943         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34944         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34945         (HP_SMALL_TIMING_AVAIL): Define.
34946         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34947         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34949         * sysdeps/aarch64/hp-timing.h: New file.
34951         * sysdeps/generic/hp-timing.h: Remove dead comment.
34952         * sysdeps/generic/hp-timing-common.h: New file.
34953         * sysdeps/alpha/hp-timing.h: Include it.
34954         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34955         * sysdeps/i386/i686/hp-timing.h: Likewise.
34956         * sysdeps/ia64/hp-timing.h: Likewise.
34957         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34958         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34959         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34960         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34961         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34962         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34963         (hp_timing_t): New.
34965         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34966         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34967         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34968         * elf/rtld.c (_dl_start_final): Likewise.
34969         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34970         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34971         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34972         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34973         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34975         (HP_TIMING_DIFF_INIT): Remove.
34976         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34977         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34978         (HP_TIMING_DIFF_INIT): Remove.
34979         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34980         * sysdeps/i386/i686/hp-timing.c: Remove file.
34981         * sysdeps/x86_64/hp-timing.c: Remove file.
34982         * sysdeps/ia64/hp-timing.c: Remove file.
34983         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34984         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34985         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34986         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34988         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34989         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34990         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34991         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34992         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34993         (HP_TIMING_ACCUM): Remove.
34994         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34995         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34996         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34998         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34999         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35000         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35001         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35002         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35003         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35004         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35005         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35007         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35009 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
35011         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35013 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35015         Sync up with gettext.
35016         * intl/loadmsgcat.c: Define O_BINARY if not defined.
35017         [_MSC_VER]: Include malloc.h
35018         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35019         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35020         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
35021         TEMP_FAILURE_RETRY.  Cast return of alloca.
35022         [!_LIBC] Call gl_rwlock_init.
35023         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35025 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35027         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35028         before checking its value.
35030 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35032         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35034         * debug/memcpy_chk.c: Don't include pagecopy.h.
35035         * debug/mempcpy_chk.c: Likewise.
35036         * string/memcpy.c: Likewise.
35037         * string/memmove.c: Likewise.
35038         * sysdeps/powerpc/memmove.c: Likewise.
35039         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
35040         definition of PAGE_COPY_FWD_MAYBE here...
35041         * sysdeps/generic/pagecopy.h: ... from here.
35042         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35044 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35045             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35047         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35049         optimizations.
35050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35051         (__libc_ifunc_impl_list): Likewise.
35052         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35053         multiarch strcat for PPC64.
35054         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35055         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35057 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35059         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35061 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35063         * intl/loadmsgcat.c: Remove declaration of
35064         get_sysdep_segment_value.
35065         (get_sysdep_segment_value): Use ISO C style.
35066         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35067         semicolon.  Fix typo and formatting in comment.
35068         (_nl_unload_domain): Use ISO C style.
35070         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35072 2014-07-02  Will Newton  <will.newton@linaro.org>
35074         * malloc/obstack.c: Merge from gnulib master.
35075         [HAVE_CONFIG_H]: Remove conditional code.
35076         [!_LIBC]: Include config.h.
35077         [!ELIDE_CODE]: Don't include inttypes.h, include
35078         stdint.h unconditionally.
35079         (print_and_abort): Mark as _Noreturn.
35080         (_obstack_allocated_p): Mark as __attribute_pure__.
35081         (obstack_free): Rename to __obstack_free.
35082         [!__attribute__]: Remove conditional code.
35083         * malloc/obstack.h: Merge from gnulib master.
35084         [__cplusplus]: Move conditional down.
35085         [!__attribute_pure__]: Define __attribute_pure__ here
35086         if it is not already defined.
35087         (_obstack_memory_used): Mark as __attribute_pure__.
35088         [!__obstack_free]: Define as obstack_free.
35089         [__GNUC__]: Remove check for ancient NeXT gcc.
35091 2014-07-02  Will Newton  <will.newton@linaro.org>
35092             Paul Eggert  <eggert@cs.ucla.edu>
35094         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35096 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35098         * resolv/gethnamaddr.c: Add comment warning that the file is
35099         not maintained.
35101 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35103         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35104         entries.
35106         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35107         entry for aio_cancel and aio_cancel64.
35108         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35109         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35110         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35111         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35112         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35113         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35114         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35115         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35116         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35117         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35118         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35119         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35120         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35122 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35124         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35125         * nptl/pthread_mutex_lock.c: Likewise.
35126         * nptl/pthread_mutex_timedlock.c: Likewise.
35127         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35129 2014-07-01  Richard henderson  <rth@redhat.com>
35131         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35132         (__isnan, __isnanl): Remove.
35133         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35135         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35137 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35139         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35141 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35143         * resolv/nss_dns/dns-host.c (getanswer_r)
35144         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35146 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35149         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35150         undefine.
35151         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35152         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35154 2014-07-01  Roland McGrath <roland@hack.frob.com>
35156         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35157         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35159         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35160         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35162         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35163         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35164         ... here.
35165         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35166         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35168         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35169         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35170         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35171         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35173         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35174         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35175         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35176         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35177         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35178         Moved ...
35179         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35180         ... here.
35181         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35182         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35183         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35184         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35185         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35186         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35187         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35188         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35189         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35190         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35191         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35192         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35193         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35194         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35195         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35196         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35197         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35198         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35199         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35200         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35201         ... here.
35202         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35203         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35204         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35205         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35206         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35207         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35208         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35209         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35211 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35213         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35214         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35215         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35216         Add sysdep.
35218 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35222 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35224         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35225         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35227         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35229         * sysdeps/arm/libm-test-ulps: Regenerated.
35231 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35232             Roland McGrath <roland@hack.frob.com>
35234         * test-skeleton.c (signal_handler): Kill the whole process group
35235         before killing the child individually.
35236         (main): Report any failure on `setpgid'.
35238 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35240         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35241         from _TLS_H to _ARM_NPTL_TLS_H.
35242         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35243         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35245 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35247         [BZ #16539]
35248         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35249         (__expm1l): Return argument unchanged when small but not
35250         subnormal.
35252         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35253         include macro name.
35254         (_FP_UNPACK_RAW_1_P): Likewise.
35255         (_FP_PACK_RAW_1): Likewise.
35256         (_FP_PACK_RAW_1_P): Likewise.
35257         (_FP_MUL_MEAT_1_wide): Likewise.
35258         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35259         (_FP_MUL_MEAT_1_hard): Likewise.
35260         (_FP_DIV_MEAT_1_imm): Likewise.
35261         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35262         (_FP_DIV_MEAT_1_udiv): Likewise.
35263         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35264         (_FP_UNPACK_RAW_2): Likewise.
35265         (_FP_UNPACK_RAW_2_P): Likewise.
35266         (_FP_PACK_RAW_2): Likewise.
35267         (_FP_PACK_RAW_2_P): Likewise.
35268         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35269         (_FP_MUL_MEAT_2_wide): Likewise.
35270         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35271         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35272         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35273         (_FP_MUL_MEAT_2_gmp): Likewise.
35274         (_FP_DIV_MEAT_2_udiv): Likewise.
35275         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35276         (_FP_FRAC_SRL_4): Likewise.
35277         (_FP_FRAC_SRST_4): Likewise.
35278         (_FP_FRAC_SRS_4): Likewise.
35279         (_FP_UNPACK_RAW_4): Likewise.
35280         (_FP_UNPACK_RAW_4_P): Likewise.
35281         (_FP_PACK_RAW_4): Likewise.
35282         (_FP_PACK_RAW_4_P): Likewise.
35283         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35284         (_FP_MUL_MEAT_4_wide): Likewise.
35285         (_FP_MUL_MEAT_4_gmp): Likewise.
35286         (umul_ppppmnnn): Likewise.
35287         (_FP_DIV_MEAT_4_udiv): Likewise.
35288         (__FP_FRAC_ADD_4): Likewise.
35289         (__FP_FRAC_SUB_3): Likewise.
35290         (__FP_FRAC_SUB_4): Likewise.
35291         (__FP_FRAC_DEC_3): Likewise.
35292         (__FP_FRAC_DEC_4): Likewise.
35293         (__FP_FRAC_ADDI_4): Likewise.
35294         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35295         (_FP_FRAC_SRL_8): Likewise.
35296         (_FP_FRAC_SRS_8): Likewise.
35298         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35299         include macro name.
35300         (FP_UNPACK_RAW_EP): Likewise.
35301         (FP_PACK_RAW_E): Likewise.
35302         (FP_PACK_RAW_EP): Likewise.
35303         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35304         (_FP_ISSIGNAN): Likewise.
35305         (_FP_ADD_INTERNAL): Likewise.
35306         (_FP_FMA): Likewise.
35307         (_FP_CMP): Likewise.
35308         (_FP_SQRT): Likewise.
35309         (_FP_TO_INT): Likewise.
35310         (_FP_FROM_INT): Likewise.
35311         (FP_EXTEND): Likewise.
35312         (_FP_DIV_MEAT_N_loop): Likewise.
35314 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35316         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35317         throughout.
35319 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35321         [BZ #17097]
35322         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35323         result with correct sign in case of exponents that produce
35324         overflow except for X very close to 1.
35326 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35328         mktime: merge #if/#ifdef usage from glibc
35329         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35330         as that works with both Glibc's and Gnulib's style.
35331         See thread starting at Siddhesh Poyarekar's bug report at:
35332         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35334 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35336         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35337         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35338         * sysdeps/tile/tilegx/memmove.c: Remove file.
35340 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35342         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35343         abi-name definition.
35344         * scripts/soversions.awk: Do not handle or generate ABI lines.
35345         * shlib-versions: Remove ABI entries.
35346         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35347         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35349 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35352         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35353         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35354         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35356         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35358         Moved ...
35359         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35360         ... here.
35361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35362         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35364         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35366         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35368         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35370         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35372         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35374         Moved ...
35375         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35377         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35381         Moved ...
35382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35384         Moved ...
35385         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35387         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35389         Moved ...
35390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35392         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35394         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35396         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35398         Moved ...
35399         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35401         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35402         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35403         Moved ...
35404         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35406         Moved ...
35407         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35409         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35411         Moved ...
35412         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35413         ... here.
35414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35415         Identical file removed.
35416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35417         Moved ...
35418         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35420         Identical file removed.
35421         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35422         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35424         Moved ...
35425         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35427         Identical file removed.
35428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35429         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35431         Identical file removed.
35432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35435         Identical file removed.
35436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35437         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35439         Identical file removed.
35440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35441         Moved ...
35442         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35444         Identical file removed.
35445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35446         Moved ...
35447         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35448         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35449         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35451         Identical file removed.
35452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35453         Moved ...
35454         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35455         ... here.
35456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35457         Identical file removed.
35458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35459         Moved ...
35460         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35462         Identical file removed.
35463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35464         Moved ...
35465         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35467         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35468         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35469         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35470         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35471         Moved ...
35472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35473         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35474         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35476         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35477         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35478         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35479         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35480         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35482 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35484         [BZ #17092]
35485         * nscd/nscd.c (monitor_child): Return exit status of child
35486         instead of return value from wait syscall.
35488 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35490         * configure.ac (libc_commonpagesize): Remove variable.
35491         (libc_relro_required): Likewise.
35492         (libc_cv_z_relro): Remove configure test.
35493         * configure: Regenerated.
35494         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35495         variable.
35496         (libc_relro_required): Likewise.
35497         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35498         (libc_relro_required): Likewise.
35499         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35500         (libc_relro_required): Likewise.
35501         * sysdeps/arm/preconfigure: Regenerated.
35502         * sysdeps/ia64/preconfigure: Remove file.
35503         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35504         variable.
35505         (libc_relro_required): Likewise.
35507         [BZ #16561]
35508         [BZ #16562]
35509         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35510         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35511         recompute overflowing results in original rounding mode.
35512         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35513         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35514         recompute overflowing results in original rounding mode.
35515         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35516         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35517         recompute overflowing results in original rounding mode.
35518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35519         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35520         recompute overflowing results in original rounding mode.
35521         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35522         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35523         recompute overflowing results in original rounding mode.
35524         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35525         (libc_feholdsetround_ctx): New macro.
35526         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35527         * sysdeps/i386/fpu/libm-test-ulps: Update.
35528         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35530 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35532         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35533         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35534         corresponding .cpsetup call.
35536 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35538         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35539         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35540         * sysdeps/arm/Makefile [$(subdir) = csu]
35541         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35542         (static-only-routines): Add aeabi_read_tp here.
35543         (shared-only-routines): Add libc-aeabi_read_tp here.
35544         (CFLAGS-libc-start.c): Add -fexceptions here.
35545         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35546         (sysdep_routines, static-only-routines, shared-only-routines):
35547         Don't add to these here.
35548         (CFLAGS-libc-start.c): Likewise.
35550         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35551         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35552         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35553         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35554         * sysdeps/arm/Makefile [$(subdir) = rt]
35555         (librt-sysdep_routines, librt-shared-only-routines):
35556         Append rt-aeabi_unwind_cpp_pr1 here.
35557         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35558         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35559         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35560         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35561         Append nptl-aeabi_unwind_cpp_pr1 here.
35562         (tests): Filter out tst-cleanupx4 here.
35563         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35564         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35565         Don't do those here.
35567 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35569         * scripts/list-sources.sh: Do not handle ports specially.
35571 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35573         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35574         * sysdeps/arm/feupdateenv.c: Likewise.
35576         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35580         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35581         trailing whitespace removed.
35582         * scripts/config.guess: Update to version 2014-03-23.
35583         * scripts/config.sub: Update to version 2014-05-01
35584         * scripts/install-sh: Update to version 2013-12-25.23.
35585         * scripts/move-if-change: Update from gnulib.
35587 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35589         * debug/memmove_chk.c: Remove pagecopy.h include.
35591 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35593         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35594         identical to gnulib mktime.
35596 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35598         * configure.ac: Do not test for machine being rs6000.  Do not test
35599         for powerpc*-*soft.
35600         * configure: Regenerated.
35602         [BZ #11505]
35603         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35604         test.
35605         * configure: Regenerated.
35606         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35607         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35608         Remove configure test.
35609         * sysdeps/arm/configure: Regenerated.
35610         * sysdeps/nptl/configure.ac: Do not check
35611         libc_cv_asm_cfi_directives.
35612         * sysdeps/nptl/configure: Regenerated.
35613         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35614         * sysdeps/x86_64/nptl/configure: Remove generated file.
35615         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35616         unconditional.
35617         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35619 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35621         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35622         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35623         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35624         it is defined.
35626         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35627         instead of whether it is defined.
35628         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35629         * sysdeps/hppa/dl-machine.h: Likewise.
35630         * sysdeps/ia64/dl-machine.h: Likewise.
35631         * sysdeps/m68k/dl-machine.h: Likewise.
35632         * sysdeps/microblaze/dl-machine.h: Likewise.
35633         * sysdeps/mips/dl-machine.: Likewise.
35634         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35635         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35636         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35637         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35638         * sysdeps/sh/dl-machine.h: Likewise.
35639         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35640         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35641         * sysdeps/tile/dl-machine.h: Likewise.
35642         * sysdeps/x86_64/dl-machine.h: Likewise.
35644         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35645         code.
35646         (verify_persistent_db): Likewise.
35648 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35651         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35653         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35655         Moved ...
35656         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35657         ... here.
35658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35661         Identical file removed.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35663         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35665         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35669         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35673         Moved ...
35674         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35678         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35680         Moved ...
35681         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35683         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35685         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35687         Identical file removed.
35688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35689         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35691         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35693         Moved ...
35694         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35695         ... here.
35696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35697         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35699         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35701         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35703         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35705         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35707         Moved ...
35708         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35710         Moved ...
35711         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35715         Moved ...
35716         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35718         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35720         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35721         folded into ...
35722         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35723         * sysdeps/unix/sysv/linux/s390/Versions
35724         (libpthread: GLIBC_2.19): New version set.
35725         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35726         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35727         (librt: GLIBC_2.3.3): New version set.
35728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35729         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35730         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35731         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35732         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35733         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35734         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35735         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35736         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35737         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35738         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35739         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35740         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35741         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35742         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35743         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35744         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35745         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35746         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35747         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35748         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35749         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35750         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35751         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35752         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35753         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35754         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35755         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35756         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35758         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35764         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35766         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35768         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35770         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35772         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35774         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35775         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35776         (__libc_vfork): Define the function under this name.
35777         [!NOT_IN_libc] (__vfork): Make this an alias.
35778         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35780         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35781         (__libc_vfork): Define the function under this name.
35782         [!NOT_IN_libc] (__vfork): Make this an alias.
35783         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35784         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35785         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35788         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35790         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35791         code that was previously under [RESET_PID].
35792         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35793         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35796         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35797         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35798         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35799         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35800         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35801         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35802         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35803         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35804         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35805         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35806         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35807         Moved ...
35808         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35809         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35810         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35811         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35812         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35813         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35814         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35815         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35816         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35817         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35819         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35820         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35821         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35822         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35823         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35824         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35825         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35826         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35827         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35828         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35829         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35830         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35831         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35832         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35833         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35834         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35836         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35838 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35840         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35841         that was previously under [RESET_PID].
35842         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35844 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35846         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35847         not undefine and redefine.
35848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35849         [O_CLOEXEC]: Make code unconditional.
35850         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35851         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35852         <kernel-features.h>.
35853         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35854         conditional variable definition.
35855         (shm_open) [O_CLOEXEC]: Make code unconditional.
35856         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35857         code.
35859         * configure.ac (USE_REGPARMS): Don't define here.
35860         * configure: Regenerated.
35861         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35862         * sysdeps/i386/configure: Regenerated.
35864         * nptl/createthread.c: Don't include kernel-features.h.
35865         * nptl/pthread_cancel.c: Likewise.
35866         * nptl/pthread_condattr_setclock.c: Likewise.
35867         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35868         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35869         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35870         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35871         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35872         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35873         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35876         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35877         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35878         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35879         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35880         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35881         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35882         * nscd/gai.c: Likewise.
35883         * nss/nss_db/db-open.c: Likewise.
35884         * sysdeps/generic/ldsodefs.h: Likewise.
35885         * sysdeps/sh/nptl/tls.h: Likewise.
35886         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35887         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35888         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35889         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35890         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35891         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35892         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35893         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35894         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35895         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35896         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35897         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35898         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35899         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35900         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35901         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35902         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35903         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35904         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35905         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35908         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35909         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35914         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35915         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35916         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35917         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35918         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35919         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35920         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35921         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35922         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35923         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35924         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35925         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35926         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35927         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35928         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35929         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35930         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35931         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35932         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35933         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35934         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35935         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35936         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35937         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35938         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35939         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35940         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35941         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35942         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35943         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35966         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35967         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35968         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35969         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35970         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35971         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35972         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35973         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35974         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35975         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35976         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35977         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35978         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35979         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35980         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35981         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35982         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35983         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35984         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35985         * sysdeps/unix/sysv/linux/system.c: Likewise.
35986         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35987         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35988         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35989         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35990         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35991         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35992         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35994         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35995         * configure: Regenerated.
35996         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35998         * configure.ac (base_machine): Do not set specially for particular
35999         machines here.
36000         * configure: Regenerated.
36001         * sysdeps/powerpc/preconfigure: Move machine and base_machine
36002         settings from configure.ac.
36003         * sysdeps/i386/preconfigure: New file.
36004         * sysdeps/s390/preconfigure: Likewise.
36005         * sysdeps/sh/preconfigure: Likewise.
36006         * sysdeps/sparc/preconfigure: Likewise.
36008 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36010         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36011         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36012         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36013         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36014         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36015         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36016         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36017         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36018         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36019         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36020         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36021         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36022         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36023         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36024         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36027         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36028         * sysdeps/sparc/sparc64/Makefile: ... appended here.
36030         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36031         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36032         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36033         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36034         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36035         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36036         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36037         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36038         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36039         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36040         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36041         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36042         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36043         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36044         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36045         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36046         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36047         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36048         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36049         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36051         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36053         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36055         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36056         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36057         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36059         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36060         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36061         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36062         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36063         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36064         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36065         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36066         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36067         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36070         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36074         Moved ...
36075         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36076         ... here.
36077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36078         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36080         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36082         Moved ...
36083         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36085         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36087         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36089         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36091         Moved ...
36092         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36094         Moved ...
36095         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36097         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36102         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36104         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36106         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36108         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36110         Moved ...
36111         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36112         ... here.
36113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36114         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36116         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36118         Moved ...
36119         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36121         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36123         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36125         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36127         Moved ...
36128         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36130         Moved ...
36131         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36133         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36135         Moved ...
36136         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36138         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36140         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36142 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36144         * timezone/checktab.awk: Update from tzcode 2014e.
36145         * timezone/private.h: Likewise.
36146         * timezone/tzfile.h: Likewise.
36147         * timezone/zdump.c: Likewise.
36148         * timezone/zic.c: Likewise.
36150         * sysdeps/unix/sysv/linux/kernel-features.h
36151         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36152         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36153         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36154         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36155         Remove conditional code.
36157 2014-06-25  Will Newton  <will.newton@linaro.org>
36159         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36160         (_dl_arm_cap_flags): Add HWCAP2 values.
36161         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36162         (_DL_HWCAP_COUNT): Increase to 37.
36163         (_DL_HWCAP_LAST): New define.
36164         (_DL_HWCAP2_LAST): New define.
36165         (_dl_procinfo): Add support for printing
36166         AT_HWCAP2 entries.
36167         (_dl_string_hwcap): Use _dl_hwcap_string.
36169 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36173 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36175         * README: Do not mention ports directory.
36177         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36178         Remove macro.
36179         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36180         <kernel-features.h>.
36181         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36182         conditional variable definition.
36183         (__futimes): Update comment.
36184         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36185         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36187         [BZ #16560]
36188         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36189         arguments close to 0.
36190         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36191         Likewise.
36192         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36193         Likewise.
36194         * math/auto-libm-test-in: Add more tests of exp10.
36195         * math/auto-libm-test-out: Regenerated.
36196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36198         * sysdeps/unix/sysv/linux/kernel-features.h
36199         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36200         * sysdeps/unix/sysv/linux/readv.c: Do not include
36201         <kernel-features.h>.
36202         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36203         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36204         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36205         unconditional.
36206         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36207         conditional code.
36208         * sysdeps/unix/sysv/linux/writev.c: Do not include
36209         <kernel-features.h>.
36210         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36211         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36212         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36213         unconditional.
36214         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36215         conditional code.
36217 2014-06-25  Will Newton  <will.newton@linaro.org>
36219         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36220         comment changes throughout the file.  Remove checks
36221         for HAVE_*_H definitions that are not required.
36222         (__gen_tempname): Call abort if an unknown kind value is
36223         passed.
36225 2014-06-25  Andreas Schwab  <schwab@suse.de>
36227         [BZ #17086]
36228         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36229         scalbln, scalblnf, scalblnl in libc.
36231 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36233         [BZ #17086]
36234         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36235         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36236         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36238 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36240         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36241         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36242         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36243         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36244         Update #include.
36245         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36246         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36247         Update #include.
36248         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36249         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36250         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36251         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36252         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36253         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36254         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36255         * sysdeps/x86/bits/semaphore.h: ... here.
36256         * sysdeps/x86/nptl/elide.h: Moved ...
36257         * sysdeps/x86/elide.h: ... here.
36258         * sysdeps/x86_64/nptl/Implies: File removed.
36259         * sysdeps/i386/nptl/Implies: File removed.
36261 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36263         [BZ #16539]
36264         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36265         return the argument for normal arguments with exponent below -64.
36266         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36267         Likewise.
36268         * math/auto-libm-test-in: Add another test of expm1.
36269         * math/auto-libm-test-out: Regenerated.
36271         [BZ #16287]
36272         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36273         calling __erfcl for arguments at least 16.
36274         * math/auto-libm-test-in: Add more tests of erf.
36275         * math/auto-libm-test-out: Regenerated.
36277         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36278         individual architectures.
36279         * sysdeps/unix/sysv/linux/configure: Regenerated.
36280         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36281         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36282         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36283         (ldd_rewrite_script): Define variable.
36284         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36286         file.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36288         generated file.
36289         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36290         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36291         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36292         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36293         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36294         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36295         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36296         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36298 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36300         [BZ #17084]
36301         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36302         Rename member __data.d to __data.__elision_data.
36304 2014-06-24  Wilco  <wdijkstr@arm.com>
36306         * NEWS: Add 16918 to fixed bug list.
36308 2014-06-24  Wilco  <wdijkstr@arm.com>
36310         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36312 2014-06-24  Wilco  <wdijkstr@arm.com>
36314         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36315         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36316         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36317         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36318         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36319         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36320         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36321         Use _FPU_MASK_RM.
36323 2014-06-24  Wilco  <wdijkstr@arm.com>
36325         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36327 2014-06-24  Wilco  <wdijkstr@arm.com>
36329         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36330         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36331         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36332         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36334 2014-06-24  Wilco  <wdijkstr@arm.com>
36336         [BZ #16918]
36337         * sysdeps/arm/feupdateenv.c (feupdateenv):
36338         Rewrite to reduce FPSCR accesses and fix return value.
36340 2014-06-24  Wilco  <wdijkstr@arm.com>
36342         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36343         Optimize to avoid unnecessary FPSCR writes.
36344         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36345         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36346         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36347         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36349 2014-06-24  Wilco  <wdijkstr@arm.com>
36351         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36352         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36353         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36354         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36355         Call libc_fetestexcept_vfp.
36356         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36357         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36358         __SOFTFP__ ifdef so that they can be built for softfp.
36360 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36362         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36363         argument type signed char.
36365         * Makerules (check-abi): Dump diff of symlist if the test
36366         fails.
36368 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36370         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36371         using abort.
36373         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36374         Remove unused variable ST.
36376 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36378         [BZ #16354]
36379         [BZ #17061]
36380         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36381         small arguments before calling __expm1.
36382         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36383         small arguments before calling __expm1f.
36384         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36385         small arguments before calling __expm1l.
36386         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36387         Likewise.
36388         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36389         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36390         spurious underflow for some cosh tests.
36391         * math/auto-libm-test-out: Regenerated.
36392         * sysdeps/i386/fpu/libm-test-ulps: Update.
36394         [BZ #17050]
36395         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36396         (__ieee754_y1): Set errno if return value overflows.
36397         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36398         (__ieee754_y1f): Set errno if return value overflows.
36399         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36400         (__ieee754_y1l): Set errno if return value overflows.
36401         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36402         (__ieee754_y1l): Set errno if return value overflows.
36403         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36404         * math/auto-libm-test-out: Regenerated.
36406         * math/gen-auto-libm-tests.c: Document use of
36407         ignore-zero-inf-sign.
36408         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36409         (input_flags): Add ignore-zero-inf-sign.
36410         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36411         * math/gen-libm-test.pl (generate_testfile): Handle
36412         ignore-zero-inf-sign.
36413         * math/auto-libm-test-in: Mark some cpow tests with
36414         ignore-zero-inf-sign and some with xfail-rounding.
36415         * math/auto-libm-test-out: Regenerated.
36416         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36417         * sysdeps/i386/fpu/libm-test-ulps: Update.
36418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36420         [BZ #16315]
36421         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36422         overflowing or underflowing operations take place with sign of
36423         result.
36424         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36425         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36426         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36427         (__ieee754_pow): Recompute overflowing and underflowing results in
36428         original rounding mode.
36429         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36430         (__powl_helper): Allow negative argument X and scale negated value
36431         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36432         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36433         overflowing or underflowing operations take place with sign of
36434         result.
36435         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36436         Include <math.h>.
36437         * math/auto-libm-test-in: Add more tests of pow.
36438         * math/auto-libm-test-out: Regenerated.
36439         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36440         (pow_tonearest_test_data): Remove.
36441         (pow_test_tonearest): Likewise.
36442         (pow_towardzero_test_data): Likewise.
36443         (pow_test_towardzero): Likewise.
36444         (pow_downward_test_data): Likewise.
36445         (pow_test_downward): Likewise.
36446         (pow_upward_test_data): Likewise.
36447         (pow_test_upward): Likewise.
36448         (main): Don't call removed functions.
36449         * sysdeps/i386/fpu/libm-test-ulps: Update.
36450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36452 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36458         Moved ...
36459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36461         Moved ...
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36464         Moved ...
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36467         File removed.
36468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36469         File removed.
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36471         File removed.
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36473         File removed.
36474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36475         File removed.
36476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36477         File removed.
36478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36479         File removed.
36480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36481         File removed.
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36483         File removed.
36484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36485         File removed.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36487         File removed.
36488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36489         File removed.
36490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36491         Moved ...
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36494         Moved ...
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36496         ... here.
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36498         Moved ...
36499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36501         Moved ...
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36504         Moved ...
36505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36507         Moved ...
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36510         Moved ...
36511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36513         Moved ...
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36516         Moved ...
36517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36520         ... here.
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36522         Moved ...
36523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36525         Moved ...
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36527         ... here.
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36529         Moved ...
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36531         ... here.
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36533         Moved ...
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36535         ... here.
36536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36537         Moved ...
36538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36540         Moved ...
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36545         Moved ...
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36547         ... here.
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36551         ... here.
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36556         Moved ...
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36559         Moved ...
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36562         Moved ...
36563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36565         Moved ...
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36567         ... here.
36568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36569         Moved ...
36570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36572         Moved ...
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36575         Moved ...
36576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36578         Moved ...
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36583         Moved ...
36584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36586         Moved ...
36587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36589         Moved ...
36590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36591         ... here.
36592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36593         Moved ...
36594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36595         ... here.
36596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36597         Moved ...
36598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36599         ... here.
36600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36601         Moved ...
36602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36604         Moved ...
36605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36607         Moved ...
36608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36610         Moved ...
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36612         ... here.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36614         Moved ...
36615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36616         ... here.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36618         Moved ...
36619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36620         ... here.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36622         Moved ...
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36625         Moved ...
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36628 2014-06-23  Will Newton  <will.newton@linaro.org>
36629             Wilco  <wdijkstr@arm.com>
36631         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36632         implementation.  Include get-rounding-mode.h.
36633         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36634         [!libc_feholdsetround_noex_ctx]: Define
36635         libc_feholdsetround_noex_ctx.
36636         [!libc_feholdsetround_noexf_ctx]: Define
36637         libc_feholdsetround_noexf_ctx.
36638         [!libc_feholdsetround_noexl_ctx]: Define
36639         libc_feholdsetround_noexl_ctx.
36640         (libc_feholdsetround_ctx): New function.
36641         (libc_feresetround_ctx): New function.
36642         (libc_feholdsetround_noex_ctx): New function.
36643         (libc_feresetround_noex_ctx): New function.
36645 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36647         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36648         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36649         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36650         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36651         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36652         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36654         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36655         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36656         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36657         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36658         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36659         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36661         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36663         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36665         Moved ...
36666         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36667         ... here.
36668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36669         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36671         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36673         Moved ...
36674         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36676         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36677         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36678         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36680         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36682         Moved ...
36683         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36685         Moved ...
36686         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36687         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36688         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36689         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36690         Moved ...
36691         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36692         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36693         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36694         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36695         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36696         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36697         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36699         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36701         Moved ...
36702         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36703         ... here.
36704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36705         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36707         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36709         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36711         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36713         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36715         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36717         Moved ...
36718         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36719         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36720         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36722         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36724         Moved ...
36725         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36726         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36727         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36728         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36729         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36731         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36732         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36733         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36734         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36735         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36736         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36737         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36738         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36740         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36741         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36742         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36743         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36744         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36745         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36746         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36747         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36748         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36749         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36750         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36751         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36752         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36753         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36754         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36755         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36756         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36757         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36758         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36760 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36762         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36763         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36764         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36765         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36766         (IPV6_PMTUDISC_INTERFACE): Likewise.
36767         (IPV6_PMTUDISC_OMIT): Likewise.
36769 2014-06-23  Andreas Schwab  <schwab@suse.de>
36771         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36772         Remove unused errout label.
36774 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36776         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36777         macro: hardware supports Vector Crypto instructions.
36779 2014-06-23  Will Newton  <will.newton@linaro.org>
36781         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36782         rather than __builtin_expect.
36784         * elf/dl-lookup.c (undefined_msg): Remove variable.
36785         (_dl_lookup_symbol_x): Replace undefined_msg with string
36786         literal.
36788         * elf/dl-lookup.c (do_lookup_unique): New function.
36789         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36790         to a separate function.
36792 2014-06-23  Andreas Schwab  <schwab@suse.de>
36794         [BZ #17079]
36795         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36796         before reading the next line.
36798 2014-06-23  Will Newton  <will.newton@linaro.org>
36800         * test-skeleton.c (signal_handler): Use printf and %m
36801         rather than perror.  Use printf rather than fprintf to
36802         stderr.  Use puts rather than fputs to stderr.
36803         (main): Likewise.
36805 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36807         * nscd/nscd.c (thread_info_t): Remove typedef.
36808         (thread_info): Remove variable.
36810 2014-06-21  Allan McRae  <allan@archlinux.org>
36812         * NEWS: Mention CVE-2014-4043.
36814 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36816         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36817         * nptl/smp.h: ... here.
36819         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36821         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36822         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36823         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36824         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36826         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36827         * nptl/stack-aliasing.h: New file.
36828         * sysdeps/i386/i686/stack-aliasing.h: New file.
36829         * sysdeps/i386/i686/nptl/Makefile: File removed.
36830         * sysdeps/x86_64/stack-aliasing.h: New file.
36831         * sysdeps/x86_64/nptl/Makefile
36832         (CFLAGS-pthread_create.c): Variable removed.
36834         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36835         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36836         old file.
36837         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36838         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36839         old file.
36841 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36843         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36844         (__ASSUME_SIGFRAME_V2): Remove macro.
36845         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36846         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36847         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36848         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36849         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36850         Declare as function.  Remove conditional macro definitions.
36851         (__default_rt_sa_restorer): Likewise.
36852         (__default_sa_restorer_v1): Remove declaration.
36853         (__default_sa_restorer_v2): Likewise.
36854         (__default_rt_sa_restorer_v1): Likewise.
36855         (__default_rt_sa_restorer_v2): Likewise.
36856         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36857         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36858         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36860 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36862         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36863         (libpthread-routines): Add sysdep.
36864         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36865         * sysdeps/unix/sysv/linux/sparc/Versions
36866         (libpthread: GLIBC_2.3.3): New version set.
36867         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36868         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36869         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36870         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36871         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36872         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36873         Moved ...
36874         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36875         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36876         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36878         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36879         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36880         * sysdeps/sparc/nptl/sem_init.c: ... here.
36881         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36882         * sysdeps/sparc/nptl/sem_post.c: ... here.
36883         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36884         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36885         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36886         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36887         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36888         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36889         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36890         (libpthread-routines): Add cpu_relax.
36891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36892         File removed.
36893         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36894         (librt: GLIBC_2.3.3): New version set.
36895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36896         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36898         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36901         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36903         Moved ...
36904         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36906         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36908         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36910         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36912         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36914         Moved ...
36915         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36916         Update #include.
36917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36918         Moved ...
36919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36920         Update #include.
36921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36922         Moved ...
36923         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36924         Update #include.
36925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36926         Moved ...
36927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36928         Update #include.
36929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36930         Moved ...
36931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36932         Update #include.
36933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36934         Moved ...
36935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36936         Update #include.
36937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36938         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36944         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36946         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36948         Moved ...
36949         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36951         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36953         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36955 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36957         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36958         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36959         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36960         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36961         * nscd/nscd.c: Likewise.
36962         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36963         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36964         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36965         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36967         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36968         <kernel-features.h>.
36969         (init_mq_netlink): Remove conditional have_sock_cloexec
36970         definitions.  Remove code conditional on have_sock_cloexec < 0.
36971         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36972         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36973         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36974         <kernel-features.h>.
36975         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36976         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36978 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36981         Add tests for memset_chk and memset.
36983         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36984         with AVX2_Usable.
36986 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36988         [BZ #16046]
36989         * elf/tst-dl-iter-static.c: New file.
36990         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36992         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36993         error.
36995 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36997         * sysdeps/unix/sysv/linux/kernel-features.h
36998         (__ASSUME_F_GETOWN_EX): Remove macro.
36999         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37000         <kernel-features.h>.
37001         (miss_F_GETOWN_EX): Remove variable or macro.
37002         (do_fcntl): Do not check miss_F_GETOWN_EX.
37003         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37005         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37006         Remove macro.
37007         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37008         [!__ASSUME_AT_RANDOM]: Remove conditional code.
37009         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37011         * sysdeps/unix/sysv/linux/kernel-features.h
37012         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37013         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37014         [ADJ_OFFSET_SS_READ]: Make code unconditional.
37015         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37017 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37019         [BZ #17075]
37020         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37021         Fix calculation of the symbol's value.
37022         * sysdeps/arm/tst-armtlsdescloc.c: New file.
37023         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37024         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37025         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37026         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37027         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37028         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37029         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37030         (modules-names): Add `tst-armtlsdescmod',
37031         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37032         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37033         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37034         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37035         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37036         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37037         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37038         ($(objpfx)tst-armtlsdescloc): New dependency.
37039         ($(objpfx)tst-armtlsdescextnow): Likewise.
37040         ($(objpfx)tst-armtlsdescextlazy): Likewise.
37041         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37042         TLS scheme support.
37043         * sysdeps/arm/configure: Regenerate.
37045 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37047         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37048         (__atfct_seterrno_2): Likewise.
37049         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37050         <kernel-features.h>.
37051         (__ASSUME_ATFCTS): Do not undefine and redefine.
37052         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37053         (__have_atfcts): Remove conditional definition.
37054         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37055         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37056         unreachable if [__ASSUME_ATFCTS].
37057         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37058         not undefine and redefine.
37059         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37060         <kernel-features.h>.
37061         (faccessat) [__NR_faccessat]: Make code unconditional.
37062         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37063         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37064         <kernel-features.h>.
37065         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37066         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37067         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37068         <kernel-features.h>.
37069         (fchownat) [__NR_fchownat]: Make code unconditional.
37070         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37071         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37072         <kernel-features.h>.
37073         (futimesat) [__NR_futimesat]: Make code unconditional.
37074         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37075         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37076         <kernel-features.h>.
37077         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37078         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37079         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37080         <kernel-features.h>.
37081         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37082         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37083         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37084         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37085         <kernel-features.h>.
37086         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37087         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37088         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37089         <kernel-features.h>.
37090         (linkat) [__NR_linkat]: Make code unconditional.
37091         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37092         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37093         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37094         <kernel-features.h>.
37095         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37096         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37097         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37098         <kernel-features.h>.
37099         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37100         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37101         * sysdeps/unix/sysv/linux/openat.c: Do not include
37102         <kernel-features.h>.
37103         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37104         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37105         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37106         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37107         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37108         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37109         <kernel-features.h>.
37110         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37111         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37112         result of INLINE_SYSCALL directly, not via int variable.
37113         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37114         <kernel-features.h>.
37115         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37116         (renameat) [__NR_renameat]: Make code unconditional.
37117         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37118         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37119         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37120         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37121         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37122         (__ASSUME_ATFCTS): Do not undefine and redefine.
37123         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37124         <kernel-features.h>.
37125         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37126         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37127         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37128         <kernel-features.h>.
37129         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37130         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37131         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37132         (__ASSUME_ATFCTS): Do not undefine and redefine.
37133         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37134         <kernel-features.h>.
37135         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37136         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37137         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37138         <kernel-features.h>.
37139         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37140         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37142 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37144         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37146 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37148         [BZ #17069]
37149         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37150         constructed tree before returning error.
37151         * posix/bug-regexp36.c: Expand test case.
37153 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37155         [BZ #6803]
37156         * math/libm-test.inc (scalbln_test_date):
37157         Add errno expectations.
37158         * math/w_scalblnf.c: New File.
37159         Add wrapper which checks for setting errno to ERANGE.
37160         Add weak_alias for corresponding scalbln function.
37161         * math/w_scalbln.c: Likewise.
37162         * math/w_scalblnl.c: Likewise.
37163         * math/Makefile (libm-calls): Add w_scalbln.
37164         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37165         Remove weak_alias for corresponding scalbln function.
37166         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37167         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37168         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37170         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37171         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37172         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37173         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37174         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37175         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37176         Remove long_double_symbol for scalblnl function in libm, libc.
37177         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37178         Add wrapper which checks for setting errno to ERANGE.
37179         Add long_double_symbol for scalblnl function in libm, libc.
37180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37181         Remove long_double_symbol for scalblnl in libm.
37182         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37183         Add wrapper which checks for setting errno to ERANGE.
37184         Add long_double_symbol for scalblnl function in libm.
37185         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37186         Do not use wrapper because of own implementation.
37188 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37190         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37191         3 bytes for __pad1 for x32.
37192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37194 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37195             H.J. Lu  <hongjiu.lu@intel.com>
37197         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37198         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37199         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37200         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37201         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37203 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37205         [BZ #17069]
37206         * posix/regcomp.c (parse_expression): Deallocate partially
37207         constructed tree before returning error.
37208         * posix/Makefile.c (tests): Add bug-regex36.
37209         (generated): Add bug-regex36.mtrace.
37210         (tests-special): Add $(objpfx)bug-regex36-mem.out
37211         (bug-regex36-ENV): New variable.
37212         ($(objpfx)bug-regex36-mem.out): New rule.
37213         * posix/bug-regex36.c: New file.
37215 2014-06-19  Will Newton  <will.newton@linaro.org>
37217         * malloc/malloc.c (systrim): If extra is zero then return
37218         early.
37220 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37222         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37224 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37226         * sysdeps/aarch64/strchr.S: New file.
37228 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37230         [BZ #17022]
37231         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37232         from arguments -2 or below.
37233         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37234         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37236 2014-06-18  Andreas Schwab  <schwab@suse.de>
37238         [BZ #17062]
37239         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37240         of a bracket expr not to run off the end of the string.
37241         * posix/Makefile (tests): Add tst-fnmatch3.
37242         * posix/tst-fnmatch3.c: New file.
37244 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37246         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37247         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37248         [$(cross-compiling) = no]: Likewise.
37249         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37250         [$(cross-compiling) = no]: Likewise.
37252 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37254         [BZ #17031]
37255         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37256         double, adjusted for any remainder from the high double.
37257         * math/libm-test.inc (nearbyint): Add tests.
37258         (rint): Likewise.
37260 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37262         * nptl/sysdeps/powerpc/Makefile: Moved ...
37263         * sysdeps/powerpc/nptl/Makefile: ... here.
37264         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37265         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37266         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37267         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37268         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37269         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37270         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37271         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37272         * nptl/sysdeps/powerpc/tls.h: Moved ...
37273         * sysdeps/powerpc/nptl/tls.h: ... here.
37275 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37277         [BZ #16681]
37278         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37279         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37280         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37281         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37282         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37283         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37284         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37285         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37286         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37288 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37290         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37292 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37294         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37295         defined operator.
37297         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37298         $TIMEOUTFACTOR.
37300 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37302         [BZ #17058]
37303         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37304         non-executed part of the test.
37306 2014-06-16  Andreas Schwab  <schwab@suse.de>
37308         * string/bits/string2.h (strdup, strndup): Update feature guard.
37310 2014-06-14  David S. Miller  <davem@davemloft.net>
37312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37314 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37316         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37317         that was previously under [RESET_PID].
37318         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37320         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37321         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37322         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37323         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37324         (__libc_vfork): New strong alias.
37325         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37327 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37329         * sysdeps/generic/elide.h: New file.
37331 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37333         * Makefile (installed-headers): Adjust path of pthread.h header.
37335 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37337         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37338         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37339         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37340         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37342         * nptl/sysdeps/s390/Makefile: Moved ...
37343         * sysdeps/s390/nptl/Makefile: ... here.
37344         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37345         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37346         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37347         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37348         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37349         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37350         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37351         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37352         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37353         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37354         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37355         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37356         * nptl/sysdeps/s390/tls.h: Moved ...
37357         * sysdeps/s390/nptl/tls.h: ... here.
37359         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37360         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37362 2014-06-13  David S. Miller  <davem@davemloft.net>
37364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37367         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37371         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37372         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37373         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37374         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37375         Remove RESET_PID cpp guards.
37376         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37377         Remove RESET_PID cpp guards.
37378         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37380 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37382         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37383         __sp to uintptr_t.
37385 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37387         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37388         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37390         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37394         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37395         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37397         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37398         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37399         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37401         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37402         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37403         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37405         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37408         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37409         (pthread_rwlock_rdlock): Add elision.
37410         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37411         (pthread_rwlock_wrlock): Add elision.
37412         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37413         (pthread_rwlock_trywrlock): Add elision.
37414         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37415         (pthread_rwlock_tryrdlock): Add elision.
37416         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37417         (pthread_rwlock_tryrdlock): Add elision unlock.
37418         * nptl/sysdeps/pthread/pthread.h:
37419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37420         (PTHREAD_RWLOCK_INITIALIZER,
37421         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37422         Handle new elision field.
37423         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37424         * sysdeps/arm/nptl/bits/pthreadtypes.h
37425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37426         * sysdeps/sh/nptl/bits/pthreadtypes.h
37427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37428         * sysdeps/tile/nptl/bits/pthreadtypes.h
37429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37430         * sysdeps/a/nptl/bits/pthreadtypes.h
37431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37432         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37434         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37436         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37438         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37440         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37442         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37444         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37446         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37448         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37449         (elision_init): Set try_xbegin to zero when no RTM.
37450         * sysdeps/x86/nptl/bits/pthreadtypes.h
37451         (pthread_rwlock_t): Change __pad1 to __rwelision.
37452         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37454 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37456         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37457         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37458         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37459         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37461 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37463         [BZ #16996]
37464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37465         that the cached result has been set before returning it.
37467 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37469         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37470         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37471         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37472         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37473         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37474         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37476         * nptl/sysdeps/sparc/Makefile: Moved ...
37477         * sysdeps/sparc/nptl/Makefile: ... here.
37478         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37479         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37480         * nptl/sysdeps/sparc/tls.h: Moved ...
37481         * sysdeps/sparc/nptl/tls.h: ... here.
37482         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37483         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37484         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37485         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37486         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37487         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37488         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37489         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37490         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37491         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37492         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37493         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37494         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37495         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37496         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37497         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37500         Update #include.
37501         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37503         Update #include.
37504         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37506         Update #include.
37507         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37509         Update #include.
37511         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37513         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37514         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37516         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37517         (struct list_links): Type removed.
37518         (struct thread_node, struct timer_node): Replace struct list_links
37519         with struct list_head.
37520         (list_unlink_ip): Likewise.
37521         * sysdeps/pthread/timer_routines.c
37522         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37523         (list_append, list_insbefore): Likewise.
37524         (list_init): Function removed.
37525         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37526         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37527         * sysdeps/pthread/Makefile: ... here, new file.
37529         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37530         * sysdeps/nptl/Implies: ... here.
37531         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37532         * nptl/sysdeps/pthread/list.h: Moved ...
37533         * include/list.h: ... here.
37534         * nptl/sysdeps/pthread/createthread.c: Moved ...
37535         * nptl/createthread.c: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37537         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37538         * nptl/pt-longjmp.c: ... here.
37539         * nptl/sysdeps/pthread/Makefile: Moved ...
37540         * sysdeps/nptl/Makefile: ... here.
37541         * nptl/sysdeps/pthread/Subdirs: Moved ...
37542         * sysdeps/nptl/Subdirs: ... here.
37543         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37544         * sysdeps/nptl/aio_misc.h: ... here.
37545         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37546         * sysdeps/nptl/bits/libc-lock.h: ... here.
37547         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37548         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37549         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37550         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37551         * nptl/sysdeps/pthread/configure: Moved ...
37552         * sysdeps/nptl/configure: ... here.
37553         * nptl/sysdeps/pthread/configure.ac: Moved ...
37554         * sysdeps/nptl/configure.ac: ... here.
37555         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37556         * sysdeps/nptl/gai_misc.h: ... here.
37557         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37558         * sysdeps/nptl/librt-cancellation.c: ... here.
37559         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37560         * sysdeps/nptl/malloc-machine.h: ... here.
37561         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37562         * sysdeps/nptl/pthread-functions.h: ... here.
37563         * nptl/sysdeps/pthread/pthread.h: Moved ...
37564         * sysdeps/nptl/pthread.h: ... here.
37565         * nptl/sysdeps/pthread/setxid.h: Moved ...
37566         * sysdeps/nptl/setxid.h: ... here.
37567         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37568         * sysdeps/nptl/sigfillset.c: ... here.
37569         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37570         * sysdeps/nptl/tcb-offsets.h: ... here.
37571         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37572         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37573         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37574         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37575         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37576         * sysdeps/pthread/allocalim.h: ... here.
37577         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37578         * sysdeps/pthread/bits/sigthread.h: ... here.
37579         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37580         * sysdeps/pthread/flockfile.c: ... here.
37581         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37582         * sysdeps/pthread/ftrylockfile.c: ... here.
37583         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37584         * sysdeps/pthread/funlockfile.c: ... here.
37585         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37586         * sysdeps/pthread/posix-timer.h: ... here.
37587         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37588         * sysdeps/pthread/timer_create.c: ... here.
37589         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37590         * sysdeps/pthread/timer_delete.c: ... here.
37591         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37592         * sysdeps/pthread/timer_getoverr.c: ... here.
37593         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37594         * sysdeps/pthread/timer_gettime.c: ... here.
37595         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37596         * sysdeps/pthread/timer_routines.c: ... here.
37597         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37598         * sysdeps/pthread/timer_settime.c: ... here.
37599         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37600         * sysdeps/pthread/tst-timer.c: ... here.
37601         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37602         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37604         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37605         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37607         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37608         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37609         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37610         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37611         Update #include target.
37612         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37613         * sysdeps/i386/i686/nptl/Makefile: ... here.
37614         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37615         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37616         Update #include target.
37617         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37618         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37619         * nptl/sysdeps/i386/Makefile: Moved ...
37620         * sysdeps/i386/nptl/Makefile: ... here.
37621         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37622         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37623         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37624         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37625         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37626         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37627         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37628         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37629         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37630         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37631         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37632         * nptl/sysdeps/i386/tls.h: Moved ...
37633         * sysdeps/i386/nptl/tls.h: ... here.
37635         * sysdeps/sh/Makefile [$(subdir) = csu]
37636         (gen-as-const-headers): Add tcb-offsets.sym.
37637         * nptl/sysdeps/sh/Makefile: File removed.
37638         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37639         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37640         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37641         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37642         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37643         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37644         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37645         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37646         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37647         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37648         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37649         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37650         * nptl/sysdeps/sh/tls.h: Moved ...
37651         * sysdeps/sh/nptl/tls.h: ... here.
37652         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37653         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37654         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37655         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37656         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37657         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37658         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37659         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37660         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37661         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37663         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37665         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37667         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37669         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37671         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37672         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37673         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37674         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37677         Moved ...
37678         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37680         Moved ...
37681         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37682         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37683         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37684         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37686         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37687         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37688         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37689         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37690         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37691         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37692         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37693         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37694         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37695         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37696         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37697         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37698         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37699         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37701 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37703         * posix/spawn_faction_addopen.c: Include string.h.
37705 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37707         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37708         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37709         * nptl/sysdeps/x86_64/Makefile: Moved ...
37710         * sysdeps/x86_64/nptl/Makefile: ... here.
37711         * nptl/sysdeps/x86_64/configure: Moved ...
37712         * sysdeps/x86_64/nptl/configure: ... here.
37713         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37714         * sysdeps/x86_64/nptl/configure.ac: ... here.
37715         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37716         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37717         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37718         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37719         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37720         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37721         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37722         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37723         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37724         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37725         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37726         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37727         * nptl/sysdeps/x86_64/tls.h: Moved ...
37728         * sysdeps/x86_64/nptl/tls.h: ... here.
37729         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37730         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37731         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37732         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37734         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37736 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37740 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37742         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37743         type.
37744         [POSIX] (off_t): Likewise.
37745         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37746         [POSIX] (S_ISBLK): Require macro.
37747         [POSIX] (S_ISCHR): Likewise.
37748         [POSIX] (S_ISDIR): Likewise.
37749         [POSIX] (S_ISFIFO): Likewise.
37750         [POSIX] (S_ISREG): Likewise.
37751         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37752         optional-macro.
37753         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37754         type.
37755         [POSIX] (time_t): Likewise.
37756         [POSIX] (timer_t): Likewise.
37758 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37760         [BZ #17048]
37761         * posix/spawn_int.h (struct __spawn_action): Make the path string
37762         non-const to support deallocation.
37763         * posix/spawn_faction_addopen.c
37764         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37765         * posix/spawn_faction_destroy.c
37766         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37767         path in all spawn_do_open actions.
37768         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37769         posix_spawn_file_actions_addopen.
37771 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37773         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37774         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37775         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37776         conditional code always true.
37777         (__libc_vfork): New alias.
37779 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37781         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37782         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37784         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37786         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37787         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37789         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37790         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37792         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37793         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37795 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37797         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37798         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37799         multiarch strcmp for PPC64.
37800         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37801         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37803         multiarch optimizations.
37804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37805         (__libc_ifunc_impl_list): Likewise.
37807 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         * benchtests/scripts/validate_benchout.py: New script.
37810         * benchtests/Makefile (bench-func): Call it.
37811         * benchtests/scripts/benchout.schema.json: New file.
37813 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37815         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37816         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37817         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37818         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37819         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37820         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37821         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37822         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37823         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37824         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37825         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37826         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37827         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37828         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37829         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37830         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37832         Moved ...
37833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37834         ... here.
37835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37836         Moved ...
37837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37839         Moved ...
37840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37841         ... here.
37842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37843         Moved ...
37844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37845         ... here.
37846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37847         Moved ...
37848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37850         Moved ...
37851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37852         ... here.
37853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37854         Moved ...
37855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37856         ... here.
37857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37858         Moved ...
37859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37861         Moved ...
37862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37863         ... here.
37864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37865         Moved ...
37866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37867         ... here.
37868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37869         Moved ...
37870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37871         ... here.
37872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37873         Moved ...
37874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37876         Moved ...
37877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37878         ... here.
37879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37880         Moved ...
37881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37882         ... here.
37883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37884         Moved ...
37885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37886         ... here.
37887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37888         Moved ...
37889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37891         Moved ...
37892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37893         ... here.
37894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37895         Moved ...
37896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37897         ... here.
37898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37899         Moved ...
37900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37902         Moved ...
37903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37904         ... here.
37905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37906         Moved ...
37907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37909         Moved ...
37910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37912         Moved ...
37913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37914         ... here.
37915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37916         Moved ...
37917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37918         ... here.
37919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37920         Moved ...
37921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37922         ... here.
37923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37924         Moved ...
37925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37927         Moved ...
37928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37929         ... here.
37930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37931         Moved ...
37932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37933         ... here.
37934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37935         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37937         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37939         Moved ...
37940         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37941         ... here.
37942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37943         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37945         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37947         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37949         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37950         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37951         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37953         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37955         Moved ...
37956         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37958         Moved ...
37959         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37960         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37961         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37962         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37963         Moved ...
37964         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37965         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37966         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37967         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37968         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37969         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37970         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37972 2014-06-10  Wilco  <wdijkstr@arm.com>
37974         * math/test-fenv-return.c: New file.
37975         * math/Makefile: Add new test test-fenv-return.
37977 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37979         [BZ #17042]
37980         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37981         when x - 1 is zero.
37982         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37983         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37984         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37985         0.0L for an argument of 1.0L.
37986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37987         Likewise.
37988         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37989         value when x - 1 is zero.
37990         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37991         * sysdeps/i386/fpu/libm-test-ulps: Update.
37992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37994 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37996         [BZ #15119]
37997         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37999 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38001         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38002         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38004 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38006         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38007         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38009         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38010         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38012         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38013         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38015         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38016         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38018         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38019         if not already defined.
38020         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38021         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38022         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38023         (TLS_INIT_TP): Use it.
38024         (TLS_DEFINE_INIT_TP): New macro.
38025         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38027 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
38029         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38030         constant.
38031         [POSIX] (IXANY): Likewise.
38032         [POSIX] (OLCUC): Likewise.
38033         [POSIX || POSIX2008] (CBAUD): Do not allow.
38034         [POSIX || POSIX2008] (DEFECHO): Likewise.
38035         [POSIX || POSIX2008] (ECHOCTL): Likewise.
38036         [POSIX || POSIX2008] (ECHOKE): Likewise.
38037         [POSIX || POSIX2008] (ECHOPRT): Likewise.
38038         [POSIX || POSIX2008] (EXTA): Likewise.
38039         [POSIX || POSIX2008] (EXTB): Likewise.
38040         [POSIX || POSIX2008] (FLUSHO): Likewise.
38041         [POSIX || POSIX2008] (LOBLK): Likewise.
38042         [POSIX || POSIX2008] (PENDIN): Likewise.
38043         [POSIX || POSIX2008] (SWTCH): Likewise.
38044         [POSIX || POSIX2008] (VDISCARD): Likewise.
38045         [POSIX || POSIX2008] (VDSUSP): Likewise.
38046         [POSIX || POSIX2008] (VLNEXT): Likewise.
38047         [POSIX || POSIX2008] (VREPRINT): Likewise.
38048         [POSIX || POSIX2008] (VSTATUS): Likewise.
38049         [POSIX || POSIX2008] (VWERASE): Likewise.
38050         (B*): Change to B[0123456789]*.
38051         * conform/data/time.h-data [POSIX || UNIX98]
38052         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38053         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38054         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38055         [POSIX] (tm_*): Do not allow.
38057 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38059         * Makefile (install): Don't set LANGUAGE.
38060         * Makefile.in (install): Likewise.
38061         * assert/Makefile (test-assert-ENV): Remove variable.
38062         (test-assert-perr-ENV): Likewise.
38063         * elf/Makefile (neededtest4-ENV): Likewise.
38064         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38065         [$(cross-compiling) = no]: Don't set LANGUAGE.
38066         * io/ftwtest-sh (LANG): Remove variable.
38067         * libio/Makefile (tst-widetext-ENV): Likewise.
38068         * manual/install.texi (Running make install): Don't refer to
38069         environment settings for make install.
38070         * INSTALL: Regenerated.
38071         * nptl/tst-tls6.sh: Don't set LANG.
38072         * posix/globtest.sh (LANG): Remove variable.
38073         * string/Makefile (tester-ENV): Likewise.
38074         (inl-tester-ENV): Likewise.
38075         (noinl-tester-ENV): Likewise.
38076         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38077         [$(cross-compiling) = no]: Don't set LANGUAGE.
38078         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38079         without explicit environment settings.
38081 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38083         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38084         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38085         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38086         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38088 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38090         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38091         other files in the crypt directory.
38092         * crypt/crypt.c: Remove duplicate includes.
38093         * crypt/crypt-entry.c: Likewise.
38094         * crypt/crypt_util.c: Likewise.
38096 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38098         * Makeconfig (run-program-env): New variable.
38099         (run-program-prefix-before-env): Likewise.
38100         (run-program-prefix-after-env): Likewise.
38101         (run-program-prefix): Define in terms of new variables.
38102         (built-program-cmd-before-env): New variable.
38103         (built-program-cmd-after-env): Likewise.
38104         (built-program-cmd): Define in terms of new variables.
38105         (test-program-prefix-before-env): New variable.
38106         (test-program-prefix-after-env): Likewise.
38107         (test-program-prefix): Define in terms of new variables.
38108         (test-program-cmd-before-env): New variable.
38109         (test-program-cmd-after-env): Likewise.
38110         (test-program-cmd): Define in terms of new variables.
38111         * Rules (make-test-out): Use $(run-program-env).
38112         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38113         (help): Do not mention environment variables.  Mention
38114         --timeoutfactor option.
38115         (timeoutfactor): New variable.
38116         (blacklist_exports): Remove function.
38117         (exports): Remove variable.
38118         (command): Do not include ${exports}.
38119         * manual/install.texi (Configuring and compiling): Do not mention
38120         test wrappers preserving environment variables.  Mention that last
38121         assignment to a variable must take precedence.
38122         * INSTALL: Regenerated.
38123         * benchtests/Makefile (run-bench): Use $(run-program-env).
38124         * catgets/Makefile ($(objpfx)test1.cat): Use
38125         $(built-program-cmd-before-env), $(run-program-env) and
38126         $(built-program-cmd-after-env).
38127         ($(objpfx)test2.cat): Do not specify environment variables
38128         explicitly.
38129         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38130         $(run-program-env) and $(built-program-cmd-after-env).
38131         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38132         $(run-program-env) and $(test-program-cmd-after-env).
38133         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38134         explicitly.
38135         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38136         run_program_env and test_program_cmd_after_env arguments.
38137         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38138         * elf/tst-pathopt.sh: Use run_program_env argument.
38139         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38140         $(test-wrapper-env) and $(run-program-env).
38141         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38142         run_program_env arguments.
38143         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38144         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38145         $(test-program-prefix-before-env), $(run-program-env) and
38146         $(test-program-prefix-after-env).
38147         ($(objpfx)tst-gettext2.out): Likewise.
38148         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38149         run_program_env and test_program_prefix_after_env arguments.
38150         * intl/tst-gettext2.sh: Likewise.
38151         * intl/tst-gettext4.sh: Do not set environment variables
38152         explicitly.
38153         * intl/tst-gettext6.sh: Likewise.
38154         * intl/tst-translit.sh: Likewise.
38155         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38156         $(test-program-prefix-before-env), $(run-program-env) and
38157         $(test-program-prefix-after-env).
38158         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38159         run_program_env and test_program_prefix_after_env arguments.
38160         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38161         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38162         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38163         explicitly with each use of ${test_wrapper_env}.
38164         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38165         $(test-program-prefix-before-env), $(run-program-env) and
38166         $(test-program-prefix-after-env).
38167         * posix/tst-getconf.sh: Do not set environment variables
38168         explicitly.
38169         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38170         run_program_env and test_program_prefix_after_env arguments.
38171         * stdio-common/tst-printf.sh: Do not set environment variables
38172         explicitly.
38173         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38174         $(test-program-prefix-before-env), $(run-program-env) and
38175         $(test-program-prefix-after-env).
38176         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38177         run_program_env and test_program_prefix_after_env arguments.
38178         Split $test calls into $test_pre and $test.
38179         * timezone/Makefile (build-testdata): Use
38180         $(built-program-cmd-before-env), $(run-program-env) and
38181         $(built-program-cmd-after-env).
38183 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38185         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38186         strlen for non SHARED builds.
38188 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190         * nptl/allocatestack.c (check_list): Inlined function...
38191         (__reclaim_stacks): ... here.
38193 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38195         [BZ #15698]
38196         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38197         memory overrun.
38199 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38201         * Rules (make-test-out): Include
38202         LOCPATH=$(common-objpfx)localedata in default environment.
38203         * debug/Makefile (tst-chk1-ENV): Remove variable.
38204         (tst-chk2-ENV): Likewise.
38205         (tst-chk3-ENV): Likewise.
38206         (tst-chk4-ENV): Likewise.
38207         (tst-chk5-ENV): Likewise.
38208         (tst-chk6-ENV): Likewise.
38209         (tst-lfschk1-ENV): Likewise.
38210         (tst-lfschk2-ENV): Likewise.
38211         (tst-lfschk3-ENV): Likewise.
38212         (tst-lfschk4-ENV): Likewise.
38213         (tst-lfschk5-ENV): Likewise.
38214         (tst-lfschk6-ENV): Likewise.
38215         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38216         (tst-iconv7-ENV): Likewise.
38217         * intl/Makefile (LOCPATH-ENV): Likewise.
38218         (tst-codeset-ENV): Likewise.
38219         (tst-gettext3-ENV): Likewise.
38220         (tst-gettext5-ENV): Likewise.
38221         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38222         (tst-fopenloc-ENV): Likewise.
38223         (tst-fgetws-ENV): Remove variable.
38224         (tst-ungetwc1-ENV): Likewise.
38225         (tst-ungetwc2-ENV): Likewise.
38226         (bug-ungetwc2-ENV): Likewise.
38227         (tst-swscanf-ENV): Likewise.
38228         (bug-ftell-ENV): Likewise.
38229         (tst-fgetwc-ENV): Likewise.
38230         (tst-fseek-ENV): Likewise.
38231         (tst-ftell-partial-wide-ENV): Likewise.
38232         (tst-ftell-active-handler-ENV): Likewise.
38233         (tst-ftell-append-ENV): Likewise.
38234         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38235         (tst-regexloc-ENV): Likewise.
38236         (bug-regex1-ENV): Likewise.
38237         (tst-regex-ENV): Likewise.
38238         (tst-regex2-ENV): Likewise.
38239         (bug-regex5-ENV): Likewise.
38240         (bug-regex6-ENV): Likewise.
38241         (bug-regex17-ENV): Likewise.
38242         (bug-regex18-ENV): Likewise.
38243         (bug-regex19-ENV): Likewise.
38244         (bug-regex20-ENV): Likewise.
38245         (bug-regex22-ENV): Likewise.
38246         (bug-regex23-ENV): Likewise.
38247         (bug-regex25-ENV): Likewise.
38248         (bug-regex26-ENV): Likewise.
38249         (bug-regex30-ENV): Likewise.
38250         (bug-regex32-ENV): Likewise.
38251         (bug-regex33-ENV): Likewise.
38252         (bug-regex34-ENV): Likewise.
38253         (bug-regex35-ENV): Likewise.
38254         (tst-rxspencer-ENV): Likewise.
38255         (tst-rxspencer-no-utf8-ENV): Likewise.
38256         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38257         (tst-sscanf-ENV): Likewise.
38258         (tst-swprintf-ENV): Likewise.
38259         (tst-swscanf-ENV): Likewise.
38260         (test-vfprintf-ENV): Likewise.
38261         (scanf13-ENV): Likewise.
38262         (bug14-ENV): Likewise.
38263         (tst-grouping-ENV): Likewise.
38264         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38265         (tst-strtod3-ENV): Likewise.
38266         (tst-strtod4-ENV): Likewise.
38267         (tst-strtod5-ENV): Likewise.
38268         (testmb2-ENV): Likewise./
38269         * string/Makefile (tst-strxfrm-ENV): Likewise.
38270         (tst-strxfrm2-ENV): Likewise.
38271         (bug-strcoll1-ENV): Likewise.
38272         (test-strcasecmp-ENV): Likewise.
38273         (test-strncasecmp-ENV): Likewise.
38274         * time/Makefile (tst-strptime-ENV): Likewise.
38275         (tst-ftime_l-ENV): Likewise.
38276         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38277         (tst-mbrtowc-ENV): Likewise.
38278         (tst-wcrtomb-ENV): Likewise.
38279         (tst-mbrtowc2-ENV): Likewise.
38280         (tst-c16c32-1-ENV): Likewise.
38281         (tst-mbsnrtowcs-ENV): Likewise.
38283 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38285         * manual/resource.texi (How to get information about the memory
38286         subsystem?): Fix typo.
38287         Reported by Peon de la Parra Ivan <peon@keba.com>
38289 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38291         [BZ #16882]
38292         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38293         (pthread_spin_lock): Branch out of spin loop to proper location.
38294         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38295         (pthread_spin_lock): Likewise.
38297         * nptl/tst-spin4.c: New test.
38298         * nptl/Makefile (tests): Add tst-spin4.
38300 2014-06-03  Andreas Schwab  <schwab@suse.de>
38302         [BZ #15946]
38303         * resolv/res_send.c (send_dg): Reload file descriptor after
38304         calling reopen.
38306 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38308         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38310 2014-06-03  Richard Henderson  <rth@redhat.com>
38312         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38313         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38314         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38315         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38316         in the SAVE_PID block.
38317         (__libc_vfork): New alias.
38318         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38320         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38321         child in registers, not on the stack.  Remove RESET_PID conditionals.
38322         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38324 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38326         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38328 2014-06-03  Wilco  <wdijkstr@arm.com>
38330         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38331         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38332         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38333         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38334         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38335         Likewise.
38337 2014-06-03  Wilco  <wdijkstr@arm.com>
38339         * sysdeps/aarch64/fpu/math_private.h
38340         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38341         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38342         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38343         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38344         Fix declarations.
38346 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38348         * crypt/crypt-private.h: Include ufc-crypt.h.
38349         (__b64_from_24bit): Declare extern.
38350         * crypt/crypt_util.c(__b64_from_24bit): New function.
38351         (b64t): New static const variable.
38352         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38353         (b64t): Remove variable.
38354         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38355         * crypt/sha256-crypt.c: Include crypt-private.h.
38356         (b64t): Remove variable.
38357         (__sha256_crypt_r): Remove b64_from_24bit and replace
38358         with __b64_from_24bit.
38359         * crypt/sha512-crypt.c: Likewise.
38361 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38363         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38364         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38365         Label the code __libc_vfork rather than __vfork.
38366         [!NOT_IN_libc] (vfork): Define as weak alias.
38367         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38368         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38369         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38371 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38373         * malloc/malloc.c (malloc_info): Fix format specifier for
38374         n_mmaps.
38376 2014-06-02  Wilco  <wdijkstr@arm.com>
38378         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38379         FPCR write.
38381 2014-06-02  Wilco  <wdijkstr@arm.com>
38383         [BZ #17009]
38384         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38385         Rewrite to reduce FPCR/FPSR accesses.
38387 2014-06-01  David S. Miller  <davem@davemloft.net>
38389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38391 2014-05-31  David S. Miller  <davem@davemloft.net>
38393         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38394         to occur in round to nearest mode when |x| >= 2.0
38396 2014-05-30  Richard Henderson  <rth@twiddle.net>
38398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38399         (PSEUDO_RET_NOERRNO): Remove.
38400         (ret): Don't redefine.
38401         (ret_NOERRNO): Define in terms of ret.
38402         (ret_ERRVAL): Likewise.
38404         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38405         use of PSEUDO_RET; perform the error check directly.
38407 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38409         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38410         with __int128_t.
38412 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414         * malloc/malloc (malloc_info): Fix formatting.
38416 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38417             Roland McGrath  <roland@hack.frob.com>
38419         * malloc/malloc (malloc_info): Also print mmapped statistics.
38421 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38423         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38424         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38426 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38428         * malloc/malloc.c (malloc_info): Inline mi_arena.
38430 2014-05-29  Richard Henderson  <rth@twiddle.net>
38432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38433         Remove comma before expanding ASM_ARGS_##nr.
38434         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38435         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38436         of ASM_ARGS_##nr.
38437         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38438         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38439         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38440         (ASM_ARGS_1): Add leading comma.
38442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38443         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38444         to __errno_location.
38445         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38446         Remove the expected plt for __errno_location.
38448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38449         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38450         call to __read_tp.
38452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38453         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38454         it and break it down.
38455         (DOCARGS_0, DOCARGS_1): Do nothing.
38456         (DOCARGS_2): Update to store into the new stack frame.
38457         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38458         (UNDOCARGS_1): Update to restore from the new stack frame.
38459         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38460         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38463         (SINGLE_THREAD_P): New parameter for result regno.
38464         (PSEUDO): Update to match; use cbz instead of beq.
38466         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38467         Use ENTRY to define the _nocancel entry point.  Share the syscall
38468         and syscall error check paths with the cancel path.
38469         (PSEUDO_END): New.
38471         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38472         whitespace; tabs before and after asm mnemonics.
38474 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38476         [BZ #15132]
38477         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38478         Call fstat64 or stat64 internally, depending on arguments passed.
38479         Replace stat buffer argument with file descriptor argument.
38480         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38481         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38482         Pass fd to __internal_statvfs instead of calling fstat64.
38483         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38484         Pass fd to __internal_statvfs64 instead of calling fstat64.
38485         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38486         Pass -1 to __internal_statvfs instead of calling stat64.
38487         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38488         Pass -1 to __internal_statvfs64 instead of calling stat64.
38490 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38492         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38493         that was previously under [RESET_PID].
38494         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38496         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38497         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38499 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38501         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38503         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38504         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38506 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38508         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38510 2014-05-27  Andreas Schwab  <schwab@suse.de>
38512         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38513         TLS_INIT_TP macro.
38514         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38515         * elf/rtld.c (init_tls, dl_main): Likewise.
38516         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38517         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38518         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38519         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38520         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38521         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38522         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38523         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38524         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38525         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38526         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38527         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38528         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38529         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38530         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38531         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38532         * sysdeps/generic/tls.h: Update description.
38534 2014-05-27  Will Newton  <will.newton@linaro.org>
38536         [BZ #16990]
38537         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38538         and restore r2 rather than just restoring.
38540 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38542         [BZ #16724]
38543         * libio/tst-ftell-append.c: New test case.
38544         * libio/Makefile (tests): Add test case.
38545         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38546         append mode.
38547         * libio/wfileops.c (do_ftell_wide): Likewise.
38549 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38553         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38554         ...
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38557         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38558         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38559         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38560         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38561         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38562         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38564         Moved ...
38565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38567         Moved ...
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38569         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38570         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38571         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38572         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38573         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38574         ...
38575         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38576         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38577         Moved ...
38578         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38579         here.
38580         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38581         ...
38582         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38583         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38584         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38586         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38587         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38588         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38589         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38592         merge into ...
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38595         ...
38596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38598         ...
38599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38601         Moved ...
38602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38603         here.
38604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38605         Moved ...
38606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38608         Moved ...
38609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38612         conditional [RESET_PID].
38613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38615         removed.
38616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38617         removed.
38619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38620         <tcb-offsets.h>.
38621         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38622         (__libc_vfork): New strong alias.
38623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38624         removed.
38625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38626         Removed.
38628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38629         <tcb-offsets.h>.
38630         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38631         (__libc_vfork): New strong alias.
38632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38633         removed.
38634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38635         removed.
38637 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38639         * malloc/malloc.c (mi_arena): New function.
38640         (malloc_info): Remove nested function mi_arena. Call non-nosted
38641         function mi_arena.
38643 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38645         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38646         by insrwi.
38647         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38648         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38649         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38650         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38651         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38652         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38653         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38655 2014-05-26  Andreas Schwab  <schwab@suse.de>
38657         [BZ #16984]
38658         * locale/programs/repertoire.c (repertoire_read): Add slash
38659         between I18NPATH element and file name.
38660         * locale/programs/locfile.c (locfile_read): Likewise.
38662 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38664         * nptl/pthread_mutexattr_settype.c
38665         (__pthread_mutexattr_settype):
38666         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38668 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38670         * nptl/tst-mutex5 (do_test):
38671         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38673 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38675         * benchtests/README: Document 'init' directive.
38676         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38677         BENCH_INIT.
38678         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38679         (parse_file): Recognize 'init' directive.
38681 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38683         [BZ #16796]
38684         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38685         alignment of struct pthread.
38687 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38689         [BZ #16878]
38690         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38691         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38692         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38693         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38695 2014-05-25  Richard Henderson  <rth@twiddle.net>
38697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38698         (SINGLE_THREAD_P_PIC): Remove.
38699         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38700         (SINGLE_THREAD_P_PIC): Remove.
38702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38703         branch to syscall error ...
38704         (PSEUDO): ... here.
38705         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38706         from __local_syscall_error to .Lsyscall_error.
38707         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38708         (SYSCALL_ERROR): Update label name.
38710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38711         Do not use DOARGS/UNDOARGS.
38712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38713         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38714         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38715         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38716         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38719         block comment.
38721         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38722         define if !NOT_IN_libc.
38723         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38724         define with non-default symbol versions.
38726 2014-05-23  Richard Henderson  <rth@twiddle.net>
38728         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38729         (vfork, __vfork): Define via compat_symbol.
38731         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38732         [!HAVE_IFUNC] (vfork_compat): Remove.
38733         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38735 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38737         [BZ #16978]
38738         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38739         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38740         variable.
38742 2014-05-23  Richard Henderson  <rth@twiddle.net>
38744         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38745         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38746         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38747         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38749         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38750         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38751         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38752         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38753         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38754         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38755         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38756         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38757         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38758         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38759         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38760         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38761         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38762         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38763         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38764         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38765         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38766         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38767         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38768         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38769         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38770         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38771         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38772         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38773         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38774         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38775         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38776         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38777         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38778         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38779         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38780         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38781         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38782         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38783         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38784         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38785         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38786         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38787         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38788         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38789         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38790         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38791         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38792         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38793         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38794         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38796         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38798         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38800         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38802         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38804         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38806         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38807         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38808         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38809         before exiting on error.
38810         (__libc_vfork): New strong alias.
38811         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38812         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38814         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38815         that was previously under [RESET_PID].
38816         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38818         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38820 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38822         [BZ #16977]
38823         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38824         value when x - 1 is zero.
38825         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38826         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38827         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38828         0.0L for an argument of 1.0L.
38829         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38830         Likewise.
38831         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38832         value when x - 1 is zero.
38833         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38834         * sysdeps/i386/fpu/libm-test-ulps: Update.
38835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38837 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38839         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38840         alphasort and versionsort.
38842 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38844         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38845         macro.
38846         [copysignf]: Likewise.
38848 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38850         * crypt/md5-crypt.c: Fix formatting.
38852 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38854         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38855         (b64_from_24bit): New function.
38857 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38859         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38860         libc_hidden_builtin_def to ifunc.
38861         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38862         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38864 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38866         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38867         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38869 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38871         * nscd/Depend (linuxthreads): Remove.
38872         (nptl): Add.
38873         * resolv/Depend (linuxthreads): Remove.
38874         * rt/Depend (linuxthreads): Remove.
38876         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38877         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38878         $(common-objpfx)elf/.
38879         (link-libc-before-gnulib): Likewise.
38880         (elfobjdir): Remove variable.
38881         * Makefile (install): Use $(elf-objpfx) instead of
38882         $(common-objpfx)elf/.
38883         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38884         $(elfobjdir)/.
38885         (link-libc-deps): Likewise.
38886         ($(common-objpfx)libc.so): Likewise.
38887         ($(common-objpfx)linkobj/libc.so): Likewise.
38888         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38889         instead of $(common-objpfx)elf/.
38890         (symbolic-link-list): Likewise.
38891         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38892         [$(cross-compiling) = no]: Likewise.
38893         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38894         $(elfobjdir)/.
38895         (static-gnulib-arch): Likewise.
38896         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38897         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38898         $(common-objpfx)elf/.
38900 2014-05-21  Richard Henderson  <rth@redhat.com>
38902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38903         (SINGLE_THREAD_P): Use the correct width load.  Fold
38904         into the ldr offset.
38906         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38907         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38909 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38911         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38912         (libgcc_s_resume): Use __attribute_used__.
38913         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38914         Likewise.
38916 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38918         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38919         optimization when used with float constants.
38921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38923 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38925         [BZ #16915]
38926         * locale/nl_langinfo_l.c: Make direct reference to every
38927         _nl_current_CATEGORY symbol.
38928         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38929         (tests-static): Add tst-langinfo-static.
38930         (tests-special): Add tst-langinfo-static.out.
38931         ($(objpfx)tst-langinfo.out): Redirect output.
38932         ($(objpfx)tst-langinfo-static.out): New.
38933         * localedata/tst-langinfo.sh: Send output to stdout.
38934         * localedata/tst-langinfo-static.c: New file.
38936         [BZ #16965]
38937         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38938         when the shift amount is modulo the limb size.
38940 2014-05-20  Richard Henderson  <rth@redhat.com>
38942         [BZ #16967]
38943         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38944         Change type of sa_flags from unsigned int to int.
38946         [BZ #16966]
38947         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38949         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38951 2014-05-20  Will Newton  <will.newton@linaro.org>
38953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38954         Test the return value of the system call in the nocancel case.
38956 2014-05-20  Will Newton  <will.newton@linaro.org>
38957             Yvan Roux  <yvan.roux@linaro.org>
38959         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38960         #include of asm/ptrace.h.
38961         (PTRACE_GET_THREAD_AREA): Remove #undef.
38962         (PTRACE_GETHBPREGS): Likewise.
38963         (PTRACE_SETHBPREGS): Likewise.
38964         (struct user_regs_struct): New structure.
38965         (struct user_fpsimd_struct): New structure.
38966         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38967         #include of asm/ptrace.h and second #include of sys/user.h.
38968         (PTRACE_GET_THREAD_AREA): Remove #undef.
38969         (PTRACE_GETHBPREGS): Likewise.
38970         (PTRACE_SETHBPREGS): Likewise.
38971         (ELF_NGREG): Use new struct user_regs_struct.
38972         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38974 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38976         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38979 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38981         [BZ #16958]
38982         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38983         membar to avoid block loads/stores to overlap previous stores.
38985 2014-05-17  Richard Henderson  <rth@redhat.com>
38987         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38988         Create the __##syscall_name##_nocancel entry point.
38989         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38990         Remove; let the sysdep-cancel.h code create it.
38992 2014-05-17  David S. Miller  <davem@davemloft.net>
38994         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38995         Protect with __USE_GNU.
38996         (TIOCSET_TEMPT): Likewise.
38997         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38998         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38999         these are already provided in bits/ioctl-types.h
39001 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39003         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39004         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39006         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39007         Use wait4 regardless of [__NR_waitpid].
39009 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39011         PR libgcc/60166
39012         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39013         (_FP_NANSIGN_Q): Set the quiet bit.
39015 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
39017         * benchtests/Makefile
39018         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39019         not $(common-objpfx)math/libm.so.
39020         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39021         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39022         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39023         $(common-objpfx)dlfcn/libdl.so.
39024         ($(objpfx)tst-audit8): Depend on $(libm), not
39025         $(common-objpfx)math/libm.so.
39026         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39027         not $(common-objpfx)dlfcn/libdl.so.
39028         * math/Makefile
39029         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39030         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
39031         [$(build-shared) = yes].
39032         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39033         $(common-objpfx)nptl/libpthread.so.
39034         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39035         $(common-objpfx)math/libm.so$(libm.so-version) or
39036         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39037         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39038         $(common-objpfx)dlfcn/libdl.so.
39039         * setjmp/Makefile (link-libm): Remove variable.
39040         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39041         * stdio-common/Makefile (link-libm): Remove variable.
39042         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39043         * stdlib/Makefile (link-libm): Remove variable.
39044         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39045         ($(objpfx)tst-strtod-round): Likewise.
39046         ($(objpfx)tst-tininess): Likewise.
39047         ($(objpfx)tst-strtod-underflow): Likewise.
39048         ($(objpfx)tst-strtod6): Likewise.
39049         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39050         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39051         $(common-objpfx)dlfcn/libdl.so.
39053 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39055         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39056         BSD terminal modes definitions.
39058 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39060         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39061         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39063         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39064         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39065         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39066         Don't do #include_next.
39067         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39068         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39069         Don't do #include_next.
39070         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39071         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39072         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39073         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39075 2014-05-16  Allan McRae  <allan@archlinux.org>
39077         * po/sv.po: Update Swedish translation from translation project.
39079         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39080         in sed expression.
39082 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39084         [BZ #16917]
39085         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39086         errno if the TIOCGPTN ioctl fails with an error different than
39087         EINVAL.
39088         * login/tst-ptsname.c: New file.
39089         * login/Makefile (tests): Add tst-ptsname.
39091         [BZ #16943]
39092         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39093         and prlimit64.
39095 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39097         [BZ #16849]
39098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39099         herrno to return EAI_AGAIN.
39101 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39103         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39104         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39105         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39106         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39107         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39108         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39109         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39110         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39112         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39113         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39114         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39115         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39116         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39117         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39118         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39119         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39122         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39123         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39124         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39126         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39127         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39128         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39129         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39130         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39132         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39134         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39136         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39138         Moved ...
39139         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39141         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39143         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39145         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39147         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39149         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39151         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39153         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39155         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39157         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39159         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39161         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39163         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39165         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39167         Moved ...
39168         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39170         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39172         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39174         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39176         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39180         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39182         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39184         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39186         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39188         Moved ...
39189         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39191         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39193         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39194         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39195         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39196         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39197         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39199         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39200         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39201         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39202         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39203         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39204         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39205         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39206         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39207         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39209         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39210         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39211         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39212         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39213         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39214         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39215         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39216         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39217         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39218         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39219         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39220         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39221         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39222         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39223         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39225         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39226         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39228         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39229         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39230         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39232         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39234         Moved ...
39235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39237         Moved ...
39238         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39240         Moved ...
39241         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39243         Moved ...
39244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39245         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39246         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39248         Moved ...
39249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39250         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39251         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39252         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39254         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39255         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39257         Moved ...
39258         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39259         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39260         Moved ...
39261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39262         ... here.
39263         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39264         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39265         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39266         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39267         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39268         Moved ...
39269         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39270         ... here.
39271         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39272         Moved ...
39273         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39274         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39275         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39277         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39279         Moved ...
39280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39282         Moved ...
39283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39285         Moved ...
39286         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39288         Moved ...
39289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39290         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39291         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39293         Moved ...
39294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39295         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39296         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39297         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39299         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39300         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39302         Moved ...
39303         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39304         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39305         Moved ...
39306         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39307         ... here.
39308         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39309         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39310         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39311         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39312         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39313         Moved ...
39314         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39315         ... here.
39316         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39317         Moved ...
39318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39319         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39320         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39322         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39323         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39324         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39326         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39328         Moved ...
39329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39331         Moved ...
39332         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39334         Moved ...
39335         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39337         Moved ...
39338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39339         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39340         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39341         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39342         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39344         Moved ...
39345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39347         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39349         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39351         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39353         Moved ...
39354         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39356         Moved ...
39357         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39358         ... here.
39359         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39360         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39361         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39362         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39363         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39364         Moved ...
39365         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39366         ... here.
39367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39368         Moved ...
39369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39370         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39371         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39372         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39373         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39374         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39375         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39376         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39377         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39378         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39379         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39381         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39382         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39384         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39385         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39387         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39388         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39389         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39390         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39391         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39392         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39393         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39394         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39395         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39396         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39398         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39400         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39401         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39403         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39405         Moved ...
39406         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39410         Moved ...
39411         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39414         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39415         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39419         Moved ...
39420         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39422         Moved ...
39423         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39424         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39425         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39427         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39429         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39430         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39431         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39432         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39433         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39434         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39435         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39436         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39437         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39438         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39439         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39441         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39442         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39443         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39444         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39445         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39447         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39448         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39449         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39450         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39451         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39452         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39453         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39454         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39455         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39456         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39458         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39461         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39462         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39463         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39464         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39465         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39466         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39467         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39468         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39469         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39470         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39471         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39472         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39473         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39474         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39476         Update #include.
39477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39478         Likewise.
39479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39480         Likewise.
39481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39482         Likewise.
39483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39484         Likewise.
39485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39486         Likewise.
39487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39488         Likewise.
39489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39490         Likewise.
39491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39492         Likewise.
39493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39494         Likewise.
39495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39497         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39505         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39506         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39507         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39508         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39509         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39511         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39512         that was previously under [RESET_PID].
39513         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39514         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39515         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39517         * sysdeps/i386/nptl/Implies: New file.
39518         * sysdeps/x86_64/nptl/Implies: New file.
39519         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39520         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39521         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39522         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39524         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39525         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39526         (__libc_vfork): New strong alias.
39527         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39528         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39530         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39531         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39532         (__libc_vfork): New strong alias.
39533         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39534         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39536         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39537         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39538         (__libc_vfork): New strong alias.
39539         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39540         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39541         * nptl/pt-vfork.c: New file.
39542         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39543         (libpthread: GLIBC_2.20): New version set (empty).
39545 2014-05-14  Will Newton  <will.newton@linaro.org>
39547         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39548         rather than #if.
39550 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39552         [BZ #16564]
39553         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39554         arguments with exponent 65 or above.
39555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39556         arguments 0x1p113L or above.
39557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39558         to arguments 0x1p107L or above.
39559         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39560         positive arguments with exponent 65 or above.
39561         * math/auto-libm-test-in: Add more tests of log1p.
39562         * math/auto-libm-test-out: Regenerated.
39564         [BZ #16928]
39565         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39566         non-finite arguments is +0.
39567         * math/s_cacosf.c (__cacosf): Likewise.
39568         * math/s_cacosl.c (__cacosl): Likewise.
39569         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39570         * sysdeps/i386/fpu/libm-test-ulps: Update.
39571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39573         [BZ #16927]
39574         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39575         value.
39576         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39577         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39578         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39579         for explicit high bit of mantissa when testing for argument equal
39580         to 1.
39581         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39582         * sysdeps/i386/fpu/libm-test-ulps: Update.
39583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39585         [BZ #16516]
39586         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39587         (__erf): Scale by 16 instead of 8 in potentially underflowing
39588         case.  Ensure exception if result actually underflows.
39589         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39590         (__erff): Scale by 16 instead of 8 in potentially underflowing
39591         case.  Ensure exception if result actually underflows.
39592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39593         (efx8): Remove variable.
39594         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39595         case.  Ensure exception if result actually underflows.
39596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39597         (efx8): Remove variable.
39598         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39599         case.  Ensure exception if result actually underflows.
39600         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39601         (efx8): Remove variable.
39602         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39603         case.  Ensure exception if result actually underflows.
39604         * math/auto-libm-test-in: Add more tests of erf.
39605         * math/auto-libm-test-out: Regenerated.
39607 2014-05-14  Andreas Schwab  <schwab@suse.de>
39609         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39610         Remove code conditionalized on USE___THREAD.
39612         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39613         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39614         not definedness.
39616 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39619         Define unconditionally.
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/aarch64/kernel-features.h
39628         (__ASSUME_DUP3): Do not define.
39629         (__ASSUME_EVENTFD2): Likewise.
39630         (__ASSUME_IN_NONBLOCK): Likewise.
39631         (__ASSUME_O_CLOEXEC): Likewise.
39632         (__ASSUME_PIPE2): Likewise.
39633         (__ASSUME_SIGNALFD4): Likewise.
39634         (__ASSUME_SOCK_CLOEXEC): Likewise.
39635         (__ASSUME_UTIMES): Undefine.
39636         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39637         (__ASSUME_UTIMES): Do not define.
39638         (__ASSUME_O_CLOEXEC): Likewise.
39639         (__ASSUME_SOCK_CLOEXEC): Likewise.
39640         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39641         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39642         0x020621].
39643         (__ASSUME_PIPE2): Likewise.
39644         (__ASSUME_EVENTFD2): Likewise.
39645         (__ASSUME_SIGNALFD4): Likewise.
39646         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39647         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39648         Do not define.
39649         (__ASSUME_EVENTFD2): Likewise.
39650         (__ASSUME_SIGNALFD4): Likewise.
39651         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39652         (__ASSUME_32BITUIDS): Likewise.
39653         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39654         (__ASSUME_IPC64): Likewise.
39655         (__ASSUME_ST_INO_64_BIT): Likewise.
39656         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39657         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39658         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39659         (__ASSUME_UTIMES): Do not define.
39660         (__ASSUME_PSELECT): Likewise.
39661         (__ASSUME_PPOLL): Likewise.
39662         (__ASSUME_O_CLOEXEC): Likewise.
39663         (__ASSUME_SOCK_CLOEXEC): Likewise.
39664         (__ASSUME_IN_NONBLOCK): Likewise.
39665         (__ASSUME_PIPE2): Likewise.
39666         (__ASSUME_EVENTFD2): Likewise.
39667         (__ASSUME_SIGNALFD4): Likewise.
39668         (__ASSUME_DUP3): Likewise.
39669         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39670         (__ASSUME_UTIMES): Likewise.
39671         (__ASSUME_O_CLOEXEC): Likewise.
39672         (__ASSUME_SOCK_CLOEXEC): Likewise.
39673         (__ASSUME_IN_NONBLOCK): Likewise.
39674         (__ASSUME_PIPE2): Likewise.
39675         (__ASSUME_EVENTFD2): Likewise.
39676         (__ASSUME_SIGNALFD4): Likewise.
39677         (__ASSUME_DUP3): Likewise.
39678         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39679         (__ASSUME_UTIMES): Likewise.
39680         (__ASSUME_O_CLOEXEC): Likewise.
39681         (__ASSUME_SOCK_CLOEXEC): Likewise.
39682         (__ASSUME_IN_NONBLOCK): Likewise.
39683         (__ASSUME_PIPE2): Likewise.
39684         (__ASSUME_EVENTFD2): Likewise.
39685         (__ASSUME_SIGNALFD4): Likewise.
39686         (__ASSUME_DUP3): Likewise.
39687         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39688         Likewise.
39689         (__ASSUME_UTIMES): Likewise.
39690         (__ASSUME_EVENTFD2): Likewise.
39691         (__ASSUME_SIGNALFD4): Likewise.
39692         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39693         (__ASSUME_O_CLOEXEC): Likewise.
39694         (__ASSUME_SOCK_CLOEXEC): Likewise.
39695         (__ASSUME_IN_NONBLOCK): Likewise.
39696         (__ASSUME_PIPE2): Likewise.
39697         (__ASSUME_EVENTFD2): Likewise.
39698         (__ASSUME_SIGNALFD4): Likewise.
39699         (__ASSUME_DUP3): Likewise.
39700         (__ASSUME_UTIMES): Undefine.
39702         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39703         feclearexcept.  Remove symbol versioning code.
39704         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39705         symbol versioning code.
39706         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39707         symbol versioning code.
39708         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39709         feupdateenv.  Remove symbol versioning code.
39710         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39711         fegetexceptflag.  Remove symbol versioning code.
39712         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39713         fesetexceptflag.  Remove symbol versioning code.
39714         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39715         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39716         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39717         (__posix_fadvise64_l32): Remove prototype.
39718         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39719         code.
39721 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39723         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39724         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39725         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39726         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39728 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39730         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39731         current working directory
39733 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39735         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39736         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39737         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39738         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39739         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39740         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39741         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39742         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39743         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39744         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39745         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39746         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39747         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39748         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39749         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39750         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39751         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39752         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39753         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39754         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39755         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39756         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39757         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39758         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39759         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39760         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39761         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39762         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39763         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39764         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39765         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39766         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39767         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39768         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39769         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39770         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39771         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39772         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39773         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39774         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39775         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39776         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39778         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39779         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39781         * sysdeps/unix/sysv/linux/arm/Makefile
39782         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39783         Add rt-aeabi_unwind_cpp_pr1.
39784         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39785         Add nptl-aeabi_unwind_cpp_pr1.
39786         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39787         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39788         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39789         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39790         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39791         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39793         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39794         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39795         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39796         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39798         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39799         Deconditionalize the code that was previously under [RESET_PID].
39800         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39802         * sysdeps/generic/exit-thread.h: New file.
39803         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39804         * include/unistd.h (__exit_thread): Remove declaration.
39805         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39806         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39807         * csu/libc-start.c: Include <exit-thread.h>.
39808         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39809         * nptl/pthread_create.c: Include <exit-thread.h>.
39810         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39811         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39812         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39813         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39814         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39815         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39816         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39817         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39818         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39819         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39820         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39821         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39822         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39823         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39824         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39825         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39826         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39828 2014-05-13  Andreas Schwab  <schwab@suse.de>
39830         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39832 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39834         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39835         (__ASSUME_UTIMES): Do not condition on kernel version.
39836         (__ASSUME_PSELECT): Define unconditionally.
39837         (__ASSUME_PPOLL): Likewise.
39838         (__ASSUME_ATFCTS): Likewise.
39839         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39840         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39841         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39842         (__ASSUME_UTIMENSAT): Define unconditionally.
39843         (__ASSUME_PRIVATE_FUTEX): Likewise.
39844         (__ASSUME_FALLOCATE): Likewise.
39845         (__ASSUME_O_CLOEXEC): Likewise.
39846         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39847         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39848         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39849         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39850         (__ASSUME_IN_NONBLOCK): Likewise.
39851         (__ASSUME_PIPE2): Likewise.
39852         (__ASSUME_EVENTFD2): Likewise.
39853         (__ASSUME_SIGNALFD4): Likewise.
39854         (__ASSUME_DUP3): Likewise.
39855         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39856         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39857         (__ASSUME_AT_RANDOM): Likewise.
39858         (__ASSUME_PREADV): Likewise.
39859         (__ASSUME_PWRITEV): Likewise.
39860         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39861         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39862         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39863         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39864         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39865         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39866         (__ASSUME_O_CLOEXEC): Define unconditionally.
39867         (__ASSUME_PSELECT): Do not undefine conditionally.
39868         (__ASSUME_PPOLL): Likewise.
39869         (__ASSUME_ATFCTS): Likewise.
39870         (__ASSUME_SET_ROBUST_LIST): Likewise.
39871         (__ASSUME_UTIMENSAT): Likewise.
39872         (__ASSUME_FDATASYNC): Define unconditionally.
39873         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39874         (__ASSUME_SIGFRAME_V2): Likewise.
39875         )__ASSUME_EVENTFD2): Likewise.
39876         (__ASSUME_SIGNALFD4): Likewise.
39877         (__ASSUME_PSELECT): Do not undefine conditionally.
39878         (__ASSUME_PPOLL): Likewise.
39879         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39880         (__ASSUME_PSELECT): Define unconditionally.
39881         (__ASSUME_PPOLL): Likewise.
39882         (__ASSUME_O_CLOEXEC): Likewise.
39883         (__ASSUME_SOCK_CLOEXEC): Likewise.
39884         (__ASSUME_IN_NONBLOCK): Likewise.
39885         (__ASSUME_PIPE2): Likewise.
39886         (__ASSUME_EVENTFD2): Likewise.
39887         (__ASSUME_SIGNALFD4): Likewise.
39888         (__ASSUME_DUP3): Likewise.
39889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39890         (__ASSUME_O_CLOEXEC): Likewise.
39891         (__ASSUME_SOCK_CLOEXEC): Likewise.
39892         (__ASSUME_IN_NONBLOCK): Likewise.
39893         (__ASSUME_PIPE2): Likewise.
39894         (__ASSUME_EVENTFD2): Likewise.
39895         (__ASSUME_SIGNALFD4): Likewise.
39896         (__ASSUME_DUP3): Likewise.
39897         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39898         (__ASSUME_EVENTFD2): Likewise.
39899         (__ASSUME_SIGNALFD4): Likewise.
39900         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39902 2014-05-12  Andreas Schwab  <schwab@suse.de>
39904         [BZ #16932]
39905         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39906         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39907         than maximum RPC packet size.
39908         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39909         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39910         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39911         (_nss_nis_getservbyport_r): Likewise.
39913 2014-05-12  Will Newton  <will.newton@linaro.org>
39915         * malloc/Makefile (tests): Add tst-mallopt.
39916         * malloc/tst-mallopt.c: New file.
39918 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39920         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39921         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39923 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39925         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39926         (tst-tlsmod6.so): Likewise.
39928 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39930         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39932 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39934         [BZ #16064]
39935         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39936         and <dl-procinfo.h>.
39937         (__fegetenv): Save SSE state in envp->__eip if supported.
39938         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39939         envp->__eip if supported.
39940         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39941         and <dl-procinfo.h>.
39942         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39943         __data_offset and __data_selector in environment to 0.  Set SSE
39944         state if supported.
39945         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39946         test-fenv-sse.
39947         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39948         -mfpmath=sse.
39949         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39951 2014-05-09  Will Newton  <will.newton@linaro.org>
39953         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39954         and libc_relro_required for ARM.
39955         * sysdeps/arm/preconfigure: Regenerate.
39957 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39958             Stefan Liebler  <stli@linux.vnet.ibm.com>
39960         * config.make.in (enable-lock-elision): New Makefile variable.
39961         * configure.ac: Likewise.
39962         * configure: Regenerate.
39963         * sysdeps/s390/configure.ac:
39964         Add check for gcc transactions support.
39965         * sysdeps/s390/configure: Regenerate.
39966         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39967         Build elision files if enabled.
39968         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39969         Add lock elision support for s390.
39970         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39971         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39972         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39973         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39974         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39975         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39976         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39977         Likewise.
39978         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39979         Likewise.
39980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39981         Likewise.
39982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39983         Likewise.
39984         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39985         (__lll_timedlock_elision, __lll_lock_elision)
39986         (__lll_unlock_elision, __lll_trylock_elision)
39987         (lll_timedlock_elision, lll_lock_elision)
39988         (lll_unlock_elision, lll_trylock_elision): Add.
39989         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39990         (pthread_mutex_t): Add lock elision support for s390.
39992 2014-05-14  Wilco  <wdijkstr@arm.com>
39994         * sysdeps/arm/fclrexcpt.c: Cleanup.
39995         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39996         * sysdeps/arm/feenablxcpt.c: Cleanup.
39997         * sysdeps/arm/fegetenv.c: Cleanup.
39998         * sysdeps/arm/fegetexcept.c: Cleanup.
39999         * sysdeps/arm/fegetround.c: Cleanup.
40000         * sysdeps/arm/feholdexcpt.c: Cleanup.
40001         * sysdeps/arm/fesetenv.c: Cleanup.
40002         * sysdeps/arm/fesetround.c: Cleanup.
40003         * sysdeps/arm/feupdateenv.c: Cleanup.
40004         * sysdeps/arm/fgetexcptflg.c: Cleanup.
40005         * sysdeps/arm/fraiseexcpt.c: Cleanup.
40006         * sysdeps/arm/fsetexcptflg.c: Cleanup.
40007         * sysdeps/arm/ftestexcept.c: Cleanup.
40008         * sysdeps/arm/get-rounding-mode.h: Cleanup.
40009         * sysdeps/arm/setfpucw.c: Cleanup.
40011 2014-05-09  Will Newton  <will.newton@linaro.org>
40013         * sysdeps/arm/armv7/strcmp.S: New file.
40014         * NEWS: Mention addition of ARMv7 optimized strcmp.
40016 2014-05-08  Roland McGrath  <roland@hack.frob.com>
40018         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40019         look for %.ac rather than %.in.
40021         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40022         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40023         * sysdeps/mach/hurd/configure: Regenerated.
40024         * sysdeps/unix/sysv/linux/configure: Regenerated.
40026         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40028 2014-05-07  Steve Ellcey  <sellcey@mips.com>
40030         [BZ# 16922]
40031         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40032         (LONG_SUB): Ditto.
40033         (PTR_SUB): Ditto.
40035 2014-05-07  Andreas Schwab  <schwab@suse.de>
40037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40038         when skipping over non-matching result from nscd.
40040 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40042         [BZ #16876]
40043         * nptl/sockperf.c (client): Check socket return value.
40045         [BZ #16877]
40046         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40047         nscd security class.
40049 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40051         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40052         * sysdeps/arm/unwind.h: ... here.
40054 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40056         [BZ# 16916]
40057         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40058         Define.
40060 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40062         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40063         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40064         multiarch strncpy for PPC64.
40065         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40066         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40068         multiarch optimizations.
40069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40070         (__libc_ifunc_impl_list): Likewise.
40071         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40072         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40073         multiarch stpncpy for PPC64.
40074         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40075         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40077 2014-05-06  Andreas Schwab  <schwab@suse.de>
40079         [BZ #16912]
40080         * gmon/mcount.c (_MCOUNT_DECL): Use
40081         atomic_compare_and_exchange_bool_acq instead of
40082         catomic_compare_and_exchange_bool_acq.
40084 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40086         * elf/Makefile (others, install-bin): Remove pldd.
40087         (pldd-modules): Variable removed.
40088         ($(objpfx)pldd): Target removed.
40089         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40090         (others, install-bin): Append pldd here.
40091         ($(objpfx)pldd): New target.
40093         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40094         to 0, so the first #if test emitted later doesn't see it undefined.
40095         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40096         * sysdeps/gnu/errlist.c: Regenerated.
40098 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40100         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40101         [libc_hidden_builtin_def]: Define to empty value.
40102         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40103         [libc_hidden_builtin_def]: Likewise.
40104         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40105         [libc_hidden_builtin_def]: Likewise.
40106         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40107         [libc_hidden_builtin_def]: Likewise.
40108         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40109         __redirect_memcpy and define ifunc as default hidden symbol.
40110         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40111         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40113 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40115         * locale/iso-4217.def: Reintroduce XDR currency.
40117 2014-05-04  Allan McRae  <allan@archlinux.org>
40119         * po/eo.po: Update Esperanto translation from translation project.
40121 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40123         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40124         and FEATURE_INDEX_MAX to 1.
40125         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40127 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40129         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40130         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40131         * iconvdata/big5.c (ONE_DIRECTION): Define.
40132         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40133         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40134         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40135         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40136         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40137         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40138         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40139         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40140         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40141         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40142         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40143         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40144         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40145         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40146         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40147         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40148         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40149         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40150         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40151         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40152         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40153         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40154         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40155         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40156         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40157         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40158         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40159         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40160         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40161         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40162         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40163         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40164         * iconvdata/johab.c (ONE_DIRECTION): Define.
40165         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40166         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40167         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40168         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40169         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40170         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40171         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40172         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40173         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40174         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40176 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40178         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40179         (_IO_JUMPS_OFFSET): Define to 0.
40181         * nptl/sysdeps/pthread/bits/libc-lock.h
40182         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40183         (__libc_lock_define_initialized_recursive): Always define using
40184         initializer.  Modern compilers treat uninitialized (implicit zero) and
40185         explicit zero initializers the same (i.e. put the datum in bss).
40187 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40189         * nscd/nscd-client.h: Include <string.h>.
40191 2014-05-01  David S. Miller  <davem@davemloft.net>
40193         [BZ #16885]
40194         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40195         multiple zero bytes exist at the end of a string.
40196         Reported by Aurelien Jarno <aurelien@aurel32.net>
40198         * string/test-strcmp.c (check): Add explicit test for situations where
40199         there are multiple zero bytes after the first.
40201 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40203         [BZ #16890]
40204         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40205         when compiling wprintf.
40206         * stdio-common/tstdiomisc.c (t3): New function.
40207         (main): Call it.
40209 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40211         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40212         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40213         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40214         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40216 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40218         * stdlib/longlong.h: Updated from GCC.
40220 2014-05-01  Will Newton  <will.newton@linaro.org>
40221             Bernard Ogden  <bernie.ogden@linaro.org>
40223         * NEWS: Update fixed bug list.
40225         [BZ #15119]
40226         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40228 2014-04-30  David S. Miller  <davem@davemloft.net>
40230         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40231         (libc_feholdexcept_setround_sparc_ctx): New function.
40232         (libc_fesetenv_sparc_ctx): Likewise.
40233         (libc_feupdateenv_sparc_ctx): Likewise.
40234         (libc_feholdsetround_sparc_ctx): Likewise.
40235         (libc_feholdexcept_setround_ctx): Define.
40236         (libc_feholdexcept_setroundf_ctx): Likewise.
40237         (libc_feholdexcept_setroundl_ctx): Likewise.
40238         (libc_fesetenv_ctx): Likewise.
40239         (libc_fesetenvf_ctx): Likewise.
40240         (libc_fesetenvl_ctx): Likewise.
40241         (libc_feupdateenv_ctx): Likewise.
40242         (libc_feupdateenvf_ctx): Likewise.
40243         (libc_feupdateenvl_ctx): Likewise.
40244         (libc_feresetround_ctx): Likewise.
40245         (libc_feresetroundf_ctx): Likewise.
40246         (libc_feresetroundl_ctx): Likewise.
40247         (libc_feholdsetround_ctx): Likewise.
40248         (libc_feholdsetroundf_ctx): Likewise.
40249         (libc_feholdsetroundl_ctx): Likewise.
40251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40252         with __USE_GNU instead of XOPEN cpp guards.
40254         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40255         0.
40257         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40258         with XOPEN cpp guards.
40260 2014-04-30  Julian Brown  <julian@codesourcery.com>
40262         [BZ #16888]
40263         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40264         handling.
40266 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40268         [BZ #9894]
40269         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40270         Change to 2.6.32.
40271         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40272         * sysdeps/unix/sysv/linux/configure: Regenerated.
40273         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40274         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40275         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40276         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40277         * README: Update reference to required Linux kernel version.
40278         * manual/install.texi (Linux): Update reference to required Linux
40279         kernel headers version.
40280         * INSTALL: Regenerated.
40282         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40283         header inclusion.
40284         [POSIX] (limits.h): Likewise.
40285         [POSIX] (math.h): Likewise.
40286         [POSIX] (sys/wait.h): Likewise.
40287         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40288         function.
40289         [POSIX] (stddef.h): Do not allow header inclusion.
40291 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40293         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40295 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40297         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40298         Return immediately after lll_futex_wake.
40300 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40302         [BZ #16791]
40303         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40304         structure.
40305         (datahead_init_pos): Call datahead_init_common early.
40306         (datahead_init_neg): Likewise.
40308         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40309         datahead_init_neg): New functions.
40310         * nscd/aicache.c (addhstaiX): Use them.
40311         * nscd/grpcache.c (cache_addgr): Likewise.
40312         * nscd/hstcache.c (cache_addhst): Likewise.
40313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40314         * nscd/netgroupcache.c (do_notfound): Likewise.
40315         (addgetnetgrentX): Likewise.
40316         (addinnetgrX): Likewise.
40317         * nscd/pwdcache.c (cache_addpw): Likewise.
40318         * nscd/servicescache.c (cache_addserv): Likewise.
40320 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40321             Atsushi Onoe  <atsushi@onoe.org>
40323         [BZ #14308]
40324         [BZ #12994]
40325         [BZ #13651]
40326         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40327         one response is valid.
40328         * resolv/res_send.c (send_dg): Check for validity of other
40329         response if the current response is a referral.
40331 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40333         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40335 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40337         [BZ #16823]
40338         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40339         Always divide by positive zero when computing -Inf result.
40340         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40341         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40343 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40345         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40346         FPSCR if value do not change.
40347         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40348         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40349         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40350         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40351         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40352         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40353         function.
40355 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40357         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40358         * sysdeps/unix/sysv/linux/hppa: Move directory from
40359         ports/systeps/unix/sysv/linux/hppa.
40360         * README: Update listing for hppa-*-linux-gnu.
40362 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40364         [BZ #16754]
40365         * manual/stdio.texi (Hook functions): Fix types of stream hook
40366         functions.
40367         [BZ #16854]
40368         * socket/sys/socket.h: Fix typo in comment.
40370 2014-04-28  Wilco  <wdijkstr@arm.com>
40372         * sysdeps/arm/fenv_private.h: New file.
40373         * sysdeps/arm/math_private.h: New file.
40374         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40376 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40378         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40379         with __int128_t.
40380         (La_x86_64_retval): Likewise.
40382 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40384         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40385         fpsr if value didn't change.
40386         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40387         to fpcr if value didn't change.
40388         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40389         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40390         fpsr or fpcr if value didn't change.
40391         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40392         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40393         fpcr if value didn't change.
40394         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40395         to fpsr if value didn't change.
40397 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40399         * nptl/tst-sem3.c: Use test-skeleton.c
40400         (main): Rename to do_test.  Use return instead of
40401         exit.
40402         * nptl/tst-sem4.c: Use test-skeleton.c
40403         (main): Rename to do_test.
40405 2014-04-22  David S. Miller  <davem@davemloft.net>
40407         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40408         (struct sigaction): New struct member __glibc_reserved0, change
40409         type of sa_flags to int.
40411 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40413         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40414         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40416 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40418         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40419         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40421 2014-04-22  Will Newton  <will.newton@linaro.org>
40422             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40424         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40425         (__longjmp): Add longjmp and longjmp_target SystemTap
40426         probes.
40427         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40428         (__sigsetjmp): Add setjmp SystemTap probe.
40430 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40432         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40433         match manual order.
40435 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40437         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40439         * sysdeps/powerpc/fpu/fenv_private.h
40440         (libc_feholdexcept_setroundl_ctx): Define to
40441         libc_feholdexcept_setround_ppc_ctx.
40442         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40443         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40444         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40445         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40447 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40449         * sysdeps/aarch64/math-tests.h: New file.
40451 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40453         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40454         New.
40455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40456         Check and set bit_AVX2_Usable.
40457         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40458         macro.
40459         (bit_AVX2): Likewise.
40460         (index_AVX2_Usable): Likewise.
40461         (CPUID_AVX2): Likewise.
40462         (HAS_AVX2): Likewise.
40464 2014-04-17  Will Newton  <will.newton@linaro.org>
40466         * manual/setjmp.texi (System V contexts): Add note that
40467         calling setcontext on a context created by a call to a
40468         signal handler is undefined.  Update text to note that
40469         setcontext from a signal handler is possible but not
40470         recommended.
40472         [BZ #16629]
40473         * stdlib/tst-setcontext.c: Include signal.h.
40474         (main): Check that the signal stack before and
40475         after swapcontext is the same.
40477         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40478         Re-implement to restore registers in user code and avoid
40479         rt_sigreturn system call.
40481 2014-04-17  Wilco  <wdijkstr@arm.com>
40483         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40484         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40485         * math/test-fenv.c: Skip exception trap tests on targets which only
40486         support non-stop mode.
40488 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40489             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40491         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40492         (libc_feholdsetround_aarch64_ctx)
40493         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40494         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40495         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40496         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40497         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40498         (libc_feresetround_noexl_ctx): Define.
40500 2014-04-16  Richard Henderson  <rth@redhat.com>
40502         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40504         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40505         unwind tables.
40507         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40508         const from the non-libc, non-ldso copy.
40510         * sysdeps/alpha/libm-test-ulps: Regenerate.
40512 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40513             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40515         * sysdeps/aarch64/fpu/math_private.h: New file.
40517 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40519         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40521 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40523         [BZ #16275]
40524         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40525         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40526         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40527         Intel MPX bound registers before _dl_profile_fixup.
40528         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40529         registers after _dl_profile_fixup.  Save and restore bound
40530         registers bnd0/bnd1 when calling _dl_call_pltexit.
40531         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40532         (LR_BND_OFFSET): Likewise.
40533         (LRV_BND0_OFFSET): Likewise.
40534         (LRV_BND1_OFFSET): Likewise.
40536 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40538         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40539         to...
40540         * sysdeps/mach/hurd/i386/tls.h: ... here.
40541         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40542         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40543         fields.
40545 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40547         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40549 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40551         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40553 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40555         [BZ #14770]
40556         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40557         * sysdeps/s390/configure: Regenerate.
40559         [BZ #16824]
40560         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40561         Set round-to-nearest internally to reduce error accumulation.
40563 2014-04-16  Alan Modra  <amodra@gmail.com>
40565         [BZ #16740]
40566         [BZ #16619]
40567         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40568         * math/libm-test.inc (frexp_test_data): Add tests.
40569         * NEWS: Update fixed bug list.
40571 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40573         * benchtests/Makefile: Depend on libraries in build directory.
40574         (bench-math): Separate out math tests.
40575         (bench-pthread): Separate out pthread tests.
40576         (bench): Include math and pthread tests.
40578 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40580         [BZ #16831]
40581         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40582         _dl_debug_initialize.
40584         * configure.ac: Remove SELinux header check.
40585         * configure: Regenerate.
40586         * nscd/selinux.c (perms): Array of const char* to permission names.
40587         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40588         default policy. Call string_to_security_class and string_to_av_perm to
40589         translate strings. Enforce default policy and call avs_has_perm with
40590         results of translated strings.
40592 2014-04-13  David S. Miller  <davem@davemloft.net>
40594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40596 2014-04-12  Allan McRae  <allan@archlinux.org>
40598         [BZ #16838]
40599         * manual/string.texi (Collation Functions): Fix qsort argument
40600         order in example.
40601         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40603 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40605         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40606         Make the test a no-op if there are no exceptions defined.
40608 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40610         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40611         enable-hardcoded-path-in-tests
40613 2014-04-11  Will Newton  <will.newton@linaro.org>
40615         * benchtests/Makefile (extra-objs): Add json-lib.o.
40616         (bench-func): Tidy up JSON output.
40617         * benchtests/bench-skeleton.c: Include json-lib.h.
40618         (main): Use JSON library functions to do output of
40619         benchmark results.
40620         * benchtests/bench-timing-type.c (main): Output the
40621         timing type simply, leaving formatting to the user.
40622         * benchtests/json-lib.c: New file.
40623         * benchtests/json-lib.h: Likewise.
40625 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40627         [BZ #15215]
40628         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40629         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40630         memory barriers.  Add comments.
40631         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40632         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40633         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40634         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40635         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40636         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40638 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40640         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40641         * sysdeps/s390/s390-64/configure.ac: ... this ...
40642         * sysdeps/s390/configure.ac: ... to here.
40643         * sysdeps/s390/s390-32/configure: Delete file.
40644         * sysdeps/s390/s390-64/configure: Delete file.
40645         * sysdeps/s390/configure: Regenerate.
40647 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40649         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40651 2014-04-11  Will Newton  <will.newton@linaro.org>
40653         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40654         to zero if it is not defined elsewhere.  (mtrim): Test
40655         the value of MALLOC_DEBUG with #if rather than #ifdef.
40657 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40659         * benchtests/pthread_once-inputs: New file.
40660         * benchtests/pthread_once-source.c: New file.
40661         * benchtests/README: Update documentation.
40663 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40664             H.J. Lu  <hongjiu.lu@intel.com>
40666         [BZ #16275]
40667         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40668         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40669         * sysdeps/x86_64/configure: Regenerated.
40670         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40671         macro.
40672         (REGISTER_SAVE_RAX): Likewise.
40673         (REGISTER_SAVE_RCX): Likewise.
40674         (REGISTER_SAVE_RDX): Likewise.
40675         (REGISTER_SAVE_RSI): Likewise.
40676         (REGISTER_SAVE_RDI): Likewise.
40677         (REGISTER_SAVE_R8): Likewise.
40678         (REGISTER_SAVE_R9): Likewise.
40679         (REGISTER_SAVE_BND0): Likewise.
40680         (REGISTER_SAVE_BND1): Likewise.
40681         (REGISTER_SAVE_BND2): Likewise.
40682         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40683         bound registers when calling _dl_fixup.
40685 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40687         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40688         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40689         of its definition.
40690         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40691         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40692         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40693         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40694         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40695         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40696         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40698 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40700         [BZ #15514]
40701         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40702         pathconf(_PC_NAME_MAX).
40704 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40706         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40707         Remove macro usage.
40708         (__PTHREAD_SPINS): Move definition to ...
40709         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40710         (__PTHREAD_SPINS): ... here.
40711         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40712         (__PTHREAD_SPIN): Likewise.
40713         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40714         (__PTHREAD_SPIN): Likewise.
40715         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40716         (__PTHREAD_SPIN): Likewise.
40717         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40718         (__PTHREAD_SPIN): Likewise.
40719         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40720         (__PTHREAD_SPIN): Likewise.
40721         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40722         (__PTHREAD_SPIN): Likewise.
40723         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40724         (__PTHREAD_SPIN): Likewise.
40725         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40726         (__PTHREAD_SPIN): Likewise.
40727         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40728         (__PTHREAD_SPIN): Likewise.
40729         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40730         (__PTHREAD_SPIN): Likewise.
40731         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40732         (__PTHREAD_SPIN): Likewise.
40733         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40734         (__PTHREAD_SPIN): Likewise.
40736         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40737         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40738         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40739         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40740         imply folder.
40741         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40742         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40743         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40744         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40745         correct imply path.
40746         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40747         strlen symbol for non multi-arch builds.
40748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40749         missing hidden_def and weak_alias.
40751 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40753         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40755 2014-04-07  Will Newton  <will.newton@linaro.org>
40757         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40758         and contents.  [!_LIBC] Remove #ifndef and contents.
40759         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40760         * string/memccpy.c (__memccpy): Use ANSI prototype.
40761         * string/memfrob.c (memfrob): Likewise.
40762         * string/strcoll.c (STRCOLL): Likewise.
40763         * string/strlen.c (strlen): Likewise.
40764         * string/strtok.c (STRTOK): Likewise.
40765         * string/strcat.c: Remove unused #include of memcopy.h.
40766         (strcat): Use ANSI prototype.
40767         * string/strchr.c: Remove unused #include of memcopy.h.
40768         (strchr): Use ANSI prototype.
40769         * string/strcmp.c: Remove unused #include of memcopy.h.
40770         (strcmp): Use ANSI prototype.
40771         * string/strcpy.c: Remove unused #include of memcopy.h.
40772         (strcpy): Use ANSI prototype.
40774 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40776         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40777         * config.make.in (config-extra-cppflags): Set it from
40778         libc_extra_cppflags.
40779         * configure.ac (libc_extra_cflags): Make it accumulate over
40780         configure fragments.
40781         (libc_extra_cppflags): New flag.
40782         * configure. Regenerate.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40784         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40785         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40788         [BZ #16815]
40789         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40790         result for FE_DOWNWARD rounding mode.
40791         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40792         Likewise.
40793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40795 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40797         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40798         in function argument name.
40800 2014-04-03  David Svoboda  <svoboda@cert.org>
40802         [BZ #5666]
40803         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40804         explicitly.
40806 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40808         * elf/dl-unmap-segments.h: New file.
40809         * sysdeps/generic/ldsodefs.h
40810         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40811         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40812         * elf/dl-fptr.c: Likewise.
40813         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40814         * sysdeps/aarch64/tlsdesc.c: Likewise.
40815         * sysdeps/arm/tlsdesc.c: Likewise.
40816         * sysdeps/i386/tlsdesc.c: Likewise.
40817         * sysdeps/tile/dl-runtime.c: Likewise.
40818         * sysdeps/x86_64/tlsdesc.c: Likewise.
40819         * elf/dl-load.h: New file.
40820         * elf/dl-load.c: Include it.
40821         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40822         Macros moved to dl-load.h.
40823         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40824         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40825         Use _dl_unmap_segments in place of __munmap.
40826         Break out segment-mapping loop into ...
40827         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40829 2014-04-03  Will Newton  <will.newton@linaro.org>
40831         * elf/dl-lookup.c (do_lookup_x): Remove comment
40832         referring to nested function and move variable
40833         declarations down to before first use.
40835 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40837         [BZ #16799]
40838         [BZ #16800]
40839         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40840         with 0 numerator.
40841         * math/s_catanf.c (__catanf): Likewise.
40842         * math/s_catanh.c (__catanh): Likewise.
40843         * math/s_catanhf.c (__catanhf): Likewise.
40844         * math/s_catanhl.c (__catanhl): Likewise.
40845         * math/s_catanl.c (__catanl): Likewise.
40846         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40847         by positive zero when computing -Inf result.
40848         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40849         (catanh_test): Likewise.
40850         * sysdeps/i386/fpu/libm-test-ulps: Update.
40851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40853         [BZ #16789]
40854         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40855         instead of using underflowing value in computing result.
40856         * math/s_clog10.c (__clog10): Likewise.
40857         * math/s_clog10f.c (__clog10f): Likewise.
40858         * math/s_clog10l.c (__clog10l): Likewise.
40859         * math/s_clogf.c (__clogf): Likewise.
40860         * math/s_clogl.c (__clogl): Likewise.
40861         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40862         (clog10_test): Likewise.
40863         * sysdeps/i386/fpu/libm-test-ulps: Update.
40864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40866 2014-04-02  Alan Modra  <amodra@gmail.com>
40868         [BZ #16739]
40869         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40870         output when value is near a power of two.  Use int64_t for lx and
40871         remove casts.  Use decimal rather than hex exponent constants.
40872         Don't use long double multiplication when double will suffice.
40873         * math/libm-test.inc (nextafter_test_data): Add tests.
40874         * NEWS: Add 16739 and 16786 to bug list.
40876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40878         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40880 2014-04-01  Will Newton  <will.newton@linaro.org>
40882         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40883         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40885 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40887         [BZ #13347]
40888         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40889         * nptl/tst-setuid2.c: New file.
40890         * nptl/Makefile (xtests): Add tst-setuid2.
40892 2014-04-01  Alan Modra  <amodra@gmail.com>
40894         [BZ #16786]
40895         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40897 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40899         [BZ #6803]
40900         [BZ #6804]
40901         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40902         set errno as appropriate.
40903         * math/w_scalbf.c (__scalbf): Likewise.
40904         * math/w_scalbl.c (__scalbl): Likewise.
40905         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40906         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40907         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40908         Add more NaN tests.
40910         [BZ #16349]
40911         * math/w_atan2.c: Include <errno.h>.
40912         (__atan2): Set errno for result underflowing to zero.
40913         * math/w_atan2f.c: Include <errno.h>.
40914         (__atan2f): Set errno for result underflowing to zero.
40915         * math/w_atan2l.c: Include <errno.h>.
40916         (__atan2l): Set errno for result underflowing to zero.
40917         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40918         tests.
40919         * math/auto-libm-test-out: Regenerated.
40921 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40923         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40924         Encode instruction correctly in little endian.
40925         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40926         Likewise.
40927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40928         Likewise.
40929         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40930         Likewise.
40931         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40932         Likewise.
40934 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40936         [BZ #9894]
40937         * sysdeps/unix/sysv/linux/kernel-features.h
40938         [__sparc__ && !__arch64__ && !__sparc_v9__]
40939         (__ASSUME_SET_ROBUST_LIST): Do not define.
40940         [__sparc__ && !__arch64__ && !__sparc_v9__]
40941         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40942         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40943         Likewise.
40944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40945         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40946         (__ASSUME_REQUEUE_PI): Likewise.
40947         (__ASSUME_SET_ROBUST_LIST): Likewise.
40948         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40949         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40950         Undefine.
40951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40952         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40953         Likewise.
40954         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40955         Likewise.
40956         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40957         Likewise.
40958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40959         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40960         Undefine.
40961         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40962         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40963         Likewise.
40965         [BZ #16648]
40966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40967         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40968         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40970 2014-03-31  Will Newton  <will.newton@linaro.org>
40972         * benchtests/Makefile (bench): Add ffs and ffsll to list
40973         of tests.
40974         * benchtests/ffs-inputs: New file.
40975         * benchtests/ffsll-inputs: Likewise.
40977 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40979         [BZ #16770]
40980         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40981         too large before casting to int.
40982         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40983         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40984         * math/libm-test.inc (scalb_test_data): Add more tests.
40986 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40988         * benchtests/Makefile (DETAILED_OPT): New make option.
40989         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40990         set.
40991         * benchtests/bench-skeleton.c: Include stdbool.h.
40992         (main): Store and print timings per input.
40993         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40994         member to each argument value.
40995         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40996         (_print_arg_data): Initialize per-input timing to 0.
40998         * benchtests/Makefile (timing-type): New binary.
40999         (bench-clean): Also remove bench-timing-type.
41000         (bench): New target for timing-type.
41001         (bench-func): Print output in JSON format.
41002         * benchtests/bench-skeleton.c (main): Print output in JSON
41003         format.
41004         * benchtests/bench-timing-type.c: New file.
41005         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41006         (TIMING_PRINT_STATS): Remove.
41007         * benchtests/scripts/bench.py (_print_arg_data): Store variant
41008         name separately.
41010         * benchtests/bench-modf.c: Remove.
41011         * benchtests/modf-inputs: New inputs file.
41013 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
41015         [BZ #16362]
41016         * math/s_clog10.c (M_PI_LOG10E): New macro.
41017         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41018         imaginary parts are 0.
41019         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41020         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41021         imaginary parts are 0.
41022         * math/s_clog10l.c (M_PI_LOG10El): New macro.
41023         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41024         imaginary parts are 0.
41025         * math/libm-test.inc (clog10_test_data): Update expected results
41026         for when real and imaginary parts are 0.
41028 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
41030         * elf/dl-load.c: Finish conversion of __builtin_expect into
41031         __glibc_{un}likely.
41033 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
41035         [BZ #16348]
41036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41037         1+x for argument with exponent below -67.
41038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41039         Likewise.
41040         * math/auto-libm-test-in: Add more tests of exp.
41041         * math/auto-libm-test-out: Regenerated.
41043 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41045         [BZ #16759]
41046         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41047         (nscd_getnetgrent): Use it.
41049         [BZ #16760]
41050         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41051         of stpcpy.
41053 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41055         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41056         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41057         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41058         (lll_robust_unlock): Remove out of line section. Use cfi
41059         intrinsics.
41060         (LLL_STUB_UNWIND_INFO*): Remove.
41061         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41062         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41063         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41064         (lll_robust_unlock): Remove out of line section. Use cfi
41065         intrinsics.
41066         (LLL_STUB_UNWIND_INFO*): Remove.
41068 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41070         [BZ #16758]
41071         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41072         blank values.
41074 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41076         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41078 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41080         [BZ #16198]
41081         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41082         fnstenv.
41083         * math/test-fenv-preserve.c: New file.
41084         * math/Makefile (tests): Add test-fenv-preserve.
41086 2014-03-26  Will Newton <will.newton@linaro.org>
41088         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41090 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41092         * scripts/versionlist.awk: Partition the version sets and emit all
41093         GLIBC_* (sorted) before all others (sorted).
41095 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41097         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41098         GLIBC_2.2.5 version.
41100 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41102         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41103         calls.
41105         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41106         previous change.
41108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41110 2014-03-25  Andreas Schwab  <schwab@suse.de>
41112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41113         label to be used after in6ailist is initialized.
41115 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41117         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41118         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41120 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41122         [BZ #16357]
41123         [BZ #16599]
41124         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41125         min_plus_half.
41126         (fp_formats): Update initializers.
41127         (init_fp_formats): Initialize new field.
41128         (output_for_one_input_case): Allow underflow for results up to
41129         min_plus_half.
41130         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41131         * math/auto-libm-test-in: Don't mark some underflows from asin and
41132         atanh as spurious.
41133         * math/auto-libm-test-out: Regenerated.
41134         * sysdeps/i386/fpu/libm-test-ulps: Update.
41135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41137 2014-03-25  Andreas Schwab  <schwab@suse.de>
41139         * libio/Makefile (tst-ftell-partial-wide-ENV)
41140         (tst-ftell-active-handler-ENV): Define.
41142 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41144         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41146 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41148         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41150 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41152         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41153         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41154         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41156 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41158         [BZ #16634]
41159         * elf/dl-load.c (open_verify): Add mode parameter.
41160         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41161         (open_path): Change from boolean 'secure' to complete flag 'mode'
41162         (_dl_map_object): Adjust.
41163         * elf/Makefile (tests): Add tst-dlopen-aout.
41164         * elf/tst-dlopen-aout.c: New test.
41166 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41168         [BZ #16714]
41169         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41170         (struct stat): Rename member pad0 to __glibc_reserved0.
41172         [BZ #16712]
41173         * sysdeps/s390/s390-32/bits/wordsize.h
41174         (__WORDSIZE32_SIZE_ULONG): New define.
41175         * sysdeps/s390/s390-64/bits/wordsize.h
41176         (__WORDSIZE32_SIZE_ULONG): Likewise.
41177         * sysdeps/generic/stdint.h (SIZE_MAX):
41178         Define as UL if __WORDSIZE32_SIZE_ULONG.
41180         [BZ #16713]
41181         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41182         (__glibc_reserved0): New variable.
41183         (sa_flags): Change type to int.
41185         * posix/Makefile (before-compile): Use += before-compile instead
41186         of a :=.
41188         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41189         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41191 2014-03-20  Andreas Schwab  <schwab@suse.de>
41193         [BZ #16743]
41194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41195         non-matching result from nscd.
41197 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41199         * scripts/bench.py: Moved to ...
41200         * benchtests/scripts/bench.py: ... here.
41201         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41203 2014-03-24  Andreas Schwab  <schwab@suse.de>
41205         [BZ #16002]
41206         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41207         alloca_account and account alloca use for struct in6ailist.
41209 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41211         [BZ #16284]
41212         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41213         rounding mode to recompute results that overflow to infinity or
41214         underflow to zero.
41215         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41216         bug 16284.
41217         * math/auto-libm-test-out: Regenerated.
41218         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41219         (ccosh_test): Likewise.
41220         (csin_test_data): Use plus_oflow.
41221         (csin_test): Use ALL_RM_TEST.
41222         (csinh_test_data): Use plus_oflow.
41223         (csinh_test): Use ALL_RM_TEST.
41224         * sysdeps/i386/fpu/libm-test-ulps: Update.
41225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41227 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41229         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41230         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41231         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41233         [BZ #16731]
41234         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41235         when x - 1 is zero.
41236         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41237         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41238         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41239         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41240         argument is 1.
41241         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41242         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41243         zero.
41244         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41245         * sysdeps/i386/fpu/libm-test-ulps: Update.
41246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41248 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41250         * scripts/bench.pl: Remove file.
41251         * scripts/bench.py: New benchmark script.
41252         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41253         * benchtests/README: Mention python dependency.
41254         * scripts/pylintrc: New file.
41255         * scripts/pylint: New file.
41257         * bits/mathdef.h: Use #ifdef instead of #if.
41258         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41259         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41260         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41261         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41262         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41263         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41265 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41266             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41268         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41270         and strpbrk-ppc64 objects.
41271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41272         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41273         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41274         multiarch strpbrk for POWER7.
41275         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41276         multiarch strpbrk for PPC64.
41277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41278         ifunc selector.
41279         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41280         strpbrk for POWER7.
41282 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41284         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41285         (atan_test): Likewise.
41286         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41287         (atanh_test): Use ALL_RM_TEST.
41288         (atan2_test_data): Likewise.
41289         (cabs_test): Likewise.
41290         (cacosh_test): Likewise.
41291         (carg_test): Likewise.
41292         (casin_test): Likewise.
41293         (casinh_test): Likewise.
41294         (cbrt_test): Likewise.
41295         (csqrt_test): Likewise.
41296         (erf_test): Likewise.
41297         (erfc_test): Likewise.
41298         (pow10_test): Likewise.
41299         (exp2_test): Likewise.
41300         (hypot_test): Likewise.
41301         (j0_test): Likewise.
41302         (j1_test): Likewise.
41303         (lgamma_test): Likewise.
41304         (gamma_test): Likewise.
41305         (sincos_test): Likewise.
41306         (tanh_test): Likewise.
41307         (y0_test): Likewise.
41308         (y1_test): Likewise.
41309         * sysdeps/i386/fpu/libm-test-ulps: Update.
41310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41312 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41314         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41316         and strcspn-ppc64 objects.
41317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41318         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41319         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41320         multiarch strcspn for POWER7.
41321         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41322         multiarch strcspn for PPC64.
41323         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41324         ifunc selector.
41325         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41326         strcspn for POWER7.
41328 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41330         * math/gen-libm-test.pl (generate_testfile): Expect only function
41331         name as argument to AUTO_TESTS_* and pass results for all rounding
41332         modes to parse_args.
41333         (parse_auto_input): Separate inputs of automatic tests from
41334         outputs before storing in %auto_tests.
41335         * math/libm-test.inc (acos_test_data): Update call to
41336         AUTO_TESTS_f_f.
41337         (acos_test): Use ALL_RM_TEST.
41338         (acos_tonearest_test_data): Remove.
41339         (acos_test_tonearest): Likewise.
41340         (acos_towardzero_test_data): Likewise.
41341         (acos_test_towardzero): Likewise.
41342         (acos_downward_test_data): Likewise.
41343         (acos_test_downward): Likewise.
41344         (acos_upward_test_data): Likewise.
41345         (acos_test_upward): Likewise.
41346         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41347         (asin_test_data): Likewise.
41348         (asin_test): Use ALL_RM_TEST.
41349         (asin_tonearest_test_data): Remove.
41350         (asin_test_tonearest): Likewise.
41351         (asin_towardzero_test_data): Likewise.
41352         (asin_test_towardzero): Likewise.
41353         (asin_downward_test_data): Likewise.
41354         (asin_test_downward): Likewise.
41355         (asin_upward_test_data): Likewise.
41356         (asin_test_upward): Likewise.
41357         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41358         (atan_test_data): Likewise.
41359         (atanh_test_data): Likewise.
41360         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41361         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41362         (carg_test_data): Likewise.
41363         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41364         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41365         (ccosh_test_data): Likewise.
41366         (cexp_test_data): Likewise.
41367         (clog_test_data): Likewise.
41368         (clog10_test_data): Likewise.
41369         (cos_test_data): Update call to AUTO_TESTS_f_f.
41370         (cos_test): Use ALL_RM_TEST.
41371         (cos_tonearest_test_data): Remove.
41372         (cos_test_tonearest): Likewise.
41373         (cos_towardzero_test_data): Likewise.
41374         (cos_test_towardzero): Likewise.
41375         (cos_downward_test_data): Likewise.
41376         (cos_test_downward): Likewise.
41377         (cos_upward_test_data): Likewise.
41378         (cos_test_upward): Likewise.
41379         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41380         (cosh_test): Use ALL_RM_TEST.
41381         (cosh_tonearest_test_data): Remove.
41382         (cosh_test_tonearest): Likewise.
41383         (cosh_towardzero_test_data): Likewise.
41384         (cosh_test_towardzero): Likewise.
41385         (cosh_downward_test_data): Likewise.
41386         (cosh_test_downward): Likewise.
41387         (cosh_upward_test_data): Likewise.
41388         (cosh_test_upward): Likewise.
41389         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41390         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41391         (ctan_test_data): Likewise.
41392         (ctan_test): Use ALL_RM_TEST.
41393         (ctan_tonearest_test_data): Remove.
41394         (ctan_test_tonearest): Likewise.
41395         (ctan_towardzero_test_data): Likewise.
41396         (ctan_test_towardzero): Likewise.
41397         (ctan_downward_test_data): Likewise.
41398         (ctan_test_downward): Likewise.
41399         (ctan_upward_test_data): Likewise.
41400         (ctan_test_upward): Likewise.
41401         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41402         (ctanh_test): Use ALL_RM_TEST.
41403         (ctanh_tonearest_test_data): Remove.
41404         (ctanh_test_tonearest): Likewise.
41405         (ctanh_towardzero_test_data): Likewise.
41406         (ctanh_test_towardzero): Likewise.
41407         (ctanh_downward_test_data): Likewise.
41408         (ctanh_test_downward): Likewise.
41409         (ctanh_upward_test_data): Likewise.
41410         (ctanh_test_upward): Likewise.
41411         (erf_test_data): Update call to AUTO_TESTS_f_f.
41412         (erfc_test_data): Likewise.
41413         (exp_test_data): Likewise.
41414         (exp_test): Use ALL_RM_TEST.
41415         (exp_tonearest_test_data): Remove.
41416         (exp_test_tonearest): Likewise.
41417         (exp_towardzero_test_data): Likewise.
41418         (exp_test_towardzero): Likewise.
41419         (exp_downward_test_data): Likewise.
41420         (exp_test_downward): Likewise.
41421         (exp_upward_test_data): Likewise.
41422         (exp_test_upward): Likewise.
41423         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41424         (exp10_test): Use ALL_RM_TEST.
41425         (exp10_tonearest_test_data): Remove.
41426         (exp10_test_tonearest): Likewise.
41427         (exp10_towardzero_test_data): Likewise.
41428         (exp10_test_towardzero): Likewise.
41429         (exp10_downward_test_data): Likewise.
41430         (exp10_test_downward): Likewise.
41431         (exp10_upward_test_data): Likewise.
41432         (exp10_test_upward): Likewise.
41433         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41434         (expm1_test_data): Likewise.
41435         (expm1_test): Use ALL_RM_TEST.
41436         (expm1_tonearest_test_data): Remove.
41437         (expm1_test_tonearest): Likewise.
41438         (expm1_towardzero_test_data): Likewise.
41439         (expm1_test_towardzero): Likewise.
41440         (expm1_downward_test_data): Likewise.
41441         (expm1_test_downward): Likewise.
41442         (expm1_upward_test_data): Likewise.
41443         (expm1_test_upward): Likewise.
41444         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41445         (fma_test): Use ALL_RM_TEST.
41446         (fma_towardzero_test_data): Remove.
41447         (fma_test_towardzero): Likewise.
41448         (fma_downward_test_data): Likewise.
41449         (fma_test_downward): Likewise.
41450         (fma_upward_test_data): Likewise.
41451         (fma_test_upward): Likewise.
41452         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41453         (j0_test_data): Update call to AUTO_TESTS_f_f.
41454         (j1_test_data): Likewise.
41455         (jn_test_data): Update call to AUTO_TESTS_if_f.
41456         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41457         (log_test_data): Update call to AUTO_TESTS_f_f.
41458         (log10_test_data): Likewise.
41459         (log1p_test_data): Likewise.
41460         (log2_test_data): Likewise.
41461         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41462         (pow_tonearest_test_data): Likewise.
41463         (sin_test_data): Update call to AUTO_TESTS_f_f.
41464         (sin_test): Use ALL_RM_TEST.
41465         (sin_tonearest_test_data): Remove.
41466         (sin_test_tonearest): Likewise.
41467         (sin_towardzero_test_data): Likewise.
41468         (sin_test_towardzero): Likewise.
41469         (sin_downward_test_data): Likewise.
41470         (sin_test_downward): Likewise.
41471         (sin_upward_test_data): Likewise.
41472         (sin_test_upward): Likewise.
41473         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41474         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41475         (sinh_test): Use ALL_RM_TEST.
41476         (sinh_tonearest_test_data): Remove.
41477         (sinh_test_tonearest): Likewise.
41478         (sinh_towardzero_test_data): Likewise.
41479         (sinh_test_towardzero): Likewise.
41480         (sinh_downward_test_data): Likewise.
41481         (sinh_test_downward): Likewise.
41482         (sinh_upward_test_data): Likewise.
41483         (sinh_test_upward): Likewise.
41484         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41485         (sqrt_test): Use ALL_RM_TEST.
41486         (sqrt_tonearest_test_data): Remove.
41487         (sqrt_test_tonearest): Likewise.
41488         (sqrt_towardzero_test_data): Likewise.
41489         (sqrt_test_towardzero): Likewise.
41490         (sqrt_downward_test_data): Likewise.
41491         (sqrt_test_downward): Likewise.
41492         (sqrt_upward_test_data): Likewise.
41493         (sqrt_test_upward): Likewise.
41494         (tan_test_data): Update call to AUTO_TESTS_f_f.
41495         (tan_test): Use ALL_RM_TEST.
41496         (tan_tonearest_test_data): Remove.
41497         (tan_test_tonearest): Likewise.
41498         (tan_towardzero_test_data): Likewise.
41499         (tan_test_towardzero): Likewise.
41500         (tan_downward_test_data): Likewise.
41501         (tan_test_downward): Likewise.
41502         (tan_upward_test_data): Likewise.
41503         (tan_test_upward): Likewise.
41504         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41505         (tgamma_test_data): Likewise.
41506         (y0_test_data): Likewise.
41507         (y1_test_data): Likewise.
41508         (yn_test_data): Update call to AUTO_TESTS_if_f.
41509         (main): Do not call removed functions.
41511 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41513         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41514         (ldexp_test_data): Remove.
41515         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41516         scalbn_test_data.
41517         (scalb_test): Use ALL_RM_TEST.
41519 2014-03-19  Andreas Schwab  <schwab@suse.de>
41521         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41523 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41525         [BZ #16649]
41526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41527         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41528         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41530         (__ASSUME_PREADV): Undefine.
41531         (__ASSUME_PWRITEV): Likewise.
41533 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41535         * bits/mman-linux.h: Add comment about non-Linux use.
41536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41537         bits/mman-linux.h resting place.
41539         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41540         * bits/mman-linux.h: ... here.
41542 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41544         * conform/conformtest.pl: Add standard definition when calling C
41545         preprocessor on data files.
41546         (checknamespace): Remove unused variable.
41548 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41550         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41551         minus_oflow, plus_uflow and minus_uflow in expected results.
41552         * math/libm-test.inc (scalbn_test_data): Add more tests of
41553         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41554         minus_uflow.
41555         (scalbn_test): Use ALL_RM_TEST.
41556         (scalbln_test_data): Add more tests of negative arguments.  Use
41557         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41558         (scalbln_test): Use ALL_RM_TEST.
41560 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41562         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41564 2014-03-18  Will Newton  <will.newton@linaro.org>
41566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41567         inaccurate comment.
41569 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41571         * Makerules [!subdir] (check-abi): Exit with error status if a
41572         test failed.
41574 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41576         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41577         for rint.  Include results for all rounding modes.
41578         (nearbyint_test): Use ALL_RM_TEST.
41579         (rint_test_data): Include all tests used for nearbyint.
41581 2014-03-17  Will Newton  <will.newton@linaro.org>
41583         * nptl/sysdeps/pthread/pthread.h: Revert previous
41584         change.
41586         * sysdeps/generic/ldsodefs.h: Revert previous
41587         change.
41589         * libio/genops.c: Revert previous change.
41590         * libio/libioP.h: Likewise.
41591         * stdio-common/vfprintf.c: Likewise.
41593         * sysdeps/generic/math_private.h: Revert previous
41594         change.
41596         * sysdeps/generic/math_private.h: Check whether
41597         HAVE_RM_CTX is defined with #ifdef rather
41598         than #if.
41600         * argp/argp-fmtstream.h: Check whether
41601         __STRICT_ANSI__ is defined with #ifdef rather
41602         than #if.
41603         * argp/argp.h: Likewise.
41605         * libio/genops.c: Check whether
41606         _IO_JUMPS_OFFSET is defined with #ifdef rather
41607         than #if.
41608         * libio/libioP.h: Likewise.
41609         * stdio-common/vfprintf.c: Likewise.
41611         * sysdeps/generic/ldsodefs.h: Check whether
41612         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41613         than #if.
41615         * nptl/sysdeps/pthread/pthread.h: Check
41616         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41617         its value.
41619 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41622         setting O_APPEND.
41623         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41624         test case.
41626         [BZ #16680]
41627         * libio/fileops.c (_IO_file_open): Seek to end of file but
41628         don't cache the offset.
41629         (get_file_offset): Remove function.
41630         (do_ftell): Use cached offset when available.
41631         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41632         don't cache the offset.
41633         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41634         case.
41635         (do_one_test): Call it.
41636         (do_ftell_test): Fix up expected old offset for a+ mode.
41637         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41638         available.
41640         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41641         up test status with function return status.
41642         (do_write_test): Likewise.
41643         (do_append_test): Likewise.
41645         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41646         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41647         Remove.
41649 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41651         * math/gen-libm-test.pl (parse_args): Handle results specified for
41652         each rounding mode separately.
41653         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41654         tests and results from lrint_tonearest_test_data,
41655         lrint_towardzero_test_data, lrint_downward_test_data and
41656         lrint_upward_test_data.
41657         (lrint_test): Use ALL_RM_TEST.
41658         (lrint_tonearest_test_data): Remove.
41659         (lrint_test_tonearest): Likewise.
41660         (lrint_towardzero_test_data): Likewise.
41661         (lrint_test_towardzero): Likewise.
41662         (lrint_downward_test_data): Likewise.
41663         (lrint_test_downward): Likewise.
41664         (lrint_upward_test_data): Likewise.
41665         (lrint_test_upward): Likewise.
41666         (llrint_test_data): Merge in per-rounding-mode tests and results
41667         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41668         llrint_downward_test_data and llrint_upward_test_data.
41669         (llrint_test): Use ALL_RM_TEST.
41670         (llrint_tonearest_test_data): Remove.
41671         (llrint_test_tonearest): Likewise.
41672         (llrint_towardzero_test_data): Likewise.
41673         (llrint_test_towardzero): Likewise.
41674         (llrint_downward_test_data): Likewise.
41675         (llrint_test_downward): Likewise.
41676         (llrint_upward_test_data): Likewise.
41677         (llrint_test_upward): Likewise.
41678         (rint_test_data): Merge in per-rounding-mode tests and results
41679         from rint_tonearest_test_data, rint_towardzero_test_data,
41680         rint_downward_test_data and rint_upward_test_data.  Add
41681         per-rounding-mode results for tests not in those arrays.
41682         (rint_test): Use ALL_RM_TEST.
41683         (rint_tonearest_test_data): Remove.
41684         (rint_test_tonearest): Likewise.
41685         (rint_towardzero_test_data): Likewise.
41686         (rint_test_towardzero): Likewise.
41687         (rint_downward_test_data): Likewise.
41688         (rint_test_downward): Likewise.
41689         (rint_upward_test_data): Likewise.
41690         (rint_test_upward): Likewise.
41691         (main): Don't call removed functions.
41693 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41695         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41696         "Compiled on ..." crapola.  It is anti-useful.
41698 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41700         * scripts/evaluate-test.sh: Handle fourth argument to determine
41701         whether test run should stop on failure.
41702         * Makeconfig (stop-on-test-failure): New variable.
41703         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41704         $(stop-on-test-failure).
41705         * Makefile (tests): Give a summary of results from testing and
41706         exit with failure status if they include an ERROR or FAIL.
41707         (xtests): Likewise.
41708         * manual/install.texi (Configuring and compiling): Mention
41709         stop-on-test-failure=y.
41710         * INSTALL: Regenerated.
41712 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41714         * scripts/versionlist.awk: New file.
41715         * Makerules [$(build-shared) = yes]
41716         (postclean-generated): Add Versions.def, not Versions.def.v and
41717         Versions.def.v.i.
41718         ($(common-objpfx)Versions.def.v.i): Target removed.
41719         ($(common-objpfx)Versions.def): New target.
41720         ($(common-objpfx)Versions.all): Depend on that rather that
41721         $(common-objpfx)Versions.def.v.
41722         * Versions.def: File removed.
41724         * Makeconfig (+gccwarn): Add -Wundef.
41725         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41726         a dl-sysdep.h breaking its contract.
41727         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41728         * include/stackinfo.h: New file.
41729         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41730         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41731         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41732         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41733         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41734         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41735         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41736         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41737         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41738         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41739         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41740         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41741         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41742         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41743         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41745 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41747         [BZ #16707]
41748         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41749         implementation.
41750         * math/libm-test.inc (round_test_data): Add more tests.
41752         [BZ #16706]
41753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41754         implementation.
41755         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41757         [BZ #16701]
41758         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41759         implementation.
41760         * math/libm-test.inc (ceil_test_data): Add more tests.
41762         * math/libm-test.inc (trunc_test_data): Add more tests related to
41763         BZ#16414.
41765 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41767         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41768         with #if rather than #ifdef.
41769         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41771 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41773         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41774         first.  Disable AVX-512 GCC support if assembler doesn't support
41775         it.
41776         * sysdeps/x86_64/configure: Regenerated.
41778 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41780         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41781         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41782         (__old_pthread_attr_setstack): Likewise.
41783         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41784         [!_STACK_GROWS_DOWN]: Likewise.
41786 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41788         * config.make.in (have-bash2): Delete.
41789         * configure.ac (libc_cv_have_bash2): Delete.
41790         * configure: Regenerate.
41791         * elf/Makefile (common-ldd-rewrite): Rename to ...
41792         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41793         (sh-ldd-rewrite): Delete.
41794         (bash-ldd-rewrite): Delete.
41795         (have-bash2): Delete checks.
41796         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41797         ldd-rewrite.
41799         * config.make.in (have-ksh): Delete.
41800         (KSH): Delete.
41801         * configure.ac (libc_cv_have_ksh): Delete.
41802         * configure: Regenerate.
41804         * elf/Makefile: Delete $(have-ksh) check.
41805         ($(objpfx)sotruss): Change KSH to BASH.
41806         * elf/sotruss.ksh: Rename to ...
41807         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41808         function style to match POSIX.  Drop ksh vim mode setting.
41810         * manual/time.texi (Specifying the Time Zone with TZ): Change
41811         Tuesday to Thursday.
41813         * debug/tst-longjmp_chk2.c: Update header comment.
41814         (stackoverflow_handler): Add comment.  Call assert on pass value.
41816 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41818         [BZ #16194]
41819         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41820         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41821         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41822         (La_x86_64_vector): Add zmm.
41823         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41824         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41825         ($(objpfx)tst-audit10): New target.
41826         ($(objpfx)tst-audit10.out): Likewise.
41827         (tst-audit10-ENV): New.
41828         (AVX512-CFLAGS): Likewise.
41829         (CFLAGS-tst-audit10.c): Likewise.
41830         (CFLAGS-tst-auditmod10a.c): Likewise.
41831         (CFLAGS-tst-auditmod10b.c): Likewise.
41832         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41833         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41834         * sysdeps/x86_64/configure: Regenerated.
41835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41836         AVX-512 zmm register support.
41837         (_dl_x86_64_save_sse): Likewise.
41838         (_dl_x86_64_restore_sse): Likewise.
41839         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41840         size vector registers.
41841         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41842         (ZMM_SIZE): Likewise.
41843         * sysdeps/x86_64/tst-audit10.c: New file.
41844         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41845         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41847 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41849         * configure.ac (HAVE_EHDR_START): New check.
41850         * configure: Regenerated.
41851         * config.h.in (HAVE_EHDR_START): New #undef.
41852         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41853         assuming the lowest-addressed segment maps the start of the file.
41855 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41857         * INSTALL: Regenerated.
41859 2014-03-13  Will Newton  <will.newton@linaro.org>
41861         * manual/setjmp.texi (System V contexts): Improve
41862         clarity and grammar of documentation.
41864 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41866         [BZ #16381]
41867         * elf/Makefile (tests): Add tst-pie2.
41868         (tests-pie): Add tst-pie2.
41869         * elf/tst-pie2.c: New file.
41870         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41871         for ET_EXEC.
41872         * elf/rtld.c (map_doit): Load executable as lt_executable.
41873         (dl_main): Likewise.
41875 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41877         [BZ #16642]
41878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41879         (__ASSUME_PSELECT): Undefine.
41881 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41883         [BZ #16689]
41884         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41885         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41886         static build.
41887         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41888         selector for static builds.
41890 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41892         [BZ #16695]
41893         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41894         key in the buffer.
41896 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41898         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41899         IFUNC selector for static builds.
41901 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41903         * sysdeps/mips/math_private.h [__mips_hard_float]
41904         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41905         libc_feresetround_mips_ctx.
41906         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41907         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41908         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41910         [BZ #16677]
41911         * math/s_nextafter.c (__nextafter): Do not return value from
41912         overflowing computation.
41913         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41914         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41915         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41916         Likewise.
41917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41918         Likewise.
41919         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41920         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41922 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41924         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41925         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41926         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41927         the new mov targetting sp.
41929 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41931         [BZ #16683]
41932         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41933         Define it for static builds as well.
41934         (NO_BZERO_IMPL): Likewise.
41936 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41938         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41939         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41940         multiarch strspn for PPC64.
41941         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41942         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41944         (__libc_ifunc_impl_list): Likewise.
41945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41946         multiarch optimizations
41947         * string/strspn.c (strspn): Using macro to redefine symbol name.
41949 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41950             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41952         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41953         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41954         multiarch strncat for PPC64.
41955         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41956         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41958         (__libc_ifunc_impl_list): Likewise.
41959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41960         multiarch optimizations
41962 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41964         [BZ #16639]
41965         * nscd/nscd.service: Make service type forking.
41967 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41969         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41970         sign in non default rounding modes.
41971         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41973 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41975         * math/libm-test.inc (ALL_RM_TEST): New macro.
41976         (ceil_test): Use ALL_RM_TEST.
41977         (cimag_test): Likewise.
41978         (conj_test): Likewise.
41979         (copysign_test): Likewise.
41980         (cproj_test): Likewise.
41981         (creal_test): Likewise.
41982         (fabs_test): Likewise.
41983         (floor_test): Likewise.
41984         (fmax_test): Likewise.
41985         (fmin_test): Likewise.
41986         (fmod_test): Likewise.
41987         (fpclassify_test): Likewise.
41988         (frexp_test): Likewise.
41989         (ilogb_test): Likewise.
41990         (isfinite_test): Likewise.
41991         (finite_test): Likewise.
41992         (isgreater_test): Likewise.
41993         (isgreaterequal_test): Likewise.
41994         (isinf_test): Likewise.
41995         (isless_test): Likewise.
41996         (islessequal_test): Likewise.
41997         (islessgreater_test): Likewise.
41998         (isnan_test): Likewise.
41999         (isnormal_test): Likewise.
42000         (issignaling_test): Likewise.
42001         (isunordered_test): Likewise.
42002         (logb_test): Likewise.
42003         (logb_downward_test_data): Remove.
42004         (logb_test_downward): Likewise.
42005         (lround_test): Use ALL_RM_TEST.
42006         (llround_test): Likewise.
42007         (modf_test): Likewise.
42008         (nexttoward_test): Likewise.
42009         (remainder_test): Likewise.
42010         (drem_test): Likewise.
42011         (remainder_tonearest_test_data): Likewise.
42012         (remainder_test_tonearest): Likewise.
42013         (drem_test_tonearest): Likewise.
42014         (remainder_towardzero_test_data): Likewise.
42015         (remainder_test_towardzero): Likewise.
42016         (drem_test_towardzero): Likewise.
42017         (remainder_downward_test_data): Likewise.
42018         (remainder_test_downward): Likewise.
42019         (drem_test_downward): Likewise.
42020         (remainder_upward_test_data): Likewise.
42021         (remainder_test_upward): Likewise.
42022         (drem_test_upward): Likewise.
42023         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
42024         (round_test): Use ALL_RM_TEST.
42025         (signbit_test): Likewise.
42026         (trunc_test): Likewise.
42027         (significand_test): Likewise.
42028         (main): Don't call removed functions.
42030 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42032         [BZ #16674]
42033         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42034         || __USE_XOPEN2K8].
42035         (ILL_ILLOPN): Likewise.
42036         (ILL_ILLADR): Likewise.
42037         (ILL_ILLTRP): Likewise.
42038         (ILL_PRVOPC): Likewise.
42039         (ILL_PRVREG): Likewise.
42040         (ILL_COPROC): Likewise.
42041         (ILL_BADSTK): Likewise.
42042         (FPE_INTDIV): Likewise.
42043         (FPE_INTOVF): Likewise.
42044         (FPE_FLTDIV): Likewise.
42045         (FPE_FLTOVF): Likewise.
42046         (FPE_FLTUND): Likewise.
42047         (FPE_FLTRES): Likewise.
42048         (FPE_FLTINV): Likewise.
42049         (FPE_FLTSUB): Likewise.
42050         (SEGV_MAPERR): Likewise.
42051         (SEGV_ACCERR): Likewise.
42052         (BUS_ADRALN): Likewise.
42053         (BUS_ADRERR): Likewise.
42054         (BUS_OBJERR): Likewise.
42055         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42056         (TRAP_TRACE): Likewise.
42057         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42058         __USE_XOPEN2K8].
42059         (CLD_KILLED): Likewise.
42060         (CLD_DUMPED): Likewise.
42061         (CLD_TRAPPED): Likewise.
42062         (CLD_STOPPED): Likewise.
42063         (CLD_CONTINUED): Likewise.
42064         (POLL_IN): Likewise.
42065         (POLL_OUT): Likewise.
42066         (POLL_MSG): Likewise.
42067         (POLL_ERR): Likewise.
42068         (POLL_PRI): Likewise.
42069         (POLL_HUP): Likewise.
42070         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42071         Likewise.
42072         (ILL_ILLOPN): Likewise.
42073         (ILL_ILLADR): Likewise.
42074         (ILL_ILLTRP): Likewise.
42075         (ILL_PRVOPC): Likewise.
42076         (ILL_PRVREG): Likewise.
42077         (ILL_COPROC): Likewise.
42078         (ILL_BADSTK): Likewise.
42079         (FPE_INTDIV): Likewise.
42080         (FPE_INTOVF): Likewise.
42081         (FPE_FLTDIV): Likewise.
42082         (FPE_FLTOVF): Likewise.
42083         (FPE_FLTUND): Likewise.
42084         (FPE_FLTRES): Likewise.
42085         (FPE_FLTINV): Likewise.
42086         (FPE_FLTSUB): Likewise.
42087         (SEGV_MAPERR): Likewise.
42088         (SEGV_ACCERR): Likewise.
42089         (BUS_ADRALN): Likewise.
42090         (BUS_ADRERR): Likewise.
42091         (BUS_OBJERR): Likewise.
42092         (BUS_MCEERR_AR): Likewise.
42093         (BUS_MCEERR_AO): Likewise.
42094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42095         (TRAP_TRACE): Likewise.
42096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42097         __USE_XOPEN2K8].
42098         (CLD_KILLED): Likewise.
42099         (CLD_DUMPED): Likewise.
42100         (CLD_TRAPPED): Likewise.
42101         (CLD_STOPPED): Likewise.
42102         (CLD_CONTINUED): Likewise.
42103         (POLL_IN): Likewise.
42104         (POLL_OUT): Likewise.
42105         (POLL_MSG): Likewise.
42106         (POLL_ERR): Likewise.
42107         (POLL_PRI): Likewise.
42108         (POLL_HUP): Likewise.
42109         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42110         (ILL_ILLOPN): Likewise.
42111         (ILL_ILLADR): Likewise.
42112         (ILL_ILLTRP): Likewise.
42113         (ILL_PRVOPC): Likewise.
42114         (ILL_PRVREG): Likewise.
42115         (ILL_COPROC): Likewise.
42116         (ILL_BADSTK): Likewise.
42117         (FPE_INTDIV): Likewise.
42118         (FPE_INTOVF): Likewise.
42119         (FPE_FLTDIV): Likewise.
42120         (FPE_FLTOVF): Likewise.
42121         (FPE_FLTUND): Likewise.
42122         (FPE_FLTRES): Likewise.
42123         (FPE_FLTINV): Likewise.
42124         (FPE_FLTSUB): Likewise.
42125         (SEGV_MAPERR): Likewise.
42126         (SEGV_ACCERR): Likewise.
42127         (BUS_ADRALN): Likewise.
42128         (BUS_ADRERR): Likewise.
42129         (BUS_OBJERR): Likewise.
42130         (BUS_MCEERR_AR): Likewise.
42131         (BUS_MCEERR_AO): Likewise.
42132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42133         (TRAP_TRACE): Likewise.
42134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42135         __USE_XOPEN2K8].
42136         (CLD_KILLED): Likewise.
42137         (CLD_DUMPED): Likewise.
42138         (CLD_TRAPPED): Likewise.
42139         (CLD_STOPPED): Likewise.
42140         (CLD_CONTINUED): Likewise.
42141         (POLL_IN): Likewise.
42142         (POLL_OUT): Likewise.
42143         (POLL_MSG): Likewise.
42144         (POLL_ERR): Likewise.
42145         (POLL_PRI): Likewise.
42146         (POLL_HUP): Likewise.
42147         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42148         Likewise.
42149         (ILL_ILLOPN): Likewise.
42150         (ILL_ILLADR): Likewise.
42151         (ILL_ILLTRP): Likewise.
42152         (ILL_PRVOPC): Likewise.
42153         (ILL_PRVREG): Likewise.
42154         (ILL_COPROC): Likewise.
42155         (ILL_BADSTK): Likewise.
42156         (ILL_BADIADDR): Likewise.
42157         (ILL_BREAK): Likewise.
42158         (FPE_INTDIV): Likewise.
42159         (FPE_INTOVF): Likewise.
42160         (FPE_FLTDIV): Likewise.
42161         (FPE_FLTOVF): Likewise.
42162         (FPE_FLTUND): Likewise.
42163         (FPE_FLTRES): Likewise.
42164         (FPE_FLTINV): Likewise.
42165         (FPE_FLTSUB): Likewise.
42166         (FPE_DECOVF): Likewise.
42167         (FPE_DECDIV): Likewise.
42168         (FPE_DECERR): Likewise.
42169         (FPE_INVASC): Likewise.
42170         (FPE_INVDEC): Likewise.
42171         (SEGV_MAPERR): Likewise.
42172         (SEGV_ACCERR): Likewise.
42173         (SEGV_PSTKOVF): Likewise.
42174         (BUS_ADRALN): Likewise.
42175         (BUS_ADRERR): Likewise.
42176         (BUS_OBJERR): Likewise.
42177         (BUS_MCEERR_AR): Likewise.
42178         (BUS_MCEERR_AO): Likewise.
42179         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42180         (TRAP_TRACE): Likewise.
42181         (TRAP_BRANCH): Likewise.
42182         (TRAP_HWBKPT): Likewise.
42183         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42184         __USE_XOPEN2K8].
42185         (CLD_KILLED): Likewise.
42186         (CLD_DUMPED): Likewise.
42187         (CLD_TRAPPED): Likewise.
42188         (CLD_STOPPED): Likewise.
42189         (CLD_CONTINUED): Likewise.
42190         (POLL_IN): Likewise.
42191         (POLL_OUT): Likewise.
42192         (POLL_MSG): Likewise.
42193         (POLL_ERR): Likewise.
42194         (POLL_PRI): Likewise.
42195         (POLL_HUP): Likewise.
42196         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42197         (ILL_ILLOPN): Likewise.
42198         (ILL_ILLADR): Likewise.
42199         (ILL_ILLTRP): Likewise.
42200         (ILL_PRVOPC): Likewise.
42201         (ILL_PRVREG): Likewise.
42202         (ILL_COPROC): Likewise.
42203         (ILL_BADSTK): Likewise.
42204         (FPE_INTDIV): Likewise.
42205         (FPE_INTOVF): Likewise.
42206         (FPE_FLTDIV): Likewise.
42207         (FPE_FLTOVF): Likewise.
42208         (FPE_FLTUND): Likewise.
42209         (FPE_FLTRES): Likewise.
42210         (FPE_FLTINV): Likewise.
42211         (FPE_FLTSUB): Likewise.
42212         (SEGV_MAPERR): Likewise.
42213         (SEGV_ACCERR): Likewise.
42214         (BUS_ADRALN): Likewise.
42215         (BUS_ADRERR): Likewise.
42216         (BUS_OBJERR): Likewise.
42217         (BUS_MCEERR_AR): Likewise.
42218         (BUS_MCEERR_AO): Likewise.
42219         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42220         (TRAP_TRACE): Likewise.
42221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42222         __USE_XOPEN2K8].
42223         (CLD_KILLED): Likewise.
42224         (CLD_DUMPED): Likewise.
42225         (CLD_TRAPPED): Likewise.
42226         (CLD_STOPPED): Likewise.
42227         (CLD_CONTINUED): Likewise.
42228         (POLL_IN): Likewise.
42229         (POLL_OUT): Likewise.
42230         (POLL_MSG): Likewise.
42231         (POLL_ERR): Likewise.
42232         (POLL_PRI): Likewise.
42233         (POLL_HUP): Likewise.
42234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42235         (ILL_ILLOPN): Likewise.
42236         (ILL_ILLADR): Likewise.
42237         (ILL_ILLTRP): Likewise.
42238         (ILL_PRVOPC): Likewise.
42239         (ILL_PRVREG): Likewise.
42240         (ILL_COPROC): Likewise.
42241         (ILL_BADSTK): Likewise.
42242         (FPE_INTDIV): Likewise.
42243         (FPE_INTOVF): Likewise.
42244         (FPE_FLTDIV): Likewise.
42245         (FPE_FLTOVF): Likewise.
42246         (FPE_FLTUND): Likewise.
42247         (FPE_FLTRES): Likewise.
42248         (FPE_FLTINV): Likewise.
42249         (FPE_FLTSUB): Likewise.
42250         (SEGV_MAPERR): Likewise.
42251         (SEGV_ACCERR): Likewise.
42252         (BUS_ADRALN): Likewise.
42253         (BUS_ADRERR): Likewise.
42254         (BUS_OBJERR): Likewise.
42255         (BUS_MCEERR_AR): Likewise.
42256         (BUS_MCEERR_AO): Likewise.
42257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42258         (TRAP_TRACE): Likewise.
42259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42260         __USE_XOPEN2K8].
42261         (CLD_KILLED): Likewise.
42262         (CLD_DUMPED): Likewise.
42263         (CLD_TRAPPED): Likewise.
42264         (CLD_STOPPED): Likewise.
42265         (CLD_CONTINUED): Likewise.
42266         (POLL_IN): Likewise.
42267         (POLL_OUT): Likewise.
42268         (POLL_MSG): Likewise.
42269         (POLL_ERR): Likewise.
42270         (POLL_PRI): Likewise.
42271         (POLL_HUP): Likewise.
42272         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42273         (ILL_ILLOPN): Likewise.
42274         (ILL_ILLADR): Likewise.
42275         (ILL_ILLTRP): Likewise.
42276         (ILL_PRVOPC): Likewise.
42277         (ILL_PRVREG): Likewise.
42278         (ILL_COPROC): Likewise.
42279         (ILL_BADSTK): Likewise.
42280         (FPE_INTDIV): Likewise.
42281         (FPE_INTOVF): Likewise.
42282         (FPE_FLTDIV): Likewise.
42283         (FPE_FLTOVF): Likewise.
42284         (FPE_FLTUND): Likewise.
42285         (FPE_FLTRES): Likewise.
42286         (FPE_FLTINV): Likewise.
42287         (FPE_FLTSUB): Likewise.
42288         (SEGV_MAPERR): Likewise.
42289         (SEGV_ACCERR): Likewise.
42290         (BUS_ADRALN): Likewise.
42291         (BUS_ADRERR): Likewise.
42292         (BUS_OBJERR): Likewise.
42293         (BUS_MCEERR_AR): Likewise.
42294         (BUS_MCEERR_AO): Likewise.
42295         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42296         (TRAP_TRACE): Likewise.
42297         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42298         __USE_XOPEN2K8].
42299         (CLD_KILLED): Likewise.
42300         (CLD_DUMPED): Likewise.
42301         (CLD_TRAPPED): Likewise.
42302         (CLD_STOPPED): Likewise.
42303         (CLD_CONTINUED): Likewise.
42304         (POLL_IN): Likewise.
42305         (POLL_OUT): Likewise.
42306         (POLL_MSG): Likewise.
42307         (POLL_ERR): Likewise.
42308         (POLL_PRI): Likewise.
42309         (POLL_HUP): Likewise.
42310         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42311         (ILL_ILLOPN): Likewise.
42312         (ILL_ILLADR): Likewise.
42313         (ILL_ILLTRP): Likewise.
42314         (ILL_PRVOPC): Likewise.
42315         (ILL_PRVREG): Likewise.
42316         (ILL_COPROC): Likewise.
42317         (ILL_BADSTK): Likewise.
42318         (ILL_DBLFLT): Likewise.
42319         (ILL_HARDWALL): Likewise.
42320         (FPE_INTDIV): Likewise.
42321         (FPE_INTOVF): Likewise.
42322         (FPE_FLTDIV): Likewise.
42323         (FPE_FLTOVF): Likewise.
42324         (FPE_FLTUND): Likewise.
42325         (FPE_FLTRES): Likewise.
42326         (FPE_FLTINV): Likewise.
42327         (FPE_FLTSUB): Likewise.
42328         (SEGV_MAPERR): Likewise.
42329         (SEGV_ACCERR): Likewise.
42330         (BUS_ADRALN): Likewise.
42331         (BUS_ADRERR): Likewise.
42332         (BUS_OBJERR): Likewise.
42333         (BUS_MCEERR_AR): Likewise.
42334         (BUS_MCEERR_AO): Likewise.
42335         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42336         (TRAP_TRACE): Likewise.
42337         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42338         __USE_XOPEN2K8].
42339         (CLD_KILLED): Likewise.
42340         (CLD_DUMPED): Likewise.
42341         (CLD_TRAPPED): Likewise.
42342         (CLD_STOPPED): Likewise.
42343         (CLD_CONTINUED): Likewise.
42344         (POLL_IN): Likewise.
42345         (POLL_OUT): Likewise.
42346         (POLL_MSG): Likewise.
42347         (POLL_ERR): Likewise.
42348         (POLL_PRI): Likewise.
42349         (POLL_HUP): Likewise.
42350         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42351         (ILL_ILLOPN): Likewise.
42352         (ILL_ILLADR): Likewise.
42353         (ILL_ILLTRP): Likewise.
42354         (ILL_PRVOPC): Likewise.
42355         (ILL_PRVREG): Likewise.
42356         (ILL_COPROC): Likewise.
42357         (ILL_BADSTK): Likewise.
42358         (FPE_INTDIV): Likewise.
42359         (FPE_INTOVF): Likewise.
42360         (FPE_FLTDIV): Likewise.
42361         (FPE_FLTOVF): Likewise.
42362         (FPE_FLTUND): Likewise.
42363         (FPE_FLTRES): Likewise.
42364         (FPE_FLTINV): Likewise.
42365         (FPE_FLTSUB): Likewise.
42366         (SEGV_MAPERR): Likewise.
42367         (SEGV_ACCERR): Likewise.
42368         (BUS_ADRALN): Likewise.
42369         (BUS_ADRERR): Likewise.
42370         (BUS_OBJERR): Likewise.
42371         (BUS_MCEERR_AR): Likewise.
42372         (BUS_MCEERR_AO): Likewise.
42373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42374         (TRAP_TRACE): Likewise.
42375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42376         __USE_XOPEN2K8].
42377         (CLD_KILLED): Likewise.
42378         (CLD_DUMPED): Likewise.
42379         (CLD_TRAPPED): Likewise.
42380         (CLD_STOPPED): Likewise.
42381         (CLD_CONTINUED): Likewise.
42382         (POLL_IN): Likewise.
42383         (POLL_OUT): Likewise.
42384         (POLL_MSG): Likewise.
42385         (POLL_ERR): Likewise.
42386         (POLL_PRI): Likewise.
42387         (POLL_HUP): Likewise.
42388         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42389         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42391         [BZ #16670]
42392         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42393         before #include of <time.h>.
42394         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42395         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42396         (test-xfail-UNIX98/sched.h/conform): Likewise.
42398 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42400         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42401         error absence of trapping exception support.
42402         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42404 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42406         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42407         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42408         * timezone/Makefile (testdata): Move definition above include of
42409         Rules.
42410         (test-zones): New variable.
42411         (tests-special): Add zone files.
42412         (build-testdata): Use $(evaluate-test).
42414         * elf/Makefile (tests-special): Rename tests to end with .out.
42415         ($(objpfx)noload-mem): Likewise.
42416         ($(objpfx)tst-leaks1-mem): Likewise.
42417         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42418         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42419         $(objpfx)test-iconvconfig.out.
42420         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42421         set -e inside subshell and redirect output to file.
42422         * iconvdata/Makefile (generated): Rename tests to end with .out.
42423         Correct type.
42424         (tests-special): Rename tests to end with .out.
42425         ($(objpfx)mtrace-tst-loading): Likewise.
42426         * intl/Makefile (generated): Likewise.
42427         (tests-special): Likewise.
42428         ($(objpfx)mtrace-tst-gettext): Likewise.
42429         * misc/Makefile (generated): Likewise.
42430         (tests-special): Likewise.
42431         ($(objpfx)tst-error1-mem): Likewise.
42432         * nptl/Makefile (tests-special): Likewise.
42433         ($(objpfx)tst-stack3-mem): Likewise.
42434         (generated): Likewise.
42435         * posix/Makefile (generated): Likewise.
42436         (tests-special): Likewise.
42437         (xtests-special): Likewise.
42438         ($(objpfx)tst-fnmatch-mem): Likewise.
42439         ($(objpfx)bug-regex2-mem): Likewise.
42440         ($(objpfx)bug-regex14-mem): Likewise.
42441         ($(objpfx)bug-regex21-mem): Likewise.
42442         ($(objpfx)bug-regex31-mem): Likewise.
42443         ($(objpfx)tst-vfork3-mem): Likewise.
42444         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42445         ($(objpfx)tst-pcre-mem): Likewise.
42446         ($(objpfx)tst-boost-mem): Likewise.
42447         ($(objpfx)bug-ga2-mem): Likewise.
42448         ($(objpfx)bug-glob2-mem): Likewise.
42449         * resolv/Makefile (generate): Likewise.
42450         (tests-special): Likewise.
42451         (xtests-special): Likewise.
42452         (generated): Likewise.
42453         ($(objpfx)mtrace-tst-leaks): Likewise.
42454         ($(objpfx)mtrace-tst-leaks2): Likewise.
42456         * scripts/merge-test-results.sh: New file.
42457         * Makefile (tests-special-notdir): New variable.
42458         (tests): Run merge-test-results.sh.
42459         (xtests): Likewise.
42460         * Rules (tests-special-notdir): New variable.
42461         (xtests-special-notdir): Likewise.
42462         (tests): Run merge-test-results.sh
42463         (xtests): Likewise.
42465         * Makeconfig (test-xfail-name): New variable.
42466         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42467         compute variable name for expected failures.
42468         * conform/Makefile (conformtest-headers-data): New variable.
42469         (conformtest-standards): Likewise.
42470         (conformtest-headers-ISO): Likewise.
42471         (conformtest-headers-ISO99): Likewise.
42472         (conformtest-headers-ISO11): Likewise.
42473         (conformtest-headers-POSIX): Likewise.
42474         (conformtest-headers-XPG3): Likewise.
42475         (conformtest-headers-XPG4): Likewise.
42476         (conformtest-headers-UNIX98): Likewise.
42477         (conformtest-headers-XOPEN2K): Likewise.
42478         (conformtest-headers-POSIX2008): Likewise.
42479         (conformtest-headers-XOPEN2K8): Likewise.
42480         (conformtest-header-list-base): Likewise.
42481         (conformtest-header-list-tests): Likewise.
42482         (conformtest-header-base): Likewise.
42483         (conformtest-header-tests): Likewise.
42484         (tests-special): Add $(conformtest-header-list-tests).  If
42485         [$(fast-check) && !$(cross-compiling)], add
42486         $(conformtest-header-tests) instead of
42487         $(objpfx)run-conformtest.out.
42488         (generated): Add $(conformtest-header-list-base).  If
42489         [$(fast-check) && !$(cross-compiling)], add
42490         $(conformtest-header-base).  Remove previous setting.
42491         ($(conformtest-header-list-tests)): New target.
42492         (test-xfail-run-conformtest): Remove variable.
42493         ($(objpfx)run-conformtest.out): Remove target.
42494         (test-xfail-ISO11/complex.h/conform): New variable.
42495         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42496         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42497         (test-xfail-XPG3/varargs.h/conform): Likewise.
42498         (test-xfail-XPG4/varargs.h/conform): Likewise.
42499         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42500         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42501         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42502         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42503         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42504         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42505         (test-xfail-XPG3/ftw.h/conform): Likewise.
42506         (test-xfail-XPG3/grp.h/conform): Likewise.
42507         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42508         (test-xfail-XPG3/limits.h/conform): Likewise.
42509         (test-xfail-XPG3/pwd.h/conform): Likewise.
42510         (test-xfail-XPG3/search.h/conform): Likewise.
42511         (test-xfail-XPG3/signal.h/conform): Likewise.
42512         (test-xfail-XPG3/stdio.h/conform): Likewise.
42513         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42514         (test-xfail-XPG3/string.h/conform): Likewise.
42515         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42516         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42517         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42518         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42519         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42520         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42521         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42522         (test-xfail-XPG3/termios.h/conform): Likewise.
42523         (test-xfail-XPG3/time.h/conform): Likewise.
42524         (test-xfail-XPG3/unistd.h/conform): Likewise.
42525         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42526         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42527         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42528         (test-xfail-XPG4/netdb.h/conform): Likewise.
42529         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42530         (test-xfail-XPG4/signal.h/conform): Likewise.
42531         (test-xfail-XPG4/stdio.h/conform): Likewise.
42532         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42533         (test-xfail-XPG4/stropts.h/conform): Likewise.
42534         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42535         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42536         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42537         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42538         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42539         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42540         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42541         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42542         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42543         (test-xfail-XPG4/termios.h/conform): Likewise.
42544         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42545         (test-xfail-XPG4/unistd.h/conform): Likewise.
42546         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42547         (test-xfail-POSIX/sched.h/conform): Likewise.
42548         (test-xfail-POSIX/signal.h/conform): Likewise.
42549         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42550         (test-xfail-POSIX/tar.h/conform): Likewise.
42551         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42552         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42553         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42554         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42555         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42556         (test-xfail-UNIX98/sched.h/conform): Likewise.
42557         (test-xfail-UNIX98/signal.h/conform): Likewise.
42558         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42559         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42560         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42561         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42562         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42563         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42564         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42565         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42566         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42567         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42568         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42569         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42570         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42571         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42572         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42573         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42574         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42575         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42576         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42577         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42578         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42579         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42580         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42581         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42582         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42583         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42584         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42585         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42586         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42587         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42588         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42589         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42590         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42591         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42592         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42593         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42594         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42595         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42596         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42597         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42598         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42599         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42600         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42601         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42602         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42603         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42604         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42605         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42606         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42607         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42608         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42609         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42610         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42611         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42612         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42613         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42614         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42615         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42616         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42617         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42618         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42619         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42620         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42621         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42622         (conformtest-cc-flags): Likewise.
42623         ($(conformtest-header-tests): New target.
42624         * conform/check-header-lists.sh: New file.
42625         * conform/run-conformtest.sh: Remove.
42627         * conform/conformtest.pl: Allow ' and \ in values given for
42628         constants.
42629         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42630         inclusion.
42631         [POSIX] (sys/types.h): Likewise.
42632         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42633         inclusion.
42634         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42635         inclusion.
42636         * conform/data/signal.h-data (SIGIO): Remove expectation.
42637         [XPG3] (SIGBUS): Do not expect.
42638         [POSIX || XPG3] (SIGPOLL): Likewise.
42639         [POSIX || XPG3] (SIGPROF): Likewise.
42640         [POSIX || XPG3] (SIGSYS): Likewise.
42641         [XPG3] (SIGTRAP): Likewise.
42642         [POSIX || XPG3] (SIGURG): Likewise.
42643         [POSIX || XPG3] (SIGVTALRM): Likewise.
42644         [POSIX || XPG3] (SIGXCPU): Likewise.
42645         [POSIX || XPG3] (SIGXFSZ): Likewise.
42646         [POSIX] (SA_SIGINFO): Expect.
42647         [XPG3] (siginfo_t): Do not expect type or contents.
42648         [POSIX] (si_pid): Do not expect element.
42649         [POSIX] (si_uid): Likewise.
42650         [POSIX] (si_addr): Likewise.
42651         [POSIX] (si_status): Likewise.
42652         [POSIX] (si_band): Likewise.
42653         [XPG4] (si_value): Likewise.
42654         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42655         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42656         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42657         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42658         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42659         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42660         [POSIX || XPG3] (ILL_COPROC): Likewise.
42661         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42662         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42663         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42664         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42665         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42666         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42667         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42668         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42669         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42670         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42671         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42672         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42673         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42674         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42675         [POSIX || XPG3] (CLD_EXITED): Likewise.
42676         [POSIX || XPG3] (CLD_KILLED): Likewise.
42677         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42678         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42679         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42680         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42681         [POSIX || XPG3] (POLL_IN): Likewise.
42682         [POSIX || XPG3] (POLL_OUT): Likewise.
42683         [POSIX || XPG3] (POLL_MSG): Likewise.
42684         [POSIX || XPG3] (POLL_ERR): Likewise.
42685         [POSIX || XPG3] (POLL_PRI): Likewise.
42686         [POSIX || XPG3] (POLL_HUP): Likewise.
42687         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42688         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42689         (SIG*): Do not allow.
42690         [XPG3] (si_*): Likewise.
42691         [XPG3] (SI_*): Likewise.
42692         [XPG3 || XPG4] (sigev_*): Likewise.
42693         [XPG3 || XPG4] (SIGEV_*): Likewise.
42694         [XPG3 || XPG4] (sival_*): Likewise.
42695         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42696         [POSIX || XPG3] (BUS_*): Likewise.
42697         [POSIX || XPG3] (CLD_*): Likewise.
42698         [POSIX || XPG3] (FPE_*): Likewise.
42699         [POSIX || XPG3] (ILL_*): Likewise.
42700         [POSIX || XPG3] (POLL_*): Likewise.
42701         [POSIX || XPG3] (SEGV_*): Likewise.
42702         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42703         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42704         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42705         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42706         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42707         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42708         Specify type and value.
42709         (TVERSLEN): Likewise.
42710         (REGTYPE): Likewise.
42711         (AREGTYPE): Likewise.
42712         (LNKTYPE): Likewise.
42713         (SYMTYPE): Likewise.
42714         (CHRTYPE): Likewise.
42715         (BLKTYPE): Likewise.
42716         (DIRTYPE): Likewise.
42717         (FIFOTYPE): Likewise.
42718         (CONTTYPE): Likewise.
42719         (TSUID): Likewise.
42720         (TSGID): Likewise.
42721         (TSVTX): Likewise.
42722         (TUREAD): Likewise.
42723         (TUWRITE): Likewise.
42724         (TUEXEC): Likewise.
42725         (TGREAD): Likewise.
42726         (TGWRITE): Likewise.
42727         (TGEXEC): Likewise.
42728         (TOREAD): Likewise.
42729         (TOWRITE): Likewise.
42730         (TOEXEC): Likewise.
42731         [POSIX] (TSVTX): Expect constant.
42733 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42735         * Makefile (tests): Change dependencies to ....
42736         (tests-special): ... additions to this variable.
42737         (tests): Depend on $(tests-special).
42738         * Makerules (check-abi-list): New variable.
42739         (check-abi): Depend on $(check-abi-list).
42740         [$(subdir) = elf] (tests-special): Add
42741         $(objpfx)check-abi-libc.out.
42742         [$(build-shared) = yes && subdir] (tests-special): Add
42743         $(check-abi-list).
42744         [$(build-shared) = yes && subdir] (tests): Do not depend on
42745         check-abi.
42746         * Rules (tests): Depend on $(tests-special).
42747         (xtests): Depend on $(xtests-special).
42748         * catgets/Makefile (tests): Change dependencies to ....
42749         (tests-special): ... additions to this variable.
42750         * conform/Makefile (tests): Change dependencies to ....
42751         (tests-special): ... additions to this variable.
42752         * elf/Makefile (tests): Change dependencies to ....
42753         (tests-special): ... additions to this variable.
42754         * grp/Makefile (tests): Change dependencies to ....
42755         (tests-special): ... additions to this variable.
42756         * iconv/Makefile (xtests): Change dependencies to ....
42757         (xtests-special): ... additions to this variable.
42758         * iconvdata/Makefile (tests): Change dependencies to ....
42759         (tests-special): ... additions to this variable.
42760         * intl/Makefile (tests): Change dependencies to ....
42761         (tests-special): ... additions to this variable.  Also add
42762         $(objpfx)tst-gettext.out.
42763         * io/Makefile (tests): Change dependencies to ....
42764         (tests-special): ... additions to this variable.
42765         * libio/Makefile (tests): Change dependencies to ....
42766         (tests-special): ... additions to this variable.
42767         * malloc/Makefile (tests): Change dependencies to ....
42768         (tests-special): ... additions to this variable.
42769         * misc/Makefile (tests): Change dependencies to ....
42770         (tests-special): ... additions to this variable.
42771         * nptl/Makefile (tests): Change dependencies to ....
42772         (tests-special): ... additions to this variable.
42773         * nptl_db/Makefile (tests): Change dependencies to ....
42774         (tests-special): ... additions to this variable.
42775         * posix/Makefile (tests): Change dependencies to ....
42776         (tests-special): ... additions to this variable.
42777         (xtests): Change dependencies to ....
42778         (xtests-special): ... additions to this variable.
42779         * resolv/Makefile (tests): Change dependencies to ....
42780         (tests-special): ... additions to this variable.
42781         (xtests): Change dependencies to ....
42782         (xtests-special): ... additions to this variable.
42783         * stdio-common/Makefile (tests): Change dependencies to ....
42784         (tests-special): ... additions to this variable.
42785         (do-tst-unbputc): Remove target.
42786         (do-tst-printf): Likewise.
42787         * stdlib/Makefile (tests): Change dependencies to ....
42788         (tests-special): ... additions to this variable.
42789         * string/Makefile (tests): Change dependencies to ....
42790         (tests-special): ... additions to this variable.
42791         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42792         (tests-special): ... additions to this variable.
42794         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42795         whole file.
42796         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42797         whole file.
42798         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42799         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42801         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42802         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42803         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42804         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42805         * conform/data/libgen.h-data [XPG3]: Likewise.
42806         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42807         * conform/data/ndbm.h-data [XPG3]: Likewise.
42808         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42809         * conform/data/netdb.h-data [XPG3]: Likewise.
42810         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42811         * conform/data/poll.h-data [XPG3]: Likewise.
42812         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42813         * conform/data/strings.h-data [XPG3]: Likewise.
42814         * conform/data/stropts.h-data [XPG3]: Likewise.
42815         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42816         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42817         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42818         Likewise.
42819         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42820         * conform/data/sys/time.h-data [XPG3]: Likewise.
42821         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42822         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42823         * conform/data/sys/un.h-data [XPG3]: Likewise.
42824         * conform/data/syslog.h-data [XPG3]: Likewise.
42825         * conform/data/ucontext.h-data [XPG3]: Likewise.
42826         * conform/data/utmpx.h-data [XPG3]: Likewise.
42827         * conform/data/varargs.h-data [UNIX98]: Enable file.
42829         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42831         * math/libm-test.inc (struct test_f_f_data): Move expected results
42832         into structure for each rounding mode.
42833         (struct test_ff_f_data): Likewise.
42834         (struct test_ff_f_data_nexttoward): Likewise.
42835         (struct test_fi_f_data): Likewise.
42836         (struct test_fl_f_data): Likewise.
42837         (struct test_if_f_data): Likewise.
42838         (struct test_fff_f_data): Likewise.
42839         (struct test_c_f_data): Likewise.
42840         (struct test_f_f1_data): Likewise.
42841         (struct test_fF_f1_data): Likewise.
42842         (struct test_ffI_f1_data): Likewise.
42843         (struct test_c_c_data): Likewise.
42844         (struct test_cc_c_data): Likewise.
42845         (struct test_f_i_data): Likewise.
42846         (struct test_ff_i_data): Likewise.
42847         (struct test_f_l_data): Likewise.
42848         (struct test_f_L_data): Likewise.
42849         (struct test_fFF_11_data): Likewise.
42850         (RM_): New macro.
42851         (RM_FE_DOWNWARD): Likewise.
42852         (RM_FE_TONEAREST): Likewise.
42853         (RM_FE_TOWARDZERO): Likewise.
42854         (RM_FE_UPWARD): Likewise.
42855         (RUN_TEST_LOOP_f_f): Update references to expected results.
42856         (RUN_TEST_LOOP_2_f): Likewise.
42857         (RUN_TEST_LOOP_fff_f): Likewise.
42858         (RUN_TEST_LOOP_c_f): Likewise.
42859         (RUN_TEST_LOOP_f_f1): Likewise.
42860         (RUN_TEST_LOOP_fF_f1): Likewise.
42861         (RUN_TEST_LOOP_fI_f1): Likewise.
42862         (RUN_TEST_LOOP_ffI_f1): Likewise.
42863         (RUN_TEST_LOOP_c_c): Likewise.
42864         (RUN_TEST_LOOP_cc_c): Likewise.
42865         (RUN_TEST_LOOP_f_i): Likewise.
42866         (RUN_TEST_LOOP_f_i_tg): Likewise.
42867         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42868         (RUN_TEST_LOOP_f_b): Likewise.
42869         (RUN_TEST_LOOP_f_b_tg): Likewise.
42870         (RUN_TEST_LOOP_f_l): Likewise.
42871         (RUN_TEST_LOOP_f_L): Likewise.
42872         (RUN_TEST_LOOP_fFF_11): Likewise.
42873         * math/gen-libm-test.pl (parse_args): Output four copies of
42874         expected results for each test.
42876         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42877         (__ASSUME_UTIMES): Remove.
42878         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42879         (__ASSUME_UTIMES): Likewise.
42881         * math/gen-auto-libm-tests.c: Update comment on output format.
42882         (output_for_one_input_case): Generate before-rounding and
42883         after-rounding information as conditions on output flags not
42884         floating-point format.
42885         * math/auto-libm-test-out: Regenerated.
42886         * math/gen-libm-test.pl (cond_value): New function.
42887         (or_cond_value): Use cond_value.
42888         (generate_testfile): Handle conditional exceptions.
42890 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42892         * math/libm-test.inc (max_valid_error): New variable.
42893         (init_max_error): Take new argument specifying whether function
42894         results are exactly determined.  Set max_valid_error and bound
42895         other variables for errors based on this argument.
42896         (set_max_error): Do not record results above max_valid_error.
42897         (check_float_internal): Only accept errors of up to 0.5ulps if
42898         also at most max_valid_error.
42899         (START): Take new argument EXACT and pass it to init_max_error.
42900         (acos_test): Update call to START.
42901         (acos_test_tonearest): Likewise.
42902         (acos_test_towardzero): Likewise.
42903         (acos_test_downward): Likewise.
42904         (acos_test_upward): Likewise.
42905         (acosh_test): Likewise.
42906         (asin_test): Likewise.
42907         (asin_test_tonearest): Likewise.
42908         (asin_test_towardzero): Likewise.
42909         (asin_test_downward): Likewise.
42910         (asin_test_upward): Likewise.
42911         (asinh_test): Likewise.
42912         (atan_test): Likewise.
42913         (atanh_test): Likewise.
42914         (atan2_test): Likewise.
42915         (cabs_test): Likewise.
42916         (cacos_test): Likewise.
42917         (cacosh_test): Likewise.
42918         (carg_test): Likewise.
42919         (casin_test): Likewise.
42920         (casinh_test): Likewise.
42921         (catan_test): Likewise.
42922         (catanh_test): Likewise.
42923         (cbrt_test): Likewise.
42924         (ccos_test): Likewise.
42925         (ccosh_test): Likewise.
42926         (ceil_test): Likewise.
42927         (cexp_test): Likewise.
42928         (cimag_test): Likewise.
42929         (clog_test): Likewise.
42930         (clog10_test): Likewise.
42931         (conj_test): Likewise.
42932         (copysign_test): Likewise.
42933         (cos_test): Likewise.
42934         (cos_test_tonearest): Likewise.
42935         (cos_test_towardzero): Likewise.
42936         (cos_test_downward): Likewise.
42937         (cos_test_upward): Likewise.
42938         (cosh_test): Likewise.
42939         (cosh_test_tonearest): Likewise.
42940         (cosh_test_towardzero): Likewise.
42941         (cosh_test_downward): Likewise.
42942         (cosh_test_upward): Likewise.
42943         (cpow_test): Likewise.
42944         (cproj_test): Likewise.
42945         (creal_test): Likewise.
42946         (csin_test): Likewise.
42947         (csinh_test): Likewise.
42948         (csqrt_test): Likewise.
42949         (ctan_test): Likewise.
42950         (ctan_test_tonearest): Likewise.
42951         (ctan_test_towardzero): Likewise.
42952         (ctan_test_downward): Likewise.
42953         (ctan_test_upward): Likewise.
42954         (ctanh_test): Likewise.
42955         (ctanh_test_tonearest): Likewise.
42956         (ctanh_test_towardzero): Likewise.
42957         (ctanh_test_downward): Likewise.
42958         (ctanh_test_upward): Likewise.
42959         (erf_test): Likewise.
42960         (erfc_test): Likewise.
42961         (exp_test): Likewise.
42962         (exp_test_tonearest): Likewise.
42963         (exp_test_towardzero): Likewise.
42964         (exp_test_downward): Likewise.
42965         (exp_test_upward): Likewise.
42966         (exp10_test): Likewise.
42967         (exp10_test_tonearest): Likewise.
42968         (exp10_test_towardzero): Likewise.
42969         (exp10_test_downward): Likewise.
42970         (exp10_test_upward): Likewise.
42971         (pow10_test): Likewise.
42972         (exp2_test): Likewise.
42973         (expm1_test): Likewise.
42974         (expm1_test_tonearest): Likewise.
42975         (expm1_test_towardzero): Likewise.
42976         (expm1_test_downward): Likewise.
42977         (expm1_test_upward): Likewise.
42978         (fabs_test): Likewise.
42979         (fdim_test): Likewise.
42980         (floor_test): Likewise.
42981         (fma_test): Likewise.
42982         (fma_test_towardzero): Likewise.
42983         (fma_test_downward): Likewise.
42984         (fma_test_upward): Likewise.
42985         (fmax_test): Likewise.
42986         (fmin_test): Likewise.
42987         (fmod_test): Likewise.
42988         (fpclassify_test): Likewise.
42989         (frexp_test): Likewise.
42990         (hypot_test): Likewise.
42991         (ilogb_test): Likewise.
42992         (isfinite_test): Likewise.
42993         (finite_test): Likewise.
42994         (isgreater_test): Likewise.
42995         (isgreaterequal_test): Likewise.
42996         (isinf_test): Likewise.
42997         (isless_test): Likewise.
42998         (islessequal_test): Likewise.
42999         (islessgreater_test): Likewise.
43000         (isnan_test): Likewise.
43001         (isnormal_test): Likewise.
43002         (issignaling_test): Likewise.
43003         (isunordered_test): Likewise.
43004         (j0_test): Likewise.
43005         (j1_test): Likewise.
43006         (jn_test): Likewise.
43007         (ldexp_test): Likewise.
43008         (lgamma_test): Likewise.
43009         (gamma_test): Likewise.
43010         (lrint_test): Likewise.
43011         (lrint_test_tonearest): Likewise.
43012         (lrint_test_towardzero): Likewise.
43013         (lrint_test_downward): Likewise.
43014         (lrint_test_upward): Likewise.
43015         (llrint_test): Likewise.
43016         (llrint_test_tonearest): Likewise.
43017         (llrint_test_towardzero): Likewise.
43018         (llrint_test_downward): Likewise.
43019         (llrint_test_upward): Likewise.
43020         (log_test): Likewise.
43021         (log10_test): Likewise.
43022         (log1p_test): Likewise.
43023         (log2_test): Likewise.
43024         (logb_test): Likewise.
43025         (logb_test_downward): Likewise.
43026         (lround_test): Likewise.
43027         (llround_test): Likewise.
43028         (modf_test): Likewise.
43029         (nearbyint_test): Likewise.
43030         (nextafter_test): Likewise.
43031         (nexttoward_test): Likewise.
43032         (pow_test): Likewise.
43033         (pow_test_tonearest): Likewise.
43034         (pow_test_towardzero): Likewise.
43035         (pow_test_downward): Likewise.
43036         (pow_test_upward): Likewise.
43037         (remainder_test): Likewise.
43038         (drem_test): Likewise.
43039         (remainder_test_tonearest): Likewise.
43040         (drem_test_tonearest): Likewise.
43041         (remainder_test_towardzero): Likewise.
43042         (drem_test_towardzero): Likewise.
43043         (remainder_test_downward): Likewise.
43044         (drem_test_downward): Likewise.
43045         (remainder_test_upward): Likewise.
43046         (drem_test_upward): Likewise.
43047         (remquo_test): Likewise.
43048         (rint_test): Likewise.
43049         (rint_test_tonearest): Likewise.
43050         (rint_test_towardzero): Likewise.
43051         (rint_test_downward): Likewise.
43052         (rint_test_upward): Likewise.
43053         (round_test): Likewise.
43054         (scalb_test): Likewise.
43055         (scalbn_test): Likewise.
43056         (scalbln_test): Likewise.
43057         (signbit_test): Likewise.
43058         (sin_test): Likewise.
43059         (sin_test_tonearest): Likewise.
43060         (sin_test_towardzero): Likewise.
43061         (sin_test_downward): Likewise.
43062         (sin_test_upward): Likewise.
43063         (sincos_test): Likewise.
43064         (sinh_test): Likewise.
43065         (sinh_test_tonearest): Likewise.
43066         (sinh_test_towardzero): Likewise.
43067         (sinh_test_downward): Likewise.
43068         (sinh_test_upward): Likewise.
43069         (sqrt_test): Likewise.
43070         (sqrt_test_tonearest): Likewise.
43071         (sqrt_test_towardzero): Likewise.
43072         (sqrt_test_downward): Likewise.
43073         (sqrt_test_upward): Likewise.
43074         (tan_test): Likewise.
43075         (tan_test_tonearest): Likewise.
43076         (tan_test_towardzero): Likewise.
43077         (tan_test_downward): Likewise.
43078         (tan_test_upward): Likewise.
43079         (tanh_test): Likewise.
43080         (tgamma_test): Likewise.
43081         (trunc_test): Likewise.
43082         (y0_test): Likewise.
43083         (y1_test): Likewise.
43084         (yn_test): Likewise.
43085         (significand_test): Likewise.
43087         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43088         individual tests in comment.
43089         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43090         (prev_max_error): New variable.
43091         (prev_real_max_error): Likewise.
43092         (prev_imag_max_error): Likewise.
43093         (compare_ulp_data): Don't refer to test names in comment.
43094         (find_test_ulps): Remove function.
43095         (find_function_ulps): Likewise.
43096         (find_complex_function_ulps): Likewise.
43097         (init_max_error): Take function name as argument.  Look up ulps
43098         for that function.
43099         (print_ulps): Remove function.
43100         (print_max_error): Use prev_max_error instead of calling
43101         find_function_ulps.
43102         (print_complex_max_error): Use prev_real_max_error and
43103         prev_imag_max_error instead of calling find_complex_function_ulps.
43104         (check_float_internal): Take max_ulp parameter instead of calling
43105         find_test_ulps.  Don't call print_ulps.
43106         (check_float): Update call to check_float_internal.
43107         (check_complex): Update calls to check_float_internal.
43108         (START): Pass argument to init_max_error.
43109         * math/gen-libm-test.pl (%results): Don't include "kind"
43110         information.
43111         (parse_ulps): Don't handle ulps of individual tests.
43112         (print_ulps_file): Likewise.
43113         (output_ulps): Likewise.
43114         * math/README.libm-test: Update.
43115         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43116         individual tests.
43117         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43118         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43119         * sysdeps/arm/libm-test-ulps: Likewise.
43120         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43121         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43122         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43123         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43124         * sysdeps/microblaze/libm-test-ulps: Likewise.
43125         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43126         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43127         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43128         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43129         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43130         * sysdeps/sh/libm-test-ulps: Likewise.
43131         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43132         * sysdeps/tile/libm-test-ulps: Likewise.
43133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43135 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43137         * math/libm-test.inc (print_complex_max_error): Check separately
43138         whether real and imaginary errors are within allowed range and
43139         pass 0 to print_complex_function_ulps instead of value within
43140         allowed range.
43142 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43144         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43145         formatting.
43146         (get_handles_fopen): Likewise.
43147         (do_write_test): Likewise.
43149         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43151         * libio/fileops.c (do_ftell): Use cached offset when
43152         available.
43153         * libio/iofwide.c (do_ftell_wide): Likewise.
43154         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43155         _IO_file_attach.
43156         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43158         [BZ #16532]
43159         * libio/libioP.h (get_file_offset): New function.
43160         * libio/fileops.c (get_file_offset): Likewise.
43161         (do_ftell): Likewise.
43162         (_IO_new_file_seekoff): Split out ftell logic.
43163         * libio/wfileops.c (do_ftell_wide): Likewise.
43164         (_IO_wfile_seekoff): Split out ftell logic.
43165         * libio/tst-ftell-active-handler.c: New test case.
43166         * libio/Makefile (tests): Add it.
43168 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43170         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43171         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43173 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43175         [BZ #16639]
43176         * nscd/connections.c (nscd_init): Call do_exit.
43177         (start_threads): Call do_exit and notify_parent.
43178         (begin_drop_privileges): Call do_exit.
43179         (finish_drop_privileges): Likewise.
43180         * nscd/selinux.c (preserve_capabilities): Likewise.
43181         (install_real_capabilities): Likewise.
43182         (nscd_selinux_enabled): Likewise.
43183         (avc_create_thread): Likewise.
43184         (avc_alloc_lock): Likewise.
43185         (nscd_avc_init): Likewise.
43186         * nscd/nscd.c (parent_fd): New static variable.
43187         (main): Create a pipe between parent and child processes.
43188         Skip closing parent_fd.
43189         (monitor_child): New function.
43190         (do_exit): Likewise.
43191         (notify_parent): Likewise.
43192         * nscd/nscd.h (notify_parent): Likewise.
43193         (do_exit): Likewise.
43195 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43197         * malloc/malloc.c (__libc_calloc): Revert last change.
43199 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43203 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43205         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43207         implementation.
43208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43209         (__libc_ifunc_impl_list): Likewise.
43210         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43211         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43212         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43213         * string/strrchr.c: Define STRRCHR.
43215 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43217         * benchtest/bench-strtok.c (simple_strtok): Delete.
43218         (strtok_string): Use as benchmark.
43219         * string/strtok (STRTOK): New macro.
43221 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43223         * manual/threads.texi: Add header and standard comments to all
43224         functions.
43226         * elf/dl-lookup.c (check_match): New function.
43227         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43228         (do_lookup_x): Remove nested function check_match. Use non-nested
43229         function check_match.
43231 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43233         * csu/Makefile (generated, before-compile): Use += rather than =.
43234         * catgets/Makefile (generated, generated-dirs): Likewise.
43235         * debug/Makefile (generated): Likewise.
43236         * dlfcn/Makefile (generated): Likewise.
43237         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43238         * iconvdata/Makefile (before-compile, generated): Likewise.
43239         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43240         * libio/Makefile (generated): Likewise.
43241         * malloc/Makefile (generated): Likewise.
43242         * manual/Makefile (generated, generated-dirs): Likewise.
43243         * misc/Makefile (generated): Likewise.
43244         * posix/Makefile (generated): Likewise.
43245         * resolv/Makefile (generated): Likewise.
43246         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43247         * timezone/Makefile (generated, generated-dirs): Likewise.
43249         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43251 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43254         power8 implementation.
43255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43256         file: POWER8 llround ifunc implementation.
43257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43258         (__lllround): Add POWER8 implementation.
43259         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43260         POWER8 llround implementation.
43262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43263         power8 implementation.
43264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43265         file: POWER8 llrint ifunc implementation.
43266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43267         Add POWER8 implementation.
43268         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43269         POWER8 llrint implementation.
43271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43272         power8 implementation.
43273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43274         file: POWER8 finite ifunc implementation.
43275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43276         Add POWER8 implementation.
43277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43278         Likewise.
43279         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43280         POWER8 finite implementation.
43281         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43284         power8 implementation.
43285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43286         file: POWER8 isinf ifunc implementation.
43287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43288         POWER8 implementation.
43289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43290         Likewise.
43291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43292         isinf implementation.
43293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43295         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43296         (INIT_ARCH): Add hwcap2 initialization.
43297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43298         power8 implementation.
43299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43300         file: POWER8 isnan ifunc implementation.
43301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43302         POWER8 implementation.
43303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43304         Likewise.
43305         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43306         isnan implementation.
43307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43309 2014-02-27  Joey Ye  <joey.ye@arm.com>
43311         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43312         (_FP_NANFRAC_Q): Set to zero.
43314 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43316         [BZ #16623]
43317         * math/auto-libm-test-in: New test inputs.
43318         * math/auto-libm-test-out: Regenerate.
43319         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43320         and DA.
43321         (__cos): Likewise.
43322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43324 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43326         * scripts/evaluate-test.sh: Take new argument indicating whether
43327         failure is expected.
43328         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43329         indicating whether failure is expected.
43330         * conform/Makefile (test-xfail-run-conformtest): New variable.
43331         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43332         level.
43333         * posix/Makefile (test-xfail-annexc): New variable.
43334         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43336 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43338         * argp/Makefile: Include Makeconfig immediately after defining
43339         subdir.
43340         * assert/Makefile: Likewise.
43341         * benchtests/Makefile: Likewise.
43342         * catgets/Makefile: Likewise.
43343         * conform/Makefile: Likewise.
43344         * crypt/Makefile: Likewise.
43345         * csu/Makefile: Likewise.
43346         (all): Remove target.
43347         * ctype/Makefile: Include Makeconfig immediately after defining
43348         subdir.
43349         * debug/Makefile: Likewise.
43350         * dirent/Makefile: Likewise.
43351         * dlfcn/Makefile: Likewise.
43352         * gmon/Makefile: Likewise.
43353         * gnulib/Makefile: Likewise.
43354         * grp/Makefile: Likewise.
43355         * gshadow/Makefile: Likewise.
43356         * hesiod/Makefile: Likewise.
43357         * hurd/Makefile: Likewise.
43358         (all): Remove target.
43359         * iconvdata/Makefile: Include Makeconfig immediately after
43360         defining subdir.
43361         * inet/Makefile: Likewise.
43362         * intl/Makefile: Likewise.
43363         * io/Makefile: Likewise.
43364         * libio/Makefile: Likewise.
43365         (all): Remove target.
43366         * locale/Makefile: Include Makeconfig immediately after defining
43367         subdir.
43368         * login/Makefile: Likewise.
43369         * mach/Makefile: Likewise.
43370         (all): Remove target.
43371         * malloc/Makefile: Include Makeconfig immediately after defining
43372         subdir.
43373         (all): Remove target.
43374         * manual/Makefile: Include Makeconfig immediately after defining
43375         subdir.
43376         * math/Makefile: Likewise.
43377         * misc/Makefile: Likewise.
43378         * nis/Makefile: Likewise.
43379         * nss/Makefile: Likewise.
43380         * po/Makefile: Likewise.
43381         (all): Remove target.
43382         * posix/Makefile: Include Makeconfig immediately after defining
43383         subdir.
43384         * pwd/Makefile: Likewise.
43385         * resolv/Makefile: Likewise.
43386         * resource/Makefile: Likewise.
43387         * rt/Makefile: Likewise.
43388         * setjmp/Makefile: Likewise.
43389         * shadow/Makefile: Likewise.
43390         * signal/Makefile: Likewise.
43391         * socket/Makefile: Likewise.
43392         * soft-fp/Makefile: Likewise.
43393         * stdio-common/Makefile: Likewise.
43394         * stdlib/Makefile: Likewise.
43395         * streams/Makefile: Likewise.
43396         * string/Makefile: Likewise.
43397         * sunrpc/Makefile: Likewise.
43398         (all): Remove target.
43399         * sysvipc/Makefile: Include Makeconfig immediately after defining
43400         subdir.
43401         * termios/Makefile: Likewise.
43402         * time/Makefile: Likewise.
43403         * timezone/Makefile: Likewise.
43404         (all): Remove target.
43405         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43406         subdir.
43407         * wctype/Makefile: Likewise.
43409 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43411         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43412         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43413         (libc_feholdexcept_setround_mips): Ditto.
43414         (libc_feholdsetround): New.
43415         (libc_feholdsetroundf): New.
43416         (libc_feholdsetroundl): New.
43417         (libc_feupdateenv_test_mips): New.
43418         (libc_feupdateenv_test): New.
43419         (libc_feupdateenv_testf): New.
43420         (libc_feupdateenv_testl): New.
43421         (libc_feresetround): New.
43422         (libc_feresetroundf): New.
43423         (libc_feresetroundl): New.
43424         (libc_fetestexcept_mips): New.
43425         (libc_fetestexcept): New.
43426         (libc_fetestexceptf): New.
43427         (libc_fetestexceptl): New.
43428         (HAVE_RM_CTX): New.
43429         (libc_feholdexcept_setround_mips_ctx): New.
43430         (libc_feholdexcept_setround_ctx): New.
43431         (libc_feholdexcept_setroundf_ctx): New.
43432         (libc_feholdexcept_setroundl_ctx): New.
43433         (libc_fesetenv_mips_ctx): New.
43434         (libc_fesetenv_ctx): New.
43435         (libc_fesetenv_ctxf): New.
43436         (libc_fesetenv_ctxl): New.
43437         (libc_feupdateenv_mips_ctx): New.
43438         (libc_feupdateenv_ctx): New.
43439         (libc_feupdateenvf_ctx): New.
43440         (libc_feupdateenvl_ctx): New.
43441         (libc_feholdsetround_mips_ctx): New.
43442         (libc_feholdsetround_ctx): New.
43443         (libc_feholdsetroundf_ctx): New.
43444         (libc_feholdsetroundl_ctx): New.
43445         (libc_feresetround_mips_ctx): New.
43446         (libc_feresetround_ctx): New.
43447         (libc_feresetroundf_ctx): New.
43448         (libc_feresetroundl_ctx): New.
43450 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43452         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43454         * manual/ipc.texi: New file.
43455         * manual/Makefile (chapters): Add ipc.
43456         * manual/job.texi: Add "Inter-Process Communication" to next.
43457         * manual/process.texi: Add "Inter-Process Communication" to prev.
43459 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43463 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43465         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43467         * manual/arith.texi: Fix spaces after sentences.
43468         * manual/charset.texi: Likewise.
43469         * manual/errno.texi: Likewise.
43470         * manual/install.texi: Likewise.
43471         * manual/llio.texi: Likewise.
43472         * manual/locale.texi: Likewise.
43473         * manual/maint.texi: Likewise.
43474         * manual/math.texi: Likewise.
43475         * manual/memory.texi: Likewise.
43476         * manual/message.texi: Likewise.
43477         * manual/probes.texi: Likewise.
43478         * manual/resource.texi: Likewise.
43479         * manual/signal.texi: Likewise.
43480         * manual/socket.texi: Likewise.
43481         * manual/stdio.texi: Likewise.
43482         * manual/string.texi: Likewise.
43483         * manual/time.texi: Likewise.
43484         * manual/users.texi: Likewise.
43486 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43488         [BZ #16632]
43489         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43490         _DEFAULT_SOURCE is defined.
43492 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43493             Carlos O'Donell  <carlos@redhat.com>
43495         [BZ #16613]
43496         * elf/dl-tls.c (_dl_count_modids): New function.
43497         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43498         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43499         audit library and increment generation counter.
43500         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43501         * elf/tst-audit9.c: New file.
43502         * elf/tst-auditmod9a.c: New file.
43503         * elf/tst-auditmod9b.c: New file.
43504         * elf/Makefile: Add rules to build and run tst-audit9.
43506 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43508         [BZ #15347]
43509         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43511 2014-02-25  Will Newton  <will.newton@linaro.org>
43513         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43514         (__longjmp): Restore sp and lr before restoring callee
43515         saved registers.  Add longjmp and longjmp_target
43516         SystemTap probe point.
43517         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43518         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43519         Define to zero to match jmpbuf layout.
43520         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43521         (__sigsetjmp): Save sp and lr before saving callee
43522         saved registers.  Add setjmp SystemTap probe point.
43524 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43528 2014-02-24  Andreas Schwab  <schwab@suse.de>
43530         [BZ #15804]
43531         * elf/pldd.c (wait_for_ptrace_stop): New function.
43532         (main): Call it after attaching.
43534 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43536         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43537         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43538         Versions files is now verboten.
43539         * hurd/Versions (libc: GLIBC_2.0):
43540         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43541         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43542         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43543         * mach/Versions: Likewise.
43545         * csu/Versions: Remove unused %include.
43546         * resolv/Versions: Likewise.
43548 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43550         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43551         ($(objpfx)check-local-headers.out): Likewise.
43552         ($(objpfx)begin-end-check.out): Likewise.
43553         * Makerules (check-abi-%.out): Likewise.
43554         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43555         ($(objpfx)test2.cat): Likewise.
43556         ($(objpfx)de/libc.cat): Likewise.
43557         ($(objpfx)test-gencat.out): Likewise.
43558         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43559         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43560         ($(objpfx)noload-mem): Likewise.
43561         ($(objpfx)tst-pathopt.out): Likewise.
43562         ($(objpfx)tst-rtld-load-self.out): Likewise.
43563         ($(objpfx)tst-array1-cmp.out): Likewise.
43564         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43565         ($(objpfx)tst-array2-cmp.out): Likewise.
43566         ($(objpfx)tst-array3-cmp.out): Likewise.
43567         ($(objpfx)tst-array4-cmp.out): Likewise.
43568         ($(objpfx)tst-array5-cmp.out): Likewise.
43569         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43570         ($(objpfx)check-textrel.out): Likewise.
43571         ($(objpfx)check-execstack.out): Likewise.
43572         ($(objpfx)check-localplt.out): Likewise.
43573         ($(objpfx)order2-cmp.out): Likewise.
43574         ($(objpfx)tst-leaks1-mem): Likewise.
43575         ($(objpfx)tst-leaks1-static-mem): Likewise.
43576         ($(objpfx)tst-initorder-cmp.out): Likewise.
43577         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43578         ($(objpfx)tst-unused-dep.out): Likewise.
43579         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43580         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43581         * iconv/Makefile (test-iconvconfig): Likewise.
43582         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43583         ($(objpfx)iconv-test.out): Likewise.
43584         ($(objpfx)tst-tables.out): Likewise.
43585         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43586         ($(objpfx)tst-gettext.out): Likewise.
43587         ($(objpfx)tst-translit.out): Likewise.
43588         ($(objpfx)tst-gettext2.out): Likewise.
43589         ($(objpfx)tst-gettext4.out): Likewise.
43590         ($(objpfx)tst-gettext6.out): Likewise.
43591         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43592         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43593         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43594         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43595         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43596         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43597         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43598         ($(objpfx)wordexp-tst.out): Likewise.
43599         ($(objpfx)annexc.out): Likewise.
43600         ($(objpfx)tst-fnmatch-mem): Likewise.
43601         ($(objpfx)bug-regex2-mem): Likewise.
43602         ($(objpfx)bug-regex14-mem): Likewise.
43603         ($(objpfx)bug-regex21-mem): Likewise.
43604         ($(objpfx)bug-regex31-mem): Likewise.
43605         ($(objpfx)tst-vfork3-mem): Likewise.
43606         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43607         ($(objpfx)tst-pcre-mem): Likewise.
43608         ($(objpfx)tst-boost-mem): Likewise.
43609         ($(objpfx)tst-getconf.out): Likewise.
43610         ($(objpfx)bug-ga2-mem): Likewise.
43611         ($(objpfx)bug-glob2-mem): Likewise.
43612         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43613         ($(objpfx)mtrace-tst-leaks2): Likewise.
43614         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43615         ($(objpfx)tst-printf.out): Likewise.
43616         ($(objpfx)tst-setvbuf1.out): Likewise.
43617         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43618         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43619         ($(objpfx)tst-fmtmsg.out): Likewise.
43620         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43621         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43623         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43624         * bits/sigaction.h [__USE_MISC]: Likewise.
43625         * bits/waitstatus.h: Update #endif comments.
43626         * ctype/ctype.h: Likewise.
43627         * dirent/dirent.h: Likewise.
43628         [__USE_MISC]: Remove redundant conditionals.
43629         * grp/grp.h: Update #endif comments.
43630         [__USE_GNU]: Remove redundant conditionals.
43631         [__USE_MISC]: Likewise.
43632         * inet/netinet/in.h [__USE_GNU]: Likewise.
43633         * io/sys/stat.h [__USE_MISC]: Likewise.
43634         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43635         * libio/bits/stdio.h: Update #endif comments.
43636         [__USE_MISC]: Remove redundant conditionals.
43637         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43638         * libio/stdio.h: Update #endif comments.
43639         [__USE_MISC]: Remove redundant conditionals.
43640         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43641         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43642         * math/math.h: Update #else and #endif comments.
43643         [__USE_MISC]: Remove redundant conditionals.
43644         * misc/sys/uio.h: Update #endif comments.
43645         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43646         * posix/glob.h [__USE_MISC]: Likewise.
43647         * posix/sys/types.h: Update #endif comments.
43648         [__USE_MISC]: Remove redundant conditionals.
43649         * posix/sys/wait.h: Update #endif comments.
43650         [__USE_MISC]: Remove redundant conditionals.
43651         * posix/unistd.h: Update #endif comments.
43652         [__USE_MISC]: Remove redundant conditionals.
43653         * pwd/pwd.h [__USE_GNU]: Likewise.
43654         [__USE_MISC]: Likewise.
43655         * resolv/netdb.h [__USE_GNU]: Likewise.
43656         * signal/signal.h: Update #endif comments.
43657         [__USE_MISC]: Remove redundant conditionals.
43658         * stdlib/stdlib.h: Update #else and #endif comments.
43659         [__USE_MISC]: Remove redundant conditionals.
43660         [__USE_GNU]: Likewise.
43661         * string/bits/string2.h [__USE_MISC]: Likewise.
43662         * string/string.h: Update #endif comments.
43663         [__USE_MISC]: Remove redundant conditionals.
43664         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43665         Likewise.
43666         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43667         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43668         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43669         Likewise.
43670         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43671         Likewise.
43672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43673         comments.
43674         [__USE_MISC]: Remove redundant conditionals.
43675         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43676         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43677         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43678         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43679         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43680         Likewise.
43681         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43682         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43683         Likewise.
43684         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43685         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43686         Likewise.
43687         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43688         Likewise.
43689         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43690         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43691         Likewise.
43692         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43693         Likewise.
43694         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43695         * sysdeps/x86/bits/string.h: Update #endif comments.
43696         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43697         conditionals.
43698         * time/sys/time.h: Update #endif comments.
43699         * time/time.h: Likewise.
43700         [__USE_MISC]: Remove redundant conditionals.
43702 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43704         [BZ #16600]
43705         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43707 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43709         * Versions.def (librt): Add GLIBC_2.17.
43711 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43713         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43714         synonym for _SYS_AUXV_H to allow direct inclusion.
43715         * sysdeps/sparc/bits/hwcap.h: Likewise.
43716         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43717         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43718         * sysdeps/sparc/sysdep.h: Likewise.
43720 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43724 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43726         * benchtests/bench-strrchr.c: Print length instead of position.
43728 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43730         [BZ #16611]
43731         * sysdeps/unix/sysv/linux/kernel-features.h
43732         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43733         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43734         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43735         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43736         Likewise.
43737         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43738         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43739         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43740         (__ASSUME_SENDMMSG): Define instead of using previous
43741         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43742         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43743         (__ASSUME_SENDMMSG_SYSCALL): Define.
43744         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43745         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43746         Likewise.
43747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43748         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43749         Likewise.
43750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43751         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43752         Likewise.
43753         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43754         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43755         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43756         [__ASSUME_SENDMMSG]: Change conditionals to
43757         [__ASSUME_SENDMMSG_SOCKETCALL].
43758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43759         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43760         Define.
43761         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43762         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43763         Likewise.
43764         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43765         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43766         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43767         [!__ASSUME_SENDMMSG]: Change conditional to
43768         [!__ASSUME_SENDMMSG_SOCKETCALL].
43769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43770         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43771         Define.
43773         [BZ #16610]
43774         * sysdeps/unix/sysv/linux/kernel-features.h
43775         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43776         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43777         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43778         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43779         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43780         [__i386__ || __sparc__]
43781         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43782         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43783         (__ASSUME_RECVMMSG): Define instead of using previous
43784         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43785         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43786         (__ASSUME_RECVMMSG_SYSCALL): Define.
43787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43789         Likewise.
43790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43791         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43792         Likewise.
43793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43794         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43795         Likewise.
43796         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43797         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43798         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43799         [__ASSUME_RECVMMSG]: Change condition to
43800         [__ASSUME_RECVMMSG_SOCKETCALL].
43801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43803         Define.
43804         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43806         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43807         Likewise.
43808         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43809         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43810         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43811         [!__ASSUME_RECVMMSG]: Change condition to
43812         [!__ASSUME_RECVMMSG_SOCKETCALL].
43813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43814         (__ASSUME_RECVMMSG_SYSCALL): Define.
43816         [BZ #16609]
43817         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43818         __powerpc__ || __s390__ || __sh__ || __sparc__]
43819         (__ASSUME_SOCKETCALL): Define.
43820         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43821         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43822         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43823         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43824         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43825         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43826         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43827         (__ASSUME_ACCEPT4): Define instead of using previous
43828         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43829         __powerpc__ || __sparc__ || __s390__)] condition.
43830         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43831         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43832         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43833         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43834         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43835         [!__ASSUME_ACCEPT4]: Change condition to
43836         [!__ASSUME_ACCEPT4_SOCKETCALL].
43837         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43838         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43839         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43841         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43842         __ASSUME_ACCEPT4_SYSCALL.
43843         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43844         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43846         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43847         __ASSUME_ACCEPT4_SYSCALL.
43848         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43849         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43850         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43851         [__ASSUME_ACCEPT4]: Change condition to
43852         [__ASSUME_ACCEPT4_SOCKETCALL].
43853         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43854         (__ASSUME_SOCKETCALL): Define.
43855         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43857         (__ASSUME_SOCKETCALL): Define.
43858         (__ASSUME_ACCEPT4): Remove.
43859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43860         Define.
43861         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43862         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43863         Likewise.
43864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43865         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43867         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43868         macro.
43869         (HWCAP_ARM_LPAE): Likewise.
43870         (HWCAP_ARM_EVTSTRM): Likewise.
43871         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43872         Add vpfd32, lpae and evtstrm.
43873         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43874         Increase to 22.
43876 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43878         * math/auto-libm-test-in: Add tests of clog10.
43879         * math/auto-libm-test-out: Regenerated.
43880         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43881         * sysdeps/i386/fpu/libm-test-ulps: Update.
43882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43884 2014-02-18  Andreas Schwab  <schwab@suse.de>
43886         [BZ #16574]
43887         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43888         Store non-zero if the second buffer was newly allocated.
43889         (send_dg): Likewise.
43890         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43891         to send_vc and send_dg.
43892         (res_nsend): Pass NULL for ansp2_malloced.
43893         * resolv/res_query.c (__libc_res_nquery): Add parameter
43894         answerp2_malloced and pass it down to __libc_res_nsend.
43895         (res_nquery): Pass additional NULL to __libc_res_nquery.
43896         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43897         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43898         second answer buffer if answerp2_malloced was set.
43899         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43900         (__libc_res_nquerydomain): Add parameter
43901         answerp2_malloced and pass it down to __libc_res_nquery.
43902         (res_nquerydomain): Pass additional NULL to
43903         __libc_res_nquerydomain.
43904         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43905         additional NULL to __libc_res_nsend and __libc_res_nquery.
43906         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43907         additional NULL to __libc_res_nsearch.
43908         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43909         parameter of __libc_res_nsearch to check for separately allocated
43910         second buffer.
43911         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43912         __libc_res_nquery.
43913         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43914         additional NULL to __libc_res_nquery.
43915         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43916         __libc_res_nsearch.
43917         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43918         * include/resolv.h: Update prototypes of __libc_res_nquery,
43919         __libc_res_nsearch, __libc_res_nsend.
43921 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43923         * math/auto-libm-test-in: Add tests of fma.
43924         * math/auto-libm-test-out: Regenerated.
43925         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43926         (fma_towardzero_test_data): Likewise.
43927         (fma_downward_test_data): Likewise.
43928         (fma_upward_test_data): Likewise.
43929         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43930         mpc_mode.
43931         (rounding_modes): Add values for new field.
43932         (func_calc_method): Add value mpfr_fff_f.
43933         (func_calc_desc): Add mpfr_fff_f union field.
43934         (test_function): Add field exact_args.
43935         (FUNC): Add macro argument EXACT_ARGS.
43936         (FUNC_mpfr_f_f): Update call to FUNC.
43937         (FUNC_mpfr_f_f): Likewise.
43938         (FUNC_mpfr_ff_f): Likewise.
43939         (FUNC_mpfr_if_f): Likewise.
43940         (FUNC_mpc_c_f): Likewise.
43941         (FUNC_mpc_c_c): Likewise.
43942         (test_functions): Add fma.  Update calls to FUNC.
43943         (handle_input_arg): Add argument exact_args.
43944         (add_test): Update call to handle_input_arg.
43945         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43946         (output_for_one_input_case): Update call to calc_generic_results.
43947         Recalculate exact zero results in each rounding mode.
43949         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43950         non-negative before setting low bit.
43951         * math/auto-libm-test-in: Mark one asin test possibly having
43952         spurious underflow.
43953         * math/auto-libm-test-out: Regenerated.
43954         * sysdeps/i386/fpu/libm-test-ulps: Update.
43955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43957 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43959         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43960         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43961         ports/sysdeps/unix/sysv/linux/microblaze.
43962         * README: Add missing listing for microblaze*-*-linux-gnu.
43964 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43967         duplicate code
43969 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43971         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43972         * sysdeps/unix/sysv/linux/ia64: Move directory from
43973         ports/sysdeps/unix/sysv/linux/ia64.
43974         * README: Update listing for ia64-*-linux-gnu.
43976 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43977             Joseph Myers  <joseph@codesourcery.com>
43979         * Makeconfig (test-name): New variable.
43980         (evaluate-test): Likewise.
43981         * Makerules (do-test-clean): Remove .test-result files.
43982         (common-mostlyclean): Likewise.
43983         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43984         * scripts/evaluate-test.sh: New file.
43986 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43988         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43989         separate $(objpfx)tst-fopenloc-cmp.out and
43990         $(objpfx)tst-fopenloc-mem.out targets.
43991         (tests): Update dependencies.
43992         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43993         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43994         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43995         (tst-rxspencer-no-utf8-ARGS): New variable.
43996         (tst-rxspencer-no-utf8-ENV): Likewise.
43997         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43998         instead of $(objpfx)tst-rxspencer-mem.
43999         ($(objpfx)tst-rxspencer-mem): Change target to
44000         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
44001         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44002         * posix/tst-rxspencer-no-utf8.c: New file.
44004         * elf/Makefile ($(objpfx)order.out): Remove rule.
44005         [$(run-built-tests) = yes] (tests): Depend on
44006         $(objpfx)order-cmp.out.
44007         ($(objpfx)order-cmp.out): New rule.
44008         [$(run-built-tests) = yes] (tests): Depend on
44009         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44010         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44011         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44012         $(objpfx)tst-array5-static-cmp.out.
44013         ($(objpfx)tst-array1.out): Remove rule.
44014         ($(objpfx)tst-array1-cmp.out): New rule.
44015         ($(objpfx)tst-array1-static.out): Remove rule.
44016         ($(objpfx)tst-array1-static-cmp.out): New rule.
44017         ($(objpfx)tst-array2.out): Remove rule.
44018         ($(objpfx)tst-array2-cmp.out): New rule.
44019         ($(objpfx)tst-array3.out): Remove rule.
44020         ($(objpfx)tst-array3-cmp.out): New rule.
44021         ($(objpfx)tst-array4.out): Remove rule.
44022         ($(objpfx)tst-array4-cmp.out): New rule.
44023         ($(objpfx)tst-array5.out): Remove rule.
44024         ($(objpfx)tst-array5-cmp.out): New rule.
44025         ($(objpfx)tst-array5-static.out): Remove rule.
44026         ($(objpfx)tst-array5-static-cmp.out): New rule.
44027         [$(run-built-tests) = yes] (tests): Depend on
44028         $(objpfx)order2-cmp.out.
44029         ($(objpfx)order2.out): Remove rule.
44030         ($(objpfx)order2-cmp.out): New rule.
44031         ($(objpfx)tst-initorder.out): Remove rule.
44032         [$(run-built-tests) = yes] (tests): Depend on
44033         $(objpfx)tst-initorder-cmp.out.
44034         ($(objpfx)tst-initorder-cmp.out): New rule.
44035         ($(objpfx)tst-initorder2.out): Remove rule.
44036         [$(run-built-tests) = yes] (tests): Depend on
44037         $(objpfx)tst-initorder2-cmp.out.
44038         ($(objpfx)tst-initorder2-cmp.out): New rule.
44039         [$(run-built-tests) = yes] (tests): Depend on
44040         $(objpfx)tst-unused-dep-cmp.out.
44041         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44042         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44043         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44044         on $(objpfx)tst-setvbuf1-cmp.out.
44045         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44046         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44047         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44048         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44049         ($(objpfx)tst-svc.out): Remove rule.
44050         ($(objpfx)tst-svc-cmp.out): New rule.
44052 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44054         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44055         * ctype/ctype.h [__USE_MISC]: Likewise.
44056         * dirent/dirent.h [__USE_MISC]: Likewise.
44057         * grp/grp.h [__USE_MISC]: Likewise.
44058         * io/fcntl.h [__USE_MISC]: Likewise.
44059         * io/sys/stat.h [__USE_MISC]: Likewise.
44060         * libio/stdio.h [__USE_MISC]: Likewise.
44061         * posix/unistd.h [__USE_MISC]: Likewise.
44062         * pwd/pwd.h [__USE_MISC]: Likewise.
44063         * stdlib.h [__USE_MISC]: Likewise.
44064         * string/bits/string2.h [__USE_MISC]: Likewise.
44065         * string/string.h [__USE_MISC]: Likewise.
44066         * time/time.h [__USE_MISC]: Likewise.
44068 2014-02-13  Andreas Schwab  <schwab@suse.de>
44070         [BZ #16574]
44071         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44072         second answer buffer if it was separately allocated.
44074 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44076         * sysdeps/mips/math-tests.h: Include <features.h>.
44077         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44078         (ROUNDING_TESTS_long_double): Do not define.
44079         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44080         (EXCEPTION_TESTS_long_double): Likewise.
44081         * sysdeps/mips/mips64/libm-test-ulps: Update.
44083         * include/features.h (__USE_BSD): Remove macro definitions.
44084         (__USE_SVID): Likewise.
44085         (_BSD_SOURCE): Likewise.
44086         (_SVID_SOURCE): Likewise.
44087         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44088         from definition of _DEFAULT_SOURCE.
44089         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44090         [_DEFAULT_SOURCE].
44091         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44092         * bits/mman.h [__USE_BSD]: Likewise.
44093         * bits/termios.h [__USE_BSD]: Likewise.
44094         * bits/waitstatus.h [__USE_BSD]: Likewise.
44095         * ctype/ctype.h [__USE_SVID]: Likewise.
44096         * dirent/dirent.h [__USE_BSD]: Likewise.
44097         * grp/grp.h [__USE_SVID]: Likewise.
44098         [__USE_BSD]: Likewise.
44099         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44100         * io/fcntl.h [__USE_BSD]: Likewise.
44101         * io/ftw.h [__USE_BSD]: Likewise.
44102         * io/sys/stat.h [__USE_BSD]: Likewise.
44103         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44104         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44105         * libio/stdio.h [__USE_SVID]: Likewise.
44106         [__USE_BSD]: Likewise.
44107         * math/math.h [__USE_SVID]: Likewise.
44108         [__USE_BSD]: Likewise.
44109         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44110         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44111         * misc/search.h [__USE_SVID]: Likewise.
44112         * misc/sys/mman.h [__USE_BSD]: Likewise.
44113         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44114         * misc/sys/uio.h [__USE_BSD]: Likewise.
44115         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44116         * posix/glob.h [__USE_BSD]: Likewise.
44117         * posix/regex.h [__USE_BSD]: Likewise.
44118         * posix/sys/types.h [__USE_BSD]: Likewise.
44119         [__USE_SVID]: Likewise.
44120         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44121         * posix/sys/wait.h [__USE_BSD]: Likewise.
44122         [__USE_SVID]: Likewise.
44123         * posix/unistd.h [__USE_BSD]: Likewise.
44124         [__USE_SVID]: Likewise.
44125         * pwd/pwd.h [__USE_SVID]: Likewise.
44126         * resolv/netdb.h [__USE_BSD]: Likewise.
44127         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44128         * signal/signal.h [__USE_BSD]: Likewise.
44129         [__USE_SVID]: Likewise.
44130         * socket/sys/socket.h [__USE_BSD]: Likewise.
44131         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44132         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44133         [__USE_SVID]: Likewise.
44134         * string/bits/string2.h [__USE_BSD]: Likewise.
44135         [__USE_SVID]: Likewise.
44136         * string/bits/string3.h [__USE_BSD]: Likewise.
44137         * string/endian.h [__USE_BSD]: Likewise.
44138         * string/string.h [__USE_SVID]: Likewise.
44139         [__USE_BSD]: Likewise.
44140         * string/strings.h [__USE_BSD]: Likewise.
44141         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44142         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44143         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44144         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44145         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44146         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44147         Likewise.
44148         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44149         Likewise.
44150         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44151         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44152         Likewise.
44153         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44154         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44155         Likewise.
44156         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44157         Likewise.
44158         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44159         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44160         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44161         Likewise.
44162         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44163         Likewise.
44164         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44165         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44166         * termios/termios.h [__USE_BSD]: Likewise.
44167         * time/sys/time.h [__USE_BSD]: Likewise.
44168         * time/time.h [__USE_BSD]: Likewise.
44169         [__USE_SVID]: Likewise.
44171         * Makefile (subdir_targets): Remove subdir_lint.out.
44173         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44174         (do-tst-printf): Likewise.
44175         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44176         $(objpfx)tst-printf.out.
44178         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44180         * Makerules (check-abi-%): Change target to
44181         $(objpfx)check-abi-%.out.
44182         (check-abi target): Update dependencies.
44183         (check-abi-pattern variable): Redirect output of diff to $@.
44184         (check-abi variable): Likewise.
44185         * elf/Makefile (check-abi): Update dependencies.
44187         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44188         unused.
44189         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44190         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44191         subnormal range.
44192         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44193         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44194         value has largest subnormal exponent.
44195         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44196         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44197         * sysdeps/aarch64/soft-fp/sfp-machine.h
44198         (_FP_TININESS_AFTER_ROUNDING): New macro.
44199         * sysdeps/alpha/soft-fp/sfp-machine.h
44200         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44201         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44202         Likewise.
44203         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44204         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44205         * sysdeps/mips/soft-fp/sfp-machine.h
44206         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44207         * sysdeps/powerpc/soft-fp/sfp-machine.h
44208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44209         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44210         Likewise.
44211         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44212         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44213         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44214         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44215         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44216         Likewise.
44218 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44220         [BZ #16545]
44221         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44222         model 1.
44224 2014-02-12  Richard Henderson  <rth@redhat.com>
44226         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44227         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44228         * sysdeps/unix/sysv/linux/alpha: Move directory from
44229         ports/sysdeps/unix/sysv/linux/alpha.
44230         * README: Update listing for alpha-*-linux-gnu.
44232 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44234         * include/features.h: Update comment documenting feature test
44235         macros.
44236         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44237         _DEFAULT_SOURCE.
44238         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44239         (_SVID_SOURCE): Likewise.
44240         (_DEFAULT_SOURCE): Update description of default features.
44241         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44242         with _GNU_SOURCE.
44243         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44244         (S_ISVTX): Likewise.
44245         * manual/math.texi (Mathematical Constants): Likewise.
44246         * manual/signal.texi (Interrupted Primitives): Likewise.
44247         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44248         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44249         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44250         Don't refer to _SVID_SOURCE in warning text.
44252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44254         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44255         already defined.
44256         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44257         * sysdeps/mips/dl-lookup.c: Remove.
44258         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44260 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44262         [BZ #16447]
44263         * math/auto-libm-test-in: Add testcase for expl.
44264         * math/auto-libm-test-out: Regenerate.
44265         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44266         calculation of unsafe.
44267         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44269 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44271         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44272         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44273         ports/sysdeps/unix/sysv/linux/aarch64.
44274         * README: Update listing for aarch64*-*-linux-gnu.
44276 2014-02-11  Will Newton  <will.newton@linaro.org>
44278         * manual/probes.texi (Mathematical Function Probes): Use
44279         "triggered" instead of "hit".
44281         * manual/probes.texi (Internal Probes): Add documentation
44282         of setjmp, longjmp and longjmp_target probes.
44284         * include/stap-probe.h: Add comment about probe argument
44285         format.
44287         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44288         definition.  (tr_where, tr_freehook, tr_mallochook,
44289         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44291 2014-02-11  David S. Miller  <davem@davemloft.net>
44293         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44294         processing int_tests.
44296 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44298         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44299         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44300         * sysdeps/unix/sysv/linux/mips: Move directory from
44301         ports/sysdeps/unix/sysv/linux/mips.
44302         * README: Update listing for mips-*-linux-gnu and
44303         mips64-*-linux-gnu.
44305 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44307         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44308         * sysdeps/unix/sysv/linux/m68k: Move directory from
44309         ports/sysdeps/unix/sysv/linux/m68k.
44310         * README: Update listing for m68k-*-linux-gnu.
44312 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44314         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44315         * sysdeps/unix/sysv/linux/generic: Move directory from
44316         ports/sysdeps/unix/sysv/linux/generic.
44317         * sysdeps/unix/sysv/linux/tile: Move directory from
44318         ports/sysdeps/unix/sysv/linux/tile.
44319         * README: Update listing for tile*-*-linux-gnu.
44321 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44323         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44324         __builtin_expect.
44325         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44326         * catgets/open_catalog.c (__open_catalog): Likewise.
44327         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44328         * debug/confstr_chk.c: Likewise.
44329         * debug/fread_chk.c (__fread_chk): Likewise.
44330         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44331         * debug/getgroups_chk.c: Likewise.
44332         * debug/mbsnrtowcs_chk.c: Likewise.
44333         * debug/mbsrtowcs_chk.c: Likewise.
44334         * debug/mbstowcs_chk.c: Likewise.
44335         * debug/memcpy_chk.c: Likewise.
44336         * debug/memmove_chk.c: Likewise.
44337         * debug/mempcpy_chk.c: Likewise.
44338         * debug/memset_chk.c: Likewise.
44339         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44340         * debug/strcat_chk.c (__strcat_chk): Likewise.
44341         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44342         * debug/strncat_chk.c (__strncat_chk): Likewise.
44343         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44344         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44345         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44346         * debug/wcpncpy_chk.c: Likewise.
44347         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44348         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44349         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44350         * debug/wcsncpy_chk.c: Likewise.
44351         * debug/wcsnrtombs_chk.c: Likewise.
44352         * debug/wcsrtombs_chk.c: Likewise.
44353         * debug/wcstombs_chk.c: Likewise.
44354         * debug/wmemcpy_chk.c: Likewise.
44355         * debug/wmemmove_chk.c: Likewise.
44356         * debug/wmempcpy_chk.c: Likewise.
44357         * debug/wmemset_chk.c: Likewise.
44358         * dirent/scandirat.c (SCANDIRAT): Likewise.
44359         * dlfcn/dladdr1.c (dladdr1): Likewise.
44360         * dlfcn/dladdr.c (dladdr): Likewise.
44361         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44362         * dlfcn/dlerror.c (__dlerror): Likewise.
44363         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44364         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44365         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44366         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44367         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44368         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44369         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44370         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44371         Likewise.
44372         * elf/dl-conflict.c: Likewise.
44373         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44374         * elf/dl-dst.h: Likewise.
44375         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44376         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44377         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44378         * elf/dl-init.c (call_init, _dl_init): Likewise.
44379         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44380         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44381         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44382         Likewise.
44383         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44384         Likewise.
44385         * elf/dl-minimal.c (__libc_memalign): Likewise.
44386         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44387         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44388         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44389         * elf/dl-sym.c (do_sym): Likewise.
44390         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44391         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44392         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44393         * elf/dl-writev.h (_dl_writev): Likewise.
44394         * elf/ldconfig.c (search_dir): Likewise.
44395         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44396         (dl_main): Likewise.
44397         * elf/setup-vdso.h (setup_vdso): Likewise.
44398         * grp/compat-initgroups.c (compat_call): Likewise.
44399         * grp/fgetgrent.c (fgetgrent): Likewise.
44400         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44401         * grp/putgrent.c (putgrent): Likewise.
44402         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44403         Likewise.
44404         * hurd/hurdinit.c: Likewise.
44405         * iconvdata/8bit-gap.c (struct): Likewise.
44406         * iconvdata/ansi_x3.110.c : Likewise.
44407         * iconvdata/big5.c : Likewise.
44408         * iconvdata/big5hkscs.c : Likewise.
44409         * iconvdata/cp1255.c: Likewise.
44410         * iconvdata/cp1258.c : Likewise.
44411         * iconvdata/cp932.c : Likewise.
44412         * iconvdata/euc-cn.c: Likewise.
44413         * iconvdata/euc-jisx0213.c : Likewise.
44414         * iconvdata/euc-jp.c: Likewise.
44415         * iconvdata/euc-jp-ms.c : Likewise.
44416         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44417         * iconvdata/gb18030.c : Likewise.
44418         * iconvdata/gbbig5.c (const): Likewise.
44419         * iconvdata/gbgbk.c: Likewise.
44420         * iconvdata/gbk.c : Likewise.
44421         * iconvdata/ibm1364.c : Likewise.
44422         * iconvdata/ibm930.c : Likewise.
44423         * iconvdata/ibm932.c: Likewise.
44424         * iconvdata/ibm933.c : Likewise.
44425         * iconvdata/ibm935.c : Likewise.
44426         * iconvdata/ibm937.c : Likewise.
44427         * iconvdata/ibm939.c : Likewise.
44428         * iconvdata/ibm943.c: Likewise.
44429         * iconvdata/iso_11548-1.c: Likewise.
44430         * iconvdata/iso-2022-cn.c : Likewise.
44431         * iconvdata/iso-2022-cn-ext.c : Likewise.
44432         * iconvdata/iso-2022-jp-3.c: Likewise.
44433         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44434         * iconvdata/iso-2022-kr.c : Likewise.
44435         * iconvdata/iso646.c (gconv_end): Likewise.
44436         * iconvdata/iso_6937-2.c : Likewise.
44437         * iconvdata/iso_6937.c : Likewise.
44438         * iconvdata/iso8859-1.c: Likewise.
44439         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44440         * iconvdata/shift_jisx0213.c : Likewise.
44441         * iconvdata/sjis.c : Likewise.
44442         * iconvdata/t.61.c : Likewise.
44443         * iconvdata/tcvn5712-1.c : Likewise.
44444         * iconvdata/tscii.c: Likewise.
44445         * iconvdata/uhc.c : Likewise.
44446         * iconvdata/unicode.c (gconv_end): Likewise.
44447         * iconvdata/utf-16.c (gconv_end): Likewise.
44448         * iconvdata/utf-32.c (gconv_end): Likewise.
44449         * iconvdata/utf-7.c (base64): Likewise.
44450         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44451         * iconv/gconv_close.c (__gconv_close): Likewise.
44452         * iconv/gconv_open.c (__gconv_open): Likewise.
44453         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44454         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44455         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44456         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44457         (ucs4le_internal_loop_single): Likewise.
44458         * iconv/iconv.c (iconv): Likewise.
44459         * iconv/iconv_close.c: Likewise.
44460         * iconv/loop.c (SINGLE): Likewise.
44461         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44462         * include/atomic.h: Likewise.
44463         * inet/inet6_option.c (option_alloc): Likewise.
44464         * intl/bindtextdom.c (set_binding_values): Likewise.
44465         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44466         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44467         * intl/localealias.c (read_alias_file): Likewise.
44468         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44469         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44470         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44471         * libio/fmemopen.c (fmemopen): Likewise.
44472         * libio/iofgets.c (_IO_fgets): Likewise.
44473         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44474         * libio/iofgetws.c (fgetws): Likewise.
44475         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44476         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44477         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44478         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44479         * locale/findlocale.c (_nl_find_locale): Likewise.
44480         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44481         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44482         Likewise.
44483         * locale/setlocale.c (setlocale): Likewise.
44484         * login/programs/pt_chown.c (main): Likewise.
44485         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44486         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44487         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44488         (mmap, mmap64, mremap, munmap): Likewise.
44489         * math/e_exp2l.c: Likewise.
44490         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44491         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44492         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44493         * math/s_catan.c (__catan): Likewise.
44494         * math/s_catanf.c (__catanf): Likewise.
44495         * math/s_catanh.c (__catanh): Likewise.
44496         * math/s_catanhf.c (__catanhf): Likewise.
44497         * math/s_catanhl.c (__catanhl): Likewise.
44498         * math/s_catanl.c (__catanl): Likewise.
44499         * math/s_ccosh.c (__ccosh): Likewise.
44500         * math/s_ccoshf.c (__ccoshf): Likewise.
44501         * math/s_ccoshl.c (__ccoshl): Likewise.
44502         * math/s_cexp.c (__cexp): Likewise.
44503         * math/s_cexpf.c (__cexpf): Likewise.
44504         * math/s_cexpl.c (__cexpl): Likewise.
44505         * math/s_clog10.c (__clog10): Likewise.
44506         * math/s_clog10f.c (__clog10f): Likewise.
44507         * math/s_clog10l.c (__clog10l): Likewise.
44508         * math/s_clog.c (__clog): Likewise.
44509         * math/s_clogf.c (__clogf): Likewise.
44510         * math/s_clogl.c (__clogl): Likewise.
44511         * math/s_csin.c (__csin): Likewise.
44512         * math/s_csinf.c (__csinf): Likewise.
44513         * math/s_csinh.c (__csinh): Likewise.
44514         * math/s_csinhf.c (__csinhf): Likewise.
44515         * math/s_csinhl.c (__csinhl): Likewise.
44516         * math/s_csinl.c (__csinl): Likewise.
44517         * math/s_csqrt.c (__csqrt): Likewise.
44518         * math/s_csqrtf.c (__csqrtf): Likewise.
44519         * math/s_csqrtl.c (__csqrtl): Likewise.
44520         * math/s_ctan.c (__ctan): Likewise.
44521         * math/s_ctanf.c (__ctanf): Likewise.
44522         * math/s_ctanh.c (__ctanh): Likewise.
44523         * math/s_ctanhf.c (__ctanhf): Likewise.
44524         * math/s_ctanhl.c (__ctanhl): Likewise.
44525         * math/s_ctanl.c (__ctanl): Likewise.
44526         * math/w_pow.c: Likewise.
44527         * math/w_powf.c: Likewise.
44528         * math/w_powl.c: Likewise.
44529         * math/w_scalb.c (sysv_scalb): Likewise.
44530         * math/w_scalbf.c (sysv_scalbf): Likewise.
44531         * math/w_scalbl.c (sysv_scalbl): Likewise.
44532         * misc/error.c (error_tail): Likewise.
44533         * misc/pselect.c (__pselect): Likewise.
44534         * nis/nis_callback.c (__nis_create_callback): Likewise.
44535         * nis/nis_call.c (__nisfind_server): Likewise.
44536         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44537         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44538         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44539         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44540         * nis/nis_lookup.c (nis_lookup): Likewise.
44541         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44542         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44543         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44544         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44545         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44546         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44547         * nis/nss_compat/compat-initgroups.c (add_group)
44548         (internal_getgrent_r): Likewise.
44549         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44550         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44551         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44552         (internal_getspnam_r): Likewise.
44553         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44554         (_nss_nis_getaliasbyname_r): Likewise.
44555         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44556         (_nss_nis_getntohost_r): Likewise.
44557         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44558         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44559         (_nss_nis_getgrgid_r): Likewise.
44560         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44561         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44562         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44563         (_nss_nis_gethostbyname4_r): Likewise.
44564         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44565         (initgroups_netid): Likewise.
44566         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44567         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44568         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44569         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44570         (_nss_nis_getprotobynumber_r): Likewise.
44571         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44572         (_nss_nis_getsecretkey): Likewise.
44573         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44574         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44575         (_nss_nis_getpwuid_r): Likewise.
44576         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44577         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44578         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44579         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44580         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44581         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44582         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44583         Likewise.
44584         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44585         (_nss_nisplus_getntohost_r): Likewise.
44586         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44587         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44588         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44589         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44590         Likewise.
44591         * nis/nss_nisplus/nisplus-initgroups.c
44592         (_nss_nisplus_initgroups_dyn): Likewise.
44593         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44594         (_nss_nisplus_getnetbyaddr_r): Likewise.
44595         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44596         (_nss_nisplus_getprotobynumber_r): Likewise.
44597         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44598         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44599         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44600         Likewise.
44601         * nis/nss_nisplus/nisplus-service.c
44602         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44603         (_nss_nisplus_getservbyport_r): Likewise.
44604         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44605         (_nss_nisplus_getspnam_r): Likewise.
44606         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44607         Likewise.
44608         * nscd/aicache.c (addhstaiX): Likewise.
44609         * nscd/cache.c (cache_search, prune_cache): Likewise.
44610         * nscd/connections.c (register_traced_file, send_ro_fd)
44611         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44612         (main_loop_epoll): Likewise.
44613         * nscd/grpcache.c (addgrbyX): Likewise.
44614         * nscd/hstcache.c (addhstbyX): Likewise.
44615         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44616         * nscd/mem.c (gc, mempool_alloc): Likewise.
44617         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44618         (addinnetgrX): Likewise.
44619         * nscd/nscd-client.h (__nscd_acquire_maplock)
44620         (__nscd_drop_map_ref): Likewise.
44621         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44622         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44623         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44624         Likewise.
44625         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44626         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44627         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44628         (__nscd_get_map_ref): Likewise.
44629         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44630         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44631         Likewise.
44632         * nscd/pwdcache.c (addpwbyX): Likewise.
44633         * nscd/selinux.c (preserve_capabilities): Likewise.
44634         * nscd/servicescache.c (addservbyX): Likewise.
44635         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44636         * posix/fnmatch.c (fnmatch): Likewise.
44637         * posix/getopt.c (_getopt_internal_r): Likewise.
44638         * posix/glob.c (glob, glob_in_dir): Likewise.
44639         * posix/wordexp.c (exec_comm_child): Likewise.
44640         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44641         (getanswer_r, gaih_getanswer_slice): Likewise.
44642         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44643         * resolv/res_init.c: Likewise.
44644         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44645         * resolv/res_query.c (__libc_res_nquery): Likewise.
44646         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44647         Likewise.
44648         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44649         * stdio-common/perror.c (perror): Likewise.
44650         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44651         * stdio-common/tmpnam.c (tmpnam): Likewise.
44652         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44653         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44654         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44655         Likewise.
44656         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44657         * stdlib/putenv.c (putenv): Likewise.
44658         * stdlib/setenv.c (__add_to_environ): Likewise.
44659         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44660         * stdlib/strtol_l.c (INTERNAL): Likewise.
44661         * string/memmem.c (memmem): Likewise.
44662         * string/strerror.c (strerror): Likewise.
44663         * string/strnlen.c (__strnlen): Likewise.
44664         * string/test-memmem.c (simple_memmem): Likewise.
44665         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44666         * sunrpc/pm_getport.c (__get_socket): Likewise.
44667         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44668         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44669         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44670         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44671         Likewise.
44672         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44673         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44674         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44675         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44676         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44677         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44678         Likewise.
44679         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44680         Likewise.
44681         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44682         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44684         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44685         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44687         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44688         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44689         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44690         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44691         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44692         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44693         Likewise.
44694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44695         Likewise.
44696         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44697         Likewise.
44698         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44700         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44701         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44702         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44703         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44704         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44707         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44708         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44709         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44710         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44711         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44713         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44714         Likewise.
44715         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44716         Likewise.
44717         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44718         Likewise.
44719         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44720         Likewise.
44721         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44723         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44724         Likewise.
44725         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44726         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44727         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44728         * sysdeps/posix/sleep.c: Likewise.
44729         * sysdeps/posix/tempname.c: Likewise.
44730         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44731         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44732         Likewise.
44733         * sysdeps/powerpc/powerpc32/dl-machine.h
44734         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44735         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44736         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44737         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44738         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44739         Likewise.
44740         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44742         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44744         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44745         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44746         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44747         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44748         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44749         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44750         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44751         (elf_machine_lazy_rel): Likewise.
44752         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44753         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44754         (elf_machine_lazy_rel): Likewise.
44755         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44756         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44757         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44758         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44759         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44760         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44761         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44762         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44763         Likewise.
44764         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44765         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44766         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44767         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44768         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44769         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44770         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44771         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44772         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44773         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44774         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44775         Likewise.
44776         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44777         (__posix_fallocate64_l64): Likewise.
44778         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44779         (posix_fallocate): Likewise.
44780         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44781         Likewise.
44782         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44783         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44784         (getifaddrs_internal): Likewise.
44785         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44786         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44787         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44788         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44789         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44790         (__posix_fallocate64_l64): Likewise.
44791         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44792         Likewise.
44793         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44794         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44795         (__get_clockfreq): Likewise.
44796         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44797         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44798         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44801         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44802         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44803         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44804         Likewise.
44805         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44806         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44807         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44809         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44810         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44811         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44812         Likewise.
44813         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44814         (posix_fallocate): Likewise.
44815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44816         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44817         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44818         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44819         (elf_machine_rela, elf_machine_rela_relative)
44820         (elf_machine_lazy_rel): Likewise.
44821         * time/asctime.c (asctime_internal): Likewise.
44822         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44823         * time/tzset.c (__tzset_parse_tz): Likewise.
44824         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44825         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44826         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44827         * wcsmbs/wcsmbsload.h: Likewise.
44829         [BZ #15894]
44830         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44832         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44833         (arena_get2): Remove THREAD_STATS conditionals.
44834         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44835         (__malloc_stats, int): Likewise.
44837 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44839         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44840         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44842         * manual/setjmp.texi: Fix typos/grammar errors.
44844         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44845         Only return early when n is <= 0.  Delete unused return statement.
44847         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44848         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44849         * debug/tst-longjmp_chk3.c: New file.
44851         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44852         (test_main): Replace code with set_fortify_handler call.
44853         * debug/test-strcpy_chk.c: Likewise.
44854         * debug/tst-chk1.c: Likewise.
44855         * debug/tst-longjmp_chk.c: Likewise.
44856         * test-skeleton.c: Include fcntl.h & paths.h
44857         (set_fortify_handler): Define.
44859         * debug/tst-longjmp_chk.c: Add header comment and include
44860         ../test-skeleton.c.
44861         (do_test): Mark static.
44862         (TEST_FUNCTION): Define.
44864         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44865         (IP_PMTUDISC_INTERFACE): Likewise.
44866         (IP_MULTICAST_IF): Likewise.
44867         (IP_MULTICAST_TTL): Likewise.
44868         (IP_MULTICAST_LOOP): Likewise.
44869         (IP_ADD_MEMBERSHIP): Likewise.
44870         (IP_DROP_MEMBERSHIP): Likewise.
44871         (IP_UNBLOCK_SOURCE): Likewise.
44872         (IP_BLOCK_SOURCE): Likewise.
44873         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44874         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44875         (IP_MSFILTER): Likewise.
44876         (MCAST_JOIN_GROUP): Likewise.
44877         (MCAST_BLOCK_SOURCE): Likewise.
44878         (MCAST_UNBLOCK_SOURCE): Likewise.
44879         (MCAST_LEAVE_GROUP): Likewise.
44880         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44881         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44882         (MCAST_MSFILTER): Likewise.
44883         (IP_MULTICAST_ALL): Likewise.
44884         (IP_UNICAST_IF): Likewise.
44886         * timezone/Makefile: Delete $(have-ksh) check.
44887         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44888         * timezone/tzselect.ksh: Add +x mode bits.
44890         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44891         (ANON_INODE_FS_MAGIC): Likewise.
44892         (BDEVFS_MAGIC): Likewise.
44893         (BINFMTFS_MAGIC): Likewise.
44894         (BTRFS_TEST_MAGIC): Likewise.
44895         (CRAMFS_MAGIC_WEND): Likewise.
44896         (DEBUGFS_MAGIC): Likewise.
44897         (ECRYPTFS_SUPER_MAGIC): Likewise.
44898         (EXT3_SUPER_MAGIC): Likewise.
44899         (EXT4_SUPER_MAGIC): Likewise.
44900         (FUTEXFS_SUPER_MAGIC): Likewise.
44901         (HOSTFS_SUPER_MAGIC): Likewise.
44902         (HUGETLBFS_MAGIC): Likewise.
44903         (MINIX3_SUPER_MAGIC): Likewise.
44904         (MTD_INODE_FS_MAGIC): Likewise.
44905         (NILFS_SUPER_MAGIC): Likewise.
44906         (OPENPROM_SUPER_MAGIC): Likewise.
44907         (PIPEFS_MAGIC): Likewise.
44908         (PSTOREFS_MAGIC): Likewise.
44909         (QNX6_SUPER_MAGIC): Likewise.
44910         (RAMFS_MAGIC): Likewise.
44911         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44912         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44913         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44914         (SECURITYFS_MAGIC): Likewise.
44915         (SELINUX_MAGIC): Likewise.
44916         (SMACK_MAGIC): Likewise.
44917         (SOCKFS_MAGIC): Likewise.
44918         (SQUASHFS_MAGIC): Likewise.
44919         (STACK_END_MAGIC): Likewise.
44920         (TMPFS_MAGIC): Likewise.
44921         (USBDEVICE_SUPER_MAGIC): Likewise.
44922         (V9FS_MAGIC): Likewise.
44923         (XENFS_SUPER_MAGIC): Likewise.
44924         (CRAMFS_MAGIC): Fix typo in comment.
44925         (EXT2_SUPER_MAGIC): Update comment.
44926         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44928 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44930         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44931         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44932         * sysdeps/unix/sysv/linux/arm: Move directory from
44933         ports/sysdeps/unix/sysv/linux/arm.
44934         * README: Update listing for arm-*-linux-gnueabi.
44936         * README: Remove mention of am33.
44938 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44940         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44941         than the comma operator, to avoid "rhs of comma has no effect"
44942         compiler warnings.
44943         (__sigfillset, __sigandset, __sigorset): Likewise.
44944         * include/signal.h (__sigemptyset): Likewise.
44945         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44947 2014-02-07  Allan McRae  <allan@archlinux.org>
44949         * version.h (RELEASE): Set to "development".
44950         (VERSION): Set to "2.19.90"
44951         * NEWS: Add 2.20 section.
44953 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44955         [BZ #16529]
44956         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44958 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44960         * manual/contrib.texi: Update entry for Carlos O'Donell,
44961         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44963 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44965         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44967         * sysdeps/unix/sysv/linux/kernel-features.h
44968         [__LINUX_KERNEL_VERSION >= 0x020621]
44969         (__ASSUME_PROC_PID_TASK_COMM): Define.
44971 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44973         [BZ #16398]
44974         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44975         conversion when destination buffer does not have enough space.
44976         * libio/tst-ftell-partial-wide.c: New test case.
44977         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44979         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44980         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44981         Leonard and Allan McRae.
44983 2014-02-04  David S. Miller  <davem@davemloft.net>
44985         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44986         32-bit.
44988 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44991         New file
44992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44993         New file
44994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44995         New file.
44996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44997         New file.
44998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44999         New file.
45000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45001         New file.
45002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45003         New file.
45004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45005         New file.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45007         New file.
45008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45009         New file.
45010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45011         New file.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45013         New file.
45014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45015         New file.
45017 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45019         * nptl/shlib-versions: Change powerpc*le start to 2.17.
45020         * shlib-versions: Likewise.
45022 2014-02-04  Roland McGrath  <roland@hack.frob.com>
45023             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45025         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45026         (abilist-pattern): New variable, set to %-le.abilist.
45028         * Makerules (abilist-pattern): New variable.
45029         (vpath): Use $(abilist-pattern) in place of %.abilist.
45030         (check-abi-% pattern rule): Likewise.
45031         (check-abi, update-abi): Likewise.
45033 2014-02-04  Eric Wong  <normalperson@yhbt.net>
45035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45037 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
45039         * manual/startup.texi: Add next, previous, and top entries for
45040         the `Program Arguments' and `Environment Variables' nodes.
45042 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45044         * manual/macros.texi: Add comments before MTASC-safety macros.
45046         * manual/users.texi: Document MTASC-safety properties.
45048         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45049         (pthread_getspecific, pthread_setspecific): Format with
45050         @deftypefun, and add @safety note.
45051         * manual/signal.texi: Move comments that analyze the above
45052         functions to their home place.
45054 2014-02-03  Allan McRae  <allan@archlinux.org>
45056         * po/sl.po: Update Slovenian translation from translation project.
45058 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45060         * manual/time.texi (timegm): Add missing blank after @c.
45061         Reported by Joseph Myers <joseph@codesourcery.com>.
45063 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45065         * manual/check-safety.sh: New.
45066         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45068         * manual/terminal.texi: Document MTASC-safety properties.
45070         * manual/filesys.texi: Document MTASC-safety properties.
45072         * manual/errno.texi: Document MTASC-safety properties.
45074         * manual/intro.texi: Document safety identifiers and
45075         conditionals.
45077         * manual/string.texi (wcstok): Fix prototype.
45078         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45080         * manual/time.texi: Document MTASC-safety properties.
45082         * manual/string.texi: Document MTASC-safety properties.
45084         * manual/threads.texi: Document MTASC-safety properties.
45086         * manual/stdio.texi: Document MTASC-safety properties.
45088         * manual/syslog.texi: Document MTASC-safety properties.
45090         * manual/sysinfo.texi: Document MTASC-safety properties.
45092         * manual/startup.texi: Document MTASC-safety properties.
45094         * manual/socket.texi: Document MTASC-safety properties.
45096         * manual/signal.texi: Document MTASC-safety properties.
45098 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45100         * manual/setjmp.texi: Document MTASC-safety properties.
45102         * manual/search.texi: Document MTASC-safety properties.
45104         * manual/resource.texi: Document MTASC-safety properties.
45106         * manual/process.texi: Document MTASC-safety properties.
45108         * manual/platform.texi: Document MTASC-safety properties.
45110         * manual/pipe.texi: Document MTASC-safety properties.
45112         * manual/pattern.texi: Document MTASC-safety properties.
45114         * manual/message.texi: Document MTASC-safety properties.
45116         [BZ #12751]
45117         * manual/memory.texi: Document MTASC-safety properties.
45119         * manual/math.texi: Document MTASC-safety properties.
45121         * manual/locale.texi: Document MTASC-safety properties.
45123         * manual/llio.texi: Document MTASC-safety properties.
45125         * manual/libdl.texi: New.
45127         * manual/lang.texi: Document MTASC-safety properties.
45129         * manual/job.texi: Document MTASC-safety properties.
45131         * manual/getopt.texi: Document MTASC-safety properties.
45133         * manual/ctype.texi: Document MTASC-safety properties.
45135 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45137         [BZ #16046]
45138         * csu/libc-tls.c (static_map): Remove variable.
45139         (__libc_setup_tls): Use main executable's link map for TLS data.
45140         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45141         casing for LM_ID_BASE and GL(dl_nns).
45142         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45143         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45144         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45145         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45146         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45147         member.
45148         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45149         l_phnum members.
45151 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45153         * manual/debug.texi: Document MTASC-safety properties.
45155 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45157         [BZ #16510]
45158         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45159         of __x86_64__ when disabling x87 inline functions.
45161 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45163         * manual/charset.texi: Document MTASC-safety properties.
45165         * manual/crypt.texi: Document MTASC-safety properties.
45167         * manual/conf.texi: Document MTASC-safety properties.
45169         * manual/arith.texi: Document MTASC-safety properties.
45171         * manual/argp.texi: Document MTASC-safety properties.
45173         * manual/macros.texi: Introduce macros to document multi
45174         thread, asynchronous signal and asynchronous cancellation
45175         safety properties.
45176         * manual/intro.texi: Introduce the properties themselves.
45178 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45180         * sysdeps/sh/sh4/Makefile: New file.
45182 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45184         * math/gen-libm-test.pl ($srcdir): New variable.
45185         ($auto_input): Use it.
45187 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45189         [BZ #16506]
45190         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45191         access beyond array bounds when parsing netgroups file.
45193         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45194         the old buffer before realloc.
45196 2014-01-27  Allan McRae  <allan@archlinux.org>
45198         * po/fr.po: Update French translation from translation project.
45200 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45202         * sysdeps/sh/libm-test-ulps: Regenerate.
45204 2014-01-24  David S. Miller  <davem@davemloft.net>
45206         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45208 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45211         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45213 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45215         [BZ #16474]
45216         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45217         string pointers after reallocation.
45219 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45221         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45222         __SH4A__ instead of __SH_FPU_ANY__.
45224 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45226         * sysdeps/sh/fpu_control.h: New file.
45227         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45228         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45229         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45230         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45231         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45232         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45233         * sysdeps/sh/sys/ucontext.h: Remove.
45234         * sysdeps/sh/sys: Remove directory.
45236 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45238         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45239         s390/sys/ucontext.h.
45240         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45241         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45243 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45245         [BZ #15605]
45246         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45248 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45250         [BZ#16431]
45251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45252         Adjust the vDSO correctly for internal calls.
45253         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45255 2014-01-20  Allan McRae  <allan@archlinux.org>
45257         * po/ca.po: Update Catalan translation from translation project.
45259 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45261         * sysdeps/s390/sotruss-lib.c: New file.
45263 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45265         [BZ#16430]
45266         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45267         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45268         local calls issues by not having a PLT stub required for IFUNC calls.
45269         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45271 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45273         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45274         * math/test-fpucw-static.c: Likewise.
45276 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         [BZ #16453]
45279         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45281 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45283         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45284         implementation for powerpc.
45286 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45288         [BZ #14782]
45289         * sysdeps/posix/system.c (__libc_system): Do not enable
45290         asynchronous cancellation.
45292 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45294         [BZ #16427]
45295         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45296         handling only for numbers special also in the IEEE case.
45298 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45300         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45302 2014-01-11  Allan McRae  <allan@archlinux.org>
45304         * po/bg.po: Update Bulgarian translation from translation project.
45306         * po/de.po: Update German translation from translation project.
45308 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45310         * sysdeps/generic/gcc-compat.h: New file.
45312 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45314         * benchtests/asin-inputs: Correct slow inputs.
45315         * benchtests/acos-inputs: Likewise.
45317 2014-01-10  Allan McRae  <allan@archlinux.org>
45319         * po:sv.po: Update Swedish translation from translation project.
45321         * po/vi.po: Update Vietnamese translation from translation project.
45323         * po/eo.po: Update Esperanto translation from translation project.
45325         * po/cs.po: Update Czech translation from translation project.
45327         * po/nl.po: Update Dutch translation from translation project.
45329         * po/pl.po: Update Polish translation from translation project.
45331         * po/ru.po: Update Russian translation from translation project.
45333         * po/uk.po: Update Ukrainian translation from translation project.
45335 2014-01-08  Brooks Moses  <bmoses@google.com>
45337         * elf/dl-load.c: Fix comment typo.
45339 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45341         * po/header.pot: Rename to...
45342         * po/pot.header: ... this.
45343         * po/Makefile: Use pot.header.
45345 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45346             Maxim Kuvyrkov  <maxim@kugelworks.com>
45348         [BZ #16394]
45349         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45350         SRC and DEST against LEN.
45352 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45354         [BZ #16414]
45355         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45356         implementation.
45357         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45359 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45363 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45365         [BZ #16408]
45366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45367         for large positive arguments.
45369 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45371         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45373         * math/auto-libm-test-in: Mark various tests with
45374         xfail-rounding:ldbl-128ibm.
45375         * math/auto-libm-test-out: Regenerated.
45377         [BZ #16407]
45378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45379         Increase overflow threshold.
45381 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45383         [BZ #14286]
45384         * stdio-common/vfprintf.c: Check for integer overflow.
45386 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45388         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45389         the first argument and return value of __tls_get_addr_internal.
45391 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45393         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45394         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45396 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45398         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45399         * sysdeps/s390/rtld-global-offsets.sym: New file.
45400         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45401         GLIBC_2.19 symbol.
45402         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45403         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45404         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45405         ... this.
45406         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45407         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45408         ... this.
45409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45410         Regenerate.
45411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45412         Regenerate.
45413         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45414         halfs of GPRs for high_gprs contexts.
45415         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45416         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45417         field.
45418         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45419         uc_flags field.
45420         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45421         64 bit versions:
45422         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45423         for high GPRs (uc_high_gprs) and for future extensions
45424         (__reserved).
45425         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45426         for future extensions (__reserved).
45427         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45428         64 bit versions:
45429         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45430         SC_HIGHGPRS offset definition.
45431         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45432         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45434         * Versions.def: Add GLIBC_2.19 for libpthread.
45435         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45436         siglongjmp for libpthread with GLIBC_2.19 symver.
45437         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45438         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45439         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45440         * sysdeps/s390/__longjmp.c: New file.
45441         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45442         * sysdeps/s390/longjmp.c: New file.
45443         * sysdeps/s390/setjmp.S: New file.
45444         * sysdeps/s390/sigjmp.S: New file.
45445         * sysdeps/s390/v1-longjmp.c: New file.
45446         * sysdeps/s390/v1-setjmp.h: New file.
45447         * sysdeps/s390/v1-sigjmp.c: New file.
45448         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45449         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45450         GLIBC_2.19 version.
45451         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45452         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45453         versioned symbols for ____longjmp_chk.
45454         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45455         Likewise.
45456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45457         Regenerate.
45458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45459         Regenerate.
45460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45461         Regenerate.
45462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45463         Regenerate.
45464         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45465         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45466         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45467         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45468         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45469         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45470         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45471         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45472         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45473         * sysdeps/s390/rtld-__longjmp.c: New file.
45474         * sysdeps/s390/rtld-setjmp.S: New file.
45476 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45478         [BZ #16400]
45479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45480         Return -__logl (x) for small positive arguments without evaluating
45481         a polynomial.
45483 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45485         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45486         Rename to ...
45487         (__ptrace_peeksiginfo_args): ... this.
45488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45489         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45490         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45492 2014-01-06  Allan McRae  <allan@archlinux.org>
45494         * inet/netinet/in.h: Fix typo in comment.
45496 2014-01-05  Andreas Jaeger  <aj@suse.de>
45498         * sysdeps/i386/fpu/libm-test-ulps: Update.
45500 2014-01-05  Allan McRae  <allan@archlinux.org>
45502         * po/libc.pot: Regenerated.
45504         * malloc/memusagestat.c: Fix gettext call formatting.
45506 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45508         * nscd/nscd.c: Improve usage() output.
45510 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45512         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45513         * sysdeps/unix/sysv/linux/configure: Regenerated.
45514         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45515         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45517 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45519         [BZ #16390]
45520         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45521         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45523 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45526         extra tokens at end of #undef directive.
45527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45528         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45529         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45531 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45533         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45535         * math/auto-libm-test-in: Mark various tests with
45536         xfail-rounding:ldbl-128ibm.
45537         * math/auto-libm-test-out: Regenerated.
45539 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45541         [BZ #16386]
45542         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45543         numbers with subnormal high part when calculating exponent.
45545         [BZ #16385]
45546         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45547         fabs.
45549         [BZ #16384]
45550         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45551         M_LN2l.
45552         (__ieee754_acoshl): Use __log1pl not __log1p.
45554 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45556         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45557         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45558         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45559         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45560         (reused_arena, arena_get2): Convert to GNU style.
45561         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45562         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45563         (memalign_check, __malloc_set_state): Likewise.
45564         * malloc/mallocbug.c (main): Likewise.
45565         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45566         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45567         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45568         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45569         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45570         (__posix_memalign, malloc_info): Likewise.
45571         * malloc/malloc.h: Likewise.
45572         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45573         (mallochook, memalignhook, reallochook, mabort): Likewise.
45574         * malloc/mcheck.h: Likewise.
45575         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45576         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45577         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45578         * malloc/morecore.c (__default_morecore): Likewise.
45579         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45580         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45581         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45582         (print_and_abort): Likewise.
45583         * malloc/obstack.h: Likewise.
45584         * malloc/set-freeres.c (__libc_freeres): Likewise.
45585         * malloc/tst-mallocstate.c (main): Likewise.
45586         * malloc/tst-mtrace.c (main): Likewise.
45587         * malloc/tst-realloc.c (do_test): Likewise.
45589 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45591         [BZ #16366]
45592         * nscd/netgroupcache.c (do_notfound): New function.
45593         (addgetnetgrentX): Use it.
45595         [BZ # 16365]
45596         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45597         NSS_STATUS_NOTFOUND.
45599 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45601         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45604 2014-01-01  Allan McRae  <allan@archlinux.org>
45606         * scripts/update-copyrights: Update configure input file suffix.
45608         * NEWS: Update copyright year.
45609         * catgets/gencat.c: Likewise.
45610         * csu/version.c: Likewise.
45611         * debug/catchsegv.sh: Likewise.
45612         * debug/pcprofiledump.c: Likewise.
45613         * debug/xtrace.sh: Likewise.
45614         * elf/ldconfig.c: Likewise.
45615         * elf/ldd.bash.in: Likewise.
45616         * elf/pldd.c: Likewise.
45617         * elf/sotruss.ksh: Likewise.
45618         * elf/sprof.c: Likewise.
45619         * iconv/iconv_prog.c: Likewise.
45620         * iconv/iconvconfig.c: Likewise.
45621         * locale/programs/locale.c: Likewise.
45622         * locale/programs/localedef.c: Likewise.
45623         * login/programs/pt_chown.c: Likewise.
45624         * malloc/memusage.sh: Likewise.
45625         * malloc/memusagestat.c: Likewise.
45626         * malloc/mtrace.pl: Likewise.
45627         * manual/libc.texinfo: Likewise.
45628         * nscd/nscd.c: Likewise.
45629         * nss/getent.c: Likewise.
45630         * nss/makedb.c: Likewise.
45631         * posix/getconf.c: Likewise.
45632         * scripts/test-installation.pl: Likewise.
45634         * All files with FSF copyright notices: Update copyright dates
45635         using scripts/update-copyrights.
45636         * intl/plural.c: Regenerated.
45637         * locale/programs/charmap-kw.h: Likewise.
45638         * locale/programs/locfile-kw.h: Likewise.
45640 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45642         * sysdeps/unix/sysv/linux/configure: Regenerated.
45643         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45644         the linux/fanotify.h header.
45645         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45646         HAVE_LINUX_FANOTIFY_H is defined.
45648 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45650         * benchtests/cos-inputs: New inputs.
45651         * benchtests/sin-inputs: Likewise.
45653         * benchtests/atan-inputs: New inputs. Fix name of multiple
45654         precision fallback inputs.
45656         * benchtests/atanh-inputs: New inputs.
45657         * benchtests/tanh-inputs: Likewise.
45659         * benchtests/acosh-inputs: New inputs.
45660         * benchtests/asinh-inputs: Likewise.
45662         * benchtests/cosh-inputs: New inputs.
45663         * benchtests/sinh-inputs: Likewise.
45665         * benchtests/acos-inputs: Add more inputs.
45666         * benchtests/asin-inputs: Likewise.
45668 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45670         [BZ #16375]
45671         * manual/arith.texi: Fix spelling.
45672         * manual/charset.texi: Likewise.
45673         * manual/errno.texi: Likewise.
45674         * manual/filesys.texi: Likewise.
45675         * manual/lang.texi: Likewise.
45676         * manual/llio.texi: Likewise.
45677         * manual/locale.texi: Likewise.
45678         * manual/message.texi: Likewise.
45679         * manual/resource.texi: Likewise.
45680         * manual/search.texi: Likewise.
45681         * manual/setjmp.texi: Likewise.
45682         * manual/stdio.texi: Likewise.
45683         * manual/string.texi: Likewise.
45684         * manual/sysinfo.texi: Likewise.
45685         * manual/time.texi: Likewise.
45687 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45689         * po/sl.po: New file.
45691 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45693         * .gitignore: Add core/.gdbinit/.gdb_history.
45695 2013-12-27  Allan McRae  <allan@archlinux.org>
45697         [BZ #16369]
45698         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45699         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45701 2013-12-24  Brooks Moses  <bmoses@google.com>
45703         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45704         all compilers that claim C++98 compliance, not just GCC.
45705         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45706         Likewise.
45708 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45710         * NEWS: Restore accidentally deleted bug-fix entries.
45712 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45713             Ondřej Bílka  <neleai@seznam.cz>
45715         [BZ #15073]
45716         * malloc/malloc.c (_int_free): Perform sanity check only if we
45717         have_lock.
45719 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45721         [BZ #12986]
45722         * manual/stdio.texi (String Input Conversions): Clarify that character
45723         classes are not supported.
45725 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45729 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45731         [BZ #16337]
45732         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45733         Calculate results for small negative arguments directly rather
45734         than using reflection formula with special underflow handling.
45736         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45737         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45738         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45739         (fchflags): Likewise.
45740         (revoke): Likewise.
45741         (setlogin): Likewise.
45742         (sigaltstack): Likewise.
45743         (wait4): Likewise.
45744         (sigblock): Remove.
45745         (sigsetmask): Likewise.
45746         (wait3): Likewise.
45747         (waitpid): Likewise.
45748         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45749         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45750         file.
45751         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45752         * sysdeps/unix/bsd/Makefile: ... here.
45753         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45754         * sysdeps/unix/bsd/Versions: ... here.
45755         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45756         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45757         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45758         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45759         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45760         * sysdeps/unix/bsd/sigblock.c: ... here.
45761         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45762         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45763         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45764         * sysdeps/unix/bsd/sigvec.c: ... here.
45765         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45766         * sysdeps/unix/bsd/tcdrain.c: ... here.
45767         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45768         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45769         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45770         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45771         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45772         * sysdeps/unix/bsd/wait.c: ... here.
45773         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45774         * sysdeps/unix/bsd/wait3.c: ... here.
45775         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45776         * sysdeps/unix/bsd/waitpid.c: ... here.
45778 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45780         [BZ #16356]
45781         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45782         round-to-nearest for [!USE_AS_EXPM1L].
45783         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45784         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45785         more tests of exp and exp10.  Expect some exp10 tests to miss
45786         exceptions or fail in directed rounding modes.
45787         * math/auto-libm-test-out: Regenerated.
45788         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45789         (exp10_test_tonearest): New function.
45790         (exp10_towardzero_test_data): New array.
45791         (exp10_test_towardzero): New function.
45792         (exp10_downward_test_data): New array.
45793         (exp10_test_downward): New function.
45794         (exp10_upward_test_data): New array.
45795         (exp10_test_upward): New function.
45796         (main): Call the new functions.
45797         * sysdeps/i386/fpu/libm-test-ulps: Update.
45798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45800 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45802         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45803         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45804         * math/auto-libm-test-out: Regenerated.
45805         * math/libm-test.inc (acosh_test_data): Add more tests.
45806         (atanh_test_data): Likewise.
45807         (ceil_test_data): Likewise.
45808         (copysign_test_data): Likewise.
45809         * sysdeps/i386/fpu/libm-test-ulps: Update.
45810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45812         * timezone/checktab.awk: Update from tzcode 2013i.
45813         * timezone/private.h: Likewise.
45814         * timezone/scheck.c: Likewise.
45815         * timezone/tzfile.h: Likewise.
45816         * timezone/tzselect.ksh: Likewise.
45817         * timezone/zdump.c: Likewise.
45818         * timezone/zic.c: Likewise.
45820         * math/auto-libm-test-in: Add tests of cpow.
45821         * math/auto-libm-test-out: Regenerated.
45822         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45823         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45824         mpc_cc_c.
45825         (func_calc_desc): Add mpc_cc_c union field.
45826         (test_functions): Add cpow.
45827         (special_fill_2pi): New function.
45828         (special_real_inputs): Add 2pi.
45829         (calc_generic_results): Handle mpc_cc_c.
45830         * sysdeps/i386/fpu/libm-test-ulps: Update.
45831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45833         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45834         csqrt, ctan and ctanh.
45835         * math/auto-libm-test-out: Regenerated.
45836         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45837         (TEST_COND_x86): Likewise.
45838         (ccos_test_data): Use AUTO_TESTS_c_c.
45839         (ccosh_test_data): Likewise.
45840         (cexp_test_data): Likewise.
45841         (clog_test_data): Likewise.
45842         (csqrt_test_data): Likewise.
45843         (ctan_test_data): Likewise.
45844         (ctan_tonearest_test_data): Likewise.
45845         (ctan_towardzero_test_data): Likewise.
45846         (ctan_downward_test_data): Likewise.
45847         (ctan_upward_test_data): Likewise.
45848         (ctanh_test_data): Likewise.
45849         (ctanh_tonearest_test_data): Likewise.
45850         (ctanh_towardzero_test_data): Likewise.
45851         (ctanh_downward_test_data): Likewise.
45852         (ctanh_upward_test_data): Likewise.
45853         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45854         mpc_c_c.
45855         (func_calc_desc): Add mpc_c_c union field.
45856         (FUNC_mpc_c_c): New macro.
45857         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45858         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45859         ctanh.
45860         (special_fill_min_subnorm_p120): New function.
45861         (special_real_inputs): Add min_subnorm_p120.
45862         (calc_generic_results): Handle mpc_c_c.
45863         * sysdeps/i386/fpu/libm-test-ulps: Update.
45864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45866 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45868         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45869         (do_sin_slow): New functions.
45870         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45871         (cslow2, csloww1, csloww2): Use the new functions.
45873         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45874         Use M to change sign of result instead of X.  Assume X is
45875         positive.
45876         (csloww1): Likewise.
45877         (__sin): Adjust.
45878         (__cos): Adjust.
45880         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45881         arguments A and DA.
45882         (__sin): Adjust.
45883         (__cos): Likewise.
45885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45886         (__cos): Likewise.
45887         (sloww1): Don't adjust sign of DX.
45888         (csloww1): Likewise.
45889         (sloww2): Use X directly and don't adjust sign of DX.
45890         (csloww2): Likewise.
45892 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45894         * math/auto-libm-test-in: Add tests of cabs and carg.
45895         * math/auto-libm-test-out: Regenerated.
45896         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45897         (carg_test_data): Likewise.
45898         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45899         mpc_c_f.
45900         (func_calc_desc): Add mpc_c_f union field.
45901         (test_functions): Add cabs and carg.
45902         (calc_generic_results): Handle mpc_c_f.
45904         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45905         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45906         as a macro and a compat symbol.
45907         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45908         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45909         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45910         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45911         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45912         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45913         not use .hidden.
45914         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45915         Likewise.
45916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45917         Likewise.
45918         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45919         Likewise.
45920         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45921         Likewise.
45922         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45923         Likewise.
45924         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45925         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45926         from GLIBC_2.3.2.
45928 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45932 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45934         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45935         trailing whitespace removed.
45936         * scripts/config.guess: Update to version 2013-11-29.
45937         * scripts/config.sub: Update to version 2013-10-01.
45939         * math/auto-libm-test-in: Add tests of sincos.
45940         * math/auto-libm-test-out: Regenerated.
45941         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45942         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45943         mpfr_f_11.
45944         (func_calc_desc): Add mpfr_f_11 union field.
45945         (test_functions): Add sincos.
45946         (calc_generic_results): Handle mpfr_f_11.
45947         * sysdeps/i386/fpu/libm-test-ulps: Update.
45948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45950 2013-12-19  Andreas Schwab  <schwab@suse.de>
45952         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45953         CALL_MCOUNT.
45954         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45955         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45956         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45958 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45960         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45961         * sysdeps/i386/fpu/libm-test-ulps: Update.
45962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45964         [BZ #16293]
45965         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45966         round-to-nearest mode when using frndint.
45967         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45968         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45970         Likewise.
45971         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45972         sinh test to fail.
45973         * math/auto-libm-test-out: Regenerated.
45974         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45975         (TEST_COND_x86): Likewise.
45976         (expm1_tonearest_test_data): New array.
45977         (expm1_test_tonearest): New function.
45978         (expm1_towardzero_test_data): New array.
45979         (expm1_test_towardzero): New function.
45980         (expm1_downward_test_data): New array.
45981         (expm1_test_downward): New function.
45982         (expm1_upward_test_data): New array.
45983         (expm1_test_upward): New function.
45984         (main): Run the new test functions.
45985         * sysdeps/i386/fpu/libm-test-ulps: Update.
45986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45988         * include/features.h: Update comment documenting feature test
45989         macros.  Mention _DEFAULT_SOURCE in comment.
45990         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45991         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45992         _BSD_SOURCE and _SVID_SOURCE.
45993         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45994         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45995         !_SVID_SOURCE]: Likewise.
45996         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45997         (__USE_POSIX_IMPLICITLY): Define.
45998         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45999         (_POSIX_SOURCE): Undefine and redefine.
46000         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46001         (_POSIX_C_SOURCE): Likewise.
46002         * manual/creature.texi (_DEFAULT_SOURCE): Document.
46003         (Feature Test Macros): Update documentation of default features.
46005 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46007         * benchtests/Makefile: Add bench-strtok.
46008         * benchtests/bench-strtok.c: New file: strtok benchtest.
46010 2013-12-19  Allan McRae  <allan@archlinux.org>
46012         * manual/install.texi: Suppress menu for plain text output.
46013         * INSTALL: Regenerated.
46015 2013-12-18  Brooks Moses  <bmoses@google.com>
46017         [BZ #15846]
46018         * misc/getauxval.c: Include errno.h.
46019         (__getauxval): Set errno to ENOENT if the requested type is not
46020         found.
46021         * misc/sys/auxv.h (getauxval): Document that it may set errno;
46022         don't declare with __attribute_const__.
46023         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46024         * manual/startup.texi: Document that getauxval sets errno.
46026 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46028         * math/auto-libm-test-in: Add tests of jn and yn.
46029         * math/auto-libm-test-out: Regenerated.
46030         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46031         (yn_test_data): Likewise.
46032         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46033         mpfr_if_f.
46034         (func_calc_desc): Add mpfr_if_f union field.
46035         (FUNC_mpfr_if_f): New macro.
46036         (test_functions): Add jn and yn.
46037         (calc_generic_results): Assert type of second input for
46038         mpfr_ff_f.  Handle mpfr_if_f.
46039         (output_for_one_input_case): Disable all checking for arguments
46040         fitting floating-point types in case of an integer argument.
46041         * sysdeps/i386/fpu/libm-test-ulps: Update.
46042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46045         Don't expect fegetround reference in libm.so.
46047 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46049         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46050         $(config-cflags-nofma).
46052 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46054         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46055         * math/auto-libm-test-out: Regenerated.
46057         [BZ #16338]
46058         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46059         to determine exponent and adjust argument to have exponent of -1.
46060         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46061         log2.
46062         * math/auto-libm-test-out: Regenerated.
46063         * sysdeps/i386/fpu/libm-test-ulps: Update.
46064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46066 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46068         * manual/probes.texi: Remove cases when per-thread arenas are
46069         disabled.
46071 2013-12-18  Andreas Schwab  <schwab@suse.de>
46073         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46074         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46075         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46076         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46077         * sysdeps/i386/i686/multiarch/Makefile: Update.
46078         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46080 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46082         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46083         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46085 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46087         [BZ #15968]
46088         Support TZ transition times < 00:00:00.
46089         This is needed for version-3 tz-format files; it supports time
46090         stamps past 2037 for America/Godthab (the only entry in the tz
46091         database for which this change is relevant).
46092         * manual/time.texi (TZ Variable): Document transition times
46093         from -167:59:59 through -00:00:01.
46094         * time/tzset.c (tz_rule): Time of day is now signed.
46095         (__tzset_parse_tz): Parse negative time of day.
46097         Document TZ transition times >= 25:00:00.
46098         * manual/time.texi (TZ Variable): Document transition times from
46099         25:00:00 through 167:59:59.  These are already supported, and this
46100         support will help with version-3 tz-format files.
46102         * manual/time.texi (TZ Variable): Modernize North America example
46103         to reflect current (i.e., 2007-and-later) daylight saving rules.
46105         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46107 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46109         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46110         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46113         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46114         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46115         * sysdeps/unix/bsd/clock.c: Likewise.
46116         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46117         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46118         * sysdeps/unix/bsd/init-posix.c: Likewise.
46119         * sysdeps/unix/bsd/poll.c: Likewise.
46120         * sysdeps/unix/bsd/ptsname.c: Likewise.
46121         * sysdeps/unix/bsd/seekdir.c: Likewise.
46122         * sysdeps/unix/bsd/setegid.c: Likewise.
46123         * sysdeps/unix/bsd/seteuid.c: Likewise.
46124         * sysdeps/unix/bsd/setgid.c: Likewise.
46125         * sysdeps/unix/bsd/setrgid.c: Likewise.
46126         * sysdeps/unix/bsd/setruid.c: Likewise.
46127         * sysdeps/unix/bsd/setsid.c: Likewise.
46128         * sysdeps/unix/bsd/setuid.c: Likewise.
46129         * sysdeps/unix/bsd/sigaction.c: Likewise.
46130         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46131         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46132         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46133         * sysdeps/unix/bsd/telldir.c: Likewise.
46134         * sysdeps/unix/bsd/times.c: Likewise.
46135         * sysdeps/unix/bsd/usleep.c: Likewise.
46137         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46138         ($(objpfx)libbsd-compat.a): Remove rule.
46140         * include/features.h (__FAVOR_BSD): Do not define.
46141         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46142         features conflicting with POSIX.
46143         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46144         (_BSD_SOURCE): Remove description of not being a subset of other
46145         feature test macros.
46146         * manual/job.texi (getpgrp): Do not document BSD version.
46147         (getpgid): Do not document by reference to BSD getpgrp.
46148         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46149         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46150         * signal/signal.h [__FAVOR_BSD]: Likewise.
46151         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46152         instead of making contents conditional on [__FAVOR_BSD].
46153         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46155 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46159 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46161         [BZ #16314]
46162         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46163         values below 2**-450, not 2**-500.
46164         * math/auto-libm-test-in: Don't allow spurious underflow from
46165         hypot.
46166         * math/auto-libm-test-out: Regenerated.
46168         [BZ #16316]
46169         [BZ #16330]
46170         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46171         values of ha and hb and sort them after adjusting subnormal
46172         arguments.
46173         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46174         Likewise.
46175         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46176         values of ea and eb and sort them after adjusting subnormal
46177         arguments.
46178         * math/auto-libm-test-in: Do not expect some hypot tests of
46179         subnormals to fail.  Add more hypot tests.
46180         * math/auto-libm-test-out: Regenerated.
46182 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46184         [BZ #13304]
46185         * sysdeps/sh/s_fma.c: New file.
46186         * sysdeps/sh/s_fmaf.c: New file.
46187         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46188         version.
46189         * sysdeps/sh/Implies: Add sh/soft-fp.
46191 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46193         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46194         level of indirection to members `objname', `errstring', `malloced'.
46195         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46196         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46197         it as the __longjmp argument (just pass 1 instead).
46198         (_dl_catch_error): Initialize C with argument pointers and address of
46199         volatile local ERRCODE rather than copying values out of C at return.
46201 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46203         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46204         * math/auto-libm-test-out: Regenerated.
46205         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46206         (hypot_test_data): Likewise.
46207         (pow_test_data): Likewise.
46208         (pow_tonearest_test_data): Likewise.
46209         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46210         mpfr_ff_f.
46211         (func_calc_desc): Add mpfr_ff_f union field.
46212         (FUNC_mpfr_ff_f): New macro.
46213         (test_functions): Add atan2, hypot and pow.
46214         (special_fill_min): New function.
46215         (special_fill_minus_min): Likewise.
46216         (special_fill_min_subnorm): Likewise.
46217         (special_fill_minus_min_subnorm): Likewise.
46218         (special_real_inputs): Add min, -min, min_subnorm and
46219         -min_subnorm.
46220         (calc_generic_results): Handle mpfr_ff_f.
46221         * sysdeps/i386/fpu/libm-test-ulps: Update.
46222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46224 2013-12-16  Will Newton  <will.newton@linaro.org>
46226         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46227         (Aligned Memory Blocks): Add documentation for aligned_alloc
46228         and suggest it as an alternative to posix_memalign.
46229         (Hooks for Malloc): Document __memalign_hook is also called
46230         for aligned_alloc.  (Summary of Malloc): Add summary for
46231         aligned alloc.  Document __memalign_hook is also called
46232         for aligned_alloc.
46234 2013-12-16  Will Newton  <will.newton@linaro.org>
46236         * manual/memory.texi (Malloc Examples): Clarify default
46237         alignment documentation.  Suggest posix_memalign rather
46238         than memalign or valloc.
46239         (Aligned Memory Blocks): Remove suggestion to use memalign
46240         or valloc.  Remove obsolete comment about BSD.
46241         Document memalign errno values and mark the function obsolete.
46242         Document posix_memalign returned error codes.  Mark valloc
46243         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46244         called for posix_memalign and valloc.
46245         (Summary of Malloc): Add posix_memalign to function summary.
46246         __memalign_hook is also called for posix_memalign and valloc.
46248 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46250         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46251         TAYLOR_SIN.
46252         (__sin): Adjust.
46253         (__cos): Likewise.
46254         (sloww): Use mynumber union.  Expand ternary operator into
46255         if-else statements.
46256         (cslow): use mynumber union.
46258 2013-12-16  Allan McRae  <allan@archlinux.org>
46260         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46261         * configure: Regenerated.
46263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46265         [BZ #14120]
46266         * configure.ac: Added --enable-maintainer-mode. Check for
46267         autoconf when enabled.
46268         * configure: Regenerated.
46270         * nscd/nscd.service: New file.
46271         * nscd/nscd.tmpfiles: New file.
46273 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46275         [BZ #12100]
46276         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46277         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46278         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46279         (strstr): Add __strstr_sse2_unaligned ifunc.
46280         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46281         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46282         (strcasestr): Remove __strcasestr_sse42 ifunc.
46283         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46287 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46289         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46290         * sysdeps/sh/bits/fenv.h: ... here.
46291         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46295         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46298         hypotf multiarch implementations.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46300         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46302         multiarch hypot for PPC64.
46303         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46306         multiarch hypotf for PPC64.
46308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46309         modff multiarch implementations.
46310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46313         multiarch modf for PPC64.
46314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46317         multiarch modff for PPC64.
46319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46320         and logl multiarch implementations.
46321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46324         multiarch logb for PPC64.
46325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46328         multiarch logb for PPC64.
46329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46332         multiarch logb for PPC64.
46334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46335         isinff multiarch implementation.
46336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46337         file.
46338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46340         multiarch isinf for PPC64.
46341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46342         file.
46343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46344         multiarch isinff for PPC64.
46346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46347         finitef multiarch implementation.
46348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46349         file.
46350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46352         multiarch finite for PPC64.
46353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46354         file.
46355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46356         multiarch finitef for PPC64.
46358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46359         lrint multiarch implementation.
46360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46361         file.
46362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46364         multiarch llrint for PPC64.
46365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46366         multiarch lrint for PPC64.
46368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46369         copysignf multiarch implementation.
46370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46371         file.
46372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46373         file.
46374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46375         multiarch copysign for PPC64.
46376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46377         multiarch copysignf for PPC64.
46379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46380         multiarch implementation.
46381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46382         file.
46383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46384         file.
46385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46386         file.
46387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46388         file.
46389         multiarch llround for PPC64.
46390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46391         multiarch trunc for PPC64.
46392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46393         multiarch truncf for PPC64.
46395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46396         multiarch implementation.
46397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46398         file.
46399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46400         file.
46401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46402         file.
46403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46404         file.
46405         multiarch llround for PPC64.
46406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46407         multiarch round for PPC64.
46408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46409         multiarch roundf for PPC64.
46411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46412         multiarch implementation.
46413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46414         file.
46415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46416         file.
46417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46418         file.
46419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46420         file.
46421         multiarch llround for PPC64.
46422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46423         multiarch floor for PPC64.
46424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46425         multiarch floorf for PPC64.
46427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46428         multiarch implementation.
46429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46430         file.
46431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46432         file.
46433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46434         file.
46435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46436         file.
46437         multiarch llround for PPC64.
46438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46439         multiarch ceil for PPC64.
46440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46441         multiarch ceilf for PPC64.
46443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46444         multiarch implementation.
46445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46446         file.
46447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46448         file.
46449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46450         file.
46451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46452         multiarch llround for PPC64.
46453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46454         multiarch lround for PPC64.
46456         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46457         multiarch implementation.
46458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46461         file.
46462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46465         multiarch isnan for PPC64.
46466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46467         multiarch isnanf for PPC64.
46469         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46470         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46471         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46472         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46473         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46476         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46477         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46478         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46482         multiarch implementations.
46483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46484         (__libc_ifunc_impl_list): Likewise.
46485         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46488         multiarch stpcpy for PPC64.
46490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46491         multiarch implementations.
46492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46493         (__libc_ifunc_impl_list): Likewise.
46494         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46495         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46496         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46497         multiarch strcpy for PPC64.
46499         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46500         redefine function name.
46501         (_wordcopy_fwd_dest_aligned): Likewise.
46502         (_wordcopy_bwd_aligned): Likewise.
46503         (_wordcopy_bwd_dest_aligned): Likewise.
46504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46505         multiarch implementations.
46506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46507         (__libc_ifunc_impl_list): Likewise.
46508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46509         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46510         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46511         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46512         multiarch wcscpy for PPC64.
46514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46515         multiarch implementations.
46516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46517         (__libc_ifunc_impl_list): Likewise.
46518         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46519         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46520         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46521         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46522         multiarch wcscpy for PPC64.
46524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46525         multiarch implementations.
46526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46527         (__libc_ifunc_impl_list): Likewise.
46528         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46529         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46530         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46531         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46532         multiarch wcsrchr for PPC64.
46534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46535         multiarch implementations.
46536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46537         (__libc_ifunc_impl_list): Likewise.
46538         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46539         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46540         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46541         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46542         multiarch wcschr for PPC64.
46544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46545         multiarch implementations.
46546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46547         (__libc_ifunc_impl_list): Likewise.
46548         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46549         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46550         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46551         multiarch strchrnul for PPC64.
46553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46554         implementations.
46555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46556         (__libc_ifunc_impl_list): Likewise.
46557         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46558         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46559         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46560         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46561         strchr for PPC64.
46563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46564         implementations.
46565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46566         (__libc_ifunc_impl_list): Likewise.
46567         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46568         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46569         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46570         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46571         strncmp for PPC64.
46573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46574         multiarch implementations.
46575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46576         (__libc_ifunc_impl_list): Likewise.
46577         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46578         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46579         strncasecmp for PPC64.
46580         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46581         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46582         multiarch strncasecmp_l for PPC64.
46584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46585         multiarch implementations.
46586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46587         (__libc_ifunc_impl_list): Likewise.
46588         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46589         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46590         multiarch strcasecmp for PPC64.
46591         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46592         file.
46593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46594         multiarch strcasecmp_l for PPC64.
46596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46597         implementations.
46598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46599         (__libc_ifunc_impl_list): Likewise.
46600         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46601         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46602         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46603         strnlen for PPC64.
46605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46606         implementations.
46607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46608         (__libc_ifunc_impl_list): Likewise.
46609         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46610         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46611         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46612         strlen for PPC64.
46614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46615         implementations.
46616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46617         (__libc_ifunc_impl_list): Likewise.
46618         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46619         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46620         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46621         rawmemrchr for PPC64.
46623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46624         implementation.
46625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46626         (__libc_ifunc_impl_list): Likewise.
46627         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46628         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46629         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46630         memrchr for PPC64.
46632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46633         implementation.
46634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46635         (__libc_ifunc_impl_list): Likewise.
46636         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46637         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46638         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46639         memchr for PPC64.
46641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46642         implementation.
46643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46644         (__libc_ifunc_impl_list): Likewise.
46645         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46646         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46647         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46648         mempcpy for PPC64.
46650         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46651         avoid cretion of __bzero symbol.
46652         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46653         Likewise.
46654         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46655         Likewise.
46656         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46657         Likewise.
46658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46659         multiarch implementations.
46660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46661         (__libc_ifunc_impl_list): Likewise.
46662         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46663         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46664         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46665         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46666         bzero for PPC32.
46667         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46668         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46669         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46670         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46671         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46672         memset for PPC64.
46673         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46675         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46677         implementations.
46678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46679         (__libc_ifunc_impl_list): Likewise.
46680         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46681         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46682         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46683         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46684         memcmp for PPC64.
46686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46687         multiarch for POWER/PPC64.
46688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46689         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46691         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46692         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46693         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46694         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46695         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46696         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46697         memcpy for PPC64.
46699         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46700         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46701         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46702         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46703         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46704         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46705         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46706         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46707         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46708         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46709         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46710         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46711         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46712         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46713         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46722 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46724         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46726 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46728         * benchtests/Makefile (bench): Add exp2 and log2.
46729         (LDLIBS-bench-exp2): Add -lm.
46730         (LDLIBS-bench-log2): Likewise.
46731         * benchtests/exp2-inputs: New inputs file.
46732         * benchtests/log2-inputs: New inputs file.
46733         * benchtests/log-inputs: Add new inputs.
46734         * benchtests/tan-inputs: Likewise.
46736 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46738         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46739         definition...
46740         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46741         (csloww2): ... from here.
46743         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46744         instead of structures.
46745         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46746         (POLYNOMIAL): Likewise.
46747         (TAYLOR_SLOW): Likewise.
46748         (__sin): Likewise.
46749         (__cos): Likewise.
46750         (slow1): Likewise.
46751         (slow2): Likewise.
46752         (sloww): Likewise.
46753         (sloww1); Likewise.
46754         (sloww2): Likewise.
46755         (bsloww1): Likewise.
46756         (bsloww2): Likewise.
46757         (cslow2): Likewise.
46758         (csloww): Likewise.
46759         (csloww1): Likewise.
46760         (csloww2): Likewise.
46762 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46764         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46765         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46766         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46767         * malloc/hooks.c (realloc_check): Likewise.
46769         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46770         * malloc/arena.c: Remove PER_THREAD conditional.
46771         [!PER_THREAD]: Remove code.
46772         (ptmalloc_unlock_all2): Likewise.
46773         (ptmalloc_init): Likewise.
46774         (_int_new_arena): Likewise.
46775         (arena_get2): Likewise.
46776         * malloc/hooks.c (__malloc_get_state): Likewise.
46777         (__malloc_set_state): Likewise.
46778         * malloc/malloc.c: Likewise.
46779         (struct malloc_state): Likewise.
46780         (struct malloc_par): Likewise.
46781         (__libc_realloc): Likewise.
46782         (__libc_mallopt): Likewise.
46784 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46786         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46788 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46790         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46791         macro to a function.  Check for zero perturb_byte.
46792         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46794         * malloc/malloc.c: (force_reg): Remove.
46795         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46796         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46797         force_reg by atomic_forced_read.
46798         * malloc/arena.c (ptmalloc_init): Likewise.
46799         * malloc/hooks.c (top_check): Likewise.
46801 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46805 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46809 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46811         * math/auto-libm-test-in: Add tests of lgamma.
46812         * math/auto-libm-test-out: Regenerated.
46813         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46814         (M_LOG_2_SQRT_PIl): Likewise.
46815         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46816         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46817         mpfr_f_f1.
46818         (func_calc_desc): Add mpfr_f_f1 union field.
46819         (ARGS1): New macro.
46820         (ARGS2): Likewise.
46821         (ARGS3): Likewise.
46822         (ARGS4): Likewise.
46823         (RET1): Likewise.
46824         (RET2): Likewise.
46825         (CALC): Likewise.
46826         (FUNC): Likewise.
46827         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46828         (test_functions): Add lgamma.
46829         (calc_generic_results): Handle mpfr_f_f1.
46830         * sysdeps/i386/fpu/libm-test-ulps: Update.
46831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46833 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46835         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46836         __mpn_add_n for PowerPC64/POWER7.
46837         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46838         __mpn_sub_n for PowerPC64/POWER7.
46840         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46841         __mpn_addmul_1 for PowerPC64.
46842         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46843         __mpn_submul_1 for PowerPC64.
46844         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46845         for PowerPC64.
46846         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46847         for PowerPC64.
46849 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46851         [BZ #15089]
46852         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46854 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46856         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46858         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46859         add multiarch folders.
46860         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46861         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46862         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46863         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46864         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46865         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46866         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46867         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46868         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46869         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46870         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46879         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46881         New file.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46883         New file.
46884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46885         multiarch __ieee754_hypot for PowerPC32.
46886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46887         New file.
46888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46889         New file.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46891         multiarch __ieee754_hypotf for PowerPC32.
46893         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46894         long_double_symbol only if __logbl is defined.
46895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46896         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46898         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46900         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46902         path for implementation.
46903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46904         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46906         logb, and logbl multiarch implementations for PowerPC32.
46907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46908         file.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46910         file.
46911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46912         multiarch logb for PowerPC32.
46913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46914         file.
46915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46916         file.
46917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46918         multiarch logbf for PowerPC32.
46919         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46921         file.
46922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46923         multiarch logbl implementation for PowerPC32.
46925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46926         and modff multiarch implementations.
46927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46928         New file.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46930         New file.
46931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46932         multiarch modf for PowerPC32.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46934         New file.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46936         New file.
46937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46938         multiarch modff for PowerPC32.
46940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46941         and lrintf multiarch implementations.
46942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46943         New file.
46944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46945         New file.
46946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46947         multiarch lrint for PowerPC32.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46949         file: multiarch lrintf for PowerPC32.
46951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46952         and lroundf multiarch implementations.
46953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46954         New file.
46955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46956         New file.
46957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46958         New file.
46959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46960         multiarch lround for PowerPC32.
46961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46962         file: multiarch lroundf for PowerPC32.
46964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46965         copysign and copysignf multiarch implementations.
46966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46967         New file.
46968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46969         New file.
46970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46971         file: multiarch copysign for PowerPC32.
46972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46973         file: multiarch copysignf for PowerPC32.
46975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46976         and truncf multiarch implementations.
46977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46978         New file.
46979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46980         file.
46981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46982         multiarch trunc for PowerPC32.
46983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46984         New file.
46985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46986         New file.
46987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46988         multiarch truncf for PowerPC32.
46990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46991         and roundf multiarch implementations.
46992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46993         New file.
46994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46995         file.
46996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46997         multiarch round for PowerPC32.
46998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46999         New file.
47000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47001         New file.
47002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47003         multiarch roundf for PowerPC32.
47005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47006         and floorf multiarch implementations.
47007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47008         New file.
47009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47010         file.
47011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47012         multiarch floor for PowerPC32.
47013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47014         New file.
47015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47016         New file.
47017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47018         multiarch floorf for PowerPC32.
47020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47021         and ceilf multiarch implementations.
47022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47023         New file.
47024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47025         file.
47026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47027         multiarch ceil for PowerPC32.
47028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47029         New file.
47030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47031         file.
47032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47033         multiarch ceilf for PowerPC32.
47035         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47036         is defined.
47037         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47038         FINITEF is defined.
47039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47040         and finitef multiarch implementations.
47041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47042         New file.
47043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47044         file.
47045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47046         multiarch finite for PowerPC32.
47047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47048         New file.
47049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47050         file: multiarch finitef for PowerPC32.
47052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47053         and isinff multiarch implementations.
47054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47055         file.
47056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47057         file.
47058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47059         multiarch isinf for PowerPC32.
47060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47061         New file.
47062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47063         multiarch isinff for PowerPC32.
47065         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47066         alias when __isnan is defined.
47067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47068         and isnanf multiarch implementations.
47069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47070         file.
47071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47072         file.
47073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47074         file.
47075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47076         file.
47077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47078         multiarch isnan for PowerPC32.
47079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47080         New file.
47081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47082         New file.
47083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47084         multiarch isnanf for PowerPC32.
47086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47087         and sqrtf multiarch implementations.
47088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47089         file.
47090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47091         file.
47092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47093         multiarch sqrt for PowerPC32.
47094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47095         file.
47096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47097         file.
47098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47099         multiarch sqrtf for PowerPC32.
47101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47102         and llroundf multiarch implementations.
47103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47104         New file.
47105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47106         New file.
47107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47108         New file.
47109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47110         file: multiarch llround for PowerPC32.
47111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47112         file: multiarch llroundf for PowerPC32.
47114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47115         multiarch PowerPC32 fpu implementations.
47116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47117         New file.
47118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47119         New file.
47120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47121         multiarch llrint for PowerPC32.
47122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47123         New file.
47124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47125         New file.
47126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47127         file.
47129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47131         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47132         file.
47133         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47134         file.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47136         file.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47138         multiarch wordcopy for PPC32.
47139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47140         wordcopy objects.
47141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47142         (__libc_ifunc_impl_list): Likewise.
47143         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47144         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47145         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47146         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47147         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47148         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47150         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47152         file.
47153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47154         file.
47155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47156         file.
47157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47158         multiarch wcscpy for PPC32.
47159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47160         multiarch objects.
47161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47162         (__libc_ifunc_impl_list): Likewise.
47163         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47164         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47165         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47166         sysdeps/powerpc/power6/wcscpy.c.
47168         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47170         file.
47171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47172         file.
47173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47174         file.
47175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47176         multiarch wcsrchr for PPC32.
47177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47178         multiarch objects.
47179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47180         (__libc_ifunc_impl_list): Likewise.
47181         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47182         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47183         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47184         sysdeps/powerpc/power6/wcsrchr.c.
47186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47187         file.
47188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47189         file.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47192         multiarch wcschr for PPc32.
47193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47194         multiarch objects.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47196         (__libc_ifunc_impl_list): Likewise.
47197         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47198         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47199         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47200         sysdeps/powerpc/power6/wcschr.c.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47203         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47204         file.
47205         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47206         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47207         file: multiarch strchr for PPC32.
47208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47209         multiarch objects.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47211         (__libc_ifunc_impl_list): Likewise.
47213         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47214         name.
47215         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47216         file.
47217         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47218         file.
47219         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47220         multiarch strchrnul for PPC32.
47221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47222         multiarch objects.
47223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47224         (__libc_ifunc_impl_list): Likewise.
47226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47227         file.
47228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47229         multiarch strncasecmp for PPC32.
47230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47231         file.
47232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47233         multiarch strncasecmp_l for PPC32.
47234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47235         strncasecmp multiarch objects.
47236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47237         (__libc_ifunc_impl_list): Likewise.
47239         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47240         file.
47241         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47242         multiarch strncasecmp for PPC32.
47243         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47244         New file.
47245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47246         multiarch strcasecmp_l for PPC32.
47247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47248         multiarch objects.
47249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47250         (__libc_ifunc_impl_list): Likewise.
47252         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47253         file.
47254         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47255         file.
47256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47257         multiarch strncmp for PPC32.
47258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47259         multiarch objects.
47260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47261         (__libc_ifunc_impl_list): Likewise.
47263         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47264         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47265         file.
47266         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47269         multiarch objects.
47270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47271         (__libc_ifunc_impl_list): Likewise.
47273         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47274         file.
47275         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47276         file.
47277         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47279         multiarch objects.
47280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47281         (__libc_ifunc_impl_list): Likewise.
47283         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47284         file.
47285         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47286         file.
47287         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47288         multiarch rawmemchr for PPC32.
47289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47290         multiarch objects.
47291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47292         (__libc_ifunc_impl_list): Likewise.
47294         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47295         file.
47296         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47297         file.
47298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47299         file: memrchr multiarch for PPC32.
47300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47301         multiarch objects.
47302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47303         (__libc_ifunc_impl_list): Likewise.
47305         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47307         file.
47308         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47309         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47310         multiarch memchr for PPC32.
47311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47312         multiarch objects.
47313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47314         (__libc_ifunc_impl_list): Likewise.
47316         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47317         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47318         file.
47319         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47320         file.
47321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47322         file: multiarch mempcpy for PPC32.
47323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47324         multiarch objects.
47325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47326         (__libc_ifunc_impl_list): Likewise.
47328         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47329         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47330         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47331         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47332         multiarch bzero for PPC32.
47333         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47334         file.
47335         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47336         file.
47337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47338         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47339         file: multiarch memset for PPC32.
47340         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47342         memset multiarch objects.
47343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47344         (__libc_ifunc_impl_list): Likewise.
47346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47347         file.
47348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47350         memcmp for PPC32.
47351         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47353         multiarch objects.
47354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47355         (__libc_ifunc_impl_list): Likewise.
47357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47360         file.
47361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47362         file.
47363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47364         file.
47365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47366         multiarch memcpy for PPC32.
47367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47368         multiarch objects.
47369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47370         (__libc_ifunc_impl_list): Likewise.
47372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47373         support multiarch for POWER/PPC32.
47374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47375         Likewise.
47376         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47378         Implies file to make multiarch folder appers before the fpu and
47379         default folder for power4 configuration.
47381 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47383         * scripts/bench.pl: Append volatile keyword to type.
47385 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47387         * sysdeps/sh/sotruss-lib.c: New file.
47388         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47390 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47394 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47396         [BZ #6810]
47397         * math/w_tgamma.c: Include <errno.h>.
47398         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47399         * math/w_tgammaf.c: Include <errno.h>.
47400         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47401         * math/w_tgammal.c: Include <errno.h>.
47402         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47403         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47404         underflow.  Add more tgamma tests.
47405         * math/auto-libm-test-out: Regenerated.
47406         * sysdeps/i386/fpu/libm-test-ulps: Update.
47407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47409         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47410         sin, sinh, tan, tanh, tgamma, y0 and y1.
47411         * math/auto-libm-test-out: Regenerated.
47412         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47413         (TEST_COND_x86): Likewise.
47414         (M_E2l): Remove macro.
47415         (M_E3l): Likewise.
47416         (M_2_SQRT_PIl): Likewise.
47417         (M_SQRT_PIl): Likewise.
47418         (M_1_DIV_El): Likewise.
47419         (log_test_data): Use AUTO_TESTS_f_f.
47420         (log10_test_data): Likewise.
47421         (log1p_test_data): Likewise.
47422         (log2_test_data): Likewise.
47423         (sin_test_data): Likewise.
47424         (sin_tonearest_test_data): Likewise.
47425         (sin_towardzero_test_data): Likewise.
47426         (sin_downward_test_data): Likewise.
47427         (sin_upward_test_data): Likewise.
47428         (sinh_test_data): Likewise.
47429         (sinh_tonearest_test_data): Likewise.
47430         (sinh_towardzero_test_data): Likewise.
47431         (sinh_downward_test_data): Likewise.
47432         (sinh_upward_test_data): Likewise.
47433         (tan_test_data): Likewise.
47434         (tan_tonearest_test_data): Likewise.
47435         (tan_towardzero_test_data): Likewise.
47436         (tan_downward_test_data): Likewise.
47437         (tan_upward_test_data): Likewise.
47438         (tanh_test_data): Likewise.
47439         (tgamma_test_data): Likewise.
47440         (y0_test_data): Likewise.
47441         (y1_test_data): Likewise.
47442         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47443         (special_real_inputs): Add pi/4.
47444         * sysdeps/i386/fpu/libm-test-ulps: Update.
47445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47449         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47450         "longjmp_target" static probes.
47451         (__longjmp): Rename to __longjmp_symbol.
47452         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47453         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47454         on which longjmp to generate.
47455         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47457         probe.
47458         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47459         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47460         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47461         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47462         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47463         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47465         __longjmp_symbol based on which __longjmp to generate.
47466         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47467         probe.
47468         (setjmp): Rename to setjmp_symbol.
47469         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47470         (_setjmp): Rename to _setjmp_symbol.
47471         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47472         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47473         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47474         which setjmp to generate.
47475         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47476         "longjmp_target" static probes.
47478 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47480         * benchtests/README: Add note about output arguments.
47481         * benchtests/bench-sincos.c: Remove file.
47482         * benchtests/sincos-inputs: New file.
47483         * scripts/bench.pl: Identify output arguments and define
47484         static variables for them.
47486         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47488         [BZ #15941]
47489         * Makefile (INSTALL): Add install-plain.texi as the primary
47490         dependency.
47491         * manual/install-plain.texi: New file.
47492         * manual/install.texi: Include node directive only for
47493         non-plaintext output.
47495 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47497         * stdlib/longlong.h: Update from GCC.
47499         [BZ #6807]
47500         [BZ #15901]
47501         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47502         * math/w_j0f.c (y0f): Likewise.
47503         * math/w_j0l.c (__y0l): Likewise.
47504         * math/w_j1.c (y1): Likewise.
47505         * math/w_j1f.c (y1f): Likewise.
47506         * math/w_j1l.c (__y1l): Likewise.
47507         * math/w_jn.c (yn): Likewise.
47508         * math/w_jnf.c (ynf): Likewise.
47509         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47510         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47511         value for Bessel function domain errors outside _SVID_ mode.
47512         Adjust sign of return value for yn (negative integer, 0).
47513         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47514         by zero in return for negative x and set sign appropriately for
47515         negative n.
47516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47517         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47518         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47519         expectations in error cases.
47520         (y1_test_data): Likewise.
47521         (yn_test_data): Likewise.
47522         * sysdeps/i386/fpu/libm-test-ulps: Update.
47523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47525 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47527         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47528         "64" to "64-v1".  Add "64-v2".
47529         (abi-64-options): Rename to ...
47530         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47531         (abi-64-condition): Rename to ...
47532         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47533         (abi-64-ld-soname): Rename to ...
47534         (abi-64-v1-ld-soname): ... this.
47535         (abi-64-v2-options): Define.
47536         (abi-64-v2-condition): Likewise.
47537         (abi-64-v2-ld-soname): Likewise.
47538         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47539         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47544 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47545             Alan Modra  <amodra@gmail.com>
47547         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47548         New versions for use with the ELFv2 ABI.
47549         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47550         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47551         declaration.
47552         (struct La_ppc64v2_retval): Likewise.
47553         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47554         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47555         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47556         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47557         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47558         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47559         Do not save or restore CR.
47560         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47561         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47562         return values for ELFv2 ABI.  Fix location of FPR return registers.
47563         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47564         updated values for _CALL_ELF == 2.
47565         (La_regs, La_retval, int_retval): Likewise.
47567 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47569         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47570         (FRAME_MIN_SIZE_PARM): Likewise.
47571         (FRAME_BACKCHAIN): Likewise.
47572         (FRAME_CR_SAVE): Likewise.
47573         (FRAME_LR_SAVE): Likewise.
47574         (FRAME_TOC_SAVE): Likewise.
47575         (FRAME_PARM_SAVE): Likewise.
47576         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47577         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47578         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47579         (call_mcount_parm_offset): New macro.
47580         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47581         (PROF): Use symbolic stack frame offsets.
47582         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47583         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47584         Redefine in terms of FRAME_MIN_SIZE.
47585         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47586         (_dl_profile_resolve): Likewise.  Update comment.
47587         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47588         symbols stack frame offsets.
47589         (__sigsetjmp): Likewise.
47590         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47591         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47592         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47593         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47596         (FRAME_BACKCHAIN): Remove.
47597         (FRAME_CR_SAVE): Likewise.
47598         (FRAME_LR_SAVE): Likewise.
47599         (FRAME_COMPILER_DW): Likewise.
47600         (FRAME_LINKER_DW): Likewise.
47601         (FRAME_TOC_SAVE): Likewise.
47602         (FRAME_PARM_SAVE): Likewise.
47603         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47604         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47605         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47607         (CHECK_SP): Use symbolic stack frame offsets.
47608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47609         zone" instead of caller's parameter save area for temp storage.
47610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47611         Likewise.  Also, use symbolic stack frame offsets.
47612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47613         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47614         our own stack frame instead of the caller's.
47615         (__socket): Use symbolic stack frame offsets.
47617 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47618             Alan Modra  <amodra@gmail.com>
47620         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47621         Define.
47622         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47623         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47624         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47625         New function.
47626         (elf_machine_fixup_plt): Call it.
47627         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47628         reloc arguments.
47629         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47631         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47632         r2 before calling target.
47634 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47635             Alan Modra  <amodra@gmail.com>
47637         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47638         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47639         versions of macros to support ELFv2 ABI.
47640         (LOCALENTRY): New macro.
47641         (ENTRY, EALIGN): Use it.
47642         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47643         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47644         fall through into ENTRY entry point.
47645         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47646         Only define if _CALL_ELF != 2.
47648         (elf_machine_matches_host): Verify ABI version matches.
47649         (RTLD_START): Use LOCALENTRY.
47650         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47651         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47652         (PLT_ENTRY_WORDS): New macro.
47653         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47654         (elf_machine_runtime_setup): Support ELFv2 ABI.
47655         (elf_machine_fixup_plt): Likewise.
47656         (elf_machine_plt_conflict): Likewise.
47657         (resolve_ifunc): Likewise.
47658         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47659         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47660         Likewise.
47661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47662         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47664         (makecontext): Support ELFv2 ABI.
47665         * elf/elf.h (EF_PPC64_ABI): Define.
47667 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47669         * sysdeps/powerpc/powerpc64/sysdep.h
47670         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47671         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47672         (ENTRY) [ASSEMBLER]: ... but instead here ...
47673         (EALIGN) [ASSEMBLER]: ... and here.
47674         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47675         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47676         (ENTRY_2) [!ASSEMBLER]: Use it.
47677         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47678         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47679         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47680         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47681         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47683         Use PPC64_LOAD_FUNCPTR.
47685         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47687 2013-12-04  Alan Modra  <amodra@gmail.com>
47689         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47690         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47691         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47692         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47695         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47696         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47697         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47698         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47699         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47701 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47704         (__makecontext): Fix incorrect CFI when backtracing out of
47705         context created via makecontext.
47706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47707         (__setcontext): Fix incorrect CFI during switch to new context.
47708         (__novec_setcontext): Likewise.
47710 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47712         [BZ #4772]
47713         * time/strptime_l.c (__strptime_internal): Allow modifiers
47714         in strptime.
47715         * time/tst-strptime.c (day_tests): Add testcase.
47717 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47719         * scripts/bench.pl: Skip over blank lines.
47721 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47723         [BZ #926]
47724         * manual/time.texi (Calendar Time): Clarify what timezone functions
47725         use.
47727 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47731 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47733         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47734         implementation.
47735         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47736         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47737         * debug/memset_chk.c (__memset_chk): Likewise.
47738         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47739         * debug/strncpy_chk.c: Likewise.
47741 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47743         [BZ #15268]
47744         [BZ #15425]
47745         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47746         (__ieee754_exp): For possibly underflowing results, check size of
47747         result and force underflow exception if required.
47748         * math/auto-libm-test-in: Add more tests of exp.
47749         * math/auto-libm-test-out: Regenerated.
47750         * sysdeps/i386/fpu/libm-test-ulps: Update.
47751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47753         [BZ #16283]
47754         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47755         * math/w_exp2f.c (__exp2f): Likewise.
47756         * math/w_exp2l.c (__exp2l): Likewise.
47757         * math/auto-libm-test-in: Do not allow missing errno on exp2
47758         underflow.
47759         * math/auto-libm-test-out: Regenerated.
47761 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47763         [BZ #16274]
47764         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47765         handle filename validation.
47766         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47767         (do_open): Delete.
47769 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47771         [BZ #6786]
47772         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47773         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47774         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47775         <float.h>.
47776         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47778         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47780         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47781         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47782         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47783         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47784         Add more erfc tests.
47785         * math/auto-libm-test-out: Regenerated.
47786         * sysdeps/i386/fpu/libm-test-ulps: Update.
47787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47789         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47790         exp2, expm1, j0 and j1.
47791         * math/auto-libm-test-out: Regenerated.
47792         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47793         (erfc_test_data): Likewise.
47794         (exp_test_data): Likewise.
47795         (exp_tonearest_test_data): Likewise.
47796         (exp_towardzero_test_data): Likewise.
47797         (exp_downward_test_data): Likewise.
47798         (exp_upward_test_data): Likewise.
47799         (exp10_test_data): Likewise.
47800         (exp2_test_data): Likewise.
47801         (expm1_test_data): Likewise.
47802         (j0_test_data): Likewise.
47803         (j1_test_data): Likewise.
47804         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47805         (input_flag_type): Add flag_xfail_rounding.
47806         (input_flags): Add xfail-rounding.
47807         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47808         (output_for_one_input_case): Handle flag_xfail_rounding.
47809         * sysdeps/i386/fpu/libm-test-ulps: Update.
47810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47812 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47814         [BZ #16289]
47815         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47816         division by 0.
47818 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47820         [BZ #16195]
47821         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47822         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47823         (STAP_PROBE0): New macro.
47824         (STAP_PROBE1): Likewise.
47825         (STAP_PROBE2): Likewise.
47826         (STAP_PROBE3): Likewise.
47827         (STAP_PROBE4): Likewise.
47829 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47831         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47833 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47835         * benchtests/Makefile (bench): Add sqrt.
47836         (LDLIBS-bench-sqrt): New.
47837         * benchtests/sqrt-input: New.
47839 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47841         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47842         (GAIH_EAI): Likewise.
47843         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47844         (gaih_inet): Likewise.
47845         (getaddrinfo): Don't use GAIH_EAI.
47847         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47848         (struct gaih): Remove definition.
47850 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47852         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47853         Use HERRNOP directly.
47855 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47859 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47861         * math/gen-auto-libm-tests.c (test_functions): Add more
47862         single-argument functions.
47863         (special_fill_pi_2): New function.
47864         (special_fill_minus_pi_2): Likewise.
47865         (special_fill_pi_6): Likewise.
47866         (special_fill_minus_pi_6): Likewise.
47867         (special_fill_pi_3): Likewise.
47868         (special_fill_2pi_3): Likewise.
47869         (special_fill_e): Likewise.
47870         (special_fill_1_e): Likewise.
47871         (special_fill_e_minus_1): Likewise.
47872         (special_real_inputs): Add more special inputs.
47873         (output_for_one_input_case): Do not require ERANGE on underflow to
47874         zero if round-to-nearest result does not underflow to zero, unless
47875         exact results required.
47876         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47877         atan, atanh, cbrt, cos and cosh.
47878         * math/auto-libm-test-out: Regenerated.
47879         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47880         (acos_tonearest_test_data): Likewise.
47881         (acos_towardzero_test_data): Likewise.
47882         (acos_downward_test_data): Likewise.
47883         (acos_upward_test_data): Likewise.
47884         (acosh_test_data): Likewise.
47885         (asin_test_data): Likewise.
47886         (asin_tonearest_test_data): Likewise.
47887         (asin_towardzero_test_data): Likewise.
47888         (asin_upward_test_data): Likewise.
47889         (asinh_test_data): Likewise.
47890         (atan_test_data): Likewise.
47891         (atanh_test_data): Likewise.
47892         (cbrt_test_data): Likewise.
47893         (cos_test_data): Likewise.
47894         (cos_tonearest_test_data): Likewise.
47895         (cos_towardzero_test_data): Likewise.
47896         (cos_downward_test_data): Likewise.
47897         (cos_upward_test_data): Likewise.
47898         (cosh_test_data): Likewise.
47899         (cosh_tonearest_test_data): Likewise.
47900         (cosh_towardzero_test_data): Likewise.
47901         (cosh_downward_test_data): Likewise.
47902         (cosh_upward_test_data): Likewise.
47903         * sysdeps/i386/fpu/libm-test-ulps: Update.
47904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47906 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47908         [BZ #6787]
47909         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47910         * math/w_exp10f.c (__exp10f): Likewise.
47911         * math/w_exp10l.c (__exp10l): Likewise.
47912         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47913         errno settings in existing tests.
47915         [BZ #14032]
47916         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47917         precision control set to double precision.
47918         * sysdeps/i386/fpu/w_sqrt.c: New file.
47919         * math/auto-libm-test-in: Add more tests.
47920         * math/auto-libm-test-out: Update.
47922         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47923         (sqrt_test_tonearest): New function.
47924         (sqrt_towardzero_test_data): New variable.
47925         (sqrt_test_towardzero): New function.
47926         (sqrt_downward_test_data): New variable.
47927         (sqrt_test_downward): New function.
47928         (sqrt_upward_test_data): New variable.
47929         (sqrt_test_upward): New function.
47930         (main): Call the new functions.
47932         * math/gen-auto-libm-tests.c: New file.
47933         * math/auto-libm-test-in: Likewise.
47934         * math/auto-libm-test-out: New generated file.
47935         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47936         variables.
47937         (%beautify): Add generated representations of zero.
47938         (top level): Set $auto_input and call parse_auto_input.
47939         (beautify): Remove trailing "f" from hex float constants.
47940         (parse_args): Handle XFAIL_TEST.
47941         (convert_condition): New function.
47942         (or_value): Likewise.
47943         (or_cond_value): Likewise.
47944         (generate_testfile): Handle AUTO_TESTS_* lines.
47945         (parse_auto_input): New function.
47946         * math/libm-test.inc (XFAIL_TEST): New macro.
47947         (ERRNO_UNCHANGED): Update value.
47948         (ERRNO_EDOM): Likewise.
47949         (ERRNO_ERANGE): Likewise.
47950         (IGNORE_RESULT): Likewise.
47951         (TEST_COND_flt_32): New macro.
47952         (TEST_COND_dbl_64): Likewise.
47953         (TEST_COND_ldbl_96_intel): Likewise.
47954         (TEST_COND_ldbl_96_m68k): Likewise.
47955         (TEST_COND_ldbl_128): Likewise.
47956         (TEST_COND_ldbl_128ibm): Likewise.
47957         (TEST_COND_long32): Likewise.
47958         (TEST_COND_long64): Likewise.
47959         (TEST_COND_before_rounding): Likewise.
47960         (TEST_COND_after_rounding): Likewise.
47961         (enable_test): Handle XFAIL_TEST flag.
47962         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47963         with finite results.
47964         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47965         auto-libm-test-out.
47967 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47968             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47970         [BZ #16214]
47971         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47972         __tls_get_addr_internal instead of __tls_get_offset in order to
47973         avoid GOT pointer dependency.  Make rtld export
47974         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47975         __tls_get_addr since we are a __tls_get_offset platform.
47976         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47977         GOT pointer being set up before.
47978         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47980 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47982         * manual/math.texi (Errors in Math Functions): Document accuracy
47983         goals.
47985         [BZ #15004]
47986         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47987         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47988         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47989         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47990         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47991         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47992         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47993         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47994         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47995         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47996         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47997         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47998         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47999         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48000         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48001         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48003         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48004         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48005         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48006         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48007         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48008         Likewise.
48009         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48010         Likewise.
48011         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48012         Likewise.
48013         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48014         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48015         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48016         atomic-feupdateenv and flt-rounds.
48017         * sysdeps/powerpc/nofpu/Versions (libc): Add
48018         __atomic_feholdexcept, __atomic_feclearexcept,
48019         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48020         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48021         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48022         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48023         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48024         here.
48025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48026         Update.
48028         * manual/arith.texi (FP Exceptions): Document that exceptions may
48029         not be raised when matherr is used.
48030         (Math Error Reporting): Document overflow in directed rounding
48031         modes.  Document that errno may not be set when finite values are
48032         returned on overflow.  Document intent to set errno on underflow
48033         only for underflow to zero.
48035         [BZ #16271]
48036         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48037         round-to-nearest then adjust result for other rounding modes.
48038         * include/fenv.h (fegetround): Use libm_hidden_proto.
48039         * math/fegetround.c (fegetround): Use libm_hidden_def.
48040         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48041         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48042         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48043         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48044         Likewise.
48045         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48046         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48047         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48048         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48050 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48052         [BZ #16077]
48053         * nss/Versions (libnss_files): Add
48054         _nss_files_gethostbyname3_r.
48055         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48056         New function.
48057         (HOST_DB_LOOKUP): Remove macro.
48058         (_nss_files_gethostbyname_r): Implement function without the
48059         HOST_DB_LOOKUP macro.
48060         (_nss_files_gethostbyname2_r): Likewise.
48062 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48064         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48066 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48068         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48069         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48070         warning.
48072 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48074         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48075         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48076         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48077         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48078         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48079         __fe_nomask_env_priv and attribute_hidden.
48080         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48081         (libc_feupdateenv_test_ppc): Likewise.
48082         (libc_feresetround_ppc): Likewise.
48083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48084         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48085         compat_symbol macro.
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48087         (__fe_nomask_env): Likewise.
48088         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48090 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48092         * string/Makefile: Remove ifunc tests.
48093         * string/test-string.h: Define TEST_IFUNC.
48094         * string/test-bcopy-ifunc.c: Remove.
48095         * string/test-bzero-ifunc.c: Likewise.
48096         * string/test-memccpy-ifunc.c: Likewise.
48097         * string/test-memchr-ifunc.c: Likewise.
48098         * string/test-memcmp-ifunc.c: Likewise.
48099         * string/test-memcpy-ifunc.c: Likewise.
48100         * string/test-memmem-ifunc.c: Likewise.
48101         * string/test-memmove-ifunc.c: Likewise.
48102         * string/test-mempcpy-ifunc.c: Likewise.
48103         * string/test-memrchr-ifunc.c: Likewise.
48104         * string/test-memset-ifunc.c: Likewise.
48105         * string/test-rawmemchr-ifunc.c: Likewise.
48106         * string/test-stpcpy-ifunc.c: Likewise.
48107         * string/test-stpncpy-ifunc.c: Likewise.
48108         * string/test-strcasecmp-ifunc.c: Likewise.
48109         * string/test-strcasestr-ifunc.c: Likewise.
48110         * string/test-strcat-ifunc.c: Likewise.
48111         * string/test-strchr-ifunc.c: Likewise.
48112         * string/test-strchrnul-ifunc.c: Likewise.
48113         * string/test-strcmp-ifunc.c: Likewise.
48114         * string/test-strcpy-ifunc.c: Likewise.
48115         * string/test-strcspn-ifunc.c: Likewise.
48116         * string/test-strlen-ifunc.c: Likewise.
48117         * string/test-strncasecmp-ifunc.c: Likewise.
48118         * string/test-strncat-ifunc.c: Likewise.
48119         * string/test-strncmp-ifunc.c: Likewise.
48120         * string/test-strncpy-ifunc.c: Likewise.
48121         * string/test-strnlen-ifunc.c: Likewise.
48122         * string/test-strpbrk-ifunc.c: Likewise.
48123         * string/test-strrchr-ifunc.c: Likewise.
48124         * string/test-strspn-ifunc.c: Likewise.
48125         * string/test-strstr-ifunc.c: Likewise.
48127 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48129         * benchtests/Makefile: Remove ifunc tests.
48130         * benchtests/bench-string.h: Define TEST_IFUNC.
48131         * benchtests/bench-bcopy-ifunc.c: Remove.
48132         * benchtests/bench-bzero-ifunc.c: Likewise.
48133         * benchtests/bench-memccpy-ifunc.c: Likewise.
48134         * benchtests/bench-memchr-ifunc.c: Likewise.
48135         * benchtests/bench-memcmp-ifunc.c: Likewise.
48136         * benchtests/bench-memcpy-ifunc.c: Likewise.
48137         * benchtests/bench-memmem-ifunc.c: Likewise.
48138         * benchtests/bench-memmove-ifunc.c: Likewise.
48139         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48140         * benchtests/bench-memrchr-ifunc.c: Likewise.
48141         * benchtests/bench-memset-ifunc.c: Likewise.
48142         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48143         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48144         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48145         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48146         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48147         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48148         * benchtests/bench-strcat-ifunc.c: Likewise.
48149         * benchtests/bench-strchr-ifunc.c: Likewise.
48150         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48151         * benchtests/bench-strcmp-ifunc.c: Likewise.
48152         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48153         * benchtests/bench-strcpy-ifunc.c: Likewise.
48154         * benchtests/bench-strcspn-ifunc.c: Likewise.
48155         * benchtests/bench-strlen-ifunc.c: Likewise.
48156         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48157         * benchtests/bench-strncat-ifunc.c: Likewise.
48158         * benchtests/bench-strncmp-ifunc.c: Likewise.
48159         * benchtests/bench-strncpy-ifunc.c: Likewise.
48160         * benchtests/bench-strnlen-ifunc.c: Likewise.
48161         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48162         * benchtests/bench-strrchr-ifunc.c: Likewise.
48163         * benchtests/bench-strsep-ifunc.c: Likewise.
48164         * benchtests/bench-strspn-ifunc.c: Likewise.
48165         * benchtests/bench-strstr-ifunc.c: Likewise.
48167 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48169         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48171 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48173         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48174         * rt/aio.h: Likewise.
48175         * sysdeps/gnu/bits/utmp.h: Likewise.
48176         * sysdeps/gnu/bits/utmpx.h: Likewise.
48177         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48178         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48179         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48180         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48181         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48182         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48183         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48184         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48185         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48186         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48187         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48188         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48189         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48191         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48192         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48193         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48194         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48195         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48196         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48197         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48198         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48199         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48200         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48201         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48203         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48204         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48205         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48206         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48207         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48208         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48209         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48210         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48211         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48212         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48213         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48214         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48215         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48216         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48217         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48218         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48220 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48222         [BZ #16245]
48223         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48224         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48226 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48228         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48229         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48230         Likewise.
48232 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48234         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48235         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48236         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48237         (__fesetround): Remove define.
48238         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48239         rounding and exceptions handling.
48240         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48241         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48242         (__fe_nomask_env): Likewise.
48243         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48244         __fegetround instead of fegetround.
48245         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48246         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48248 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48250         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48251         it's there.
48253         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48255 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48257         [BZ #11157]
48258         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48259         (encrypt_r): Likewise.
48260         * malloc/obstack.h (obstack_free): Likewise.
48261         * posix/unistd.h (encrypt): Likewise.
48263 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48265         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48266         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48267         DL_CALL_DT_FINI() that call the functions directly.
48268         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48269         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48270         * elf/dl-fini.c: Likewise.
48272 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48274         * malloc/hooks.c (memalign_check): Add alignment rounding.
48275         * malloc/malloc.c (_mid_memalign): New function.
48276         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48277         Implement by calling _mid_memalign.
48278         * manual/probes.texi (Memory Allocation Probes): Remove
48279         memory_valloc_retry and memory_pvalloc_retry.
48281 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48283         * locale/programs/locarchive.c (open_archive): Add const
48284         qualifier to ARCHIVEFNAME and copy default fname to
48285         DEFAULT_FNAME.
48287         [BZ #15601]
48288         * libio/tst-widetext.input: Rename Oriya to Odia.
48289         * locale/iso-639.def: Likewise.
48291         * manual/probes.texi (Mathematical Function Probes): Add
48292         documentation for sin, cos, asin and acos probes.
48293         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48294         (__sin32): Add slowasin probe.
48295         (__cos32): Add slowacos probe.
48296         (__mpsin): Add slowsin probe.
48297         (__mpcos): Add slowcos probe.
48299 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48301         [BZ #15483]
48302         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48303         thread-local __sim_exceptions_thread and global
48304         __sim_exceptions_global.
48305         (__sim_disabled_exceptions): Change to thread-local
48306         __sim_disabled_exceptions_thread and global
48307         __sim_disabled_exceptions_global.
48308         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48309         and global __sim_round_mode_global.
48310         (__simulate_exceptions): Use thread-local floating-point state and
48311         set global state from it as needed.
48312         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48313         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48314         __sim_round_mode_thread.
48315         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48316         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48317         and global __sim_exceptions_global.
48318         (__sim_disabled_exceptions): Change to thread-local
48319         __sim_disabled_exceptions_thread and global
48320         __sim_disabled_exceptions_global.
48321         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48322         and global __sim_round_mode_global.
48323         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48324         (SIM_SET_GLOBAL): Likewise.
48325         * sysdeps/powerpc/soft-fp/sfp-machine.h
48326         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48327         __sim_round_mode_thread.
48328         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48329         __sim_disabled_exceptions_thread.
48330         (__sim_exceptions): Change to __sim_exceptions_thread.
48331         (__sim_disabled_exceptions): Change to
48332         __sim_disabled_exceptions_thread.
48333         (__sim_round_mode): Change to __sim_round_mode_thread.
48334         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48335         thread-local floating-point state and set global state from it as
48336         needed.
48337         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48338         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48339         (__sim_disabled_exceptions): Remove extern declaration.
48340         (feenableexcept): Use thread-local floating-point state and set
48341         global state from it as needed.
48342         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48343         extern declaration.
48344         (__sim_disabled_exceptions): Likewise.
48345         (__sim_round_mode): Likewise.
48346         (__fegetenv): Use thread-local floating-point state.
48347         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48348         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48349         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48350         floating-point state and set global state from it as needed.
48351         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48352         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48353         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48354         Likewise.
48355         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48356         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48357         Likewise.
48358         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48359         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48360         Use __sim_round_mode_thread.
48361         * math/test-fenv-tls.c: New file.
48362         * math/Makefile (tests): Add test-fenv-tls.
48363         ($(objpfx)test-fenv-tls): Depend on
48364         $(common-objpfx)nptl/libpthread.so.
48366 2013-11-19  Andreas Schwab  <schwab@suse.de>
48368         * locale/programs/locale.c (show_info): Decode wordarray elements.
48369         * locale/categories.def (LC_MONETARY): Add element for
48370         _NL_MONETARY_CRNCYSTR.
48371         * locale/C-monetary.c (conversion_rate): New variable.
48372         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48373         element.
48375 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48377         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48378         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48380 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48382         * elf/Makefile (tst-auxv): New test.
48383         * elf/tst-auxv.c: New
48384         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48386 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48388         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48389         (hidden_proto): Caller changed.
48390         (hidden_tls_proto): New macro.
48391         (libc_hidden_tls_proto): Likewise.
48392         (rtld_hidden_tls_proto): Likewise.
48393         (libm_hidden_tls_proto): Likewise.
48394         (libresolv_hidden_tls_proto): Likewise.
48395         (librt_hidden_tls_proto): Likewise.
48396         (libdl_hidden_tls_proto): Likewise.
48397         (libnss_files_hidden_tls_proto): Likewise.
48398         (libnsl_hidden_tls_proto): Likewise.
48399         (libnss_nisplus_hidden_tls_proto): Likewise.
48400         (libutil_hidden_tls_proto): Likewise.
48402 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48404         [BZ #10253]
48405         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48406         (decompose_rpath): Defer expansion to fillin_rpath.
48407         (_dl_init_paths): Pass linkmap to fillin_rpath.
48409 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48411         * benchtests/Makefile: Add strsep.
48412         * benchtests/bench-strsep.c: New file: strsep benchtest.
48413         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48415 2013-11-18  Andreas Schwab  <schwab@suse.de>
48417         * locale/programs/locale.c (show_info) [case byte]: Check for
48418         '\377' instead of '\177'.
48419         * locale/C-monetary.c (not_available): Always use "\377".
48420         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48421         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48422         detect unavailable sign_posn locale elements.
48423         * locale/localeconv.c (__localeconv): For grouping and
48424         mon_grouping handle "\177" and "\377" like no grouping.
48425         (INT_ELEM): New macro.  Use it to set all numeric members.
48426         * locale/programs/ld-monetary.c (monetary_read)
48427         <tok_mon_grouping>: Normalize single -1 to the empty string.
48428         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48429         Likewise.
48431 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48433         [BZ #16055]
48434         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48435         when we match (nil).
48436         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48438 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48440         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48441         (NO_TEST_INLINE): Update value.
48442         (ERRNO_UNCHANGED): Likewise.
48443         (ERRNO_EDOM): Likewise.
48444         (ERRNO_ERANGE): Likewise.
48445         (IGNORE_RESULT): Likewise.
48446         (check_float_internal): Check signs of NaN results if
48447         TEST_NAN_SIGN used.
48448         (check_complex): Pass TEST_NAN_SIGN flag through to second
48449         check_float_internal call.
48450         (copysign_test_data): Add tests with quiet NaNs as second
48451         argument.  Use TEST_NAN_SIGN.
48452         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48453         TEST_NAN_SIGN.
48454         (signbit_test_data): Add tests of quiet NaN argument.
48455         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48457         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48458         $ignore_result.
48459         (parse_args): Handle function results specified as IGNORE.
48460         * math/libm-test.inc (IGNORE_RESULT): New macro.
48461         (check_float_internal): Do not check numerical result if flag
48462         IGNORE_RESULT set.
48463         (check_complex): Pass through IGNORE_RESULT to second
48464         check_float_internal call.
48465         (check_int): Do not check numerical result if flag IGNORE_RESULT
48466         set.
48467         (check_long): Likewise.
48468         (check_bool): Likewise.
48469         (check_longlong): Likewise.
48470         (lrint_test_data): Add tests of infinite and NaN arguments.
48471         (lrint_tonearest_test_data): Likewise.
48472         (lrint_towardzero_test_data): Likewise.
48473         (lrint_downward_test_data): Likewise.
48474         (lrint_upward_test_data): Likewise.
48475         (llrint_test_data): Likewise.
48476         (llrint_tonearest_test_data): Likewise.
48477         (llrint_towardzero_test_data): Likewise.
48478         (llrint_downward_test_data): Likewise.
48479         (llrint_upward_test_data): Likewise.
48480         (lround_test_data): Likewise.
48481         (llround_test_data): Likewise.
48483         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48484         (ERRNO_UNCHANGED): Update value.
48485         (ERRNO_EDOM): Likewise.
48486         (ERRNO_ERANGE): Likewise.
48487         (NO_TEST_INLINE_FLOAT): New macro.
48488         (NO_TEST_INLINE_DOUBLE): Likewise.
48489         (enable_test): New function.
48490         (RUN_TEST_f_f): Check enable_test before running test.
48491         (RUN_TEST_2_f): Likewise.
48492         (RUN_TEST_fff_f): Likewise.
48493         (RUN_TEST_c_f): Likewise.
48494         (RUN_TEST_f_f1): Likewise.
48495         (RUN_TEST_fF_f1): Likewise.
48496         (RUN_TEST_fI_f1): Likewise.
48497         (RUN_TEST_ffI_f1): Likewise.
48498         (RUN_TEST_c_c): Likewise.
48499         (RUN_TEST_cc_c): Likewise.
48500         (RUN_TEST_f_i): Likewise.
48501         (RUN_TEST_f_i_tg): Likewise.
48502         (RUN_TEST_ff_i_tg): Likewise.
48503         (RUN_TEST_f_b): Likewise.
48504         (RUN_TEST_f_b_tg): Likewise.
48505         (RUN_TEST_f_l): Likewise.
48506         (RUN_TEST_f_L): Likewise.
48507         (RUN_TEST_fFF_11): Likewise.
48508         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48509         conditionals.
48510         (cosh_test_data): Likewise.
48511         (exp_test_data): Likewise.
48512         (expm1_test_data): Likewise.
48513         (hypot_test_data): Likewise.
48514         (pow_test_data): Likewise.
48515         (sinh_test_data): Likewise.
48516         (tanh_test_data): Likewise.
48517         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48518         flags argument.
48520         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48521         tests with quiet NaN input and output.
48522         (acosh_test_data): Likewise.
48523         (asin_test_data): Likewise.
48524         (asinh_test_data): Likewise.
48525         (atan_test_data): Likewise.
48526         (atanh_test_data): Likewise.
48527         (atan2_test_data): Likewise.
48528         (cbrt_test_data): Likewise.
48529         (cos_test_data): Likewise.
48530         (cosh_test_data): Likewise.
48531         (erf_test_data): Likewise.
48532         (erfc_test_data): Likewise.
48533         (exp_test_data): Likewise.
48534         (exp10_test_data): Likewise.
48535         (exp2_test_data): Likewise.
48536         (expm1_test_data): Likewise.
48537         (hypot_test_data): Likewise.
48538         (j0_test_data): Likewise.
48539         (j1_test_data): Likewise.
48540         (jn_test_data): Likewise.
48541         (lgamma_test_data): Likewise.
48542         (log_test_data): Likewise.
48543         (log10_test_data): Likewise.
48544         (log1p_test_data): Likewise.
48545         (log2_test_data): Likewise.
48546         (pow_test_data): Likewise.
48547         (scalb_test_data): Likewise.
48548         (sin_test_data): Likewise.
48549         (sincos_test_data): Likewise.
48550         (sinh_test_data): Likewise.
48551         (tan_test_data): Likewise.
48552         (tanh_test_data): Likewise.
48553         (tgamma_test_data): Likewise.
48554         (y0_test_data): Likewise.
48555         (y1_test_data): Likewise.
48556         (yn_test_data): Likewise.
48558         [BZ #16167]
48559         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48560         argument being NaN and avoid computations with second argument in
48561         that case.
48562         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48563         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48564         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48566 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48568         * locale/iso-639.def: Add Chitwani Tharu (the).
48570 2013-11-14  Andreas Schwab  <schwab@suse.de>
48572         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48573         word instead of empty string.
48575 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48578         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48580         (__fe_nomask_env): Likewise.
48582 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48584         * benchtests/bench-timing.h: Include time.h.
48586 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48588         [BZ #15997]
48589         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48590         to 3.4.0 for x32.
48591         * sysdeps/unix/sysv/linux/configure: Regenerated.
48593 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48595         [BZ #16151]
48596         * stdlib/strtod_l.c (round_and_return): Do not consider
48597         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48598         exponent one less than half the least subnormal exponent.
48599         * stdlib/test-strtod-round-data: Add more tests.
48600         * stdlib/tst-strtod-round.c (tests): Regenerated.
48602 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48604         [BZ #14143]
48605         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48606         (__fe_mask_env): Likewise.
48607         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48608         libm_hidden_proto and add function prototype.
48609         (__fe_mask_env): Add function prototype.
48610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48611         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48613         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48615         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48617 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48619         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48620         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48622 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48624         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48625         of htab_find_slot().
48627 2013-11-11  David S. Miller  <davem@davemloft.net>
48629         [BZ #16150]
48630         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48631         symbol in the non-vis3 case in static builds.
48632         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48633         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48634         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48635         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48637 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48639         [BZ #387]
48640         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48641         it is empty.
48643 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48645         * benchtests/Makefile: Add bench-strtod.
48646         * benchtests/bench-strtod.c: New file: strtod benchtest
48648 2013-11-11  Andreas Schwab  <schwab@suse.de>
48650         [BZ #16153]
48651         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48652         terminating NUL in key length.
48654 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48657         Add artificial ODP entry for vDSO symbol for PPC64.
48658         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48659         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48661 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48663         [BZ #15374]
48664         * nss/getent.c (services_keys): Recognize services starting with digit.
48666 2013-11-06  David S. Miller  <davem@davemloft.net>
48668         [BZ #15985]
48669         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48670         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48672 2013-11-06  Will Newton  <will.newton@linaro.org>
48674         * manual/memory.texi (Malloc Examples): Remove register
48675         keyword from examples.
48677 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48679         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48681 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48683         [BZ #6981]
48684         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48685         depending on [__GCC_IEC_559 > 0].
48686         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48687         depending on [__GCC_IEC_559_COMPLEX > 0].
48689 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48691         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48692         to iso-639.def.
48694 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48696         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48698 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48700         [BZ #16112]
48701         * malloc/malloc (malloc_info): Do not handle first bin as
48702         special case.
48704 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48706         * locale/iso-639.def: Add Central Nahuatl (nhn).
48708 2013-11-01  Bruno Haible  <bruno@clisp.org>
48710         [BZ #7003]
48711         * manual/math.texi (BSD Random): Specify range upper bound as
48712         in POSIX.
48714 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48716         * locale/iso-639.def: Add Meadow Mari (mhr).
48718 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48720         [BZ #14752], [BZ #15763]
48721         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48722         Validate name.
48723         * rt/tst_shm.c: Add test for escaping directory.
48725 2013-10-31  Andreas Schwab  <schwab@suse.de>
48727         [BZ #15917]
48728         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48729         followed by 'x' as part of digit sequence.
48730         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48732 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48734         [BZ #16037]
48735         * configure.ac: allow GNU Make 4.0 and greater.
48736         * configure: Regenerated.
48738 2013-10-30  Will Newton  <will.newton@linaro.org>
48740         [BZ #16038]
48741         * malloc/hooks.c (memalign_check): Limit alignment to the
48742         maximum representable power of two.
48743         * malloc/malloc.c (__libc_memalign): Likewise.
48744         * malloc/tst-memalign.c (do_test): Add test for very
48745         large alignment values.
48746         * malloc/tst-posix_memalign.c (do_test): Likewise.
48748 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48750         [BZ #11087]
48751         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48752         (munmap_chunk): Likewise.
48753         (mremap_chunk): Likewise.
48755 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48757         [BZ #15799]
48758         * stdlib/div.c (div): Remove obsolete code.
48759         * stdlib/ldiv.c (ldiv): Likewise.
48760         * stdlib/lldiv.c (lldiv): Likewise.
48762 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48764         [BZ #16071]
48765         * nss/nss_files/files-XXX.c (get_contents_ret): New
48766         enumerator.
48767         (get_contents): New function.
48768         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48770 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48772         * configure.in: Moved to ...
48773         * configure.ac: ... here. Change reference to configure.in
48774         to configure.ac.
48775         * sysdeps/arm/preconfigure.ac: ... here.
48776         configure.in to configure.ac.
48777         * sysdeps/gnu/configure.in: Moved to ...
48778         * sysdeps/gnu/configure.ac: ... here.
48779         * sysdeps/i386/configure.in: Moved to ...
48780         * sysdeps/i386/configure.ac: ... here.
48781         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48782         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48783         * sysdeps/mach/configure.in: Moved to ...
48784         * sysdeps/mach/configure.ac: ... here.
48785         * sysdeps/mach/hurd/configure.in: Moved to ...
48786         * sysdeps/mach/hurd/configure.ac: ... here.
48787         * sysdeps/powerpc/configure.in: Moved to ...
48788         * sysdeps/powerpc/configure.ac: ... here.
48789         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48790         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48791         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48792         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48793         * sysdeps/s390/s390-32/configure.in: Moved to ...
48794         * sysdeps/s390/s390-32/configure.ac: ... here.
48795         * sysdeps/s390/s390-64/configure.in: Moved to ...
48796         * sysdeps/s390/s390-64/configure.ac: ... here.
48797         * sysdeps/sh/configure.in: Moved to ...
48798         * sysdeps/sh/configure.ac: ... here.
48799         * sysdeps/sparc/configure.in: Moved to ...
48800         * sysdeps/sparc/configure.ac: ... here.
48801         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48802         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48803         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48804         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48805         * sysdeps/x86_64/configure.in: Moved to ...
48806         * sysdeps/x86_64/configure.ac: ... here.
48807         * sysdeps/x86_64/preconfigure.in: Moved to ...
48808         * sysdeps/x86_64/preconfigure.ac: ... here.
48809         * aclocal.m4: Change reference to configure.in to configure.ac.
48810         * config.h.in: Likewise.
48811         * manual/install.texi: Likewise.
48812         * manual/maint.texi: Likewise.
48813         * Makefile: Likewise.
48814         * malloc/Makefile: Likewise.
48815         * nscd/Makefile: Likewise.
48816         * Makeconfig: Change reference to configure.in and
48817         preconfigure.in to configure.ac and preconfigure.ac
48818         respectively.
48819         * INSTALL: Regenerated.
48820         * configure: Likewise.
48821         * sysdeps/gnu/configure: Likewise.
48822         * sysdeps/i386/configure: Likewise.
48823         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48824         * sysdeps/mach/configure: Likewise.
48825         * sysdeps/mach/hurd/configure: Likewise.
48826         * sysdeps/powerpc/configure: Likewise.
48827         * sysdeps/powerpc/powerpc32/configure: Likewise.
48828         * sysdeps/powerpc/powerpc64/configure: Likewise.
48829         * sysdeps/s390/s390-32/configure: Likewise.
48830         * sysdeps/s390/s390-64/configure: Likewise.
48831         * sysdeps/sh/configure: Likewise.
48832         * sysdeps/sparc/configure: Likewise.
48833         * sysdeps/unix/sysv/linux/configure: Likewise.
48834         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48835         * sysdeps/x86_64/configure: Likewise.
48836         * sysdeps/x86_64/preconfigure: Likewise.
48838 2013-10-29  Andreas Schwab  <schwab@suse.de>
48840         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48842 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * benchtests/pow-inputs: Add new inputs.
48846         * benchtests/exp-inputs: Add new inputs.
48848         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48849         conditional check for return value.
48850         (__cos32): Likewise.
48852 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48854         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48855         to provide a boost for large inputs with word alignment.
48856         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48857         implementation based on optimized PPC64 strcpy.
48858         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48859         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48860         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48861         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48863 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48865         [BZ #2801]
48866         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48868 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48870         [BZ #14876]
48871         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48872         * time/tst-strptime.c (day_tests): Add testcase.
48874 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48876         [BZ #14029]
48877         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48879 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48881         [BZ #16074]
48882         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48883         MAP_FAILED on error.
48885 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48887         [BZ #16072]
48888         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48889         heap for large requests.
48891 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48893         [BZ #9954]
48894         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48895         result if the result has no associated interface.
48896         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48897         interface for all 127.X.Y.Z addresses.
48899 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48901         * locale/iso-639.def: Add Ligurian (lij)
48903 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48905         [BZ #15825]
48906         * sunrpc/rpc_main.c: Document rpcgen -5.
48908 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48910         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48912 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48914         [BZ #10278]
48915         * posix/glob.c: Match only directories when trailing slash is present.
48916         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48917         (main): Add testcase.
48919 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48921         [BZ #15670]
48922         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48924 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48926         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48927         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48928         AUTH_DES and cindex for FIPS 140-2.
48929         (DES Encryption): Add cindex FIPS 46-3.
48931         * locale/locarchive.h (struct locarhandle): Add fname.
48932         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48933         if an optional argument was specified to --list-archive,
48934         otherwise NULL.
48935         * locale/programs/locarchive.c (show_archive_content): Take new
48936         argument fname and pass it via ah.fname to open_archive.
48937         * locale/programs/localedef.h: Update decl.
48938         (open_archive): If AH->fname is non-null, open that file
48939         rather than the default file name, and don't ignore ENOENT.
48940         (create_archive): Set AH.fname to NULL.
48941         (delete_locales_from_archive): Likewise.
48942         (add_locales_to_archive): Likewise.
48943         * locale/programs/locfile.c (write_all_categories): Likewise.
48945 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48946             Aldy Hernandez  <aldyh@redhat.com>
48948         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48949         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48950         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48951         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48952         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48953         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48954         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48955         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48956         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48957         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48958         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48959         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48960         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48961         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48962         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48963         Likewise.
48964         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48965         Likewise.
48966         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48967         Likewise.
48968         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48969         Likewise.
48970         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48971         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48972         Likewise.
48973         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48974         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48975         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48976         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48977         Likewise.
48978         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48979         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48980         * sysdeps/powerpc/preconfigure: Likewise.
48981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48982         Likewise.
48983         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48984         Replace contents of file by #include of <fenv_libc.h>.
48985         * sysdeps/powerpc/soft-fp/sfp-machine.h
48986         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48987         and <sys/prctl.h>.
48988         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48997         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48998         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49001         Allow copysignl PLT reference to be missing.
49003 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
49004             Joseph Myers  <joseph@codesourcery.com
49006         [BZ #15948]
49007         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49008         single character.
49009         (add_to_tablewc): Assert sequence of wide characters is nonempty.
49011 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49013         * elf/tst-tls-dlinfo.c: Don't include tls.h.
49014         * elf/tst-tls1.c: Likewise.
49015         * elf/tst-tls10.h: Likewise.
49016         * elf/tst-tls14.c: Likewise.
49017         * elf/tst-tls2.c: Likewise.
49018         * elf/tst-tls3.c: Likewise.
49019         * elf/tst-tls4.c: Likewise.
49020         * elf/tst-tls5.c: Likewise.
49021         * elf/tst-tls6.c: Likewise.
49022         * elf/tst-tls7.c: Likewise.
49023         * elf/tst-tls8.c: Likewise.
49024         * elf/tst-tls9.c: Likewise.
49025         * elf/tst-tlsmod1.c: Likewise.
49026         * elf/tst-tlsmod13.c: Likewise.
49027         * elf/tst-tlsmod13a.c: Likewise.
49028         * elf/tst-tlsmod14a.c: Likewise.
49029         * elf/tst-tlsmod16a.c: Likewise.
49030         * elf/tst-tlsmod16b.c: Likewise.
49031         * elf/tst-tlsmod2.c: Likewise.
49032         * elf/tst-tlsmod3.c: Likewise.
49033         * elf/tst-tlsmod4.c: Likewise.
49034         * elf/tst-tlsmod5.c: Likewise.
49035         * elf/tst-tlsmod6.c: Likewise.
49037 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
49039         [BZ #12486]
49040         * malloc/malloc.c: remove checks for statistics.
49042 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49044         [BZ #15277]
49045         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49046         * inet/tst-network.c: Add testcase.
49048 2013-10-17  Andreas Schwab  <schwab@suse.de>
49050         [BZ #15218]
49051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49052         to determine canonical name.
49054 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49056         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49057         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49059         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49060         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49061         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49063         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49064         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49065         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49066         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49067         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49068         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49069         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49071         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49073         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49074         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49075         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49079         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49080         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49081         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49082         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49083         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49084         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49085         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49086         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49087         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49088         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49089         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49090         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49091         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49092         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49093         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49094         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49095         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49096         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49097         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49098         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49099         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49100         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49101         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49102         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49103         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49104         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49105         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49106         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49107         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49108         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49109         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49110         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49111         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49113         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49115 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49117         [BZ #16041]
49118         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49119         make result into a quiet NaN.
49121 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49123         * soft-fp/adddf3.c: Fix horizontal whitespace.
49124         * soft-fp/addsf3.c: Likewise.
49125         * soft-fp/addtf3.c: Likewise.
49126         * soft-fp/divdf3.c: Likewise.
49127         * soft-fp/divsf3.c: Likewise.
49128         * soft-fp/divtf3.c: Likewise.
49129         * soft-fp/double.h: Likewise.
49130         * soft-fp/eqdf2.c: Likewise.
49131         * soft-fp/eqsf2.c: Likewise.
49132         * soft-fp/eqtf2.c: Likewise.
49133         * soft-fp/extenddftf2.c: Likewise.
49134         * soft-fp/extended.h: Likewise.
49135         * soft-fp/extendsfdf2.c: Likewise.
49136         * soft-fp/extendsftf2.c: Likewise.
49137         * soft-fp/extendxftf2.c: Likewise.
49138         * soft-fp/fixdfdi.c: Likewise.
49139         * soft-fp/fixdfsi.c: Likewise.
49140         * soft-fp/fixdfti.c: Likewise.
49141         * soft-fp/fixsfdi.c: Likewise.
49142         * soft-fp/fixsfsi.c: Likewise.
49143         * soft-fp/fixsfti.c: Likewise.
49144         * soft-fp/fixtfdi.c: Likewise.
49145         * soft-fp/fixtfsi.c: Likewise.
49146         * soft-fp/fixtfti.c: Likewise.
49147         * soft-fp/fixunsdfdi.c: Likewise.
49148         * soft-fp/fixunsdfsi.c: Likewise.
49149         * soft-fp/fixunsdfti.c: Likewise.
49150         * soft-fp/fixunssfdi.c: Likewise.
49151         * soft-fp/fixunssfsi.c: Likewise.
49152         * soft-fp/fixunssfti.c: Likewise.
49153         * soft-fp/fixunstfdi.c: Likewise.
49154         * soft-fp/fixunstfsi.c: Likewise.
49155         * soft-fp/fixunstfti.c: Likewise.
49156         * soft-fp/floatdidf.c: Likewise.
49157         * soft-fp/floatdisf.c: Likewise.
49158         * soft-fp/floatditf.c: Likewise.
49159         * soft-fp/floatsidf.c: Likewise.
49160         * soft-fp/floatsisf.c: Likewise.
49161         * soft-fp/floatsitf.c: Likewise.
49162         * soft-fp/floattidf.c: Likewise.
49163         * soft-fp/floattisf.c: Likewise.
49164         * soft-fp/floattitf.c: Likewise.
49165         * soft-fp/floatundidf.c: Likewise.
49166         * soft-fp/floatundisf.c: Likewise.
49167         * soft-fp/floatunditf.c: Likewise.
49168         * soft-fp/floatunsidf.c: Likewise.
49169         * soft-fp/floatunsisf.c: Likewise.
49170         * soft-fp/floatunsitf.c: Likewise.
49171         * soft-fp/floatuntidf.c: Likewise.
49172         * soft-fp/floatuntisf.c: Likewise.
49173         * soft-fp/floatuntitf.c: Likewise.
49174         * soft-fp/fmadf4.c: Likewise.
49175         * soft-fp/fmasf4.c: Likewise.
49176         * soft-fp/fmatf4.c: Likewise.
49177         * soft-fp/gedf2.c: Likewise.
49178         * soft-fp/gesf2.c: Likewise.
49179         * soft-fp/getf2.c: Likewise.
49180         * soft-fp/ledf2.c: Likewise.
49181         * soft-fp/lesf2.c: Likewise.
49182         * soft-fp/letf2.c: Likewise.
49183         * soft-fp/muldf3.c: Likewise.
49184         * soft-fp/mulsf3.c: Likewise.
49185         * soft-fp/multf3.c: Likewise.
49186         * soft-fp/negdf2.c: Likewise.
49187         * soft-fp/negsf2.c: Likewise.
49188         * soft-fp/negtf2.c: Likewise.
49189         * soft-fp/op-1.h: Likewise.
49190         * soft-fp/op-2.h: Likewise.
49191         * soft-fp/op-4.h: Likewise.
49192         * soft-fp/op-8.h: Likewise.
49193         * soft-fp/op-common.h: Likewise.
49194         * soft-fp/quad.h: Likewise.
49195         * soft-fp/single.h: Likewise.
49196         * soft-fp/soft-fp.h: Likewise.
49197         * soft-fp/sqrtdf2.c: Likewise.
49198         * soft-fp/sqrtsf2.c: Likewise.
49199         * soft-fp/sqrttf2.c: Likewise.
49200         * soft-fp/subdf3.c: Likewise.
49201         * soft-fp/subsf3.c: Likewise.
49202         * soft-fp/subtf3.c: Likewise.
49203         * soft-fp/truncdfsf2.c: Likewise.
49204         * soft-fp/trunctfdf2.c: Likewise.
49205         * soft-fp/trunctfsf2.c: Likewise.
49206         * soft-fp/trunctfxf2.c: Likewise.
49207         * soft-fp/unorddf2.c: Likewise.
49208         * soft-fp/unordsf2.c: Likewise.
49209         * soft-fp/unordtf2.c: Likewise.
49211 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49213         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49214         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49216 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49218         * elf/dl-libc.c: Clear initfini list after freeing.
49220 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49222         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49223         * soft-fp/addsf3.c: Likewise.
49224         * soft-fp/addtf3.c: Likewise.
49225         * soft-fp/divdf3.c: Likewise.
49226         * soft-fp/divsf3.c: Likewise.
49227         * soft-fp/divtf3.c: Likewise.
49228         * soft-fp/double.h: Likewise.
49229         * soft-fp/eqdf2.c: Likewise.
49230         * soft-fp/eqsf2.c: Likewise.
49231         * soft-fp/eqtf2.c: Likewise.
49232         * soft-fp/extenddftf2.c: Likewise.
49233         * soft-fp/extended.h: Likewise.
49234         * soft-fp/extendsfdf2.c: Likewise.
49235         * soft-fp/extendsftf2.c: Likewise.
49236         * soft-fp/extendxftf2.c: Likewise.
49237         * soft-fp/fixdfdi.c: Likewise.
49238         * soft-fp/fixdfsi.c: Likewise.
49239         * soft-fp/fixdfti.c: Likewise.
49240         * soft-fp/fixsfdi.c: Likewise.
49241         * soft-fp/fixsfsi.c: Likewise.
49242         * soft-fp/fixsfti.c: Likewise.
49243         * soft-fp/fixtfdi.c: Likewise.
49244         * soft-fp/fixtfsi.c: Likewise.
49245         * soft-fp/fixtfti.c: Likewise.
49246         * soft-fp/fixunsdfdi.c: Likewise.
49247         * soft-fp/fixunsdfsi.c: Likewise.
49248         * soft-fp/fixunsdfti.c: Likewise.
49249         * soft-fp/fixunssfdi.c: Likewise.
49250         * soft-fp/fixunssfsi.c: Likewise.
49251         * soft-fp/fixunssfti.c: Likewise.
49252         * soft-fp/fixunstfdi.c: Likewise.
49253         * soft-fp/fixunstfsi.c: Likewise.
49254         * soft-fp/fixunstfti.c: Likewise.
49255         * soft-fp/floatdidf.c: Likewise.
49256         * soft-fp/floatdisf.c: Likewise.
49257         * soft-fp/floatditf.c: Likewise.
49258         * soft-fp/floatsidf.c: Likewise.
49259         * soft-fp/floatsisf.c: Likewise.
49260         * soft-fp/floatsitf.c: Likewise.
49261         * soft-fp/floattidf.c: Likewise.
49262         * soft-fp/floattisf.c: Likewise.
49263         * soft-fp/floattitf.c: Likewise.
49264         * soft-fp/floatundidf.c: Likewise.
49265         * soft-fp/floatundisf.c: Likewise.
49266         * soft-fp/floatunsidf.c: Likewise.
49267         * soft-fp/floatunsisf.c: Likewise.
49268         * soft-fp/floatuntidf.c: Likewise.
49269         * soft-fp/floatuntisf.c: Likewise.
49270         * soft-fp/floatuntitf.c: Likewise.
49271         * soft-fp/fmadf4.c: Likewise.
49272         * soft-fp/fmasf4.c: Likewise.
49273         * soft-fp/fmatf4.c: Likewise.
49274         * soft-fp/gedf2.c: Likewise.
49275         * soft-fp/gesf2.c: Likewise.
49276         * soft-fp/getf2.c: Likewise.
49277         * soft-fp/ledf2.c: Likewise.
49278         * soft-fp/lesf2.c: Likewise.
49279         * soft-fp/letf2.c: Likewise.
49280         * soft-fp/muldf3.c: Likewise.
49281         * soft-fp/mulsf3.c: Likewise.
49282         * soft-fp/multf3.c: Likewise.
49283         * soft-fp/negdf2.c: Likewise.
49284         * soft-fp/negsf2.c: Likewise.
49285         * soft-fp/negtf2.c: Likewise.
49286         * soft-fp/op-1.h: Likewise.
49287         * soft-fp/op-2.h: Likewise.
49288         * soft-fp/op-4.h: Likewise.
49289         * soft-fp/op-8.h: Likewise.
49290         * soft-fp/op-common.h: Likewise.
49291         * soft-fp/quad.h: Likewise.
49292         * soft-fp/single.h: Likewise.
49293         * soft-fp/soft-fp.h: Likewise.
49294         * soft-fp/sqrtdf2.c: Likewise.
49295         * soft-fp/sqrtsf2.c: Likewise.
49296         * soft-fp/sqrttf2.c: Likewise.
49297         * soft-fp/subdf3.c: Likewise.
49298         * soft-fp/subsf3.c: Likewise.
49299         * soft-fp/subtf3.c: Likewise.
49300         * soft-fp/truncdfsf2.c: Likewise.
49301         * soft-fp/trunctfdf2.c: Likewise.
49302         * soft-fp/trunctfsf2.c: Likewise.
49303         * soft-fp/trunctfxf2.c: Likewise.
49304         * soft-fp/unorddf2.c: Likewise.
49305         * soft-fp/unordsf2.c: Likewise.
49306         * soft-fp/unordtf2.c: Likewise.
49308 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49310         [BZ #15672]
49311         * misc/error.c (error_tail): Fix possible buffer overflow.
49313 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49315         [BZ #13028]
49316         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49317         address.
49319 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49321         [BZ #832]
49322         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49323         testing pipefail option.
49325 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49327         * soft-fp/double.h: Indent preprocessor directives inside #if.
49328         * soft-fp/extended.h: Likewise.
49329         * soft-fp/op-2.h: Likewise.
49330         * soft-fp/op-4.h: Likewise.
49331         * soft-fp/op-common.h: Likewise.
49332         * soft-fp/quad.h: Likewise.
49333         * soft-fp/single.h: Likewise.
49334         * soft-fp/soft-fp.h: Likewise.
49336 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49338         * iconv/iconv_prog.c: Fix typos.
49339         * stdio-common/psiginfo-data.h: Likewise.
49341 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49343         [BZ #15764]
49344         * locale/setlocale.c: Fix typo.
49346 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49348         [BZ #16036]
49349         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49350         signaling NaN arguments.
49351         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49352         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49354         [BZ #14910]
49355         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49356         unordered operands.
49357         * soft-fp/gesf2.c (__gesf2): Likewise.
49358         * soft-fp/getf2.c (__getf2): Likewise.
49359         * soft-fp/ledf2.c (__ledf2): Likewise.
49360         * soft-fp/lesf2.c (__lesf2): Likewise.
49361         * soft-fp/letf2.c (__letf2): Likewise.
49363         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49364         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49365         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49366         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49367         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49368         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49369         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49370         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49371         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49372         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49373         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49374         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49375         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49376         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49377         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49378         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49379         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49380         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49381         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49382         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49383         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49384         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49385         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49386         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49387         * soft-fp/floattidf.c (__floattidf): Likewise.
49388         * soft-fp/floattisf.c (__floattisf): Likewise.
49389         * soft-fp/floattitf.c (__floattitf): Likewise.
49390         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49391         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49392         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49393         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49394         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49395         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49396         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49397         * soft-fp/gesf2.c (__gesf2): Likewise.
49398         * soft-fp/getf2.c (__getf2): Likewise.
49399         * soft-fp/ledf2.c (__ledf2): Likewise.
49400         * soft-fp/lesf2.c (__lesf2): Likewise.
49401         * soft-fp/letf2.c (__letf2): Likewise.
49403         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49404         Undefine and redefine.
49405         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49406         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49407         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49408         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49409         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49410         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49411         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49412         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49413         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49414         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49415         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49416         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49417         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49418         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49419         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49421         [BZ #16032]
49422         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49423         without decrementing exponent if mantissa >= that for the
49424         denominator, not >.
49425         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49426         denominator, not >.  Decrement exponent in < case instead of
49427         incrementing in >= case.
49428         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49429         without decrementing exponent if mantissa >= that for the
49430         denominator, not >.
49432         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49433         computing saturated result for unsigned overflow.
49435 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49436             Jeff Law  <law@redhat.com>
49438         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49439         (atan2Mp): Add systemtap probe marker.
49440         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49441         (__ieee754_log): Add systemtap probe marker.
49442         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49443         (atanMp): Add systemtap probe marker.
49444         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49445         (tanMp): Add systemtap probe marker.
49446         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49447         (__slowexp): Add systemtap probe marker.
49448         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49449         (__slowpow): Add systemtap probe marker.
49450         * manual/probes.texi: Document probes.
49452 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49454         [BZ #15362]
49455         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49456         written.
49457         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49458         written.
49459         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49460         written to buffer but not flushed.
49461         * libio/iofwrite_u.c:  Likewise.
49462         * libio/iopadn.c:  Return bytes returned even if EOF was
49463         encountered.
49464         * libio/iowpadn.c:  Likewise.
49465         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49466         if _IO_padn does not write the whole buffer.
49467         [!COMPILE_WPRINTF] (PAD): Likewise.
49469 2013-10-10  David S. Miller  <davem@davemloft.net>
49471         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49472         directory block.
49474 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49476         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49477         instead of FSF address.
49478         * soft-fp/fixdfti.c: Likewise.
49479         * soft-fp/fixsfti.c: Likewise.
49480         * soft-fp/fixtfti.c: Likewise.
49481         * soft-fp/fixunsdfti.c: Likewise.
49482         * soft-fp/fixunssfti.c: Likewise.
49483         * soft-fp/fixunstfti.c: Likewise.
49484         * soft-fp/floattidf.c: Likewise.
49485         * soft-fp/floattisf.c: Likewise.
49486         * soft-fp/floattitf.c: Likewise.
49487         * soft-fp/floatuntidf.c: Likewise.
49488         * soft-fp/floatuntisf.c: Likewise.
49489         * soft-fp/floatuntitf.c: Likewise.
49490         * soft-fp/trunctfxf2.c: Likewise.
49492         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49493         * soft-fp/fixdfti.c: Likewise.
49494         * soft-fp/fixsfti.c: Likewise.
49495         * soft-fp/fixtfti.c: Likewise.
49496         * soft-fp/fixunsdfti.c: Likewise.
49497         * soft-fp/fixunssfti.c: Likewise.
49498         * soft-fp/fixunstfti.c: Likewise.
49499         * soft-fp/floattidf.c: Likewise.
49500         * soft-fp/floattisf.c: Likewise.
49501         * soft-fp/floattitf.c: Likewise.
49502         * soft-fp/floatuntidf.c: Likewise.
49503         * soft-fp/floatuntisf.c: Likewise.
49504         * soft-fp/floatuntitf.c: Likewise.
49505         * soft-fp/trunctfxf2.c: Likewise.
49507 2013-10-10  David S. Miller  <davem@davemloft.net>
49509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49511 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49513         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49514         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49515         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49516         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49517         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49518         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49519         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49522         for NaNs before doing comparisons on argument.
49523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49524         Likewise.
49526 2013-10-10  Will Newton  <will.newton@linaro.org>
49528         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49529         passed to _int_memalign does not overflow.
49531 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49533         * scripts/bench.pl: Add include-sources directive.
49534         * benchtests/README: Update documentation.
49536 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49538         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49539         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49540         instead of FP_INIT_ROUNDMODE.
49541         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49542         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49544         [BZ #16034]
49545         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49546         copy class of input value.
49547         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49548         not handle exceptions.
49549         * soft-fp/negsf2.c (__negsf2): Likewise.
49550         * soft-fp/negtf2.c (__negtf2): Likewise.
49551         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49553 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49555         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49556         semicolon.  From Linux kernel.
49558 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49560         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49562 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49564         [BZ #156]
49565         * manual/socket.texi: Added statement about buffer
49566         for gethostbyname2_r.
49568 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49570         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49571         Use .p2align directive instead, throughout.
49572         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49573         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49574         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49575         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49576         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49577         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49578         * sysdeps/x86_64/strchr.S: Likewise.
49579         * sysdeps/x86_64/strrchr.S: Likewise.
49581 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49583         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49585         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49587         * sysdeps/generic/math_private.h (__mpsin1): Remove
49588         declaration.
49589         (__mpcos1): Likewise.
49590         (__mpsin): New argument __range_reduce.
49591         (__mpcos): Likewise.
49592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49593         (slow): Use __mpsin and __mpcos.
49594         (slow1): Likewise.
49595         (slow2): Likewise.
49596         (sloww): Likewise.
49597         (sloww1): Likewise.
49598         (sloww2): Likewise.
49599         (bsloww): Likewise.
49600         (bsloww1): Likewise.
49601         (bsloww2): Likewise.
49602         (cslow2): Likewise.
49603         (csloww): Likewise.
49604         (csloww1): Likewise.
49605         (csloww2): Likewise.
49606         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49607         range_reduce.  Merge in __mpsin1.
49608         (__mpcos): Likewise.
49609         (__mpsin1): Remove.
49610         (__mpcos1): Likewise.
49612 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49614         * locale/loadlocale.c (_nl_intern_locale_data): Use
49615         LOCFILE_ALIGNED_P.
49616         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49617         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49618         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49619         obstack data is appropriately aligned.
49620         (obstack_int32_grow_fast): Likewise.
49621         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49622         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49623         (add_locale_uint32_array): Likewise.
49625 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49627         * benchtests/Makefile: Remove ARGLIST and RET variables.
49628         ($(objpfx)bench-%.c): Pass only function name to the script.
49629         * benchtests/README: Update documentation.
49630         * benchtests/acos-inputs: Add new directives.
49631         * benchtests/acosh-inputs: Likewise.
49632         * benchtests/asin-inputs: Likewise.
49633         * benchtests/asinh-inputs: Likewise.
49634         * benchtests/atan-inputs: Likewise.
49635         * benchtests/atanh-inputs: Likewise.
49636         * benchtests/cos-inputs: Likewise.
49637         * benchtests/cosh-inputs: Likewise.
49638         * benchtests/exp-inputs: Likewise.
49639         * benchtests/log-inputs: Likewise.
49640         * benchtests/pow-inputs: Likewise.
49641         * benchtests/rint-inputs: Likewise.
49642         * benchtests/sin-inputs: Likewise.
49643         * benchtests/sinh-inputs: Likewise.
49644         * benchtests/tan-inputs: Likewise.
49645         * benchtests/tanh-inputs: Likewise.
49646         * scripts/bench.pl: Add support for new directives.
49648 2013-10-07  Alan Modra  <amodra@gmail.com>
49650         * README: Fix careless merge.
49652 2013-10-05  Alan Modra  <amodra@gmail.com>
49654         * NEWS: Mention powerpc64le support and bugs fixed.
49655         * README: Both big-endian and little-endian powerpc64 supported.
49657 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49659         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49660         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49661         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49662         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49664 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49666         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49667         match prototype.
49669 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49671         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49672         Move -mhard-float appending from
49673         ports/sysdeps/powerpc/powerpc32/Makefile.
49674         [$(with-fp) = yes] (ASFLAGS): Likewise.
49675         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49676         * sysdeps/powerpc/nofpu: Move directory from
49677         ports/sysdeps/powerpc/nofpu.
49678         * sysdeps/powerpc/soft-fp: Move directory from
49679         ports/sysdeps/powerpc/soft-fp.
49680         * sysdeps/powerpc/powerpc32/405: Move directory from
49681         ports/sysdeps/powerpc/powerpc32/405.
49682         * sysdeps/powerpc/powerpc32/440: Move directory from
49683         ports/sysdeps/powerpc/powerpc32/440.
49684         * sysdeps/powerpc/powerpc32/464: Move directory from
49685         ports/sysdeps/powerpc/powerpc32/464.
49686         * sysdeps/powerpc/powerpc32/476: Move directory from
49687         ports/sysdeps/powerpc/powerpc32/476.
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49689         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49693         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49697         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49698         * README: Update for powerpc-*-linux-gnu software floating point
49699         support in libc.
49701         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49702         case to powerpc/powerpc32*.
49703         * sysdeps/unix/sysv/linux/configure: Regenerated.
49705         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49706         (_FPU_MASK_OM): Define as 0x04.
49707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49709         0x00c10080.
49710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49711         0x0000003c.
49712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49716         getcontext_e500.
49717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49718         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49719         setcontext_e500.
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49721         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49722         and setcontext_e500.
49724 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49726         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49728 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49730         * manual/threads.texi (Default Thread Attributes): Fix typo.
49732 2013-10-04  Will Newton  <will.newton@linaro.org>
49734         * malloc/Makefile: Add tst-memalign.
49735         * malloc/tst-memalign.c: New file.
49737         * malloc/tst-posix_memalign.c: Add comments.
49738         (do_test): Add comments and call free on all potentially
49739         allocated pointers. Add space after cast.
49741         * malloc/tst-pvalloc.c: Add comments.
49742         (do_test): Add comments and call free on all potentially
49743         allocated pointers. Remove duplicate check for NULL pointer.
49744         Add space after cast.
49746         * malloc/tst-valloc.c: Add comments.
49747         (do_test): Add comments and call free on all potentially
49748         allocated pointers. Remove duplicate check for NULL pointer.
49749         Add space after cast.
49751 2013-10-04  Alan Modra  <amodra@gmail.com>
49753         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49754         Use stdint types in rather than __attribute__((mode())).
49755         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49757 2013-10-04  Alan Modra  <amodra@gmail.com>
49759         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49760         Correct handling of unaligned relocs for little-endian.
49761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49763 2013-10-04  Alan Modra  <amodra@gmail.com>
49765         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49766         * configure: Regenerate.
49767         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49768         * shlib-versions: Likewise.
49770 2013-10-04  Alan Modra  <amodra@gmail.com>
49772         * string/tester.c (test_memrchr): Increment reported test cycle.
49774 2013-10-04  Alan Modra  <amodra@gmail.com>
49776         * string/test-memcpy.c (do_one_test): When reporting errors, print
49777         string address and don't overrun end of string.
49779 2013-10-04  Alan Modra  <amodra@gmail.com>
49781         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49782         insrdi.  Make better use of reg selection to speed exit slightly.
49783         Schedule entry path a little better.  Remove useless "are we done"
49784         checks on entry to main loop.  Handle wrapping around zero address.
49785         Correct main loop count.  Handle single left-over word from main
49786         loop inline rather than by using loop_small.  Remove extra word
49787         case in loop_small caused by wrong loop count.  Add little-endian
49788         support.
49789         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49790         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49791         cache hint.
49792         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49793         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49794         support.  Avoid rlwimi.
49795         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49797 2013-10-04  Alan Modra  <amodra@gmail.com>
49799         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49800         insrdi.  Formatting.
49801         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49802         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49803         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49804         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49806         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49808 2013-10-04  Alan Modra  <amodra@gmail.com>
49810         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49811         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49812         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49813         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49814         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49815         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49817         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49818         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49819         use of regs.  Use power7 mtocrf.  Tidy function tails.
49821 2013-10-04  Alan Modra  <amodra@gmail.com>
49823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49824         Formatting.  Consistently use rXXX register defines or rN defines.
49825         Use early exit labels that avoid restoring unused non-volatile regs.
49826         Make cr field use more consistent with rWORDn compares.  Rename
49827         regs used as shift registers for unaligned loop, using rN defines
49828         for short lifetime/multiple use regs.
49829         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49830         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49831         addi 1,1,64 to pop stack frame.  Simplify return value code.
49832         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49834 2013-10-04  Alan Modra  <amodra@gmail.com>
49836         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49837         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49838         rather than rlwimi.
49839         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49840         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49841         little-endian support.  Correct typos.
49842         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49843         rather than rlwimi.
49844         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49845         in loop and entry code to keep "and." results.
49846         (strchr): Add little-endian support.  Comment.  Move cntlzd
49847         earlier in tail.
49848         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49850 2013-10-04  Alan Modra  <amodra@gmail.com>
49852         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49853         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49854         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49855         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49857 2013-10-04  Alan Modra  <amodra@gmail.com>
49859         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49860         (rTMP): Define as r11.
49861         (strcmp): Add little-endian support.  Optimise tail.
49862         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49863         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49864         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49865         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49866         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49867         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49868         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49870 2013-10-04  Alan Modra  <amodra@gmail.com>
49872         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49873         little-endian support.  Remove unnecessary "are we done" tests.
49874         Handle "s" wrapping around zero and extremely large "size".
49875         Correct main loop count.  Handle single left-over word from main
49876         loop inline rather than by using small_loop.  Correct comments.
49877         Delete "zero" tail, use "end_max" instead.
49878         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49880 2013-10-04  Alan Modra  <amodra@gmail.com>
49882         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49883         support.  Don't branch over align.
49884         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49885         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49886         support.  Rearrange tmp reg use to suit.  Comment.
49887         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49889 2013-10-04  Alan Modra  <amodra@gmail.com>
49891         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49893 2013-10-04  Alan Modra  <amodra@gmail.com>
49895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49896         conditional form of branch and link when obtaining pc.
49897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49899 2013-10-04  Alan Modra  <amodra@gmail.com>
49901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49902         HIWORD/LOWORD.
49903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49906 2013-10-04  Alan Modra  <amodra@gmail.com>
49908         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49909         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49910         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49911         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49912         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49913         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49914         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49915         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49916         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49917         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49919 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49920             Alistair Popple <alistair@ozlabs.au.ibm.com>
49921             Alan Modra <amodra@gmail.com>
49923         [BZ #15723]
49924         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49925         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49926         _dl_hwcap access for little-endian.
49927         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49928         destroy vmx regs when saving unaligned.
49929         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49930         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49931         destroy vmx regs when saving unaligned.
49933 2013-10-04  Alan Modra  <amodra@gmail.com>
49935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49936         Don't use a union to pack hi/low value.
49938 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49940         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49941         for little-endian.
49942         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49943         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49944         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49945         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49946         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49948 2013-10-04  Alan Modra  <amodra@gmail.com>
49950         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49951         constants to usual value for .cst8 section, and remove redundant
49952         high address load.
49953         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49954         constant for 0x1p52.  Load little-endian words of double from
49955         correct stack offsets.
49957 2013-10-04  Alan Modra  <amodra@gmail.com>
49959         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49960         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49961         words of double from correct stack offsets.
49962         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49963         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49964         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49965         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49966         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49967         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49968         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49969         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49970         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49974         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49975         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49976         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49977         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49978         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49980 2013-10-04  Alan Modra  <amodra@gmail.com>
49982         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49983         64-bit int/double union.
49984         (_FPU_SETCW): Likewise.
49985         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49986         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49988 2013-10-04  Alan Modra  <amodra@gmail.com>
49990         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49991         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49993 2013-10-04  Alan Modra  <amodra@gmail.com>
49995         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49996         use vector int constants.
49997         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49999 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50001         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50002         array with long long.
50003         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50004         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50005         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50006         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50007         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50008         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50009         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50010         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50011         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50012         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50013         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50014         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50015         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50017 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50019         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50020         (__signbit): Likewise.  Correct for little-endian.
50021         (__signbitl): Call __signbit.
50022         (lrint): Correct for little-endian.
50023         (lrintf): Call lrint.
50025 2013-10-04  Alan Modra  <amodra@gmail.com>
50027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50028         union 32-bit int array member with 64-bit int array.
50029         (t515, tm256): Double rather than long double.
50030         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50032 2013-10-04  Alan Modra  <amodra@gmail.com>
50034         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50035         Delete.
50036         (IEEE854_LONG_DOUBLE_BIAS): Delete.
50037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50038         version of math_ldbl.h.
50040 2013-10-04  Alan Modra  <amodra@gmail.com>
50042         [BZ #15734], [BZ #15735]
50043         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50044         all uses of ieee875 long double macros and unions.  Simplify test
50045         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50046         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50047         normalize after ldbl_extract_mantissa, and don't add hidden bit
50048         already handled.  Don't treat low word of ieee854 mantissa like
50049         low word of IBM long double and mask off bit when testing for
50050         zero.
50051         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50052         all uses of ieee875 long double macros and unions.  Simplify tests
50053         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50054         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50055         two1022, instead use their values.  Recognise that tests for large
50056         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50057         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50058         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50059         test for 0.0L and nan.  Correct negation.
50060         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50061         ieee875 long double macros and unions.  Correct output for large
50062         magnitude x.  Correct absolute value calculation.
50063         (__erfcl): Likewise.
50064         * math/libm-test.inc: Add tests for errors discovered in IBM long
50065         double versions of fmodl, remainderl, erfl and erfcl.
50067 2013-10-04  Alan Modra  <amodra@gmail.com>
50069         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50070         all uses of ieee854 long double macros and unions.  Simplify tests
50071         for long doubles that are fully specified by the high double.
50072         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50073         Likewise.
50074         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50075         Remove dead code too.
50076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50077         (__ieee754_ynl): Likewise.
50078         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50079         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50080         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50081         Remove dead code too.
50082         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50083         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50084         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50085         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50086         Simplify.
50087         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50088         Simplify.
50089         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50090         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50091         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50092         Comment on variable precision.
50093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50094         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50095         Likewise.
50096         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50097         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50098         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50099         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50102 2013-10-04  Alan Modra  <amodra@gmail.com>
50104         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50105         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50106         all uses of ieee854 long double macros and unions.
50107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50109         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50110         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50111         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50113         Likewise.
50114         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50115         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50117         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50118         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50119         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50120         Simplify sign and nan test too.
50121         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50122         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50123         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50124         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50125         Likewise.
50126         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50127         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50128         Likewise.
50129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50130         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50131         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50132         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50133         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50136 2013-10-04  Alan Modra  <amodra@gmail.com>
50138         * stdio-common/printf_size.c (__printf_size): Don't use
50139         union ieee854_long_double in fpnum union.
50140         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50141         signbit macro to retrieve sign from long double.
50142         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50143         retrieve sign from long double.
50144         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50145         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50146         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50147         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50148         * math/test-misc.c (main): Don't use union ieee854_long_double.
50150 2013-10-04  Alan Modra  <amodra@gmail.com>
50152         [BZ #15680]
50153         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50154         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50155         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50156         calculation.  Remove unnecessary test for denormal exponent.
50157         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50158         Correct handling of denormals.  Avoid undefined shift behaviour.
50159         Correct normalisation of low mantissa when low double is denormal.
50160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50161         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50162         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50163         Correct normalisation of low mantissa.  Test for overflow of high
50164         mantissa and normalise.
50165         (ldbl_nearbyint): Use more readable constant for two52.
50166         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50167         (__mpn_construct_long_double): Fix test for overflow of high
50168         mantissa and correct normalisation.  Avoid undefined shift.
50170 2013-10-04  Alan Modra  <amodra@gmail.com>
50172         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50173         (union ibm_extended_long_double): Define as an array of ieee754_double.
50174         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50175         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50176         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50177         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50181         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50184         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50186 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50188         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50189         page size instead of calling getpagesize.
50191         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50192         (LOCFILE_ALIGN_MASK): Likewise.
50193         (LOCFILE_ALIGN_UP): Likewise.
50194         (LOCFILE_ALIGNED_P): Likewise.
50195         * locale/programs/ld-collate.c (collate_output): Use the new
50196         macros instead of __alignof__ (int32_t).
50197         * locale/weight.h (findidx): Likewise.
50199 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50201         [BZ #431]
50202         * manual/string.texi: Fix strncat and wcsncat.
50204 2013-10-03  Brooks Moses  <bmoses@google.com>
50206         [BZ #15915]
50207         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50208         * Makerules: ...here, and adjust associated comments.
50210 2013-10-02  Will Newton  <will.newton@linaro.org>
50212         * malloc/Makefile: Add tst-pvalloc.
50213         * malloc/tst-pvalloc.c: New file.
50215 2013-10-02  Will Newton  <will.newton@linaro.org>
50217         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50218         improve test coverage.
50220 2013-10-02  Will Newton  <will.newton@linaro.org>
50222         * malloc/Makefile: Add tst-posix_memalign.
50223         * malloc/tst-posix_memalign.c: New file.
50225 2013-10-01  Eric Blake  <eblake@redhat.com>
50227         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50228         Use __THROWNL rather than __THROW on static functions.
50230 2013-09-30  Petr Machata  <pmachata@redhat.com>
50232         * elf/elf.h (R_AARCH64_ABS16): New macro.
50233         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50234         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50235         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50236         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50237         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50238         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50239         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50240         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50241         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50242         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50243         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50244         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50245         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50246         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50247         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50248         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50249         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50250         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50251         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50252         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50253         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50254         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50255         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50256         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50257         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50258         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50259         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50260         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50261         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50262         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50263         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50264         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50265         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50266         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50267         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50268         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50269         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50270         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50271         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50272         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50273         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50274         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50275         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50276         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50277         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50278         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50279         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50280         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50281         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50282         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50283         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50284         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50285         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50286         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50287         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50288         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50289         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50290         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50291         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50292         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50293         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50294         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50295         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50296         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50297         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50298         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50299         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50300         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50301         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50302         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50303         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50304         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50305         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50306         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50307         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50308         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50309         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50310         (R_AARCH64_TLSDESC_LDR): Likewise.
50311         (R_AARCH64_TLSDESC_ADD): Likewise.
50312         (R_AARCH64_TLSDESC_CALL): Likewise.
50314 2013-09-30  Andreas Schwab  <schwab@suse.de>
50316         [BZ #15048]
50317         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50318         the nss database lookup.
50319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50322 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50324         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50326 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50328         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50329         ${Bash-specific parameter/pattern/string} parameter expansion.
50330         * sysdeps/unix/make-syscalls.sh: Likewise.
50332 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50334         * sysdeps/sh/stackguard-macros.h: New file.
50336 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50340         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50341         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50342         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50343         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50345 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50347         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50348         Fix thread ID register.
50350 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50352         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50353         [POSIX || UNIX98]: Require rather than permitting all symbols from
50354         <time.h>.
50355         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50356         element of struct sched_param.
50357         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50358         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50359         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50360         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50361         constant.
50363 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50365         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50366         argument calculation.
50368 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50370         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50371         Expect macro.
50372         [POSIX] (pthread_attr_t): Do not require type.
50373         [POSIX] (pthread_cond_t): Likewise.
50374         [POSIX] (pthread_condattr_t): Likewise.
50375         [POSIX] (pthread_key_t): Likewise.
50376         [POSIX] (pthread_mutex_t): Likewise.
50377         [POSIX] (pthread_mutexattr_t): Likewise.
50378         [POSIX] (pthread_once_t): Likewise.
50379         [POSIX] (pthread_t): Likewise.
50380         [POSIX-based standards] (pthread_atfork): Expect function.
50382 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50383             Richard Sandiford  <richard@codesourcery.com>
50385         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50386         (swap_endianness_p): New extern variable.
50387         (set_big_endian): New inline function.
50388         (maybe_swap_uint32): Likewise.
50389         (maybe_swap_uint32_array): Likewise.
50390         (maybe_swap_uint32_obstack): Likewise.
50391         * locale/programs/locfile.c: Include <stdbool.h>.
50392         (swap_endianness_p): New variable.
50393         (add_locale_uint32): Call maybe_swap_uint32.
50394         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50395         (write_locale_data): Call maybe_swap_uint32_array.
50396         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50397         maybe_swap_uint32.
50398         (obstack_int32_grow_fast): Likewise.
50399         (output_weightwc): Call maybe_swap_uint32_obstack.
50400         (collate_output): Likewise.
50401         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50402         (OPT_LITTLE_ENDIAN): Likewise.
50403         (options): Add --little-endian and --big-endian options.
50404         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50405         * locale/programs/locarchive.c: Include "locfile.h".
50406         (GET): New macro.
50407         (SET): Likewise.
50408         (INC): Likewise.
50409         (create_archive): Use the new macros to access fields of
50410         structures directly mapped from or written to locale archives.
50411         (oldlocrecentcmp): Likewise.
50412         (enlarge_archive): Likewise.
50413         (insert_name): Likewise.
50414         (add_alias): Likewise.
50415         (add_locale): Likewise.
50416         (delete_locales_from_archive): Likewise.
50417         (show_archive_content): Likewise.
50418         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50419         locale data.
50421 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50423         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50424         http://www.gnu.org/doc/freemanuals.texi.
50425         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50427 2013-09-24  Will Newton  <will.newton@linaro.org>
50429         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50430         macro.
50432 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50434         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50435         unsigned char.
50437 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50439         * manual/threads.texi (POSIX Threads): Fix a typo.
50441 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50443         [BZ #14547]
50444         * string/tst-strcoll-overflow.c: New test case.
50445         * string/Makefile (xtests): Add tst-strcoll-overflow.
50446         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50447         cache if string sizes may cause integer overflow.
50449         [BZ #14547]
50450         * string/strcoll_l.c (coll_seq): New members rule, idx,
50451         save_idx and back_us.
50452         (get_next_seq_nocache): New function.
50453         (do_compare_nocache): New function.
50454         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50455         when malloc fails.
50457 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50459         [BZ #15754]
50460         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50461         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50462         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50464         [BZ #15754]
50465         * elf/Makefile (tests): Add tst-ptrguard1.
50466         (tests-static): Add tst-ptrguard1-static.
50467         (tst-ptrguard1-ARGS): Define.
50468         (tst-ptrguard1-static-ARGS): Define.
50469         * elf/tst-ptrguard1.c: New file.
50470         * elf/tst-ptrguard1-static.c: New file.
50471         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50472         * sysdeps/i386/stackguard-macros.h: Likewise.
50473         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50474         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50475         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50476         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50477         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50478         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50480 2013-09-23  Hector Marco  <hecmargi@upv.es>
50481             Ismael Ripoll  <iripoll@disca.upv.es>
50482             Carlos O'Donell  <carlos@redhat.com>
50484         [BZ #15754]
50485         * sysdeps/generic/stackguard-macros.h: Define
50486         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50487         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50488         Define __pointer_chk_guard_local.
50489         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50490         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50492 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50494         [BZ #15859]
50495         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50497 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50499         * include/string.h (__ffs): Declare as hidden.
50500         * string/ffs.c (__ffs): Define as hidden.
50501         * sysdeps/i386/ffs.c (__ffs): Likewise.
50502         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50503         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50504         * sysdeps/s390/ffs.c (__ffs): Likewise.
50505         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50507 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50509         * NEWS: Mention malloc probes.
50511         * malloc/arena.c (new_heap): New memory_heap_new probe.
50512         (grow_heap): New memory_heap_more probe.
50513         (shrink_heap): New memory_heap_less probe.
50514         (heap_trim): New memory_heap_free probe.
50515         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50516         (systrim): New memory_sbrk_less probe.
50517         * manual/probes.texi: Document them.
50519         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50520         * manual/probes.texi: Document it.
50522         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50523         (__libc_realloc): Add memory_realloc_retry probe.
50524         (__libc_memalign): Add memory_memalign_retry probe.
50525         (__libc_valloc): Add memory_valloc_retry probe.
50526         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50527         (__libc_calloc): Add memory_calloc_retry probe.
50528         * manual/probes.texi: Document them.
50530         * malloc/arena.c (get_free_list): Add probe
50531         memory_arena_reuse_free_list.
50532         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50533         and memory_arena_reuse.
50534         (arena_get2) [!PER_THREAD]: Likewise.
50535         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50536         memory_arena_reuse_realloc.
50537         * manual/probes.texi: Document them.
50539         * malloc/malloc.c (__libc_free): Add
50540         memory_mallopt_free_dyn_thresholds probe.
50541         (__libc_mallopt): Add multiple memory_mallopt probes.
50542         * manual/probes.texi: Document them.
50544         * malloc/malloc.c: Include stap-probe.h.
50545         (__libc_mallopt): Add memory_mallopt probe.
50546         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50547         * manual/probes.texi: New.
50548         * manual/Makefile (chapters): Add probes.
50549         * manual/threads.texi: Set next node.
50551 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50553         [BZ #15963, #13985]
50554         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50555         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50556         Add `Chinese' to `nan' entry name.
50558 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50560         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50561         (POLYNOMIAL): Likewise.
50562         (TAYLOR_SINCOS): Likewise.
50563         (TAYLOR_SLOW): Likewise.
50564         (__sin): Use TAYLOR_SINCOS.
50565         (__cos): Likewise.
50566         (slow): Use TAYLOR_SLOW.
50567         (sloww): Likewise.
50568         (bsloww): Likewise.
50569         (csloww): Likewise.
50571 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50573         * stdlib/strtod_l.c: Fix buffer overrun.
50575 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50577         * benchtests/Makefile (bench): Add sincos.
50578         * benchtests/bench-sincos.c: New file.
50580         * math/libm-test.inc (cos_test_data): New test inputs.
50581         (sin_test_data): Likewise.
50583         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50584         macro.
50585         (__sin): Use it.
50586         (__cos): Likewise.
50587         (slow1): Likewise.
50588         (slow2): Likewise.
50589         (sloww1): Likewise.
50590         (sloww2): Likewise.
50591         (bsloww1): Likewise.
50592         (bsloww2): Likewise.
50593         (cslow2): Likewise.
50594         (csloww1): Likewise.
50595         (csloww2): Likewise.
50597         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50598         function.
50599         (__sin): Use it.
50600         (__cos): Likewise.
50602         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50603         gotos.
50604         (__cos): Likewise.
50606 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50608         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50609         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50610         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50611         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50612         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50613         * elf/cache.c (print_entry): Handle the new cache flags.
50615 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50616             Aldy Hernandez  <aldyh@redhat.com>
50618         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50619         Change condition to [_SOFT_FLOAT].
50620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50632         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50635         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50636         declaration.
50638 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50640         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50641         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50642         (__longjmp): Use LOAD_GP to load saved GPRs.
50643         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50644         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50645         (__sigsetjmp): Use SAVE_GP to save GPRs.
50647         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50648         Do not append -msoft-float.
50649         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50651 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50653         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50655 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50657         [BZ #15966]
50658         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50659         (_FPU_GETCW): Use initial "__" on variable and field names but not
50660         on macro parameter name.
50661         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50662         parentheses around reference to macro parameter.
50664 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50666         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50667         prototype.
50668         (ctype_startup): Use uint32_t in cast and sizeof for
50669         ctype->charnames.
50671 2013-09-11  Jia Liu  <proljc@gmail.com>
50673         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50674         __daddr_t_defined.
50675         [__FreeBSD__]: Likewise.
50677 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50680         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50681         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50682         (strchr): Remove __strchr_sse42 ifunc selection.
50683         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50684         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50686 2013-09-11  Will Newton  <will.newton@linaro.org>
50688         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50689         parameter to RES. Remove hardcoded 1000 value.
50690         * benchtests/bench-skeleton.c (main): Pass RES parameter
50691         to TIMING_INIT and multiply result by 1000.
50693 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50697 2013-09-11  Andreas Schwab  <schwab@suse.de>
50699         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50700         if not defined.
50701         (O_TMPFILE) [__USE_GNU]: Define.
50702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50703         Define.
50705 2013-09-11  Will Newton  <will.newton@linaro.org>
50707         [BZ #15857]
50708         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50709         does not overflow.
50711 2013-09-11  Will Newton  <will.newton@linaro.org>
50713         [BZ #15856]
50714         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50715         does not overflow.
50717 2013-09-11  Will Newton  <will.newton@linaro.org>
50719         [BZ #15855]
50720         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50721         does not overflow.
50723 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50725         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50726         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50731 2013-09-10  Allan McRae  <allan@archlinux.org>
50733         [BZ #15748]
50734         * manual/arith.texi (Parsing of Floats): Clarify
50735         cross-reference.
50737         [BZ #15849]
50738         * manual/install.texi (Running make install): Mention
50739         --enable-pt-chown.
50740         * INSTALL: Regenerated.
50742 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50744         * csu/init-first.c (_init): Remove the !SHARED condition around
50745         FPU control word initialization.
50746         * elf/dl-support.c (_dl_fpu_control): New variable.
50747         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50748         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50749         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50750         * math/test-fpucw-static.c: New file.
50751         * math/test-fpucw-ieee.c: New file.
50752         * math/test-fpucw-ieee-static.c: New file.
50753         * math/Makefile (tests): Add `test-fpucw-ieee' and
50754         `$(tests-static)'.
50755         (tests-static): New variable.
50756         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50757         dependency to...
50758         [($(build-shared),yes)]
50759         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50760         ... this.
50761         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50762         New dependency.
50764 2013-09-09  Allan McRae  <allan@archlinux.org>
50766         [BZ #15939]
50767         * manual/string.texi (Collation Functions): Fix typo in
50768         strcoll example.
50769         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50771         [BZ #15893]
50772         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50774         [BZ #15892]
50775         * libio/memstream.c (open_memstream): Fix memory leak.
50776         * libio/wmemstream.c (open_wmemstream): Likewise.
50778         [BZ #15895]
50779         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50781 2013-09-09  Will Newton  <will.newton@linaro.org>
50783         * malloc/Makefile: Add tst-realloc to tests.
50784         * malloc/tst-realloc.c: New file.
50786 2013-09-09  Allan McRae  <allan@archlinux.org>
50788         [BZ #15844]
50789         * COPYING: Update from GNU website to fix FSF address.
50790         * COPYING.LIB: Likewise.
50792 2013-09-06  David S. Miller  <davem@davemloft.net>
50794         * po/zh_TW.po: Update Chinese (traditional) translation from
50795         translation project.
50797 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50798             Joseph Myers  <joseph@codesourcery.com>
50800         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50801         "localeinfo.h".
50802         (obstack_chunk_alloc): New macro.
50803         (obstack_chunk_free): Likewise.
50804         (record_offset): New function.
50805         (init_locale_data): Likewise.
50806         (align_locale_data): Likewise.
50807         (add_locale_empty): Likewise.
50808         (add_locale_raw_data): Likewise.
50809         (add_locale_raw_obstack): Likewise.
50810         (add_locale_string): Likewise.
50811         (add_locale_wstring): Likewise.
50812         (add_locale_uint32): Likewise.
50813         (add_locale_uint32_array): Likewise.
50814         (add_locale_char): Likewise.
50815         (start_locale_structure): Likewise.
50816         (end_locale_structure): Likewise.
50817         (start_locale_prelude): Likewise.
50818         (end_locale_prelude): Likewise.
50819         (write_locale_data): Take locale_file structure rather than an
50820         iovec.
50821         * locale/programs/locfile.h: Include "obstack.h".
50822         (struct locale_file): Change to store locale file contents instead
50823         of header.
50824         (init_locale_data): New prototype.
50825         (align_locale_data): Likewise.
50826         (add_locale_empty): Likewise.
50827         (add_locale_raw_data): Likewise.
50828         (add_locale_raw_obstack): Likewise.
50829         (add_locale_string): Likewise.
50830         (add_locale_wstring): Likewise.
50831         (add_locale_uint32): Likewise.
50832         (add_locale_uint32_array): Likewise.
50833         (add_locale_char): Likewise.
50834         (start_locale_structure): Likewise.
50835         (end_locale_structure): Likewise.
50836         (start_locale_prelude): Likewise.
50837         (end_locale_prelude): Likewise.
50838         (write_locale_data): Update prototype.
50839         * locale/programs/3level.h (struct TABLE): Remove result field.
50840         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50841         Use new locale_file interface.
50842         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50843         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50844         * locale/programs/ld-address.c (address_output): Use new
50845         locale_file interface.
50846         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50847         NO_ADD_LOCALE.
50848         (collate_finish): Don't call collseq_table_finalize.
50849         (collate_output): Use new locale_file interface.
50850         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50851         in file.
50852         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50853         (TABLE): Move defines earlier in file.
50854         (ELEMENT): Likewise.
50855         (DEFAULT): Likewise.
50856         (wctrans_table_add): Move macro and inline function earlier in
50857         file.
50858         (struct wctype_table): Move type earlier in file.
50859         (add_locale_wctype_table): New static prototype.
50860         (struct locale_ctype_t): Use logical types instead of struct iovec
50861         pointers for members.
50862         (ctype_output): Use new locale_file interface.
50863         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50864         new locale_file interface.
50865         (allocate_arrays): Update for use of new locale_file interface.
50866         * locale/programs/ld-identification.c (identification_output): Use
50867         new locale_file interface.
50868         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50869         * locale/programs/ld-messages.c (messages_output): Likewise.
50870         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50871         * locale/programs/ld-name.c (name_output): Likewise.
50872         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50873         * locale/programs/ld-paper.c (paper_output): Likewise.
50874         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50875         * locale/programs/ld-time.c (time_output): Likewise.
50877 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50879         * benchtests/Makefile: Add memrchr benchmark.
50880         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50881         benchmark as memrchr.
50882         * benchtests/bench-memrchr-ifunc.c: New file.
50883         * benchtests/bench-memrchr.c: New file.
50885 2013-09-06   Will Newton  <will.newton@linaro.org>
50887         * benchtests/Makefile (string-bench): Add memcpy.
50889 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50890             Cong Wang  <amwang@redhat.com>
50892         [BZ #15850]
50893         * sysdeps/unix/sysv/linux/bits/in.h
50894         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50895         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50896         before __USE_KERNEL_IPV6_DEFS uses.
50897         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50898         IPPROTO_BEETPH.
50899         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50900         sockaddr_in6, or ipv6_mreq.
50902 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50904         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50905         memory access for final bytes in some large inputs.
50906         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50908 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50910         * string/test-memrchr.c: New file.
50911         * string/test-memrchr-ifunc.c: New file.
50912         * string/Makefile: Add new memrchr testcase.
50914 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50916         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50917         fanotify_init returns EPERM.
50919 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50921         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50922         errors.
50923         (top level): Treat second token from macro or constant entries for
50924         allowed headers as allowed.
50925         * include/complex.h: Condition internal declarations on
50926         [!_ISOMAC].
50927         * include/fenv.h: Condition include of <stdbool.h> and internal
50928         declarations on [!_ISOMAC].
50930 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50932         [BZ #15923]
50933         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50935 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50937         * configure.in (--enable-versioning): Remove configure option.
50938         (libc_cv_asm_symver_directive): Remove configure test.
50939         (libc_cv_ld_version_script_option): Likewise.
50940         (VERSIONING): Remove variable and AC_SUBST.
50941         (DO_VERSIONING): Remove AC_DEFINE.
50942         * configure: Regenerated.
50943         * config.h.in (DO_VERSIONING): Remove macro.
50944         * Makerules [$(versioning) = yes]: Change conditionals to
50945         [$(build-shared) = yes].
50946         * config.make.in (versioning): Remove variable.
50947         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50948         [$(build-shared) = yes].
50949         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50950         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50951         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50952         [$(build-shared) = yes].
50953         * extra-lib.mk [$(versioning) = yes]: Likewise.
50954         * hurd/Makefile [$(versioning) = yes]: Likewise.
50955         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50956         [SHARED].
50957         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50958         [SHARED].
50959         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50960         [SHARED && !NO_HIDDEN].
50961         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50962         [SHARED].
50963         [SHARED && DO_VERSIONING]: Likewise..
50964         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50965         [$(build-shared) = yes].
50966         * manual/install.texi (--disable-versioning): Remove
50967         documentation.
50968         * INSTALL: Regenerated.
50969         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50970         to [SHARED].
50971         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50972         [$(build-shared) = yes].
50973         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50974         * sysdeps/i386/i686/multiarch/strstr-c.c
50975         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50976         [SHARED && !NO_HIDDEN].
50977         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50978         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50979         * sysdeps/powerpc/powerpc32/dl-machine.c
50980         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50981         * sysdeps/powerpc/powerpc32/sysdep.h
50982         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50983         to [SHARED && PIC && !NO_HIDDEN].
50984         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50985         conditional to [SHARED].
50987 2013-09-04   Will Newton  <will.newton@linaro.org>
50989         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50990         * benchtests/bench-string.h: Include bench-timing.h instead
50991         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50992         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50993         call to HP_TIMING_DIFF_INIT.
50994         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50995         instead of hp-timing.h macros.
50996         * benchtests/bench-memchr.c: Likewise.
50997         * benchtests/bench-memcmp.c: Likewise.
50998         * benchtests/bench-memcpy.c: Likewise.
50999         * benchtests/bench-memmem.c: Likewise.
51000         * benchtests/bench-memmove.c: Likewise.
51001         * benchtests/bench-memset.c: Likewise.
51002         * benchtests/bench-rawmemchr.c: Likewise.
51003         * benchtests/bench-strcasecmp.c: Likewise.
51004         * benchtests/bench-strcasestr.c: Likewise.
51005         * benchtests/bench-strcat.c: Likewise.
51006         * benchtests/bench-strchr.c: Likewise.
51007         * benchtests/bench-strcmp.c: Likewise.
51008         * benchtests/bench-strcpy.c: Likewise.
51009         * benchtests/bench-strcpy_chk.c: Likewise.
51010         * benchtests/bench-strlen.c: Likewise.
51011         * benchtests/bench-strncasecmp.c: Likewise.
51012         * benchtests/bench-strncat.c: Likewise.
51013         * benchtests/bench-strncmp.c: Likewise.
51014         * benchtests/bench-strncpy.c: Likewise.
51015         * benchtests/bench-strnlen.c: Likewise.
51016         * benchtests/bench-strpbrk.c: Likewise.
51017         * benchtests/bench-strrchr.c: Likewise.
51018         * benchtests/bench-strspn.c: Likewise.
51019         * benchtests/bench-strstr.c: Likewise.
51021 2013-09-04  Will Newton  <will.newton@linaro.org>
51023         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51025 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
51027         [BZ #15427]
51028         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51029         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51030         * math/libm-test.inc (lgamma_test_data): Add more tests.
51031         * sysdeps/i386/fpu/libm-test-ulps: Update.
51032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51034 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
51036         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51038         Add ifunc.
51039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51040         Add strcmp-sse2-unaligned
51041         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51043 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51045         * Versions.def (libc): Add GLIBC_2.19.
51047 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51049         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51050         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51052 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51054         [BZ #14155]
51055         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51056         intermediate calculations in recurrence.
51057         (__ieee754_ynf): Likewise.
51058         * math/libm-test.inc (jn_test_data): Do not allow spurious
51059         underflow exception.  Add more tests.
51060         (yn_test_data): Add more tests.
51061         * sysdeps/i386/fpu/libm-test-ulps: Update.
51062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51064 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51066         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51068 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51070         * csu/init-first.c: Fix then/than typos.
51071         * locale/programs/ld-collate.c: Likewise.
51072         * locale/programs/linereader.h: Likewise.
51073         * manual/charset.texi: Likewise.
51074         * manual/filesys.texi: Likewise.
51075         * manual/stdio.texi: Likewise.
51076         * manual/string.texi: Likewise.
51077         * stdlib/fmtmsg.c: Likewise.
51078         * sysdeps/i386/stpncpy.S: Likewise.
51079         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51080         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51081         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51082         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51084 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51086         * elf/dl-open.c: Fix typos.
51087         * iconvdata/gbbig5.c: Likewise.
51088         * iconvdata/iso-2022-jp.c: Likewise.
51089         * iconv/gconv_int.h: Likewise.
51090         * iconv/loop.c: Likewise.
51091         * nis/rpcsvc/nis.h: Likewise.
51092         * resolv/ns_name.c: Likewise.
51093         * stdio-common/vfscanf.c: Likewise.
51094         * streams/stropts.h: Likewise.
51095         * sunrpc/rpc_thread.c: Likewise.
51096         * sysdeps/i386/strpbrk.S: Likewise.
51097         * sysdeps/ieee754/k_standard.c: Likewise.
51098         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51100         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51101         * sysdeps/mach/hurd/profil.c: Likewise.
51102         * sysdeps/s390/dl-procinfo.h: Likewise.
51103         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51104         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51105         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51106         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51107         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51109 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51111         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51114 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51116         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51117         aix specific files.
51118         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51119         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51120         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51121         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51122         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51123         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51124         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51125         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51127 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51128             Roland McGrath  <roland@hack.frob.com>
51130         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51131         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51133 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51135         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51136         __executable_start symbol instead of _start.
51138 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51140         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51141         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51142         Move macros to...
51143         * sysdeps/gnu/ldsodefs.h: ... this new file.
51145         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51146         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51147         instead of ELFOSABI_LINUX.
51149         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51150         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51151         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51152         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51153         Likewise.
51154         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51155         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51156         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51157         Likewise.
51158         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51159         (ibm_extended_long_double): Add ieee_nan member.
51160         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51161         (do_test): New function.
51163         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51164         TEST_TRUNC.
51165         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51166         functions, renamed from truncdfsf_test, trunctfsf_test,
51167         trunctfdf_test.
51168         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51169         functions.
51170         (do_test): Run all these.
51172 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51174         * argp/argp-help.c: Fix typos.
51175         * argp/argp-parse.c: Likewise.
51176         * debug/backtracesyms.c: Likewise.
51177         * elf/elf.h: Likewise.
51178         * malloc/malloc.c: Likewise.
51179         * nis/nis_print.c: Likewise.
51180         * resolv/res_comp.c: Likewise.
51181         * stdlib/stdlib.h: Likewise.
51182         * sunrpc/clnt_tcp.c: Likewise.
51183         * sunrpc/clnt_udp.c: Likewise.
51184         * sunrpc/clnt_unix.c: Likewise.
51185         * sysdeps/unix/bsd/ptsname.c: Likewise.
51186         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51187         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51189         Likewise.
51190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51191         Likewise.
51192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51193         Likewise.
51194         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51196 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51198         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51199         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51201 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51203         [BZ #15897]
51204         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51205         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51206         ($(objpfx)bug-dl-leaf): New rule.
51207         ($(objpfx)bug-dl-leaf.so): Likewise.
51208         ($(objpfx)bug-dl-leaf.out): Likewise.
51209         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51210         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51211         * dlfcn/bug-dl-leaf.c: New test.
51212         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51213         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51214         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51215         (dlclose): Likewise.
51216         (dlmopen): Likewise.
51218 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51220         * include/netdb.h [!_ISOMAC]:
51221         Don't include <tls.h>.
51222         (h_errno, __libc_h_errno): Move declaration and macros out of
51223         [_LIBC_REENTRANT].
51225         * include/resolv.h [_RESOLV_H_]:
51226         Don't include <tls.h>.
51227         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51228         * resolv/res_libc.c: Don't include <tls.h>.
51229         (_res): Use __attribute__ ((nocommon)) in place of
51230         __attribute__ ((section (".bss"))).
51232         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51233         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51235         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51237         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51238         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51240         * resolv/res_mkquery.c: Include <sys/time.h>.
51242         * inet/ifreq.c: Moved to ...
51243         * sysdeps/unix/ifreq.c: ... here.
51244         * inet/ifreq.c: New file, true stub version.
51246         * socket/sa_len.c: New file.
51247         * socket/Makefile (aux): Add it.
51248         * sysdeps/unix/sysv/linux/Makefile
51249         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51250         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51251         and #include <socket/sa_len.c>.
51252         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51253         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51255         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51256         * bits/socket.h: ... here.
51258         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51259         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51260         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51262 2013-08-27  Andreas Schwab  <schwab@suse.de>
51264         [BZ #15736]
51265         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51266         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51267         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51268         * string/test-strcasecmp.c (test_main): Run tests in several
51269         locales.
51270         * string/test-strncasecmp.c (test_main): Likewise.
51272         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51273         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51274         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51276         (__strncasecmp_ssse3) [PIC]: Likewise.
51278 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51280         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51282         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51283         instead of explicitly declaring xdecrypt.
51284         * nis/nss_nis/nis-publickey.c: Likewise.
51286 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51288         [BZ #15890]
51289         * nscd/aicache.c: Include res_hconf.h.
51290         (addhstaiX): Initialize res_hconf.
51292 2013-08-26  Andreas Schwab  <schwab@suse.de>
51294         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51295         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51297 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51299         * nscd/aicache.c (addhstaiX): Fix indentation.
51301 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51303         * configure.ac: Quote $build_pt_chown test.
51304         * configure: Regenerated.
51306 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51308         [BZ #15532]
51309         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51310         * math/s_cexpf.c (__cexpf): Likewise.
51311         * math/s_cexpl.c (__cexpl): Likewise.
51312         * math/libm-test.inc (cexp_test_data): Correct expected return
51313         value for NaN + i0.  Add another test.
51315 2013-08-22  David S. Miller  <davem@davemloft.net>
51317         * po/ca.po: Update Catalan translation from translation project.
51318         * po/uk.po: Add Ukrainian translations from translation project.
51320 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51322         [BZ #15797]
51323         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51324         is infinite, not alongside NaN test.
51325         * math/s_fdimf.c (__fdimf): Likewise.
51326         * math/s_fdiml.c (__fdiml): Likewise.
51327         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51328         errno is unchanged.
51330 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51332         * argp/argp-help.c: Fix typos.
51333         * crypt/speeds.c: Likewise.
51334         * csu/check_fds.c: Likewise.
51335         * elf/dl-load.c: Likewise.
51336         * elf/dl-open.c: Likewise.
51337         * elf/reldep3.c: Likewise.
51338         * elf/reldep.c: Likewise.
51339         * elf/sprof.c: Likewise.
51340         * iconv/iconv_charmap.c: Likewise.
51341         * iconv/skeleton.c: Likewise.
51342         * iconv/strtab.c: Likewise.
51343         * io/lockf64.c: Likewise.
51344         * libio/libioP.h: Likewise.
51345         * resolv/gai_notify.c: Likewise.
51346         * resolv/ns_name.c: Likewise.
51347         * resolv/ns_samedomain.c: Likewise.
51348         * resolv/res_send.c: Likewise.
51349         * stdlib/random.c: Likewise.
51350         * sunrpc/rpc/xdr.h: Likewise.
51351         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51352         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51353         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51354         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51355         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51357         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51358         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51359         * sysdeps/mach/hurd/check_fds.c: Likewise.
51360         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51361         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51362         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51364         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51365         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51366         * sysdeps/pthread/aio_notify.c: Likewise.
51367         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51368         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51369         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51370         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51371         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51373 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51375         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51376         version if bit_Slow_SSE4_2 is set.
51377         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51378         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51380 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51382         [BZ #15867]
51383         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51384         trampoline stack frame information.
51385         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51386         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51387         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51388         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51389         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51390         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51391         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51392         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51393         sa_flags value.
51394         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51395         interrupting a syscall and set with option SA_SIGINFO.
51397 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51399         [BZ #15531]
51400         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51401         argument is infinite.
51402         * math/s_cprojf.c (__cprojf): Likewise.
51403         * math/s_cprojl.c (__cprojl): Likewise.
51404         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51405         * math/libm-test.inc (cproj_test_data): Add more tests.
51407         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51409         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51410         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51411         size.  Use __ffs to determine corresponding shift.
51413 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51414             Roland McGrath  <roland@hack.frob.com>
51416         * Makefile (INSTALL): Remove trailing blank lines from output of
51417         makeinfo.
51419 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51421         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51422         Align 32 bit compat elf_greg to 8 bytes.
51424 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51426         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51428 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51430         * string/strcoll_l.c (coll_seq): New structure.
51431         (get_next_seq_cached): New function.
51432         (get_next_seq): New function.
51433         (do_compare): New function.
51434         (STRCOLL): Use GNU style definition.  Simplify implementation
51435         by using get_next_seq, get_next_seq_cached and do_compare.
51437 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51439         [BZ #14699]
51440         CVE-2013-4237
51441         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51442         member.
51443         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51444         member.
51445         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51446         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51447         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51448         conditional.
51449         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51450         GETDENTS_64BIT_ALIGNED.
51451         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51452         * manual/filesys.texi (Reading/Closing Directory): Document
51453         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51454         strongly.
51455         * manual/conf.texi (Limits for Files): Add portability note to
51456         NAME_MAX, PATH_MAX.
51457         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51459 2013-08-13  Andreas Schwab  <schwab@suse.de>
51461         [BZ #15749]
51462         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51463         of fabs.
51464         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51465         LDBL_MAX_EXP >= 16384]: Add tests for it.
51467 2013-08-12  David S. Miller  <davem@davemloft.net>
51469         * version.h (RELEASE): Set to "development".
51470         (VERSION): Set to "2.18.90".
51471         * NEWS: Add 2.19 section.
51473 2013-08-03  David S. Miller  <davem@davemloft.net>
51475         * po/ko.po: Update Korean translation from translation project.
51477 2013-08-01  David S. Miller  <davem@davemloft.net>
51479         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51480         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51481         Bilka.
51483 2013-07-30  David S. Miller  <davem@davemloft.net>
51485         * po/fr.po: Update French translation from translation project.
51487 2013-07-28  David S. Miller  <davem@davemloft.net>
51489         * po/cs.po: Update Czech translation from translation project.
51491         * po/sv.po: Update Swedish translation from translation project.
51493 2013-07-27  David S. Miller  <davem@davemloft.net>
51495         * po/eo.po: Update Esperanto translation from translation project.
51497         * po/vi.po: Update Vietnamese translation from translation project.
51499         * po/de.po: Update German translation from translation project.
51501 2013-07-26  David S. Miller  <davem@davemloft.net>
51503         * po/bg.po: Update Bulgarian translation from translation project.
51505         * po/nl.po: Update Dutch translation from translation project.
51506         * po/pl.po: Update Polish translation from translation project.
51507         * po/ru.po: Update Russian translation from translation project.
51509 2013-07-24  David S. Miller  <davem@davemloft.net>
51511         * po/libc.pot: Update.
51513 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51515         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51516         variable page size.
51517         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51518         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51519         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51521 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51523         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51525 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51526             Andreas Schwab  <schwab@suse.de>
51527             Roland McGrath  <roland@hack.frob.com>
51528             Joseph Myers  <joseph@codesourcery.com>
51529             Carlos O'Donell  <carlos@redhat.com>
51531         [BZ #15755]
51532         * config.h.in: Define HAVE_PT_CHOWN.
51533         * config.make.in (build-pt-chown): New variable.
51534         * configure.in (--enable-pt_chown): New configure option.
51535         * configure: Regenerate.
51536         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51537         build-pt-chown is enabled.
51538         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51539         pt_chown to fix pty ownership.
51540         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51541         CLOSE_ALL_FDS.
51542         * manual/install.texi (Configuring and compiling): Mention
51543         --enable-pt_chown. Add @findex for grantpt.
51544         * INSTALL: Regenerate.
51546 2013-07-20  David S. Miller  <davem@davemloft.net>
51548         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51549         difference between 32-bit and 64-bit.
51551 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51553         [BZ #15711]
51554         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51555         Avoid system header dependency with -ffreestanding.
51556         ($(objpfx)bits/syscall%d): Likewise.
51558 2013-07-13  David S. Miller  <davem@davemloft.net>
51560         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51561         underflows from atanl/atan2l due to bug 15319.
51562         (casinh_test_data): Likewise.
51564 2013-07-07  David S. Miller  <davem@davemloft.net>
51566         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51568 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51570         * sysdeps/i386/fpu/libm-test-ulps: Update.
51571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51573 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51575         * configure.in (--enable-lock-elision): Fix message text.
51576         * INSTALL: Regenerate.
51577         * configure: Regenerate.
51579 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51583 2013-07-03  Andreas Jaeger  <aj@suse.de>
51585         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51586         define.
51587         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51588         (ptrace_peeksiginfo_args): Add.
51589         (__ptrace_peeksiginfo_flags): Add.
51590         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51591         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51592         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51594 2013-07-03  Allan McRae  <allan@archlinux.org>
51596         * sysdeps/i386/fpu/libm-test-ulps: Update.
51598 2013-07-02  David S. Miller  <davem@davemloft.net>
51600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51602 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51606 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51608         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51611 2013-07-02  Andi Kleen <ak@linux.intel.com>
51613         * config.h.in (ENABLE_LOCK_ELISION): Add.
51614         * configure.in (--enable-lock-elision): Add option.
51615         * manual/install.texi: Document --enable lock elision.
51616         * configure: Regenerate
51617         * INSTALL: Regenerate.
51619 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51621         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51622         SSE4.2 strcasecmp for libc.a.
51623         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51625 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51627         [BZ #13304]
51628         * soft-fp/op-common.h (_FP_FMA): New macro.
51629         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51630         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51631         (_FP_MUL_MEAT_1_imm): ... here.
51632         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51633         (_FP_MUL_MEAT_1_wide): ... here.
51634         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51635         (_FP_MUL_MEAT_1_hard): ... here.
51636         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51637         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51638         (_FP_MUL_MEAT_2_wide): ... here.
51639         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51640         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51641         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51642         (_FP_MUL_MEAT_2_gmp): ... here.
51643         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51644         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51645         (_FP_MUL_MEAT_4_wide): ... here.
51646         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51647         (_FP_MUL_MEAT_4_gmp): ... here.
51648         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51649         (_FP_WFRACBITS_DW_S): Likewise.
51650         (_FP_WFRACXBITS_DW_S): Likewise.
51651         (_FP_HIGHBIT_DW_S): Likewise.
51652         (FP_FMA_S): Likewise.
51653         (_FP_FRAC_HIGH_DW_S): Likewise.
51654         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51655         (_FP_WFRACBITS_DW_D): Likewise.
51656         (_FP_WFRACXBITS_DW_D): Likewise.
51657         (_FP_HIGHBIT_DW_D): Likewise.
51658         (FP_FMA_D): Likewise.
51659         (_FP_FRAC_HIGH_DW_D): Likewise.
51660         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51661         (_FP_WFRACBITS_DW_E): Likewise.
51662         (_FP_WFRACXBITS_DW_E): Likewise.
51663         (_FP_HIGHBIT_DW_E): Likewise.
51664         (FP_FMA_E): Likewise.
51665         (_FP_FRAC_HIGH_DW_E): Likewise.
51666         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51667         (_FP_WFRACBITS_DW_Q): Likewise.
51668         (_FP_WFRACXBITS_DW_Q): Likewise.
51669         (_FP_HIGHBIT_DW_Q): Likewise.
51670         (FP_FMA_Q): Likewise.
51671         (_FP_FRAC_HIGH_DW_Q): Likewise.
51672         * soft-fp/fmasf4.c: New file.
51673         * soft-fp/fmadf4.c: Likewise.
51674         * soft-fp/fmatf4.c: Likewise.
51676 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51679         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51680         Silvermont.
51681         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51682         macro.
51683         (index_Slow_SSE4_2): Likewise.
51684         (index_Prefer_PMINUB_for_stringop): Likewise.
51685         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51686         bit_Slow_SSE4_2 is set.
51687         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51688         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51690 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51692         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51693         rtld_global._dl_hwcap2.
51694         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51695         POWER8.
51696         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51697         POWER8 feature descriptions defined in _dl_hwcap2.
51698         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51699         string handling for POWER8 feature bits.
51700         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51701         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51702         _dl_powerpc_cap_flags.
51703         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51704         * sysdeps/powerpc/rtld-global-offsets.sym
51705         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51706         _dl_hwcap2 in the rtld_global_ro structure.
51708 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51710         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51711         hardware capabilities in support of AT_HWCAP2.
51712         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51713         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51714         GLRO(dl_hwcap2).
51715         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51716         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51717         explicitly the unknown a_type display mechanism is used.
51718         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51719         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51720         struct member.
51721         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51722         to macro prototype for AT_HWCAP2 support.
51723         * sysdeps/i386/dl-procinfo.h: Likewise.
51724         * sysdeps/s390/dl-procinfo.h: Likewise.
51725         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51726         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51727         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51728         return -1 for unknown a_type display fallback.
51729         * sysdeps/sparc/dl-procinfo.h: Likewise.
51730         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51731         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51733 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51735         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51736         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51738 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51740         [BZ #12492]
51741         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51742         mprotect making __stack_prot writable.
51744 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51745             Joseph Myers  <joseph@codesourcery.com>
51747         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51748         as being properly aligned.
51750 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51752         * dlfcn/modstatic5.c: New file.
51753         * dlfcn/tststatic5.c: New file.
51754         * dlfcn/Makefile (tests): Add tststatic5.
51755         (tests-static): Likewise.
51756         (modules-names): Add modstatic5.
51757         (tststatic5-ENV): New variable.
51758         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51760         [BZ #15022]
51761         * elf/dl-support.c (_dl_main_map): New variable.
51762         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51763         (_dl_nns, _dl_load_adds): Set to 1.
51764         (_dl_initial_searchlist): Refer to _dl_main_map.
51765         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51766         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51767         call to _dl_get_origin.
51768         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51769         around call_map.
51770         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51771         * dlfcn/modstatic3.c: New file.
51772         * dlfcn/tststatic3.c: New file.
51773         * dlfcn/tststatic4.c: New file.
51774         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51775         (tests-static): Likewise.
51776         (modules-names): Add modstatic3.
51777         (tststatic3-ENV, tststatic4-ENV): New variables.
51778         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51779         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51781 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51783         * configure.in (CC): Require GCC version 4.4 or later.
51784         * configure: Regenerated.
51785         * manual/install.texi (Tools for Compilation): Update GCC version
51786         requirement.
51787         * INSTALL: Regenerated.
51789 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51791         [BZ #15674]
51792         * string/test-memcmp.c (check2): New.
51793         (main): Call check2.
51795         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51797 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51799         [BZ #15022]
51800         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51801         over to...
51802         (dl_open_worker) [!SHARED]: ... here.
51804 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51806         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51808 2013-06-25  Richard Henderson  <rth@redhat.com>
51810         * locale/programs/locarchive.c: Include <libc-internal.h>
51812 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51814         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51815         trailing whitespace removed.
51817 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51819         [BZ #10283]
51820         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51821         * locale/programs/locarchive.c: Include libc-mmap.h.
51822         (prepare_address_space): Take two new outputs (the mmap base and len).
51823         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51824         values.
51825         (create_archive): Declare new mmap base and len values for
51826         prepare_address_space, and store the result in ah.
51827         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51828         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51829         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51830         Declare new mmap base and len values for
51831         prepare_address_space, and store the result in new_ah.
51832         (open_archive): Declare new mmap base and len values for
51833         prepare_address_space, and store the result in ah.
51834         (close_archive): If ah->mmap_base is not NULL, use that and
51835         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51836         * sysdeps/generic/libc-mmap.h: New file.
51838 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51840         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51841         (ALIGN_UP): Likewise.
51842         (PTR_ALIGN_DOWN): Likewise.
51843         (PTR_ALIGN_UP): Likewise.
51845 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51847         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51848         entry mapped to PPC_PLATFORM_POWER8.
51849         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51850         POWER8.
51851         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51852         (_dl_string_platform): Add case for exporting platform position for
51853         POWER8.
51854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51855         search path to sysdeps/powerpc/powerpc32/power8 directory.
51856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51857         search path to sysdeps/powerpc/powerpc64/power8 directory.
51858         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51859         power7 directories.
51860         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51861         power7 directories.
51863 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51865         * INSTALL: Regenerate.
51867         * nscd/connections.c (nscd_init): Fix comment.
51869 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51871         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51873         [BZ #15667]
51874         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51875         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51877 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51879         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51880         DL_DST_REQ_STATIC.
51881         (DL_DST_REQ_STATIC): Remove macro.
51883 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51885         [BZ #7006]
51886         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51887         with a shift of 0 bits.
51889 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51891         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51892         $(tststatic-ENV).
51894 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51896         [BZ #15655]
51897         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51899 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51901         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51902         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51903         accepts -fno-tree-loop-distribute-patterns.
51904         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51905         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51906         recursive call.
51907         * string/memset.c (memset): Likewise.
51908         * string/test-memmove.c (simple_memmove): Disable loop transformation
51909         to library calls.
51910         * string/test-memset.c (simple_memset): Likewise.
51911         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51912         * benchtests/bench-memset.c (simple_memset): Likewise.
51913         * configure: Regenerated.
51915 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51917         * math/test-misc.c (main): Ignore fesetround failure when failures
51918         of subsequent rounding tests would be ignored.
51920         [BZ #15654]
51921         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51922         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51923         * math/fegetenv.c (__fegetenv): Return 0.
51924         * math/fegetexcept.c (fegetexcept): Return 0.
51925         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51926         FE_TONEAREST.
51927         * math/feholdexcpt.c (feholdexcept): Return 0.
51928         * math/fesetenv.c (__fesetenv): Return 0.
51929         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51930         argument FE_TONEAREST.
51931         * math/feupdateenv.c (__feupdateenv): Return 0.
51932         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51934 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51936         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51937         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51938         ($(objpfx)rtld-%.os rules): Use them.
51940 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51942         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51943         fields.
51945 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51947         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51948         length of target pattern, then descending length of dependency pattern.
51949         * configure.in (AWK): Require gawk 3.1.2 or newer.
51950         * manual/install.texi (Tools for Compilation): Say that we do.
51951         * configure: Regenerated.
51953         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51954         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51955         * scripts/sysd-rules.awk: ... this new script.
51956         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51957         than a glob-style pattern.
51959 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51961         * math/test-misc.c (main): Do not treat incorrectly rounded
51962         conversions as failure unless ROUNDING_TESTS passes.
51964 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51966         [BZ #15631]
51967         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51968         restore exception state around main square root computation, then
51969         check for inexactness explicitly.
51971         * math/libm-test.inc (fma_test_data): Add another test.
51973 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51975         * manual/threads.texi (Non-POSIX Extensions): New document
51976         node.  Document pthread_getattr_default_np and
51977         pthread_setattr_default_np.
51979         * Versions.def (libpthread): Add GLIBC_2.18.
51980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51982         Likewise.
51983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51984         Likewise.
51985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51986         Likewise.
51987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51988         Likewise.
51989         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51990         Likewise.
51991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51992         Likewise.
51993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51994         Likewise.
51995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51996         Likewise.
51997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51998         Likewise.
52000 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52003         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52005 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52006             H.J. Lu  <hjl.tools@gmail.com>
52008         [BZ #15627]
52009         * sysdeps/x86_64/rtld-memset.c: Remove file.
52010         * sysdeps/x86_64/rtld-memset.S: New file.
52012 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
52014         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52015         (test_in_one_mode): Take arguments for whether the rounding mode
52016         is supported for each floating-point type.
52017         (do_test): Pass new arguments to test_in_one_mode using
52018         ROUNDING_TESTS.
52020 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52022         * posix/tst-waitid.c (do_test): Distinguish different instances of
52023         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
52024         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52025         before entering the kernel for waitpid.
52027 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52029         * NEWS: Fix note on clock function precision.  Text by Roland
52030         McGrath.
52032 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52034         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52035         it into place only when and if the sanity check passes.
52037 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
52039         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52040         output for whether conversion result is exact.  Take argument
52041         indicating whether type is IBM long double.
52042         (round_for_all): Change need_exact field to ibm_ld.
52043         * stdlib/tst-strtod-round.c (struct exactness): New type.
52044         (struct test): Change bool ld_ok field to struct exactness exact.
52045         (TEST): Update all definitions for change to field.
52046         (tests): Regenerate array contents.
52047         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52048         field value.  Check for IBM long double here.
52049         (do_test): Update calls to test_in_one_mode.
52051 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52053         [BZ #12515]
52054         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52055         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52057 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52059         [BZ #15605]
52060         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52061         generated by the compiler on loop optimizations.
52062         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52063         general definitions.
52065 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52067         * math/bug-nextafter.c: Include <math-tests.h>.
52068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52069         the relevant type.
52070         * math/bug-nexttoward.c: Include <math-tests.h>.
52071         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52072         the relevant type.
52073         * math/test-misc.c: Include <math-tests.h>.
52074         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52075         the relevant type.
52077 2013-06-12  Andreas Jaeger  <aj@suse.de>
52079         * po/ia.po: Update Interlingua translation from translation
52080         project.
52082 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52084         * include/fenv.h: Include stdbool.h.
52085         (struct rm_ctx): New structure.
52086         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52087         Define macro.
52088         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52089         (SET_RESTORE_ROUNDF): Likewise.
52090         (SET_RESTORE_ROUNDL): Likewise.
52091         (SET_RESTORE_ROUND_NOEX): Likewise.
52092         (SET_RESTORE_ROUND_NOEXF): Likewise.
52093         (SET_RESTORE_ROUND_NOEXL): Likewise.
52094         (SET_RESTORE_ROUND_53BIT): Likewise.
52095         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52096         (libc_feresetround_noexf_ctx): Likewise.
52097         (libc_feresetround_noexl_ctx): Likewise.
52098         (libc_feholdsetround_53bit_ctx): Likewise.
52099         (libc_feresetround_53bit_ctx): Likewise.
52100         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52101         (libc_feholdexcept_setround_sse_ctx): New function.
52102         (libc_fesetenv_sse_ctx): Likewise.
52103         (libc_feupdateenv_sse_ctx): Likewise.
52104         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52105         (libc_feholdexcept_setround_387_ctx): Likewise.
52106         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52107         (libc_feholdsetround_387_prec_ctx): Likewise.
52108         (libc_feholdsetround_387_ctx): Likewise.
52109         (libc_feholdsetround_387_53bit_ctx): Likewise.
52110         (libc_feholdsetround_sse_ctx): Likewise.
52111         (libc_feresetround_sse_ctx): Likewise.
52112         (libc_feresetround_387_ctx): Likewise.
52113         (libc_feupdateenv_387_ctx): Likewise.
52114         (libc_feholdexcept_setroundf_ctx): Define macro.
52115         (libc_fesetenvf_ctx): Likewise.
52116         (libc_feupdateenvf_ctx): Likewise.
52117         (libc_feholdsetroundf_ctx): Likewise.
52118         (libc_feresetroundf_ctx): Likewise.
52119         (libc_feholdexcept_setround_ctx): Likewise.
52120         (libc_fesetenv_ctx): Likewise.
52121         (libc_feupdateenv_ctx): Likewise.
52122         (libc_feholdsetround_ctx): Likewise.
52123         (libc_feresetround_ctx): Likewise.
52124         (libc_feholdexcept_setroundl_ctx): Likewise.
52125         (libc_feupdateenvl_ctx): Likewise.
52126         (libc_feholdsetroundl_ctx): Likewise.
52127         (libc_feresetroundl_ctx): Likewise.
52128         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52129         (libc_feresetround_53bit_ctx): Likewise.
52131 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52133         * locale/iso-639.def: Convert to UTF-8.
52135 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52137         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52138         (EXCEPTION_TESTS_double): Likewise.
52139         (EXCEPTION_TESTS_long_double): Likewise.
52140         (EXCEPTION_TESTS): Likewise.
52141         * math/libm-test.inc (test_exceptions): Only test exceptions if
52142         EXCEPTION_TESTS (FLOAT).
52144 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52146         * benchtests/Makefile (string-bench): Add strcpy_chk and
52147         stpcpy_chk.
52148         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52149         * benchtests/bench-stpcpy_chk.c: New file.
52150         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52151         * benchtests/bench-strcpy_chk.c: New file.
52152         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52153         code.
52154         (do_test): Likewise.
52156 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52158         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52159         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52160         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52161         with tabs where appropriate.
52162         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52163         dl-procinfo.h.
52164         [PPC_PLATFORM_PPC440]: Likewise.
52165         [PPC_PLATFORM_PPC464]: Likewise.
52166         [PPC_PLATFORM_PPC476]: Likewise.
52167         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52168         ppc464, and ppc476 platform strings merging from ports/
52169         dl-procinfo.h.
52171 2013-06-11  Andreas Schwab  <schwab@suse.de>
52173         [BZ #14991]
52174         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52175         (from_ucs4_idx): Regenerate.
52176         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52177         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52178         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52179         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52180         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52181         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52182         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52183         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52184         from FROM_LOOP and TO_LOOP specific macros.
52185         (BODY): Handle combining characters.
52186         * iconvdata/BIG5HKSCS.irreversible: Update.
52187         * iconvdata/BIG5HKSCS.precomposed: New file.
52188         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52189         characters.
52190         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52192 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52194         * include/sys/time.h: Fix indentation and add copyright header.
52196         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52197         (do_test): Likewise.
52198         * string/test-memchr.c (do_one_test): Likewise.
52199         (do_test): Likewise.
52200         * string/test-memcmp.c (do_one_test): Likewise.
52201         (do_test): Likewise.
52202         * string/test-memcpy.c (do_one_test): Likewise.
52203         (do_test): Likewise.
52204         * string/test-memmem.c (do_one_test): Likewise.
52205         (do_test): Likewise.
52206         (do_random_tests): Likewise.
52207         * string/test-memmove.c (do_one_test): Likewise.
52208         (do_test): Likewise.
52209         * string/test-memset.c (do_one_test): Likewise.
52210         (do_test): Likewise.
52211         * string/test-rawmemchr.c (do_one_test): Likewise.
52212         (do_test): Likewise.
52213         * string/test-strcasecmp.c (do_one_test): Likewise.
52214         (do_test): Likewise.
52215         * string/test-strcasestr.c (do_one_test): Likewise.
52216         (do_test): Likewise.
52217         * string/test-strcat.c (do_one_test): Likewise.
52218         (do_test): Likewise.
52219         * string/test-strchr.c (do_one_test): Likewise.
52220         (do_test): Likewise.
52221         * string/test-strcmp.c (do_one_test): Likewise.
52222         (do_test): Likewise.
52223         * string/test-strcpy.c (do_one_test): Likewise.
52224         (do_test): Likewise.
52225         * string/test-string.h: Likewise.
52226         (test_init): Likewise.
52227         * string/test-strlen.c (do_one_test): Likewise.
52228         (do_test): Likewise.
52229         * string/test-strncasecmp.c (do_one_test): Likewise.
52230         (do_test): Likewise.
52231         * string/test-strncat.c (do_one_test): Likewise.
52232         (do_test): Likewise.
52233         * string/test-strncmp.c (do_one_test): Likewise.
52234         (do_test_limit): Likewise.
52235         (do_test): Likewise.
52236         * string/test-strncpy.c (do_one_test): Likewise.
52237         (do_test): Likewise.
52238         * string/test-strnlen.c (do_one_test): Likewise.
52239         (do_test): Likewise.
52240         * string/test-strpbrk.c (do_one_test): Likewise.
52241         (do_test): Likewise.
52242         * string/test-strrchr.c (do_one_test): Likewise.
52243         (do_test): Likewise.
52244         * string/test-strspn.c (do_one_test): Likewise.
52245         (do_test): Likewise.
52246         * string/test-strstr.c (do_one_test): Likewise.
52247         (do_test): Likewise.
52249         * benchtests/Makefile (string-bench): Add string benchmarks.
52250         * benchtests/bench-bcopy-ifunc.c: New file.
52251         * benchtests/bench-bcopy.c: New file.
52252         * benchtests/bench-bzero-ifunc.c: New file.
52253         * benchtests/bench-bzero.c: New file.
52254         * benchtests/bench-memccpy-ifunc.c: New file.
52255         * benchtests/bench-memccpy.c: New file.
52256         * benchtests/bench-memchr-ifunc.c: New file.
52257         * benchtests/bench-memchr.c: New file.
52258         * benchtests/bench-memcmp-ifunc.c: New file.
52259         * benchtests/bench-memcmp.c: New file.
52260         * benchtests/bench-memmem-ifunc.c: New file.
52261         * benchtests/bench-memmem.c: New file.
52262         * benchtests/bench-memmove-ifunc.c: New file.
52263         * benchtests/bench-memmove.c: New file.
52264         * benchtests/bench-mempcpy-ifunc.c: New file.
52265         * benchtests/bench-mempcpy.c: New file.
52266         * benchtests/bench-memset-ifunc.c: New file.
52267         * benchtests/bench-memset.c: New file.
52268         * benchtests/bench-rawmemchr-ifunc.c: New file.
52269         * benchtests/bench-rawmemchr.c: New file.
52270         * benchtests/bench-stpcpy-ifunc.c: New file.
52271         * benchtests/bench-stpcpy.c: New file.
52272         * benchtests/bench-stpncpy-ifunc.c: New file.
52273         * benchtests/bench-stpncpy.c: New file.
52274         * benchtests/bench-strcasecmp-ifunc.c: New file.
52275         * benchtests/bench-strcasecmp.c: New file.
52276         * benchtests/bench-strcasestr-ifunc.c: New file.
52277         * benchtests/bench-strcasestr.c: New file.
52278         * benchtests/bench-strcat-ifunc.c: New file.
52279         * benchtests/bench-strcat.c: New file.
52280         * benchtests/bench-strchr-ifunc.c: New file.
52281         * benchtests/bench-strchr.c: New file.
52282         * benchtests/bench-strchrnul-ifunc.c: New file.
52283         * benchtests/bench-strchrnul.c: New file.
52284         * benchtests/bench-strcmp-ifunc.c: New file.
52285         * benchtests/bench-strcmp.c: New file.
52286         * benchtests/bench-strcpy-ifunc.c: New file.
52287         * benchtests/bench-strcpy.c: New file.
52288         * benchtests/bench-strcspn-ifunc.c: New file.
52289         * benchtests/bench-strcspn.c: New file.
52290         * benchtests/bench-strlen-ifunc.c: New file.
52291         * benchtests/bench-strlen.c: New file.
52292         * benchtests/bench-strncasecmp-ifunc.c: New file.
52293         * benchtests/bench-strncasecmp.c: New file.
52294         * benchtests/bench-strncat-ifunc.c: New file.
52295         * benchtests/bench-strncat.c: New file.
52296         * benchtests/bench-strncmp-ifunc.c: New file.
52297         * benchtests/bench-strncmp.c: New file.
52298         * benchtests/bench-strncpy-ifunc.c: New file.
52299         * benchtests/bench-strncpy.c: New file.
52300         * benchtests/bench-strnlen-ifunc.c: New file.
52301         * benchtests/bench-strnlen.c: New file.
52302         * benchtests/bench-strpbrk-ifunc.c: New file.
52303         * benchtests/bench-strpbrk.c: New file.
52304         * benchtests/bench-strrchr-ifunc.c: New file.
52305         * benchtests/bench-strrchr.c: New file.
52306         * benchtests/bench-strspn-ifunc.c: New file.
52307         * benchtests/bench-strspn.c: New file.
52308         * benchtests/bench-strstr-ifunc.c: New file.
52309         * benchtests/bench-strstr.c: New file.
52311         * benchtests/Makefile: Disable parallel execution of targets.
52312         (string-bench): Add memcpy.
52313         (benchset): New variable to store a list of benchmark sets.
52314         (bench-func): Renamed from bench.
52315         (bench-set): New target.
52316         (bench): Depend on bench-func and bench-set.
52317         * benchtests/README: Add section on benchmark sets.
52318         * benchtests/bench-memcpy-ifunc.c: New file.
52319         * benchtests/bench-memcpy.c: New file.
52320         * benchtests/bench-string.h: New file.
52322 2013-06-11  Andreas Schwab  <schwab@suse.de>
52324         [BZ #15577]
52325         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52326         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52327         values in the triple.
52328         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52329         terminator in the group key.
52331 2013-06-11  Andreas Jaeger  <aj@suse.de>
52333         * po/zh_TW.po: Update Chinese (traditional) translation from
52334         translation project.
52336 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52338         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52339         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52340         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52341         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52342         (clock_getcpuclockid): Likewise.
52343         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52344         Add weak_alias and libc_hidden_def.
52345         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52346         * rt/clock_gettime.c (clock_gettime): Rename to
52347         __clock_gettime.  Add weak_alias and libc_hidden_def.
52348         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52349         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52350         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52351         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52352         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52353         Likewise.
52354         * rt/clock_settime.c (clock_settime): Rename to
52355         __clock_settime.  Add weak_alias and libc_hidden_def.
52356         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52358 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52360         * mach/err_boot.sub: Remove trailing whitespace.
52361         * mach/err_ipc.sub: Likewise.
52362         * mach/err_mach.sub: Likewise.
52364         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52365         (ROUNDING_TESTS_double): Likewise.
52366         (ROUNDING_TESTS_long_double): Likewise.
52367         (ROUNDING_TESTS): Likewise.
52368         * math/libm-test.inc: Include <math-tests.h>.
52369         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52370         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52371         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52372         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52374 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52376         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52377         of assigning.
52379 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52381         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52382         otherwise empty TRANS lines.
52383         * sysdeps/gnu/errlist.c: Regenerated.
52385         * catgets/gencat.c (error_print): Use (void) in function
52386         definition.
52387         * crypt/crypt_util.c (__init_des): Likewise.
52388         * crypt/speeds.c (Stop): Likewise.
52389         (main): Likewise.
52390         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52391         * inet/ruserpass.c (token): Likewise.
52392         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52393         * intl/localealias.c (extend_alias_table): Likewise.
52394         * intl/plural-exp.c (init_germanic_plural): Likewise.
52395         * libio/fcloseall.c (__fcloseall): Likewise.
52396         * libio/genops.c (_IO_flush_all): Likewise.
52397         (_IO_flush_all_linebuffered): Likewise.
52398         (_IO_cleanup): Likewise.
52399         (_IO_iter_begin): Likewise.
52400         (_IO_iter_end): Likewise.
52401         (_IO_list_lock): Likewise.
52402         (_IO_list_unlock): Likewise.
52403         (_IO_list_resetlock): Likewise.
52404         * libio/getchar.c (getchar): Likewise.
52405         * libio/getchar_u.c (getchar_unlocked): Likewise.
52406         * libio/getwchar.c (getwchar): Likewise.
52407         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52408         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52409         * login/getpt.c (__getpt): Likewise.
52410         * login/tst-utmp.c (main): Likewise.
52411         * malloc/hooks.c (__malloc_check_init): Likewise.
52412         * malloc/malloc.c (__malloc_stats): Likewise.
52413         * malloc/mtrace.c (tr_break): Likewise.
52414         (mtrace): Likewise.
52415         (muntrace): Likewise.
52416         * misc/fstab.c (endfsent): Likewise.
52417         * misc/getclktck.c (__getclktck): Likewise.
52418         * misc/getdtsz.c (__getdtablesize): Likewise.
52419         * misc/gethostid.c (gethostid): Likewise.
52420         * misc/getpagesize.c (__getpagesize): Likewise.
52421         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52422         (__get_nprocs): Likewise.
52423         (__get_phys_pages): Likewise.
52424         (__get_avphys_pages): Likewise.
52425         * misc/getttyent.c (getttyent): Likewise.
52426         (setttyent): Likewise.
52427         (endttyent): Likewise.
52428         * misc/getusershell.c (getusershell): Likewise.
52429         (endusershell): Likewise.
52430         (setusershell): Likewise.
52431         (initshells): Likewise.
52432         * misc/hsearch.c (__hdestroy): Likewise.
52433         * misc/sync.c (sync): Likewise.
52434         * misc/syslog.c (closelog_internal): Likewise.
52435         (closelog): Likewise.
52436         * misc/ttyslot.c (ttyslot): Likewise.
52437         * misc/vhangup.c (vhangup): Likewise.
52438         * posix/fork.c (__fork): Likewise.
52439         * posix/getegid.c (__getegid): Likewise.
52440         * posix/geteuid.c (__geteuid): Likewise.
52441         * posix/getgid.c (__getgid): Likewise.
52442         * posix/getpid.c (__getpid): Likewise.
52443         * posix/getppid.c (__getppid): Likewise.
52444         * posix/getuid.c (__getuid): Likewise.
52445         * posix/pause.c (pause): Likewise.
52446         * posix/setpgrp.c (setpgrp): Likewise.
52447         * posix/setsid.c (__setsid): Likewise.
52448         * posix/test-vfork.c (noop): Likewise.
52449         * resolv/gethnamaddr.c (_endhtent): Likewise.
52450         (_gethtent): Likewise.
52451         (ht_endhostent): Likewise.
52452         (gethostent): Likewise.
52453         (dns_service): Likewise.
52454         * stdlib/drand48.c (drand48): Likewise.
52455         * stdlib/lrand48.c (lrand48): Likewise.
52456         * stdlib/mrand48.c (mrand48): Likewise.
52457         * stdlib/rand.c (rand): Likewise.
52458         * stdlib/random.c (__random): Likewise.
52459         * stdlib/setenv.c (clearenv): Likewise.
52460         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52461         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52462         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52463         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52464         (__get_nprocs): Likewise.
52465         (__get_phys_pages): Likewise.
52466         (__get_avphys_pages): Likewise.
52467         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52468         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52469         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52470         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52471         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52472         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52473         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52474         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52475         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52476         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52477         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52478         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52479         * sysdeps/posix/clock.c (clock): Likewise.
52480         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52481         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52482         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52483         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52484         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52486         (__get_nprocs_conf): Likewise.
52487         (__get_phys_pages): Likewise.
52488         (__get_avphys_pages): Likewise.
52489         * time/clock.c (clock): Likewise.
52490         * time/tzset.c (__tzname_max): Likewise.
52492 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52494         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52495         (__bswap_32): Do not use "register".
52496         * crypt/crypt.c (_ufc_doit_r): Likewise.
52497         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52498         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52499         * gmon/gmon.c (__monstartup): Likewise.
52500         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52501         * hurd/hurdmalloc.c (more_memory): Likewise.
52502         (malloc): Likewise.
52503         (free): Likewise.
52504         (realloc): Likewise.
52505         (malloc_fork_prepare): Likewise.
52506         (malloc_fork_parent): Likewise.
52507         (malloc_fork_child): Likewise.
52508         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52509         (_svcauth_des): Likewise.
52510         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52511         * inet/inet_net.c (inet_network): Likewise.
52512         * inet/inet_netof.c (inet_netof): Likewise.
52513         * inet/rcmd.c (__validuser2_sa): Likewise.
52514         * io/fts.c (fts_open): Likewise.
52515         (fts_load): Likewise.
52516         (fts_close): Likewise.
52517         (fts_read): Likewise.
52518         (fts_children): Likewise.
52519         (fts_build): Likewise.
52520         (fts_stat): Likewise.
52521         (fts_sort): Likewise.
52522         (fts_alloc): Likewise.
52523         (fts_lfree): Likewise.
52524         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52525         (_IO_file_xsgetn): Likewise.
52526         (_IO_file_xsgetn_mmap): Likewise.
52527         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52528         (_IO_cookie_write): Likewise.
52529         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52530         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52531         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52532         * malloc/obstack.c (_obstack_begin): Likewise.
52533         (_obstack_begin_1): Likewise.
52534         (_obstack_newchunk): Likewise.
52535         (_obstack_allocated_p): Likewise.
52536         (obstack_free): Likewise.
52537         (_obstack_memory_used): Likewise.
52538         * misc/getttyent.c (getttynam): Likewise.
52539         (getttyent): Likewise.
52540         (skip): Likewise.
52541         (value): Likewise.
52542         * misc/getusershell.c (initshells): Likewise.
52543         * misc/syslog.c (__vsyslog_chk): Likewise.
52544         * misc/ttyslot.c (ttyslot): Likewise.
52545         * nis/nis_hash.c (__nis_hash): Likewise.
52546         * posix/fnmatch_loop.c (FCT): Likewise.
52547         * posix/getconf.c (print_all): Likewise.
52548         (main): Likewise.
52549         * posix/getopt.c (exchange): Likewise.
52550         * posix/glob.c (globfree): Likewise.
52551         (prefix_array): Likewise.
52552         (__glob_pattern_type): Likewise.
52553         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52554         (NS_GET32): Likewise.
52555         (NS_PUT16): Likewise.
52556         (NS_PUT32): Likewise.
52557         * resolv/gethnamaddr.c (getanswer): Likewise.
52558         (gethostbyname2): Likewise.
52559         (gethostbyaddr): Likewise.
52560         (_gethtent): Likewise.
52561         (_gethtbyname2): Likewise.
52562         (_gethtbyaddr): Likewise.
52563         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52564         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52565         * resolv/res_init.c (__res_vinit): Likewise.
52566         (net_mask): Likewise.
52567         * resolv/res_mkquery.c (outchar): Likewise.
52568         (PRINT): Likewise.
52569         * stdio-common/printf_fp.c (outchar): Likewise.
52570         (PRINT): Likewise.
52571         * stdio-common/printf_fphex.c (outchar): Likewise.
52572         (PRINT): Likewise.
52573         * stdio-common/printf_size.c (outchar): Likewise.
52574         (PRINT): Likewise.
52575         * stdio-common/test_rdwr.c (main): Likewise.
52576         * stdio-common/tfformat.c (matches): Likewise.
52577         * stdio-common/vfprintf.c (outchar): Likewise.
52578         (printf_unknown): Likewise.
52579         (buffered_vfprintf): Likewise.
52580         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52581         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52582         (ReadFile): Likewise.
52583         * stdlib/qsort.c (SWAP): Likewise.
52584         (_quicksort): Likewise.
52585         * stdlib/setenv.c (__add_to_environ): Likewise.
52586         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52587         * stdlib/strtol_l.c (__strtol_l): Likewise.
52588         * stdlib/tst-strtod.c (main): Likewise.
52589         * stdlib/tst-strtol.c (main): Likewise.
52590         * stdlib/tst-strtoll.c (main): Likewise.
52591         * string/bits/string2.h (__strcmp_cc): Likewise.
52592         (__strcmp_cg): Likewise.
52593         (__strcspn_c1): Likewise.
52594         (__strcspn_c2): Likewise.
52595         (__strcspn_c3): Likewise.
52596         (__strspn_c1): Likewise.
52597         (__strspn_c2): Likewise.
52598         (__strspn_c3): Likewise.
52599         (__strsep_1c): Likewise.
52600         (__strsep_2c): Likewise.
52601         (__strsep_3c): Likewise.
52602         * string/memccpy.c (__memccpy): Likewise.
52603         * string/stpcpy.c (__stpcpy): Likewise.
52604         * string/strcmp.c (strcmp): Likewise.
52605         * string/strrchr.c (strrchr): Likewise.
52606         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52607         Likewise.
52608         * sysdeps/mach/hurd/getcwd.c
52609         (_hurd_canonicalize_directory_name_internal): Likewise.
52610         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52611         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52612         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52613         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52614         Likewise, in both definitions.
52615         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52616         definitions.
52617         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52618         64] (__bswap_64): Likewise.
52619         * time/test_time.c (main): Likewise.
52620         * time/tzfile.c (__tzfile_read): Likewise.
52621         (__tzfile_compute): Likewise.
52622         * time/tzset.c (__tzset_parse_tz): Likewise.
52623         (tzset_internal): Likewise.
52624         (compute_change): Likewise.
52625         * wcsmbs/wcscat.c (__wcscat): Likewise.
52626         * wcsmbs/wcschr.c (wcschr): Likewise.
52627         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52628         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52629         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52630         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52631         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52632         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52633         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52634         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52635         * wcsmbs/wmemset.c (wmemset): Likewise.
52637 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52639         * scripts/config.guess: Update to version 2013-05-16.
52640         * scripts/config.sub: Update to version 2013-04-24.
52641         * scripts/install-sh: Update to version 2011-11-20.07.
52642         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52643         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52645 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52647         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52648         * elf/sln.c: Likewise.
52649         * hurd/hurd/ioctl.h: Likewise.
52650         * hurd/hurdmalloc.c: Likewise.
52651         * hurd/xattr.c: Likewise.
52652         * include/shlib-compat.h: Likewise.
52653         * inet/ruserpass.c: Likewise.
52654         * libio/iofgets_u.c: Likewise.
52655         * libio/iofgetws_u.c: Likewise.
52656         * locale/programs/ld-identification.c: Likewise.
52657         * locale/programs/ld-time.c: Likewise.
52658         * mach/msg-destroy.c: Likewise.
52659         * nss/nss_files/files-netgrp.c: Likewise.
52660         * resolv/res_data.c: Likewise.
52661         * soft-fp/op-1.h: Likewise.
52662         * soft-fp/op-2.h: Likewise.
52663         * soft-fp/op-4.h: Likewise.
52664         * soft-fp/op-common.h: Likewise.
52665         * stdio-common/printf_fphex.c: Likewise.
52666         * stdlib/strtod_l.c: Likewise.
52667         * sunrpc/rpc/clnt.h: Likewise.
52668         * sysdeps/generic/framestate.c: Likewise.
52669         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52670         * sysdeps/i386/bsd-setjmp.S: Likewise.
52671         * sysdeps/i386/__longjmp.S: Likewise.
52672         * sysdeps/i386/setjmp.S: Likewise.
52673         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52674         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52675         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52676         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52679         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52680         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52682         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52683         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52684         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52685         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52686         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52687         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52688         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52689         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52690         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52691         * sysdeps/ieee754/support.c: Likewise.
52692         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52693         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52694         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52695         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52696         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52697         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52698         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52699         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52700         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52701         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52702         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52703         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52704         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52705         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52706         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52707         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52708         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52711 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52713         * posix/transbug.c: Remove executable mode.
52715 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52717         * crypt/speeds.c: Remove trailing whitespace.
52718         * dlfcn/default.c: Likewise.
52719         * elf/ifuncdep2.c: Likewise.
52720         * elf/ifuncmain1.c: Likewise.
52721         * elf/ifuncmain1vis.c: Likewise.
52722         * elf/testobj.h: Likewise.
52723         * elf/tst-stackguard1.c: Likewise.
52724         * gmon/sys/gmon.h: Likewise.
52725         * hurd/hurdmsg.c: Likewise.
52726         * hurd/new-fd.c: Likewise.
52727         * hurd/ports-get.c: Likewise.
52728         * iconvdata/ibm1008_420.c: Likewise.
52729         * inet/tst-getni1.c: Likewise.
52730         * inet/tst-getni2.c: Likewise.
52731         * libio/ioungetc.c: Likewise.
52732         * libio/wfiledoalloc.c: Likewise.
52733         * manual/libm-err-tab.pl: Likewise.
52734         * math/w_dremf.c: Likewise.
52735         * misc/ftruncate.c: Likewise.
52736         * posix/bug-glob2.c: Likewise.
52737         * posix/tst-pcre.c: Likewise.
52738         * posix/wait4.c: Likewise.
52739         * resolv/README: Likewise.
52740         * resolv/res_debug.h: Likewise.
52741         * resolv/tst-inet_ntop.c: Likewise.
52742         * setjmp/bug269-setjmp.c: Likewise.
52743         * soft-fp/extended.h: Likewise.
52744         * soft-fp/op-1.h: Likewise.
52745         * soft-fp/op-2.h: Likewise.
52746         * soft-fp/op-4.h: Likewise.
52747         * soft-fp/op-8.h: Likewise.
52748         * soft-fp/testit.c: Likewise.
52749         * stdio-common/bug16.c: Likewise.
52750         * stdlib/random.c: Likewise.
52751         * sunrpc/rpcsvc/rquota.x: Likewise.
52752         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52753         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52754         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52755         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52756         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52757         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52758         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52759         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52760         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52761         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52762         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52763         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52765         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52767         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52768         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52770         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52771         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52772         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52774         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52775         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52777         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52778         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52779         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52780         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52781         * sysdeps/ieee754/s_lib_version.c: Likewise.
52782         * sysdeps/mach/hurd/check_fds.c: Likewise.
52783         * sysdeps/mach/hurd/getsockname.c: Likewise.
52784         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52785         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52786         * sysdeps/powerpc/bits/link.h: Likewise.
52787         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52788         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52789         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52790         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52791         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52792         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52793         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52794         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52795         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52796         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52797         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52798         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52799         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52800         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52801         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52802         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52803         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52805         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52806         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52807         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52808         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52809         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52810         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52811         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52812         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52813         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52814         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52815         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52816         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52817         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52819         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52820         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52821         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52822         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52823         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52824         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52825         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52826         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52827         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52828         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52829         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52830         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52831         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52832         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52833         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52834         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52835         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52836         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52837         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52838         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52839         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52840         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52841         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52842         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52843         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52844         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52845         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52846         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52847         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52848         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52849         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52850         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52851         * sysdeps/powerpc/sysdep.h: Likewise.
52852         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52853         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52854         * sysdeps/sh/dl-trampoline.S: Likewise.
52855         * sysdeps/sh/memset.S: Likewise.
52856         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52857         * sysdeps/sh/strlen.S: Likewise.
52858         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52859         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52860         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52861         * sysdeps/sparc/sparc32/rem.S: Likewise.
52862         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52863         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52864         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52865         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52866         * sysdeps/sparc/sparc32/urem.S: Likewise.
52867         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52868         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52869         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52870         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52871         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52872         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52873         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52874         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52875         * sysdeps/unix/bsd/times.c: Likewise.
52876         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52877         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52881         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52882         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52883         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52884         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52885         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52886         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52887         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52888         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52889         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52890         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52891         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52892         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52893         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52894         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52895         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52896         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52897         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52898         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52899         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52900         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52901         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52902         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52903         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52904         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52905         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52906         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52907         * sysdeps/x86_64/strcspn.S: Likewise.
52909 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52911         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52912         generated file.  Regenerate properly from gen-translit.pl.
52913         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52914         locale/C-translit.h.
52916 2013-06-05  Andreas Schwab  <schwab@suse.de>
52918         [BZ #15100]
52919         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52920         week as 6 instead of -1.
52921         * time/tst-strptime.c (day_tests): Add test case.
52923 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52925         * sysdeps/generic/math_private.h
52926         (libc_feholdexcept_setround_53bit): Replace with
52927         libc_feholdsetround_53bit.
52928         (libc_feupdateenv_53bit): Replace with
52929         libc_feresetround_53bit.
52930         (SET_RESTORE_ROUND_53BIT): Adjust.
52932 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52934         * string/test-strchrnul.c: Add copyright header.
52936         * posix/tst-getaddrinfo4.c: Increase test timeout.
52938 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52940         [BZ #15536]
52941         * math/libm-test.inc (MAX_EXP): Remove
52942         (MIN_EXP): Define.
52943         (ulp): Use MIN_EXP - MANT_DIG.
52944         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52946 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52948         * po/be.po: Revert last change.
52949         * po/zh_CN.po: Likewise.
52950         * po/header.pot: Likewise.
52952 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52954         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52955         link-libc-deps to empty as target-specific variable.
52956         * Makerules (link-libc-args): New variable.
52957         (libc-for-link): Likewise.
52958         (link-libc-deps): Likewise.
52959         (lib%.so): Depend on $(link-libc-deps).  Link with
52960         $(link-libc-args).
52961         (build-module): Link with $(link-libc-args).
52962         (build-module-asneeded): Likewise.
52963         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52964         list of objects.
52965         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52966         target-specific variable.
52967         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52968         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52969         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52970         libc.
52971         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52972         libc and ld.so.
52973         ($(objpfx)libpcprofile.so): Likewise.
52974         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52975         libc_nonshared.a.
52976         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52977         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52978         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52979         $(link-libc-deps).
52980         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52981         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52982         * login/Makefile ($(objpfx)libutil.so): Likewise.
52983         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52984         * math/Makefile ($(objpfx)libm.so): Likewise.
52985         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52986         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52987         variable instead of depending directly on libc.
52988         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52989         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52990         $(link-libc-deps).
52991         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52992         libc.
52993         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52994         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52995         ($(objpfx)libanl.so): Likewise.
52996         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52997         ld.so.
52998         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52999         $(link-libc-deps).
53000         * sysdeps/i386/fpu/Makefile: Remove file.
53001         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53002         ($(objpfx)libm.so): Remove dependency on ld.so.
53004 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
53006         [BZ # 15553]
53007         * nis/yp_xdr.c (XDRMAXNAME): Define.
53008         (XDRMAXRECORD): Define.
53009         (xdr_domainname): Use XDRMAXNAME.
53010         (xdr_mapname): Likewise.
53011         (xdr_peername): Likewise.
53012         (xdr_keydat): Use XDRMAXRECORD.
53013         (xdr_valdat): Likewise.
53015 2013-05-30  Jeff Law  <law@redhat.com>
53017         [BZ #14256]
53018         * manual/errno.texi (ESTALE): Update to account for more than
53019         just NFS file systems.
53020         * sysdeps/gnu/errlist.c: Regenerated.
53022 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53024         [BZ #15465]
53025         * elf/Makefile (tests): Add tst-null-argv.
53026         (modules-names):  Add tst-null-argv-lib.
53027         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53028         (tst-null-argv-ENV): Set environment for tst-null-argv.
53029         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53030         (RTLD_PROGNAME): New macro.
53031         * elf/tst-null-argv.c: New test case.
53032         * elf/tst-null-argv-lib.c: Library for test case.
53033         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53034         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53035         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53036         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53037         * elf/dl-init.c (call_init): Likewise.
53038         (_dl_init): Likewise.
53039         * elf/dl-load.c (print_search_path): Likewise.
53040         (_dl_map_object): Likewise.
53041         * elf/dl-lookup.c (do_lookup_x): Likewise.
53042         (add_dependency): Likewise.
53043         (_dl_lookup_symbol_x): Likewise.
53044         (_dl_debug_bindings): Likewise.
53045         * elf/dl-open.c (_dl_show_scope): Likewise.
53046         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53047         * elf/dl-version.c (match_symbol): Likewise.
53048         (_dl_check_map_versions): Likewise.
53049         * elf/rtld.c (dl_main): Likewise.
53050         (print_unresolved): Use RTLD_PROGNAME.
53051         (print_missing_version): Likewise.
53052         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53053         (elf_machine_rela): Likewise.
53054         * sysdeps/powerpc/powerpc32/dl-machine.c
53055         (__process_machine_rela): Likewise.
53056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53057         Likewise.
53058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53059         Likewise.
53060         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53061         Likewise.
53062         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53063         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53064         Likewise.
53065         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53066         Likewise.
53067         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53069 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53071         * po/be.po: Add descriptive title.
53072         * po/zh_CN.po: Likewise.
53073         * po/header.pot: Likewise.
53075 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53077         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53078         error message.
53079         (enlarge_archive): Likewise.
53081 2013-05-28  Ben North  <ben@redfrontdoor.org>
53083         * manual/arith.texi (frexp): It is the magnitude of the return
53084         value which lies in [0.5, 1), not the return value itself.
53086 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53090 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53092         * stdio-common/bug26.c (main): Correct fscanf template.
53094         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53095         declare _dl_skip_args.
53097         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53098         Don't declare.
53100         * manual/platform.texi: Add missing @end deftypefun.
53102 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53104         [BZ #15529]
53105         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53106         bit of mantissa of 2^16382.
53107         * math/libm-test.inc (hypot_test_data): Add more tests.
53109         * math/libm-test.inc: Add drem and pow10 to list of tested
53110         functions.
53111         (pow10_test): New function.
53112         (drem_test): Likewise.
53113         (drem_test_tonearest): Likewise.
53114         (drem_test_towardzero): Likewise.
53115         (drem_test_downward): Likewise.
53116         (drem_test_upward): Likewise.
53117         (main): Call the new functions.
53119         * math/libm-test.inc (finite_test_data): Remove.
53120         (finite_test): Run tests from isfinite_test_data.
53121         (gamma_test_data): Remove.
53122         (gamma_test): Run tests from lgamma_test_data.
53123         * sysdeps/i386/fpu/libm-test-ulps: Update.
53124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53126 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53128         * manual/platform.texi: Add PowerPC PPR function set documentation.
53129         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53130         implementation.
53132 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53134         * math/libm-test.inc (MAX_EXP): Define.
53135         (ULPDIFF): Define.
53136         (ulp): New function.
53137         (check_float_internal): Use ULPDIFF.
53138         (cpow_test): Disable failing test.
53139         (check_ulp): Test ulp() implemetnation.
53140         (main): Call check_ulp before starting tests.
53142 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53144         * math/gen-libm-test.pl (generate_testfile): Do not handle
53145         START_DATA and END_DATA.
53146         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53147         END_DATA.
53148         (acos_tonearest_test_data): Likewise.
53149         (acos_towardzero_test_data): Likewise.
53150         (acos_downward_test_data): Likewise.
53151         (acos_upward_test_data): Likewise.
53152         (acosh_test_data): Likewise.
53153         (asin_test_data): Likewise.
53154         (asin_tonearest_test_data): Likewise.
53155         (asin_towardzero_test_data): Likewise.
53156         (asin_downward_test_data): Likewise.
53157         (asin_upward_test_data): Likewise.
53158         (asinh_test_data): Likewise.
53159         (atan_test_data): Likewise.
53160         (atanh_test_data): Likewise.
53161         (atan2_test_data): Likewise.
53162         (cabs_test_data): Likewise.
53163         (cacos_test_data): Likewise.
53164         (cacosh_test_data): Likewise.
53165         (carg_test_data): Likewise.
53166         (casin_test_data): Likewise.
53167         (casinh_test_data): Likewise.
53168         (catan_test_data): Likewise.
53169         (catanh_test_data): Likewise.
53170         (cbrt_test_data): Likewise.
53171         (ccos_test_data): Likewise.
53172         (ccosh_test_data): Likewise.
53173         (ceil_test_data): Likewise.
53174         (cexp_test_data): Likewise.
53175         (cimag_test_data): Likewise.
53176         (clog_test_data): Likewise.
53177         (clog10_test_data): Likewise.
53178         (conj_test_data): Likewise.
53179         (copysign_test_data): Likewise.
53180         (cos_test_data): Likewise.
53181         (cos_tonearest_test_data): Likewise.
53182         (cos_towardzero_test_data): Likewise.
53183         (cos_downward_test_data): Likewise.
53184         (cos_upward_test_data): Likewise.
53185         (cosh_test_data): Likewise.
53186         (cosh_tonearest_test_data): Likewise.
53187         (cosh_towardzero_test_data): Likewise.
53188         (cosh_downward_test_data): Likewise.
53189         (cosh_upward_test_data): Likewise.
53190         (cpow_test_data): Likewise.
53191         (cproj_test_data): Likewise.
53192         (creal_test_data): Likewise.
53193         (csin_test_data): Likewise.
53194         (csinh_test_data): Likewise.
53195         (csqrt_test_data): Likewise.
53196         (ctan_test_data): Likewise.
53197         (ctan_tonearest_test_data): Likewise.
53198         (ctan_towardzero_test_data): Likewise.
53199         (ctan_downward_test_data): Likewise.
53200         (ctan_upward_test_data): Likewise.
53201         (ctanh_test_data): Likewise.
53202         (ctanh_tonearest_test_data): Likewise.
53203         (ctanh_towardzero_test_data): Likewise.
53204         (ctanh_downward_test_data): Likewise.
53205         (ctanh_upward_test_data): Likewise.
53206         (erf_test_data): Likewise.
53207         (erfc_test_data): Likewise.
53208         (exp_test_data): Likewise.
53209         (exp_tonearest_test_data): Likewise.
53210         (exp_towardzero_test_data): Likewise.
53211         (exp_downward_test_data): Likewise.
53212         (exp_upward_test_data): Likewise.
53213         (exp10_test_data): Likewise.
53214         (exp2_test_data): Likewise.
53215         (expm1_test_data): Likewise.
53216         (fabs_test_data): Likewise.
53217         (fdim_test_data): Likewise.
53218         (finite_test_data): Likewise.
53219         (floor_test_data): Likewise.
53220         (fma_test_data): Likewise.
53221         (fma_towardzero_test_data): Likewise.
53222         (fma_downward_test_data): Likewise.
53223         (fma_upward_test_data): Likewise.
53224         (fmax_test_data): Likewise.
53225         (fmin_test_data): Likewise.
53226         (fmod_test_data): Likewise.
53227         (fpclassify_test_data): Likewise.
53228         (frexp_test_data): Likewise.
53229         (gamma_test_data): Likewise.
53230         (hypot_test_data): Likewise.
53231         (ilogb_test_data): Likewise.
53232         (isfinite_test_data): Likewise.
53233         (isgreater_test_data): Likewise.
53234         (isgreaterequal_test_data): Likewise.
53235         (isinf_test_data): Likewise.
53236         (isless_test_data): Likewise.
53237         (islessequal_test_data): Likewise.
53238         (islessgreater_test_data): Likewise.
53239         (isnan_test_data): Likewise.
53240         (isnormal_test_data): Likewise.
53241         (issignaling_test_data): Likewise.
53242         (isunordered_test_data): Likewise.
53243         (j0_test_data): Likewise.
53244         (j1_test_data): Likewise.
53245         (jn_test_data): Likewise.
53246         (ldexp_test_data): Likewise.
53247         (lgamma_test_data): Likewise.
53248         (lrint_test_data): Likewise.
53249         (lrint_tonearest_test_data): Likewise.
53250         (lrint_towardzero_test_data): Likewise.
53251         (lrint_downward_test_data): Likewise.
53252         (lrint_upward_test_data): Likewise.
53253         (llrint_test_data): Likewise.
53254         (llrint_tonearest_test_data): Likewise.
53255         (llrint_towardzero_test_data): Likewise.
53256         (llrint_downward_test_data): Likewise.
53257         (llrint_upward_test_data): Likewise.
53258         (log_test_data): Likewise.
53259         (log10_test_data): Likewise.
53260         (log1p_test_data): Likewise.
53261         (log2_test_data): Likewise.
53262         (logb_test_data): Likewise.
53263         (logb_downward_test_data): Likewise.
53264         (lround_test_data): Likewise.
53265         (llround_test_data): Likewise.
53266         (modf_test_data): Likewise.
53267         (nearbyint_test_data): Likewise.
53268         (nextafter_test_data): Likewise.
53269         (nexttoward_test_data): Likewise.
53270         (pow_test_data): Likewise.
53271         (pow_tonearest_test_data): Likewise.
53272         (pow_towardzero_test_data): Likewise.
53273         (pow_downward_test_data): Likewise.
53274         (pow_upward_test_data): Likewise.
53275         (remainder_test_data): Likewise.
53276         (remainder_tonearest_test_data): Likewise.
53277         (remainder_towardzero_test_data): Likewise.
53278         (remainder_downward_test_data): Likewise.
53279         (remainder_upward_test_data): Likewise.
53280         (remquo_test_data): Likewise.
53281         (rint_test_data): Likewise.
53282         (rint_tonearest_test_data): Likewise.
53283         (rint_towardzero_test_data): Likewise.
53284         (rint_downward_test_data): Likewise.
53285         (rint_upward_test_data): Likewise.
53286         (round_test_data): Likewise.
53287         (scalb_test_data): Likewise.
53288         (scalbn_test_data): Likewise.
53289         (scalbln_test_data): Likewise.
53290         (signbit_test_data): Likewise.
53291         (sin_test_data): Likewise.
53292         (sin_tonearest_test_data): Likewise.
53293         (sin_towardzero_test_data): Likewise.
53294         (sin_downward_test_data): Likewise.
53295         (sin_upward_test_data): Likewise.
53296         (sincos_test_data): Likewise.
53297         (sinh_test_data): Likewise.
53298         (sinh_tonearest_test_data): Likewise.
53299         (sinh_towardzero_test_data): Likewise.
53300         (sinh_downward_test_data): Likewise.
53301         (sinh_upward_test_data): Likewise.
53302         (sqrt_test_data): Likewise.
53303         (tan_test_data): Likewise.
53304         (tan_tonearest_test_data): Likewise.
53305         (tan_towardzero_test_data): Likewise.
53306         (tan_downward_test_data): Likewise.
53307         (tan_upward_test_data): Likewise.
53308         (tanh_test_data): Likewise.
53309         (tgamma_test_data): Likewise.
53310         (trunc_test_data): Likewise.
53311         (y0_test_data): Likewise.
53312         (y1_test_data): Likewise.
53313         (yn_test_data): Likewise.
53314         (significand_test_data): Likewise.
53316         * math/gen-libm-test.pl (@functions): Remove variable.
53317         (generate_testfile): Don't handle START and END lines.
53318         * math/libm-test.inc (START): New macro.
53319         (END): Likewise.
53320         (END_COMPLEX): Likewise.
53321         (acos_test): Use END macro without arguments.
53322         (acos_test_tonearest): Likewise.
53323         (acos_test_towardzero): Likewise.
53324         (acos_test_downward): Likewise.
53325         (acos_test_upward): Likewise.
53326         (acosh_test): Likewise.
53327         (asin_test): Likewise.
53328         (asin_test_tonearest): Likewise.
53329         (asin_test_towardzero): Likewise.
53330         (asin_test_downward): Likewise.
53331         (asin_test_upward): Likewise.
53332         (asinh_test): Likewise.
53333         (atan_test): Likewise.
53334         (atanh_test): Likewise.
53335         (atan2_test): Likewise.
53336         (cabs_test): Likewise.
53337         (cacos_test): Use END_COMPLEX macro without arguments.
53338         (cacosh_test): Likewise.
53339         (carg_test): Use END macro without arguments.
53340         (casin_test): Use END_COMPLEX macro without arguments.
53341         (casinh_test): Likewise.
53342         (catan_test): Likewise.
53343         (catanh_test): Likewise.
53344         (cbrt_test): Use END macro without arguments.
53345         (ccos_test): Use END_COMPLEX macro without arguments.
53346         (ccosh_test): Likewise.
53347         (ceil_test): Use END macro without arguments.
53348         (cexp_test): Use END_COMPLEX macro without arguments.
53349         (cimag_test): Use END macro without arguments.
53350         (clog_test): Use END_COMPLEX macro without arguments.
53351         (clog10_test): Likewise.
53352         (conj_test): Likewise.
53353         (copysign_test): Use END macro without arguments.
53354         (cos_test): Likewise.
53355         (cos_test_tonearest): Likewise.
53356         (cos_test_towardzero): Likewise.
53357         (cos_test_downward): Likewise.
53358         (cos_test_upward): Likewise.
53359         (cosh_test): Likewise.
53360         (cosh_test_tonearest): Likewise.
53361         (cosh_test_towardzero): Likewise.
53362         (cosh_test_downward): Likewise.
53363         (cosh_test_upward): Likewise.
53364         (cpow_test): Use END_COMPLEX macro without arguments.
53365         (cproj_test): Likewise.
53366         (creal_test): Use END macro without arguments.
53367         (csin_test): Use END_COMPLEX macro without arguments.
53368         (csinh_test): Likewise.
53369         (csqrt_test): Likewise.
53370         (ctan_test): Likewise.
53371         (ctan_test_tonearest): Likewise.
53372         (ctan_test_towardzero): Likewise.
53373         (ctan_test_downward): Likewise.
53374         (ctan_test_upward): Likewise.
53375         (ctanh_test): Likewise.
53376         (ctanh_test_tonearest): Likewise.
53377         (ctanh_test_towardzero): Likewise.
53378         (ctanh_test_downward): Likewise.
53379         (ctanh_test_upward): Likewise.
53380         (erf_test): Use END macro without arguments.
53381         (erfc_test): Likewise.
53382         (exp_test): Likewise.
53383         (exp_test_tonearest): Likewise.
53384         (exp_test_towardzero): Likewise.
53385         (exp_test_downward): Likewise.
53386         (exp_test_upward): Likewise.
53387         (exp10_test): Likewise.
53388         (exp2_test): Likewise.
53389         (expm1_test): Likewise.
53390         (fabs_test): Likewise.
53391         (fdim_test): Likewise.
53392         (finite_test): Likewise.
53393         (floor_test): Likewise.
53394         (fma_test): Likewise.
53395         (fma_test_towardzero): Likewise.
53396         (fma_test_downward): Likewise.
53397         (fma_test_upward): Likewise.
53398         (fmax_test): Likewise.
53399         (fmin_test): Likewise.
53400         (fmod_test): Likewise.
53401         (fpclassify_test): Likewise.
53402         (frexp_test): Likewise.
53403         (gamma_test): Likewise.
53404         (hypot_test): Likewise.
53405         (ilogb_test): Likewise.
53406         (isfinite_test): Likewise.
53407         (isgreater_test): Likewise.
53408         (isgreaterequal_test): Likewise.
53409         (isinf_test): Likewise.
53410         (isless_test): Likewise.
53411         (islessequal_test): Likewise.
53412         (islessgreater_test): Likewise.
53413         (isnan_test): Likewise.
53414         (isnormal_test): Likewise.
53415         (issignaling_test): Likewise.
53416         (isunordered_test): Likewise.
53417         (j0_test): Likewise.
53418         (j1_test): Likewise.
53419         (jn_test): Likewise.
53420         (ldexp_test): Likewise.
53421         (lgamma_test): Likewise.
53422         (lrint_test): Likewise.
53423         (lrint_test_tonearest): Likewise.
53424         (lrint_test_towardzero): Likewise.
53425         (lrint_test_downward): Likewise.
53426         (lrint_test_upward): Likewise.
53427         (llrint_test): Likewise.
53428         (llrint_test_tonearest): Likewise.
53429         (llrint_test_towardzero): Likewise.
53430         (llrint_test_downward): Likewise.
53431         (llrint_test_upward): Likewise.
53432         (log_test): Likewise.
53433         (log10_test): Likewise.
53434         (log1p_test): Likewise.
53435         (log2_test): Likewise.
53436         (logb_test): Likewise.
53437         (logb_test_downward): Likewise.
53438         (lround_test): Likewise.
53439         (llround_test): Likewise.
53440         (modf_test): Likewise.
53441         (nearbyint_test): Likewise.
53442         (nextafter_test): Likewise.
53443         (nexttoward_test): Likewise.
53444         (pow_test): Likewise.
53445         (pow_test_tonearest): Likewise.
53446         (pow_test_towardzero): Likewise.
53447         (pow_test_downward): Likewise.
53448         (pow_test_upward): Likewise.
53449         (remainder_test): Likewise.
53450         (remainder_test_tonearest): Likewise.
53451         (remainder_test_towardzero): Likewise.
53452         (remainder_test_downward): Likewise.
53453         (remainder_test_upward): Likewise.
53454         (remquo_test): Likewise.
53455         (rint_test): Likewise.
53456         (rint_test_tonearest): Likewise.
53457         (rint_test_towardzero): Likewise.
53458         (rint_test_downward): Likewise.
53459         (rint_test_upward): Likewise.
53460         (round_test): Likewise.
53461         (scalb_test): Likewise.
53462         (scalbn_test): Likewise.
53463         (scalbln_test): Likewise.
53464         (signbit_test): Likewise.
53465         (sin_test): Likewise.
53466         (sin_test_tonearest): Likewise.
53467         (sin_test_towardzero): Likewise.
53468         (sin_test_downward): Likewise.
53469         (sin_test_upward): Likewise.
53470         (sincos_test): Likewise.
53471         (sinh_test): Likewise.
53472         (sinh_test_tonearest): Likewise.
53473         (sinh_test_towardzero): Likewise.
53474         (sinh_test_downward): Likewise.
53475         (sinh_test_upward): Likewise.
53476         (sqrt_test): Likewise.
53477         (tan_test): Likewise.
53478         (tan_test_tonearest): Likewise.
53479         (tan_test_towardzero): Likewise.
53480         (tan_test_downward): Likewise.
53481         (tan_test_upward): Likewise.
53482         (tanh_test): Likewise.
53483         (tgamma_test): Likewise.
53484         (trunc_test): Likewise.
53485         (y0_test): Likewise.
53486         (y1_test): Likewise.
53487         (yn_test): Likewise.
53488         (significand_test): Likewise.
53490 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53492         [BZ #15381]
53493         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53495 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53497         [BZ #14894]
53498         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53499         __ppc_mdoio and __ppc_mdoom.
53500         * manual/platform.texi: Document new functions __ppc_yield,
53501         __ppc_mdoio and __ppc_mdoom.
53503 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53505         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53506         (main): Mention "tls" pseudo-hwcap is legacy.
53507         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53509 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53511         * math/gen-libm-test.pl (parse_args): Output only string of
53512         arguments as text for test name, not full call or descriptions of
53513         tests for extra outputs.
53514         (generate_testfile): Do not pass function name to parse_args.
53515         Generate this_func variable from START.
53516         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53517         field to arg_str.
53518         (struct test_ff_f_data): Likewise.
53519         (test_ff_f_data_nexttoward): Likewise.
53520         (struct test_fi_f_data): Likewise.
53521         (struct test_fl_f_data): Likewise.
53522         (struct test_if_f_data): Likewise.
53523         (struct test_fff_f_data): Likewise.
53524         (struct test_c_f_data): Likewise.
53525         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53526         (struct test_fF_f1_data): Likewise.
53527         (struct test_ffI_f1_data): Likewise.
53528         (struct test_c_c_data): Rename test_name field to arg_str.
53529         (struct test_cc_c_data): Likewise.
53530         (struct test_f_i_data): Likewise.
53531         (struct test_ff_i_data): Likewise.
53532         (struct test_f_l_data): Likewise.
53533         (struct test_f_L_data): Likewise.
53534         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53535         and extra2_name.
53536         (COMMON_TEST_SETUP): New macro.
53537         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53538         (COMMON_TEST_CLEANUP): Likewise.
53539         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53540         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53541         macros.
53542         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53543         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53544         macros.
53545         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53546         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53547         cleanup macros.
53548         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53549         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53550         macros.
53551         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53552         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53553         macros.
53554         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53555         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53556         cleanup macros.
53557         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53558         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53559         cleanup macros.
53560         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53561         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53562         cleanup macros.
53563         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53564         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53565         macros.
53566         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53567         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53568         macros.
53569         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53570         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53571         macros.
53572         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53573         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53574         cleanup macros.
53575         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53576         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53577         cleanup macros.
53578         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53579         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53580         macros.
53581         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53582         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53583         cleanup macros.
53584         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53585         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53586         macros.
53587         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53588         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53589         macros.
53590         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53591         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53592         cleanup macros.
53593         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53595 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53597         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53598         to _sifields.sigfault.
53599         (si_addr_lsb): Define new macro.
53600         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53601         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53602         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53604 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53606         [BZ #15441]
53607         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53608         returns -1.
53609         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53610         null return -1.
53611         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53612         loading the domain.
53614 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53616         * math/gen-libm-test.pl (parse_args): Do not include expected
53617         result in test name.
53618         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53621         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53622         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53625 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53627         * benchtests/Makefile: Sort function entries.
53629         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53630         tanh, asinh, acosh, atanh.
53631         * benchtests/acos-inputs: New file.
53632         * benchtests/acosh-inputs: New file.
53633         * benchtests/asin-inputs: New file.
53634         * benchtests/asinh-inputs: New file.
53635         * benchtests/atanh-inputs: New file.
53636         * benchtests/cosh-inputs: New file.
53637         * benchtests/log-inputs: New file.
53638         * benchtests/sinh-inputs: New file.
53639         * benchtests/tanh-inputs: New file.
53641 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53643         [BZ #15339]
53644         * posix/tst-getaddrinfo4.c: New test.
53645         * posix/Makefile (tests): Add it.
53647 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53649         [BZ #15339]
53650         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53651         when no services were used.
53652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53653         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53655 2013-05-21  Andreas Schwab  <schwab@suse.de>
53657         [BZ #15014]
53658         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53659         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53660         successful.
53661         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53662         redundant variable declarations and reallocation of buffer when
53663         parsing as IPv6 address.  Always set NSS status when called from
53664         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53665         buffer too small.  Correct computation of needed size.
53666         * nss/Makefile (tests): Add test-digits-dots.
53667         * nss/test-digits-dots.c: New test.
53669 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53671         * benchtests/Makefile: Remove instructions for adding
53672         benchmark tests.
53673         * benchtests/README: New file to explain how to execute and
53674         enhance the benchmark tests.
53676 2013-05-21  Andreas Schwab  <schwab@suse.de>
53678         [BZ #15493]
53679         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53680         * setjmp/tst-sigsetjmp.c: New test.
53682 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53684         * sysdeps/x86_64/memset.S (memset): New implementation.
53685         (__bzero): Likewise.
53686         (__memset_tail): New function.
53688 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53690         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53691         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53692         __memcpy_sse2_unaligned ifunc selection.
53693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53694         Add memcpy-sse2-unaligned.S.
53695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53696         Add: __memcpy_sse2_unaligned.
53698 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53700         [BZ #15490]
53701         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53702         math_force_eval before restoring floating-point envrionment.
53703         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53705         Likewise.
53706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53707         <math_private.h>.
53708         (__nearbyintl): Use math_force_eval before restoring
53709         floating-point environment.
53710         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53712         * math/gen-libm-test.pl (special_functions): Remove.
53713         (parse_args): Don't handle TEST_extra.  Handle functions with no
53714         return value.
53715         * math/libm-test.inc (struct test_sincos_data): Replace with
53716         struct test_fFF_11_data.
53717         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53718         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53719         (sincos_test_data): Change element type to struct
53720         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53721         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53722         RUN_TEST_LOOP_sincos.
53723         * math/README.libm-test: Don't mention special handling of
53724         individual functions.
53725         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53728         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53729         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53732         * math/gen-libm-test.pl (get_variable): Remove function.
53733         (parse_args): Don't show pointer parameters to call in test
53734         names.  Use "extra output N" in test names for extra outputs
53735         rather than naming variables.
53737 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53739         [BZ #15488]
53740         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53741         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53742         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53743         double tests.
53744         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53745         disable.
53746         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53747         check_long_double.
53749         * math/gen-libm-test.pl (@tests): Remove variable.
53750         ($count): Likewise.
53751         (new_test): Remove function.
53752         (show_exceptions): New function.
53753         (special_functions): Use show_exceptions instead of new_test.
53754         (parse_args): Likewise.
53755         (generate_testfile): Pass only function name in generated call to
53756         print_max_error or print_complex_max_error.
53757         (get_ulps): Do not handle complex tests specially.
53758         (output_test): Rename to ...
53759         (get_all_ulps_for_test): ... this.  Return a string rather than
53760         printing to a file.  Require ulps to be present.
53761         (output_ulps): Generate arrays rather than #defines.
53762         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53763         (struct ulp_data): New type.
53764         (BUILD_COMPLEX_ULP): Remove macro.
53765         (compare_ulp_data): New function.
53766         (find_ulps): Likewise.
53767         (find_test_ulps): Likewise.
53768         (find_function_ulps): Likewise.
53769         (find_complex_function_ulps): Likewise.
53770         (print_max_error): Determine allowed ulps using
53771         find_function_ulps.
53772         (print_complex_max_error): Determine allowed ulps using
53773         find_complex_function_ulps.
53774         (check_float_internal): Determine max ulps using find_test_ulps.
53775         (check_float): Do not take max_ulp parameter.  Update call to
53776         check_float_internal.
53777         (check_complex): Likewise.
53778         (check_int): Do not take max_ulp parameter.
53779         (check_long): Likewise.
53780         (check_bool): Likewise.
53781         (check_longlong): Likewise.
53782         (struct test_f_f_data): Remove max_ulp field.
53783         (struct test_ff_f_data): Likewise.
53784         (struct test_ff_f_data_nexttoward): Likewise.
53785         (struct test_fi_f_data): Likewise.
53786         (struct test_fl_f_data): Likewise.
53787         (struct test_if_f_data): Likewise.
53788         (struct test_fff_f_data): Likewise.
53789         (struct test_c_f_data): Likewise.
53790         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53791         (struct test_fF_f1_data): Likewise.
53792         (struct test_ffI_f1_data): Likewise.
53793         (struct test_c_c_data): Remove max_ulp field.
53794         (struct test_cc_c_data): Likewise.
53795         (struct test_f_i_data): Likewise.
53796         (struct test_ff_i_data): Likewise.
53797         (struct test_f_l_data): Likewise.
53798         (struct test_f_L_data): Likewise.
53799         (struct test_sincos_data): Likewise.
53800         (RUN_TEST_f_f): Do not handle ulps.
53801         (RUN_TEST_LOOP_f_f): Likewise.
53802         (RUN_TEST_2_f): Likewise.
53803         (RUN_TEST_LOOP_2_f): Likewise.
53804         (RUN_TEST_fff_f): Likewise.
53805         (RUN_TEST_LOOP_fff_f): Likewise.
53806         (RUN_TEST_c_f): Likewise.
53807         (RUN_TEST_LOOP_c_f): Likewise.
53808         (RUN_TEST_f_f1): Likewise.
53809         (RUN_TEST_LOOP_f_f1): Likewise.
53810         (RUN_TEST_fF_f1): Likewise.
53811         (RUN_TEST_LOOP_fF_f1): Likewise.
53812         (RUN_TEST_fI_f1): Likewise.
53813         (RUN_TEST_LOOP_fI_f1): Likewise.
53814         (RUN_TEST_ffI_f1): Likewise.
53815         (RUN_TEST_LOOP_ffI_f1): Likewise.
53816         (RUN_TEST_c_c): Likewise.
53817         (RUN_TEST_LOOP_c_c): Likewise.
53818         (RUN_TEST_cc_c): Likewise.
53819         (RUN_TEST_LOOP_cc_c): Likewise.
53820         (RUN_TEST_f_i): Likewise.
53821         (RUN_TEST_LOOP_f_i): Likewise.
53822         (RUN_TEST_f_i_tg): Likewise.
53823         (RUN_TEST_LOOP_f_i_tg): Likewise.
53824         (RUN_TEST_ff_i_tg): Likewise.
53825         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53826         (RUN_TEST_f_b): Likewise.
53827         (RUN_TEST_LOOP_f_b): Likewise.
53828         (RUN_TEST_f_b_tg): Likewise.
53829         (RUN_TEST_LOOP_f_b_tg): Likewise.
53830         (RUN_TEST_f_l): Likewise.
53831         (RUN_TEST_LOOP_f_l): Likewise.
53832         (RUN_TEST_f_L): Likewise.
53833         (RUN_TEST_LOOP_f_L): Likewise.
53834         (RUN_TEST_sincos): Likewise.
53835         (RUN_TEST_LOOP_sincos): Likewise.
53837 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53839         [BZ #15480]
53840         [BZ #15485]
53841         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53842         main case of finite arguments, set rounding mode to FE_TONEAREST
53843         and discard exceptions.
53844         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53845         exceptions.
53846         (remainder_tonearest_test_data): New variable.
53847         (remainder_test_tonearest): New function.
53848         (remainder_towardzero_test_data): New variable.
53849         (remainder_test_towardzero): New function.
53850         (remainder_downward_test_data): New variable.
53851         (remainder_test_downward): New function.
53852         (remainder_upward_test_data): New variable.
53853         (remainder_test_upward): New function.
53854         (main): Call the new test functions.
53856         * math/libm-test.inc (struct test_f_f1_data): Remove field
53857         extra_init.
53858         (struct test_fF_f1_data): Likewise.
53859         (struct test_ffI_f1_data): Likewise.
53860         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53861         based on value of EXTRA_EXPECTED.
53862         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53863         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53864         EXTRA_VAR based on value of EXTRA_EXPECTED.
53865         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53866         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53867         EXTRA_VAR based on value of EXTRA_EXPECTED.
53868         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53869         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53870         EXTRA_VAR based on value of EXTRA_EXPECTED.
53871         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53872         * math/gen-libm-test.pl (parse_args): Don't output initializers
53873         for extra output values.
53875         * math/libm-test.inc (check_int): Expect result to be exactly
53876         equal to expected value and do not handle ulps.
53877         (check_long): Likewise.
53878         (check_longlong): Likewise.
53880         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53881         exceptions.
53882         (cimag_test_data): Likewise.
53883         (conj_test_data): Likewise.
53884         (copysign_test_data): Likewise.
53885         (cproj_test_data): Likewise.
53886         (creal_test_data): Likewise.
53887         (fabs_test_data): Likewise.
53888         (fdim_test_data): Likewise.
53889         (finite_test_data): Likewise.
53890         (floor_test_data): Likewise.
53891         (fmax_test_data): Likewise.
53892         (fmin_test_data): Likewise.
53893         (fmod_test_data): Likewise.
53894         (fpclassify_test_data): Likewise.
53895         (frexp_test_data): Likewise.
53896         (ilogb_test_data): Likewise.
53897         (isfinite_test_data): Likewise.
53898         (isgreater_test_data): Likewise.
53899         (isgreaterequal_test_data): Likewise.
53900         (isinf_test_data): Likewise.
53901         (isless_test_data): Likewise.
53902         (islessequal_test_data): Likewise.
53903         (islessgreater_test_data): Likewise.
53904         (isnan_test_data): Likewise.
53905         (isnormal_test_data): Likewise.
53906         (issignaling_test_data): Likewise.
53907         (isunordered_test_data): Likewise.
53908         (ldexp_test_data): Likewise.
53909         (lrint_test_data): Likewise.
53910         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53911         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53912         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53913         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53914         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53915         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53916         test input.
53917         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53918         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53919         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53920         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53921         that test input.
53922         (lrint_downward_test_data): Test for "inexact" exceptions.
53923         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53924         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53925         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53926         test input.
53927         (lrint_upward_test_data): Test for "inexact" exceptions.
53928         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53929         test input.
53930         (llrint_test_data): Test for "inexact" exceptions.
53931         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53932         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53933         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53934         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53935         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53936         (llrint_downward_test_data): Test for "inexact" exceptions.
53937         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53938         (llrint_upward_test_data): Test for "inexact" exceptions.
53939         (logb_test_data): Likewise.
53940         (logb_downward_test_data): Likewise.
53941         (nextafter_test_data): Likewise.
53942         (nexttoward_test_data): Likewise.
53943         (remainder_test_data): Likewise.
53944         (remquo_test_data): Likewise.
53945         (scalbn_test_data): Likewise.
53946         (scalbln_test_data): Likewise.
53947         (signbit_test_data): Likewise.
53948         (sqrt_test_data): Likewise.
53949         (significand_test_data): Likewise.
53951 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53953         [BZ #15424]
53954         * benchtests/bench-modf.c (struct args): Mark arg0 as
53955         volatile.
53956         * scripts/bench.pl: Mark members of struct args as volatile.
53958 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53960         [BZ # 15497]
53961         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53962         negative infinity on POWER6 or lower.
53963         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53965 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53967         [BZ #15442]
53968         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53969         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53970         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53971         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53972         (_FP_SETQNAN): New macro.
53973         (_FP_SETQNAN_SEMIRAW): Likewise.
53974         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53975         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53976         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53977         (FP_EXTEND): Use _FP_FRAC_SNANP.
53978         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53979         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53980         into account.
53981         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53982         New macro.
53983         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53984         Likewise.
53986 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53988         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53989         with DIVIDE_BY_ZERO_EXCEPTION.
53990         (gamma_test_data): Likewise.
53991         (lgamma_test_data): Likewise.
53992         (log_test_data): Likewise.
53993         (log10_test_data): Likewise.
53994         (log2_test_data): Likewise.
53995         (tgamma_test_data): Likewise.
53997         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53998         (acos_test_tonearest): Likewise.
53999         (acos_test_towardzero): Likewise.
54000         (acos_test_downward): Likewise.
54001         (acos_test_upward): Likewise.
54002         (acosh_test): Likewise.
54003         (asin_test): Likewise.
54004         (asin_test_tonearest): Likewise.
54005         (asin_test_towardzero): Likewise.
54006         (asin_test_downward): Likewise.
54007         (asin_test_upward): Likewise.
54008         (asinh_test): Likewise.
54009         (atan_test): Likewise.
54010         (atanh_test): Likewise.
54011         (atan2_test): Likewise.
54012         (cabs_test): Likewise.
54013         (cacos_test): Likewise.
54014         (cacosh_test): Likewise.
54015         (casin_test): Likewise.
54016         (casinh_test): Likewise.
54017         (catan_test): Likewise.
54018         (catanh_test): Likewise.
54019         (cbrt_test): Likewise.
54020         (ccos_test): Likewise.
54021         (ccosh_test): Likewise.
54022         (cexp_test): Likewise.
54023         (clog_test): Likewise.
54024         (clog10_test): Likewise.
54025         (cos_test): Likewise.
54026         (cos_test_tonearest): Likewise.
54027         (cos_test_towardzero): Likewise.
54028         (cos_test_downward): Likewise.
54029         (cos_test_upward): Likewise.
54030         (cosh_test): Likewise.
54031         (cosh_test_tonearest): Likewise.
54032         (cosh_test_towardzero): Likewise.
54033         (cosh_test_downward): Likewise.
54034         (cosh_test_upward): Likewise.
54035         (cpow_test): Likewise.
54036         (csin_test): Likewise.
54037         (csinh_test): Likewise.
54038         (csqrt_test): Likewise.
54039         (ctan_test): Likewise.
54040         (ctan_test_tonearest): Likewise.
54041         (ctan_test_towardzero): Likewise.
54042         (ctan_test_downward): Likewise.
54043         (ctan_test_upward): Likewise.
54044         (ctanh_test): Likewise.
54045         (ctanh_test_tonearest): Likewise.
54046         (ctanh_test_towardzero): Likewise.
54047         (ctanh_test_downward): Likewise.
54048         (ctanh_test_upward): Likewise.
54049         (erf_test): Likewise.
54050         (erfc_test): Likewise.
54051         (exp_test): Likewise.
54052         (exp_test_tonearest): Likewise.
54053         (exp_test_towardzero): Likewise.
54054         (exp_test_downward): Likewise.
54055         (exp_test_upward): Likewise.
54056         (exp10_test): Likewise.
54057         (exp2_test): Likewise.
54058         (expm1_test): Likewise.
54059         (fmod_test): Likewise.
54060         (gamma_test): Likewise.
54061         (hypot_test): Likewise.
54062         (j0_test): Likewise.
54063         (j1_test): Likewise.
54064         (jn_test): Likewise.
54065         (lgamma_test): Likewise.
54066         (log_test): Likewise.
54067         (log10_test): Likewise.
54068         (log1p_test): Likewise.
54069         (log2_test): Likewise.
54070         (logb_test_downward): Likewise.
54071         (pow_test): Likewise.
54072         (pow_test_tonearest): Likewise.
54073         (pow_test_towardzero): Likewise.
54074         (pow_test_downward): Likewise.
54075         (pow_test_upward): Likewise.
54076         (remainder_test): Likewise.
54077         (remquo_test): Likewise.
54078         (sin_test): Likewise.
54079         (sin_test_tonearest): Likewise.
54080         (sin_test_towardzero): Likewise.
54081         (sin_test_downward): Likewise.
54082         (sin_test_upward): Likewise.
54083         (sincos_test): Likewise.
54084         (sinh_test): Likewise.
54085         (sinh_test_tonearest): Likewise.
54086         (sinh_test_towardzero): Likewise.
54087         (sinh_test_downward): Likewise.
54088         (sinh_test_upward): Likewise.
54089         (sqrt_test): Likewise.
54090         (tan_test): Likewise.
54091         (tan_test_tonearest): Likewise.
54092         (tan_test_towardzero): Likewise.
54093         (tan_test_downward): Likewise.
54094         (tan_test_upward): Likewise.
54095         (tanh_test): Likewise.
54096         (tgamma_test): Likewise.
54097         (y0_test): Likewise.
54098         (y1_test): Likewise.
54099         (yn_test): Likewise.
54101         * math/gen-libm-test.pl (adjust_arg): Remove function.
54102         (special_function): Remove argument $in_func.  Only handle
54103         generating output for tables of tests, not inside functions.
54104         (parse_args): Likewise.
54105         (generate_testfile): Remove variable $in_func.  Update call to
54106         parse_args.
54107         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54108         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54109         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54110         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54111         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54112         (MAX_VALUE_INIT): Rename macro to max_value.
54113         (MIN_VALUE_INIT): Rename macro to min_value.
54114         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54115         (plus_zero): Remove variable.
54116         (minus_zero): Likewise.
54117         (plus_infty): Likewise.
54118         (minus_infty): Likewise.
54119         (qnan_value): Likewise.
54120         (max_value): Likewise.
54121         (min_value): Likewise.
54122         (min_subnorm_value): Likewise.
54124 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54126         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54127         uint64_t or uint32_t usage.
54128         * crypt/sha256-block.c: Likewise.
54129         * crypt/sha256-crypt.c: Likewise.
54130         * crypt/sha256.c: Likewise.
54131         * crypt/sha512-block.c: Likewise.
54132         * crypt/sha512-crypt.c: Likewise.
54133         * crypt/sha512.c: Likewise.
54134         * debug/backtrace-tst.c: Likewise.
54135         * debug/pcprofiledump.c: Likewise.
54136         * elf/cache.c: Likewise.
54137         * elf/dl-cache.c: Likewise.
54138         * elf/dl-misc.c: Likewise.
54139         * elf/dl-profile.c: Likewise.
54140         * elf/dl-support.c: Likewise.
54141         * elf/ldconfig.c: Likewise.
54142         * elf/sprof.c: Likewise.
54143         * iconv/dummy-repertoire.c: Likewise.
54144         * iconv/iconv_charmap.c: Likewise.
54145         * iconv/skeleton.c: Likewise.
54146         * iconvdata/8bit-generic.c: Likewise.
54147         * iconvdata/cp737.h: Likewise.
54148         * iconvdata/cp775.h: Likewise.
54149         * iconvdata/ibm1008.h: Likewise.
54150         * iconvdata/ibm1025.h: Likewise.
54151         * iconvdata/ibm1046.h: Likewise.
54152         * iconvdata/ibm1097.h: Likewise.
54153         * iconvdata/ibm1112.h: Likewise.
54154         * iconvdata/ibm1122.h: Likewise.
54155         * iconvdata/ibm1123.h: Likewise.
54156         * iconvdata/ibm1124.h: Likewise.
54157         * iconvdata/ibm1129.h: Likewise.
54158         * iconvdata/ibm1130.h: Likewise.
54159         * iconvdata/ibm1132.h: Likewise.
54160         * iconvdata/ibm1133.h: Likewise.
54161         * iconvdata/ibm1137.h: Likewise.
54162         * iconvdata/ibm1140.h: Likewise.
54163         * iconvdata/ibm1141.h: Likewise.
54164         * iconvdata/ibm1142.h: Likewise.
54165         * iconvdata/ibm1143.h: Likewise.
54166         * iconvdata/ibm1144.h: Likewise.
54167         * iconvdata/ibm1145.h: Likewise.
54168         * iconvdata/ibm1146.h: Likewise.
54169         * iconvdata/ibm1147.h: Likewise.
54170         * iconvdata/ibm1148.h: Likewise.
54171         * iconvdata/ibm1149.h: Likewise.
54172         * iconvdata/ibm1153.h: Likewise.
54173         * iconvdata/ibm1154.h: Likewise.
54174         * iconvdata/ibm1155.h: Likewise.
54175         * iconvdata/ibm1156.h: Likewise.
54176         * iconvdata/ibm1157.h: Likewise.
54177         * iconvdata/ibm1158.h: Likewise.
54178         * iconvdata/ibm1160.h: Likewise.
54179         * iconvdata/ibm1161.h: Likewise.
54180         * iconvdata/ibm1162.h: Likewise.
54181         * iconvdata/ibm1163.h: Likewise.
54182         * iconvdata/ibm1164.h: Likewise.
54183         * iconvdata/ibm1166.h: Likewise.
54184         * iconvdata/ibm1167.h: Likewise.
54185         * iconvdata/ibm12712.h: Likewise.
54186         * iconvdata/ibm1390.h: Likewise.
54187         * iconvdata/ibm1399.h: Likewise.
54188         * iconvdata/ibm16804.h: Likewise.
54189         * iconvdata/ibm4517.h: Likewise.
54190         * iconvdata/ibm4899.h: Likewise.
54191         * iconvdata/ibm4909.h: Likewise.
54192         * iconvdata/ibm4971.h: Likewise.
54193         * iconvdata/ibm5347.h: Likewise.
54194         * iconvdata/ibm803.h: Likewise.
54195         * iconvdata/ibm856.h: Likewise.
54196         * iconvdata/ibm901.h: Likewise.
54197         * iconvdata/ibm902.h: Likewise.
54198         * iconvdata/ibm9030.h: Likewise.
54199         * iconvdata/ibm9066.h: Likewise.
54200         * iconvdata/ibm921.h: Likewise.
54201         * iconvdata/ibm922.h: Likewise.
54202         * iconvdata/ibm9448.h: Likewise.
54203         * iconvdata/isiri-3342.h: Likewise.
54204         * iconvdata/jis0201.h: Likewise.
54205         * include/link.h: Likewise.
54206         * include/netdb.h: Likewise.
54207         * inet/check_native.c: Likewise.
54208         * inet/check_pf.c: Likewise.
54209         * inet/getipv4sourcefilter.c: Likewise.
54210         * inet/getnameinfo.c: Likewise.
54211         * inet/getsourcefilter.c: Likewise.
54212         * inet/htonl.c: Likewise.
54213         * inet/setipv4sourcefilter.c: Likewise.
54214         * inet/setsourcefilter.c: Likewise.
54215         * inet/test-inet6_opt.c: Likewise.
54216         * inet/tst-network.c: Likewise.
54217         * locale/C-collate.c: Likewise.
54218         * locale/C-ctype.c: Likewise.
54219         * locale/C-time.c: Likewise.
54220         * locale/C-translit.h: Likewise.
54221         * locale/loadarchive.c: Likewise.
54222         * locale/programs/3level.h: Likewise.
54223         * locale/programs/charmap.c: Likewise.
54224         * locale/programs/charmap.h: Likewise.
54225         * locale/programs/ld-address.c: Likewise.
54226         * locale/programs/ld-collate.c: Likewise.
54227         * locale/programs/ld-ctype.c: Likewise.
54228         * locale/programs/ld-identification.c: Likewise.
54229         * locale/programs/ld-measurement.c: Likewise.
54230         * locale/programs/ld-messages.c: Likewise.
54231         * locale/programs/ld-monetary.c: Likewise.
54232         * locale/programs/ld-name.c: Likewise.
54233         * locale/programs/ld-numeric.c: Likewise.
54234         * locale/programs/ld-paper.c: Likewise.
54235         * locale/programs/ld-telephone.c: Likewise.
54236         * locale/programs/ld-time.c: Likewise.
54237         * locale/programs/linereader.c: Likewise.
54238         * locale/programs/locale.c: Likewise.
54239         * locale/programs/locarchive.c: Likewise.
54240         * locale/programs/locfile.h: Likewise.
54241         * locale/programs/repertoire.c: Likewise.
54242         * locale/programs/simple-hash.c: Likewise.
54243         * locale/programs/simple-hash.h: Likewise.
54244         * malloc/memusage.c: Likewise.
54245         * malloc/memusagestat.c: Likewise.
54246         * nis/nis_defaults.c: Likewise.
54247         * nis/nis_hash.c: Likewise.
54248         * nis/nis_print.c: Likewise.
54249         * nis/nis_xdr.c: Likewise.
54250         * nscd/connections.c: Likewise.
54251         * nscd/hstcache.c: Likewise.
54252         * nscd/nscd_gethst_r.c: Likewise.
54253         * nscd/nscd_getserv_r.c: Likewise.
54254         * nscd/nscd_helper.c: Likewise.
54255         * nscd/servicescache.c: Likewise.
54256         * nss/makedb.c: Likewise.
54257         * nss/nss_db/db-XXX.c: Likewise.
54258         * nss/nss_db/db-initgroups.c: Likewise.
54259         * nss/nss_db/db-netgrp.c: Likewise.
54260         * nss/nss_files/files-network.c: Likewise.
54261         * nss/nss_files/files-parse.c: Likewise.
54262         * posix/bug-regex5.c: Likewise.
54263         * posix/fnmatch_loop.c: Likewise.
54264         * posix/regcomp.c: Likewise.
54265         * posix/regexec.c: Likewise.
54266         * posix/tst-rfc3484-2.c: Likewise.
54267         * posix/tst-rfc3484-3.c: Likewise.
54268         * posix/tst-rfc3484.c: Likewise.
54269         * resolv/nss_dns/dns-canon.c: Likewise.
54270         * resolv/nss_dns/dns-network.c: Likewise.
54271         * resolv/res_init.c: Likewise.
54272         * resolv/res_mkquery.c: Likewise.
54273         * resolv/tst-aton.c: Likewise.
54274         * stdlib/cxa_atexit.c: Likewise.
54275         * stdlib/cxa_finalize.c: Likewise.
54276         * stdlib/gen-fpioconst.c: Likewise.
54277         * stdlib/strtol_l.c: Likewise.
54278         * string/tst-endian.c: Likewise.
54279         * sunrpc/auth_des.c: Likewise.
54280         * sunrpc/clnt_udp.c: Likewise.
54281         * sunrpc/rtime.c: Likewise.
54282         * sunrpc/svcauth_des.c: Likewise.
54283         * sunrpc/xdr.c: Likewise.
54284         * sunrpc/xdr_intXX_t.c: Likewise.
54285         * sunrpc/xdr_rec.c: Likewise.
54286         * sysdeps/generic/ldconfig.h: Likewise.
54287         * sysdeps/generic/ldsodefs.h: Likewise.
54288         * sysdeps/generic/memusage.h: Likewise.
54289         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54290         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54291         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54292         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54295         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54296         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54297         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54299         * sysdeps/posix/getaddrinfo.c: Likewise.
54300         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54301         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54302         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54303         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54304         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54305         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54306         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54307         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54308         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54309         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54310         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54311         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54312         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54313         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54314         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54315         * sysdeps/x86_64/dl-tls.h: Likewise.
54316         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54317         * time/alt_digit.c: Likewise.
54318         * time/era.c: Likewise.
54319         * wcsmbs/tst-c16c32-1.c: Likewise.
54321 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54323         * math/libm-test.inc (struct test_sincos_data): New type.
54324         (RUN_TEST_LOOP_sincos): New macro.
54325         (sincos_test_data): New variable.
54326         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54328 2013-05-16  Richard Henderson  <rth@redhat.com>
54330         * math/atest-exp2.c (LIMB64): New macro.
54331         (CONSTSZ): New macro.
54332         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54333         (hexdig): Move ...
54334         (print_mpn_fp): ... to function scope.
54335         (read_mpn_hex): Remove.
54336         (get_log2): Remove.
54337         (exp2_mpn): Use mp_log2.
54338         (main): Use mp_exp1.
54340 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54342         * math/libm-test.inc: Remove comment about not testing "inexact"
54343         exceptions.
54344         (INEXACT_EXCEPTION): New macro.
54345         (NO_INEXACT_EXCEPTION): Likewise.
54346         (INVALID_EXCEPTION_OK): Update value.
54347         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54348         (OVERFLOW_EXCEPTION_OK): Likewise.
54349         (UNDERFLOW_EXCEPTION_OK): Likewise.
54350         (IGNORE_ZERO_INF_SIGN): Likewise.
54351         (ERRNO_UNCHANGED): Likewise.
54352         (ERRNO_EDOM): Likewise.
54353         (ERRNO_ERANGE): Likewise.
54354         (test_exceptions): Handle testing "inexact" exceptions.
54355         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54356         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54357         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54358         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54359         INEXACT_EXCEPTION.
54360         (rint_towardzero_test_data): Likewise.
54361         (rint_downward_test_data): Likewise.
54362         (rint_upward_test_data): Likewise.
54364         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54365         with OVERFLOW_EXCEPTION.
54366         (exp10_test_data): Likewise.
54367         (exp2_test_data): Likewise.
54368         (expm1_test_data): Likewise.
54369         (lgamma_test_data): Likewise.
54370         (pow_test_data): Likewise.
54371         (tgamma_test_data): Likewise.
54372         (yn_test_data): Remove duplicate test of overflow.
54374         * math/libm-test.inc (struct test_cc_c_data): New type.
54375         (RUN_TEST_LOOP_cc_c): New macro.
54376         (cpow_test_data): New variable.
54377         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54379         * math/libm-test.inc (struct test_f_L_data): New type.
54380         (RUN_TEST_LOOP_f_L): New macro.
54381         (llrint_test_data): New variable.
54382         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54383         (llrint_tonearest_test_data): New variable.
54384         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54385         (llrint_towardzero_test_data): New variable.
54386         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54387         (llrint_downward_test_data): New variable.
54388         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54389         (llrint_upward_test_data): New variable.
54390         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54391         (llround_test_data): New variable.
54392         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54394 2013-05-13  Peter Collingbourne  <pcc@google.com>
54396         * math/atest-exp2.c (get_log2): Remove const attribute.
54398 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54400         * math/libm-test.inc (struct test_f_l_data): New type.
54401         (RUN_TEST_LOOP_f_l): New macro.
54402         (lrint_test_data): New variable.
54403         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54404         (lrint_tonearest_test_data): New variable.
54405         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54406         (lrint_towardzero_test_data): New variable.
54407         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54408         (lrint_downward_test_data): New variable.
54409         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54410         (lrint_upward_test_data): New variable.
54411         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54412         (lround_test_data): New variable.
54413         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54415 2013-05-15  Peter Collingbourne  <pcc@google.com>
54417         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54418         (EXTRACT_WORDS64) Use where appropriate.
54419         (INSERT_WORDS64) Likewise.
54421         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54422         constraints with x constraints.
54423         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54425         * malloc/obstack.c (_obstack_compat): Add initializer.
54427 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54429         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54430         si_trapno and add si_addr_lsb to _sifields.sigfault.
54431         (si_trapno): Remove macro.
54432         (si_addr_lsb): Define new macro.
54433         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54435 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54437         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54438         instead of TEST_f_l.
54439         (llrint_test_tonearest): Likewise.
54440         (llrint_test_towardzero): Likewise.
54441         (llrint_test_downward): Likewise.
54442         (llrint_test_upward): Likewise.
54443         (llround_test): Likewise.
54445         * math/libm-test.inc (struct test_f_i_data): Add comment.
54446         (RUN_TEST_LOOP_f_b): New macro.
54447         (RUN_TEST_LOOP_f_b_tg): Likewise.
54448         (finite_test_data): New variable.
54449         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54450         (isfinite_test_data): New variable.
54451         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54452         (isinf_test_data): New variable.
54453         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54454         (isnan_test_data): New variable.
54455         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54456         (isnormal_test_data): New variable.
54457         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54458         (issignaling_test_data): New variable.
54459         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54460         (signbit_test_data): New variable.
54461         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54463         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54464         with INVALID_EXCEPTION.
54465         (acosh_test_data): Likewise.
54466         (asin_test_data): Likewise.
54467         (atanh_test_data): Likewise.
54468         (fmod_test_data): Likewise.
54469         (log_test_data): Likewise.
54470         (log10_test_data): Likewise.
54471         (log2_test_data): Likewise.
54472         (pow_test_data): Likewise.
54473         (sqrt_test_data): Likewise.
54474         (y0_test_data): Likewise.
54475         (y1_test_data): Likewise.
54476         (yn_test_data): Likewise.
54478         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54479         function contents.
54481         * math/libm-test.inc (struct test_ff_i_data): New type.
54482         (RUN_TEST_LOOP_ff_i_tg): New macro.
54483         (isgreater_test_data): New variable.
54484         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54485         (isgreaterequal_test_data): New variable.
54486         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54487         (isless_test_data): New variable.
54488         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54489         (islessequal_test_data): New variable.
54490         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54491         (islessgreater_test_data): New variable.
54492         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54493         (isunordered_test_data): New variable.
54494         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54496 2013-05-14  David S. Miller  <davem@davemloft.net>
54498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54500 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54502         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54504         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54505         extra_test to int.
54506         (struct test_f_i_data): Change type of max_ulp to int.
54508         * math/libm-test.inc (test_ffI_f1_data): New type.
54509         (RUN_TEST_LOOP_ffI_f1): New macro.
54510         (remquo_test_data): New variable.
54511         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54513         * setjmp/tst-setjmp-fp.c: New file.
54514         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54515         (link-libm): New variable.
54516         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54518         * math/libm-test.inc (struct test_f_i_data): New type.
54519         (RUN_TEST_LOOP_f_i): New macro.
54520         (RUN_TEST_LOOP_f_i_tg): Likewise.
54521         (fpclassify_test_data): New variable.
54522         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54523         (ilogb_test_data): New variable.
54524         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54526         * math/libm-test.inc (scalbln_test): Correct function name in END
54527         call.
54529         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54530         (RUN_TEST_LOOP_fI_f1): New macro.
54531         (frexp_test_data): New variable.
54532         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54534         * math/libm-test.inc (struct test_fF_f1_data): New type.
54535         (RUN_TEST_LOOP_fF_f1): New macro.
54536         (modf_test_data): New variable.
54537         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54539         * math/libm-test.inc (struct test_f_f1_data): New type.
54540         (RUN_TEST_LOOP_f_f1): New macro.
54541         (gamma_test_data): New variable.
54542         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54543         (lgamma_test_data): New variable.
54544         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54546 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54548         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54549         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54550         (main): Comment "tls" pseudo-hwcap.
54552 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54554         * math/libm-test.inc (struct test_fl_f_data): New type.
54555         (RUN_TEST_LOOP_fl_f): New variable.
54556         (scalbln_test_data): New variable.
54557         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54559         * math/libm-test.inc (struct test_fi_f_data): New type.
54560         (RUN_TEST_LOOP_fi_f): New macro.
54561         (ldexp_test_data): New variable.
54562         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54563         (scalbn_test_data): New variable.
54564         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54566         * math/libm-test.inc (struct test_c_f_data): New type.
54567         (RUN_TEST_LOOP_c_f): New macro.
54568         (cabs_test_data): New variable.
54569         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54570         (carg_test_data): New variable.
54571         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54572         (cimag_test_data): New variable.
54573         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54574         (creal_test_data): New variable.
54575         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54577         * math/libm-test.inc (struct test_if_f_data): New type.
54578         (RUN_TEST_LOOP_if_f): New macro.
54579         (jn_test_data): New variable.
54580         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54581         (yn_test_data): New variable.
54582         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54584         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54586 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54588         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54589         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54591 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54593         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54594         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54595         (bench-deps): Add bench-timing.h.
54596         * benchtests-bench-skeleton.c: Include bench-timing.h.
54597         (main): Use TIMING_* macros instead of clock_gettime.
54598         * benchtests/bench-timing.h: New file.
54600         [BZ #14582]
54601         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54602         Renamed from _LIB_VERSION.
54603         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54605 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54607         * math/libm-test.inc (struct test_fff_f_data): New type.
54608         (RUN_TEST_LOOP_fff_f): New macro.
54609         (fma_test_data): New variable.
54610         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54611         (fma_towardzero_test_data): New variable.
54612         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54613         (fma_downward_test_data): New variable.
54614         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54615         (fma_upward_test_data): New variable.
54616         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54618         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54619         (struct test_c_c_data): New type.
54620         (RUN_TEST_LOOP_c_c): New macro.
54621         (cacos_test_data): New variable.
54622         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54623         (cacosh_test_data): New variable.
54624         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54625         (casin_test_data): New variable.
54626         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54627         (casinh_test_data): New variable.
54628         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54629         (catan_test_data): New variable.
54630         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54631         (catanh_test_data): New variable.
54632         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54633         (ccos_test_data): New variable.
54634         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54635         (ccosh_test_data): New variable.
54636         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54637         (cexp_test_data): New variable.
54638         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54639         (clog_test_data): New variable.
54640         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54641         (clog10_test_data): New variable.
54642         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54643         (conj_test_data): New variable.
54644         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54645         (cproj_test_data): New variable.
54646         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54647         (csin_test_data): New variable.
54648         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54649         (csinh_test_data): New variable.
54650         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54651         (csqrt_test_data): New variable.
54652         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54653         (ctan_test_data): New variable.
54654         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54655         (ctan_tonearest_test_data): New variable.
54656         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54657         (ctan_towardzero_test_data): New variable.
54658         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54659         (ctan_downward_test_data): New variable.
54660         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54661         (ctan_upward_test_data): New variable.
54662         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54663         (ctanh_test_data): New variable.
54664         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54665         (ctanh_tonearest_test_data): New variable.
54666         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54667         (ctanh_towardzero_test_data): New variable.
54668         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54669         (ctanh_downward_test_data): New variable.
54670         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54671         (ctanh_upward_test_data): New variable.
54672         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54673         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54674         of BUILD_COMPLEX.
54676         * math/libm-test.inc (struct test_ff_f_data): New type.
54677         (struct test_ff_f_data_nexttoward): Likewise.
54678         (RUN_TEST_LOOP_2_f): New macro.
54679         (RUN_TEST_LOOP_ff_f): Likewise.
54680         (atan2_test_data): New variable.
54681         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54682         (copysign_test_data): New variable.
54683         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54684         (fdim_test_data): New variable.
54685         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54686         (fmax_test_data): New variable.
54687         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54688         (fmin_test_data): New variable.
54689         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54690         (fmod_test_data): New variable.
54691         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54692         (hypot_test_data): New variable.
54693         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54694         (nextafter_test_data): New variable.
54695         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54696         (nexttoward_test_data): New variable.
54697         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54698         (pow_test_data): New variable.
54699         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54700         (pow_tonearest_test_data): New variable.
54701         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54702         (pow_towardzero_test_data): New variable.
54703         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54704         (pow_downward_test_data): New variable.
54705         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54706         (pow_upward_test_data): New variable.
54707         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54708         (remainder_test_data): New variable.
54709         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54710         (scalb_test_data): New variable.
54711         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54712         * sysdeps/i386/fpu/libm-test-ulps: Update.
54714 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54716         * math/libm-test.inc (fma_test): Use max_value instead of local
54717         variable fltmax.
54718         (nextafter_test): Likewise.
54720         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54721         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54722         (acos_downward_test_data): New variable.
54723         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54724         (acos_upward_test_data): New variable.
54725         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54726         (acosh_test_data): New variable.
54727         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54728         (asin_test_data): New variable.
54729         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54730         (asin_tonearest_test_data): New variable.
54731         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54732         (asin_towardzero_test_data): New variable.
54733         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54734         (asin_downward_test_data): New variable.
54735         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54736         (asin_upward_test_data): New variable.
54737         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54738         (asinh_test_data): New variable.
54739         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54740         (atan_test_data): New variable.
54741         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54742         (atanh_test_data): New variable.
54743         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54744         (cbrt_test_data): New variable.
54745         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54746         (ceil_test_data): New variable.
54747         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54748         (cos_test_data): New variable.
54749         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54750         (cos_tonearest_test_data): New variable.
54751         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54752         (cos_towardzero_test_data): New variable.
54753         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54754         (cos_downward_test_data): New variable.
54755         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54756         (cos_upward_test_data): New variable.
54757         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54758         (cosh_test_data): New variable.
54759         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54760         (cosh_tonearest_test_data): New variable.
54761         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54762         (cosh_towardzero_test_data): New variable.
54763         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54764         (cosh_downward_test_data): New variable.
54765         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54766         (cosh_upward_test_data): New variable.
54767         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54768         (erf_test_data): New variable.
54769         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54770         (erfc_test_data): New variable.
54771         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54772         (exp_test_data): New variable.
54773         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54774         (exp_tonearest_test_data): New variable.
54775         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54776         (exp_towardzero_test_data): New variable.
54777         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54778         (exp_downward_test_data): New variable.
54779         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54780         (exp_upward_test_data): New variable.
54781         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54782         (exp10_test_data): New variable.
54783         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54784         (exp2_test_data): New variable.
54785         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54786         (expm1_test_data): New variable.
54787         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54788         (fabs_test_data): New variable.
54789         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54790         (floor_test_data): New variable.
54791         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54792         (j0_test_data): New variable.
54793         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54794         (j1_test_data): New variable.
54795         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54796         (log_test_data): New variable.
54797         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54798         (log10_test_data): New variable.
54799         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54800         (log1p_test_data): New variable.
54801         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54802         (log2_test_data): New variable.
54803         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54804         (logb_test_data): New variable.
54805         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54806         (logb_downward_test_data): New variable.
54807         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54808         (nearbyint_test_data): New variable.
54809         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54810         (rint_test_data): New variable.
54811         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54812         (rint_tonearest_test_data): New variable.
54813         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54814         (rint_towardzero_test_data): New variable.
54815         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54816         (rint_downward_test_data): New variable.
54817         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54818         (rint_upward_test_data): New variable.
54819         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54820         (round_test_data): New variable.
54821         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54822         (sin_test_data): New variable.
54823         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54824         (sin_tonearest_test_data): New variable.
54825         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54826         (sin_towardzero_test_data): New variable.
54827         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54828         (sin_downward_test_data): New variable.
54829         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54830         (sin_upward_test_data): New variable.
54831         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54832         (sinh_test_data): New variable.
54833         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54834         (sinh_tonearest_test_data): New variable.
54835         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54836         (sinh_towardzero_test_data): New variable.
54837         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54838         (sinh_downward_test_data): New variable.
54839         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54840         (sinh_upward_test_data): New variable.
54841         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54842         (sqrt_test_data): New variable.
54843         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54844         (tan_test_data): New variable.
54845         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54846         (tan_tonearest_test_data): New variable.
54847         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54848         (tan_towardzero_test_data): New variable.
54849         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54850         (tan_downward_test_data): New variable.
54851         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54852         (tan_upward_test_data): New variable.
54853         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54854         (tanh_test_data): New variable.
54855         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54856         (tgamma_test_data): New variable.
54857         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54858         (trunc_test_data): New variable.
54859         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54860         (y0_test_data): New variable.
54861         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54862         (y1_test_data): New variable.
54863         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54864         (significand_test_data): New variable.
54865         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54867 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54869         [BZ #12387]
54870         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54872 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54874         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54876 2013-05-10  Andreas Jaeger  <aj@suse.de>
54878         [BZ #15448]
54879         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54880         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54882 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54884         * math/gen-libm-test.pl (adjust_arg): New function.
54885         (special_functions): Handle generating output in both functions
54886         and arrays.
54887         (parse_args): Likewise.
54888         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54889         $in_func argument to parse_args.
54890         * math/libm-test.inc (struct test_f_f_data): New type.
54891         (IF_ROUND_INIT_): New macro.
54892         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54893         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54894         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54895         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54896         (ROUND_RESTORE_): Likewise.
54897         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54898         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54899         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54900         (ROUND_RESTORE_FE_UPWARD): Likewise.
54901         (RUN_TEST_LOOP_f_f): New macro.
54902         (acos_test_data): New variable.
54903         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54904         (acos_tonearest_test_data): New variable.
54905         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54907 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54909         * benchtests/bench-skeleton.c (startup): Fix coding style.
54911 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54913         [BZ #6809]
54914         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54915         negative infinity argument.
54916         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54917         negative infinity argument.
54918         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54919         negative infinity argument.
54920         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54921         domain errors.
54923 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54925         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54926         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54927         * iconv/iconv_prog.c (main): Likewise.
54928         * locale/programs/charmap-dir.c (charmap_readdir)
54929         (fopen_uncompressed): Likewise.
54930         * locale/programs/locfile.c (siblings_uncached)
54931         (write_locale_data): Use lstat64 instead of lstat.
54932         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54933         stat.
54935 2013-05-10  Andreas Jaeger  <aj@suse.de>
54937         [BZ #15395]
54938         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54939         localization.
54940         Include <locale.h>.
54942 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54944         * elf/dl-close.c (_dl_close_worker): Add comments.
54946 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54948         [BZ #15359]
54949         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54950         high part of pi/2.
54951         (__ieee754_rem_pio2l): Update comments.
54953         [BZ #15429]
54954         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54955         high part of pi/2.
54956         (__ieee754_rem_pio2l): Update comments.
54958         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54959         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54961         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54962         M_PI_4l.
54964         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54965         (M_PI_34_LOG10El): Likewise.
54966         (M_PI2_LOG10El): Likewise.
54967         (M_PI4_LOG10El): Likewise.
54968         (M_PI_LOG10El): Likewise.
54970 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54974 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54976         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54977         (MINUS_ZERO_INIT): Likewise.
54978         (PLUS_INFTY_INIT): Likewise.
54979         (MINUS_INFTY_INIT): Likewise.
54980         (QNAN_VALUE_INIT): Likewise.
54981         (MAX_VALUE_INIT): Likewise.
54982         (MIN_VALUE_INIT): Likewise.
54983         (MIN_SUBNORM_VALUE_INIT): Likewise.
54984         (plus_zero): Initialize with PLUS_ZERO_INIT.
54985         (minus_zero): Initialize with MINUS_ZERO_INIT.
54986         (plus_infty): Initialize with PLUS_INFTY_INIT.
54987         (minus_infty): Initialize with MINUS_INFTY_INIT.
54988         (qnan_value): Initialize with QNAN_VALUE_INIT.
54989         (max_value): Initialize with MAX_VALUE_INIT.
54990         (min_value): Initialize with MIN_VALUE_INIT.
54991         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54993         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54994         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54995         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54996         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54998         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54999         (RUN_TEST_2_f): Likewise.
55000         (RUN_TEST_ff_f): Likewise.
55001         (RUN_TEST_fi_f): Likewise.
55002         (RUN_TEST_fl_f): Likewise.
55003         (RUN_TEST_fff_f): Likewise.
55004         (RUN_TEST_c_f): Likewise.
55005         (RUN_TEST_f_f1): Likewise.
55006         (RUN_TEST_fF_f1): Likewise.
55007         (RUN_TEST_fI_f1): Likewise.
55008         (RUN_TEST_ffI_f1): Likewise.
55009         (RUN_TEST_c_c): Likewise.
55010         (RUN_TEST_cc_c): Likewise.
55011         (RUN_TEST_f_i): Likewise.
55012         (RUN_TEST_f_i_tg): Likewise.
55013         (RUN_TEST_ff_i_tg): Likewise.
55014         (RUN_TEST_f_b): Likewise.
55015         (RUN_TEST_f_b_tg): Likewise.
55016         (RUN_TEST_f_l): Likewise.
55017         (RUN_TEST_f_L): Likewise.
55018         (RUN_TEST_sincos): Likewise.
55019         * math/gen-libm-test.pl (new_test): Take new argument to indicate
55020         whether to show exceptions.  Do not include ");\n" in return
55021         value.
55022         (special_functions): Output call to RUN_TEST_sincos instead of
55023         check_float calls.  Update calls to new_test.
55024         (parse_args): Output call to single RUN_TEST_* macro instead of
55025         check_* calls and other assignments.  Update calls to new_test.
55027         [BZ #2546]
55028         [BZ #2560]
55029         [BZ #5159]
55030         [BZ #15426]
55031         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55032         input to result for tgamma overflow.
55033         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55034         (gamma_coeff): New variable.
55035         (NCOEFF): New macro.
55036         (gamma_positive): New function.
55037         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55038         underflow here.  Use gamma_positive instead of exp (lgamma) for
55039         other arguments.
55040         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55041         (gamma_coeff): New variable.
55042         (NCOEFF): New macro.
55043         (gammaf_positive): New function.
55044         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55045         underflow here.  Use gamma_positive instead of exp (lgamma) for
55046         other arguments.
55047         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55048         (gamma_coeff): New variable.
55049         (NCOEFF): New macro.
55050         (gammal_positive): New function.
55051         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55052         underflow here.  Use gamma_positive instead of exp (lgamma) for
55053         other arguments.
55054         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55055         (gamma_coeff): New variable.
55056         (NCOEFF): New macro.
55057         (gammal_positive): New function.
55058         (__ieee754_gammal_r): Handle positive infinity, overflow and
55059         underflow here.  Handle NaN the same as positive infinity.  Remove
55060         check x < 0xffffffff for negative integers.  Use gamma_positive
55061         instead of exp (lgamma) for other arguments.
55062         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55063         (gamma_coeff): New variable.
55064         (NCOEFF): New macro.
55065         (gammal_positive): New function.
55066         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55067         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55071         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55072         * sysdeps/generic/math_private.h (__gamma_productf): New
55073         prototype.
55074         (__gamma_product): Likewise.
55075         (__gamma_productl): Likewise.
55076         * math/Makefile (libm-calls): Add gamma_product.
55077         * math/libm-test.inc (tgamma_test): Add more tests.
55078         * sysdeps/i386/fpu/libm-test-ulps: Update.
55079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55081 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55083         * benchtests/bench-skeleton.c (main): Preheat CPU.
55085 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55087         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55089 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55091         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55092         and _dl_skip_args_internal.
55094 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55096         * manual/message.texi (Message Translation): Talk about users.
55097         Message to key mapping impacts design.
55099 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55101         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55103         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55105         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55106         * sysdeps/wordsize-64/glob64.c: ... here.
55108         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55109         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55110         New macros.
55112         * debug/getlogin_r_chk.c: Moved to ...
55113         * login/getlogin_r_chk.c: ... here.
55114         * debug/Makefile (routines): Move getlogin_r_chk to ...
55115         * login/Makefile (routines): ... here.
55116         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55117         * login/Versions (libc: GLIBC_2.4): ... here.
55119         * io/poll.c (__poll): Renamed from poll.
55120         Add libc_hidden_def.
55121         (poll): Define as weak alias.
55123         * debug/ptsname_r_chk.c: Moved to ...
55124         * login/ptsname_r_chk.c: ... here.
55125         * debug/Makefile (routines): Move ptsname_r_chk to ...
55126         * login/Makefile (routines): ... here.
55127         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55128         * login/Versions (libc: GLIBC_2.4): ... here.
55130         * posix/getlogin.c: Moved to ...
55131         * login/getlogin.c: ... here.
55132         * posix/getlogin_r.c: Moved to ...
55133         * login/getlogin_r.c: ... here.
55134         * posix/getlogin_r.c: Moved to ...
55135         * login/getlogin_r.c: ... here.
55136         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55137         * login/Makefile (routines): ... here.
55138         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55139         * login/Versions (libc: GLIBC_2.0): ... here.
55141         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55142         (setrlimit): Define as weak alias.
55144         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55145         Call __ names for open, ftruncate, and close.
55146         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55147         (truncate): Define as weak alias.
55149 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55151         * math/gen-libm-test.pl (parse_args): Initialize x before each
55152         test of frexp, modf and remquo.
55154         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55155         test signgam value.
55157 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55159         [BZ #15418]
55160         [BZ #15419]
55161         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55162         internal tests.
55163         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55165 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55167         * elf/dl-writev.h: New file.
55168         * elf/dl-misc.c: Include it.
55169         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55170         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55172 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55174         * math/libm-test.inc (noXFails): Remove variable.
55175         (noXPasses): Likewise.
55176         (BUILD_COMPLEX_INT): Remove macro.
55177         (print_screen): Remove xfail argument.
55178         (print_screen_max_error): Likewise.
55179         (update_stats): Likewise.
55180         (print_max_error): Likewise.  Update calls to other affected
55181         functions.
55182         (print_complex_max_error): Likewise.
55183         (test_single_exception): Update calls to print_screen.
55184         (test_single_errno): Likewise.
55185         (check_float_internal): Remove xfail argument.  Update calls to
55186         other affected functions.
55187         (check_float): Likewise.
55188         (check_complex): Likewise.
55189         (check_int): Likewise.
55190         (check_long): Likewise.
55191         (check_bool): Likewise.
55192         (check_longlong): Likewise.
55193         (main): Don't print noXFails and noXPasses.
55194         * math/gen-libm-test.pl (top level): Don't mention expected
55195         failure handling in comment.
55196         (new_test): Don't handle expected failures.
55197         (parse_args): Don't mention expected failure handling in comment.
55198         (generate_testfile): Don't handle expected failures.
55199         (parse_ulps): Likewise.
55200         (print_ulps_file): Likewise.
55201         (get_failure): Remove function.
55202         (output_test): Don't handle expected failures.
55203         * make/README.libm-test: Don't mention expected failure handling.
55205         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55206         (minus_zero): Likewise.
55207         (plus_infty): Likewise.
55208         (minus_infty): Likewise.
55209         (qnan_value): Likewise.
55210         (max_value): Likewise.
55211         (min_value): Likewise.
55212         (min_subnorm_value): Likewise.
55213         (initialize): Do not initialize those variables dynamically.
55215 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55217         * io/open.c (__open_2): Moved to ...
55218         * io/open_2.c: ... this new file.
55219         * io/open64.c (__open64_2): Moved to ...
55220         * io/open64_2.c: ... this new file.
55221         * io/openat.c (__openat_2): Moved to ...
55222         * io/openat_2.c: ... this new file.
55223         * io/openat64.c (__openat64_2): Moved to ...
55224         * io/openat64_2.c: ... this new file.
55225         * io/Makefile (routines): Add them.
55226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55227         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55228         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55229         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55230         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55231         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55232         (__openat64): Add hidden_ver.
55233         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55234         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55236         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55237         Separately conditionalize setting of GLRO(dl_sysinfo) so
55238         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55239         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55241 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55243         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55244         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55245         definition.
55246         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55247         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55248         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55249         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55250         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55252 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55254         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55255         test signgam value.
55257         * math/libm-test.inc (hypot_test): Do not use
55258         IGNORE_ZERO_INF_SIGN.
55260 2013-05-03  Andreas Jaeger  <aj@suse.de>
55262         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55263         Linux 3.9.
55264         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55265         (PF_MAX): Adjust for VSOCK change.
55267 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55271 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55273         [BZ #15264]
55274         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55275         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55276         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55278 2013-05-02  David S. Miller  <davem@davemloft.net>
55280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55282 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55284         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55286 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55288         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55290 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55292         [BZ #14952]
55293         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55294         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55295         Use __attribute__ ((__gnu_inline__)).
55296         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55297         Don't use __attribute__ ((__gnu_inline__)).
55299 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55301         [BZ #15423]
55302         * math/s_catan.c (__catan): Handle small real or imaginary part of
55303         input specially to avoid spurious underflow.
55304         * math/s_catanf.c (__catanf): Likewise.
55305         * math/s_catanh.c (__catanh): Likewise.
55306         * math/s_catanhf.c (__catanhf): Likewise.
55307         * math/s_catanhl.c (__catanhl): Likewise.
55308         * math/s_catanl.c (__catanl): Likewise.
55309         * math/libm-test.inc (catan_test): Add more tests.
55310         (catanh_test): Likewise.
55311         * sysdeps/i386/fpu/libm-test-ulps: Update.
55312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55314 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55318 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55320         [BZ #15416]
55321         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55322         accurately for denominator in atan2.
55323         * math/s_catanf.c (__catanf): Likewise.
55324         * math/s_catanh.c (__catanh): Likewise.
55325         * math/s_catanhf.c (__catanhf): Likewise.
55326         * math/s_catanhl.c (__catanhl): Likewise.
55327         * math/s_catanl.c (__catanl): Likewise.
55328         * math/libm-test.inc (catan_test): Add more tests.
55329         (catanh_test): Likewise.
55330         * sysdeps/i386/fpu/libm-test-ulps: Update.
55331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55333 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55335         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55337         * benchtests/Makefile (bench): Remove slow benchmarks.
55338         * benchtests/atan-inputs: Add slow benchmark inputs.
55339         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55340         (BENCH_FUNC): Accept variant offset.
55341         (VARIANT): Define.
55342         * benchtests/bench-skeleton.c (main): Run benchmark for each
55343         variant.
55344         * benchtests/cos-inputs: Add slow benchmark inputs.
55345         * benchtests/exp-inputs: Likewise.
55346         * benchtests/pow-inputs: Likewise.
55347         * benchtests/sin-inputs: Likewise.
55348         * benchtests/slowatan-inputs: Remove.
55349         * benchtests/slowatan.c: Remove.
55350         * benchtests/slowcos-inputs: Remove.
55351         * benchtests/slowcos.c: Remove.
55352         * benchtests/slowexp-inputs: Remove.
55353         * benchtests/slowexp.c: Remove.
55354         * benchtests/slowpow-inputs: Remove.
55355         * benchtests/slowpow.c: Remove.
55356         * benchtests/slowsin-inputs: Remove.
55357         * benchtests/slowsin.c: Remove.
55358         * benchtests/slowtan-inputs: Remove.
55359         * benchtests/slowtan.c: Remove.
55360         * benchtests/tan-inputs: Add slow benchmark inputs.
55361         * scripts/bench.pl: Parse comments and directives.
55363         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55364         in CPPFLAGS.
55365         ($(objpfx)bench-%.c): Remove *-ITER.
55366         * benchtests/bench-modf.c: Remove definition of ITER.
55367         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55368         (main): Loop for DURATION seconds instead of fixed number of
55369         iterations.
55370         * scripts/bench.pl: Don't expect iterations in parameters.
55372 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55374         * io/fchdir.c (__fchdir): Renamed from fchdir.
55375         (fchdir): Define as weak alias.
55377 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55379         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55380         (ERRNO_EDOM): Likewise.
55381         (ERRNO_ERANGE): Likewise.
55382         (noErrnoTests): New variable.
55383         (init_max_error): Set errno to 0.
55384         (test_single_errno): New function.
55385         (test_errno): Likewise.
55386         (check_float_internal): Call test_errno.  Set errno to 0.
55387         (check_complex): Refer to errno tests in comment.
55388         (check_int): Call test_errno.  Set errno to 0.
55389         (check_long): Likewise.
55390         (check_bool): Likewise.
55391         (check_longlong): Likewise.
55392         (cos_test): Use ERRNO_* flags for errno tests instead of
55393         check_int.
55394         (expm1_test): Likewise.
55395         (fmod_test): Likewise.
55396         (ilogb_test): Likewise.
55397         (lgamma_test): Likewise.
55398         (pow_test): Likewise.
55399         (remainder_test): Likewise.
55400         (sin_test): Likewise.
55401         (tan_test): Likewise.
55402         (yn_test): Likewise.
55403         (initialize): Set errno to 0.
55404         (main): Print number of errno tests.
55405         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55407 2013-04-29  Andreas Jaeger  <aj@suse.de>
55409         [BZ #15084]
55410         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55411         and RES_USEVC.
55413         [BZ #15085]
55414         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55415         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55416         unimplemented.
55418         [BZ #15380]
55419         * stdlib/random.c (__initstate): Return NULL if
55420         __initstate fails.
55422         [BZ #15086]
55423         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55424         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55425         RES_SNGLKUPREOP.
55427 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55431 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55433         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55434         of individual tests.
55435         (casin_test): Likewise.
55436         (casinh_test): Likewise.
55438 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55440         [BZ #15409]
55441         * math/s_catan.c (__catan): Handle arguments with large real or
55442         imaginary part separately without squaring.
55443         * math/s_catanf.c (__catanf): Likewise.
55444         * math/s_catanh.c (__catanh): Likewise.
55445         * math/s_catanhf.c (__catanhf): Likewise.
55446         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55447         and redefine.
55448         (__catanhl): Handle arguments with large real or imaginary part
55449         separately without squaring.
55450         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55451         and redefine.
55452         (__catanl): Handle arguments with large real or imaginary part
55453         separately without squaring.
55454         * math/libm-test.inc (catan_test): Add more tests.
55455         (catanh_test): Likewise.
55456         * sysdeps/i386/fpu/libm-test-ulps: Update.
55457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55459 2013-04-27  Andreas Jaeger  <aj@suse.de>
55461         [BZ #15007]
55462         * stdlib/stdlib.h: Update guards for qecvt.
55463         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55464         <stdlib.h>.
55466 2013-04-27  Allan McRae  <allan@archlinux.org>
55468         * sysdeps/i386/fpu/libm-test-ulps: Update.
55470 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55472         [BZ #15406]
55473         * math/s_catan.c: Include <float.h>.
55474         (__catan): Ensure underflow exception occurs for underflowed
55475         result.
55476         * math/s_catanf.c: Include <float.h>.
55477         (__catanf): Ensure underflow exception occurs for underflowed
55478         result.
55479         * math/s_catanh.c: Include <float.h>.
55480         (__catanh): Ensure underflow exception occurs for underflowed
55481         result.
55482         * math/s_catanhf.c: Include <float.h>.
55483         (__catanhf): Ensure underflow exception occurs for underflowed
55484         result.
55485         * math/s_catanhl.c: Include <float.h>.
55486         (__catanhl): Ensure underflow exception occurs for underflowed
55487         result.
55488         * math/s_catanl.c: Include <float.h>.
55489         (__catanl): Ensure underflow exception occurs for underflowed
55490         result.
55491         * math/libm-test.inc (catan_test): Add more tests.
55492         (catanh_test): Likewise.
55494         [BZ #15405]
55495         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55496         underflowed result.
55497         * math/s_ccoshf.c (__ccoshf): Likewise.
55498         * math/s_ccoshl.c (__ccoshl): Likewise.
55499         * math/s_csin.c (__csin): Likewise.
55500         * math/s_csinf.c (__csinf): Likewise.
55501         * math/s_csinh.c (__csinh): Likewise.
55502         * math/s_csinhf.c (__csinhf): Likewise.
55503         * math/s_csinhl.c (__csinhl): Likewise.
55504         * math/s_csinl.c (__csinl): Likewise.
55505         * math/libm-test.inc (ccos_test): Add more tests.
55506         (ccosh_test): Likewise.
55507         (csin_test): Likewise.
55508         (csinh_test): Likewise.
55510 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55512         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55513         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55514         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55515         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55516         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55517         powerpc/power5+/fpu folders.
55518         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55521 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55525 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55527         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55528         additions to variable.
55529         [$(config-machine) = x86_64] (modules-names): Likewise.
55530         ($(objpfx)tst-audit3): Remove dependency.
55531         ($(objpfx)tst-audit3.out): Likewise.
55532         ($(objpfx)tst-audit4): Likewise.
55533         ($(objpfx)tst-audit4.out): Likewise.
55534         ($(objpfx)tst-audit5): Likewise.
55535         ($(objpfx)tst-audit5.out): Likewise.
55536         ($(objpfx)tst-audit6): Likewise.
55537         ($(objpfx)tst-audit6.out): Likewise.
55538         ($(objpfx)tst-audit7): Likewise.
55539         ($(objpfx)tst-audit7.out): Likewise.
55540         (tst-audit3-ENV): Remove variable.
55541         (tst-audit4-ENV): Likewise.
55542         (tst-audit5-ENV): Likewise.
55543         (tst-audit6-ENV): Likewise.
55544         (tst-audit7-ENV): Likewise.
55545         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55546         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55547         addition to variable.
55548         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55549         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55550         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55551         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55552         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55553         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55554         tst-audit3, tst-audit4 and tst-audit5.
55555         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55556         tst-audit6 and tst-audit7.
55557         [$(subdir) = elf] (modules-names): Add audit modules for those
55558         tests.
55559         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55560         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55561         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55562         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55563         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55564         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55565         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55566         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55567         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55568         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55569         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55570         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55571         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55572         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55573         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55574         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55575         Likewise.
55576         [$(subdir) = elf && $(config-cflags-avx) = yes]
55577         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55578         [$(subdir) = elf && $(config-cflags-avx) = yes]
55579         (CFLAGS-tst-auditmod4a.c): Likewise.
55580         [$(subdir) = elf && $(config-cflags-avx) = yes]
55581         (CFLAGS-tst-auditmod4b.c): Likewise.
55582         [$(subdir) = elf && $(config-cflags-avx) = yes]
55583         (CFLAGS-tst-auditmod6b.c): Likewise.
55584         [$(subdir) = elf && $(config-cflags-avx) = yes]
55585         (CFLAGS-tst-auditmod6c.c): Likewise.
55586         [$(subdir) = elf && $(config-cflags-avx) = yes]
55587         (CFLAGS-tst-auditmod7b.c): Likewise.
55588         * elf/tst-audit3.c: Move to ...
55589         * sysdeps/x86_64/tst-audit3.c: ... here.
55590         * elf/tst-audit4.c: Move to ...
55591         * sysdeps/x86_64/tst-audit4.c: ... here.
55592         * elf/tst-audit5.c: Move to ...
55593         * sysdeps/x86_64/tst-audit5.c: ... here.
55594         * elf/tst-audit6.c: Move to ...
55595         * sysdeps/x86_64/tst-audit6.c: ... here.
55596         * elf/tst-audit7.c: Move to ...
55597         * sysdeps/x86_64/tst-audit7.c: ... here.
55598         * elf/tst-auditmod3a.c: Move to ...
55599         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55600         * elf/tst-auditmod3b.c: Move to ...
55601         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55602         * elf/tst-auditmod4a.c: Move to ...
55603         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55604         * elf/tst-auditmod4b.c: Move to ...
55605         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55606         * elf/tst-auditmod5a.c: Move to ...
55607         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55608         * elf/tst-auditmod5b.c: Move to ...
55609         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55610         * elf/tst-auditmod6a.c: Move to ...
55611         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55612         * elf/tst-auditmod6b.c: Move to ...
55613         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55614         * elf/tst-auditmod6c.c: Move to ...
55615         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55616         * elf/tst-auditmod7a.c: Move to ...
55617         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55618         * elf/tst-auditmod7b.c: Move to ...
55619         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55621 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55623         [BZ #15366]
55624         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55625         define unconditionally.
55626         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55627         define unconditionally.
55628         (INT8_C, INT16_C, etc.): Likewise.
55630 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55632         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55633         __ehdr_start with hidden visibility.
55635         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55637 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55639         * math/libm-test.inc (cos_test): Use accurate hex constants.
55640         (sincost_test): Likewise.
55642 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55644         * math/libm-test.inc (catan_test): Add more tests.
55645         (catanh_test): Likewise.
55647         * math/s_catanf.c (__catanf): Use suffixed floating-point
55648         constants.
55649         * math/s_catanhf.c (__catanhf): Likewise.
55650         * math/s_catanhl.c (__catanhl): Likewise.
55651         * math/s_catanl.c (__catanl): Likewise.
55653         [BZ #15394]
55654         * math/s_catan.c (__catan): Calculate imaginary part of result
55655         with log1p not log unless computing log of number close to 0.
55656         * math/s_catanf.c (__catanf): Likewise.
55657         * math/s_catanl.c (__catanl): Likewise.
55658         * math/s_catanh.c (__catanh): Calculate real part of result with
55659         log1p not log unless computing log of number close to 0.
55660         * math/s_catanhf.c (__catanhf): Likewise.
55661         * math/s_catanhl.c (__catanhl): Likewise.
55662         * math/libm-test.inc (catan_test): Add more tests.
55663         (catanh_test): Likewise.
55664         * sysdeps/i386/fpu/libm-test-ulps: Update.
55665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55667 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55669         * benchtests/Makefile: Mention files in which fast and slow
55670         paths of math functions are implemented.
55672 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55674         * sysdeps/posix/timespec_get.c: New file.
55676 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55678         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55679         POWER.
55680         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55681         for POWER.
55682         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55683         powerpc/power5/fpu folders.
55684         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55685         * benchtests/Makefile: Add modf testcase.
55686         * benchtests/bench-modf.c: New file: Benchmark test for mo
55688 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55690         [BZ #14888]
55691         * time/Makefile (tests): Add tst-strptime-whitespace.
55692         * time/strptime_l.c (get_number): Use ISSPACE.
55693         (__strptime_internal): Likewise.
55694         * time/tst-strptime-whitespace.c: New test case.
55696 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55698         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55699         member.
55700         (_nss_files_init): Set it here.
55702 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55704         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55705         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55706         unsigned.
55708 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55710         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55712 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55714         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55715         size just once.
55717 2013-04-21  David S. Miller  <davem@davemloft.net>
55719         * po/ru.po: Update Russion translation from translation project.
55721 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55723         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55724         and setfsgid.
55726 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55728         * configure.in: Remove i386 configure warning. Remove i386 case.
55729         * configure: Regenerate.
55730         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55731         Add example to error message.
55732         * sysdeps/i386/configure: Regenerate.
55734 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55736         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55737         slowtan.
55738         * benchtests/cos-inputs: New file.
55739         * benchtests/slowcos-inputs: New file.
55740         * benchtests/slowcos.c: New file.
55741         * benchtests/slowtan-inputs: New file.
55742         * benchtests/slowtan.c: New file.
55743         * benchtests/tan-inputs: New file.
55745 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55747         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55748         considered kosher.
55750 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55752         * benchtests/Makefile: Include cppflags-iterator.mk to add
55753         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55755         * Makefile.in (bench-clean): New target.
55756         * benchtests/Makefile (bench-clean): Likewise.
55758 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55760         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55762 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55764         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55766 2013-04-15  Andreas Schwab  <schwab@suse.de>
55768         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55770         * nscd/pwdcache.c (cache_addpw): Likewise.
55771         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55772         more than recsize.
55774 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55776         * benchtests/Makefile (bench): Write all output to
55777         bench-out.tmp together.
55779 2013-04-15  Andreas Schwab  <schwab@suse.de>
55781         * nscd/nscd.c (main): Don't fork again after closing files.
55783 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55785         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55787         * benchtests/Rules (bench-deps): Collect dependencies into a
55788         single variable.  Add Makefile to dependencies.
55789         ($(objpfx)bench-%.c): Depend on bench-deps.
55791 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55792             Xavier Roche  <roche+kml2@exalead.com>
55794         [BZ #15361]
55795         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55796         just that it's a file descriptor.
55797         * manual/llio.texi (Synchronizing AIO Operations): Update description
55798         for EBADF error from aio_fsync.
55800 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55802         * Rules (bench): Move target definition...
55803         * benchtests/Makefile: ... here.
55805 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55807         * math/libm-test.inc (cos_test): Fix PI/2 test.
55808         (sincos_test): Likewise.
55809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55810         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55812 2013-04-11  Andreas Schwab  <schwab@suse.de>
55814         [BZ #13988]
55815         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55816         accept exponent character only when digits were seen.
55817         * stdio-common/Makefile (tests): Add bug26.
55818         * stdio-common/bug26.c: New file.
55820         [BZ #14293]
55821         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55822         non-freeable.
55824 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55826         * Makeconfig (rtld-prefix): Define built linker prefix.
55827         * Rules (run-bench): Use it.
55828         * math/Makefile (run-regen-ulps): Likewise.
55830         * Rules (bench): Remove eval.
55832 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55833             Roland McGrath  <roland@hack.frob.com>
55834             Ondrej Bilka  <neleai@seznam.cz>
55836         [BZ #15346]
55837         * time/getdate.c: Include ctype.h and alloca.h.
55838         (__getdate_r): Trim leading and trailing spaces of input.
55839         * time/tst-getdate.c (tests): Add tests with leading and
55840         trailing spaces.
55842 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55844         [BZ #14280]
55845         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55846         when computing value.
55848 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55850         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55851         Use testrun.sh to run libm tests.
55853         [BZ #15309]
55854         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55856 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55858         [BZ #15264]
55859         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55861 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55863         * Makefile.in (regen-ulps): New target.
55864         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55865         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55866         [ifneq (no,$(PERL)] (regen-ulps): New target.
55867         [ifeq (no,$(PERL)] (regen-ulps): New target.
55868         * math/libm-test.inc (ulps_file_name): Define.
55869         (output_dir): New variable.
55870         (options): Add "output-dir" option.
55871         (parse_opt): Handle 'o' case.
55872         (main): If output_dir is non-NULL use it as a prefix
55873         otherwise use "".
55874         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55876 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55878         [BZ #10060, #10062]
55879         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55880         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55881         fail configure if __sync_val_compare_and_swap is not inlined.
55882         * sysdeps/i386/configure: Regenerate.
55883         * configure.in: Build for i686 when configured for i386.
55884         * configure: Regenerate.
55885         * README: Remove i386 reference.
55887 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55889         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55890         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55892 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55894         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55895         (lmsnanval): New variables.
55896         (F): Add conversion tests.
55897         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55898         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55900         * stdio-common/tstdiomisc.c (F): Properly collect individual
55901         tests' results.
55903         [BZ #14686, #15336]
55904         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55905         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55906         Instead, use input NaN values or generate a qNaN by arithmetic
55907         operation.  Also fix bugs to comply with the standard.
55908         * math/libm-test.inc (remainder_test): Add more tests.
55910         [BZ #15335, #15342]
55911         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55913         input NaN values or generate a qNaN by arithmetic operation.
55915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55916         unreachable code.
55918         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55919         definitions.
55921 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55923         [BZ #14478]
55924         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55925         underflowed result.
55926         * math/s_cexpf.c (__cexpf): Likewise.
55927         * math/s_cexpl.c (__cexpl): Likewise.
55928         * math/libm-test.inc (cexp_test): Add more tests.
55930 2013-04-03  Andreas Schwab  <schwab@suse.de>
55932         [BZ #15330]
55933         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55934         order arrays from heap if bigger than alloca cutoff.
55936 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55938         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55939         (SNAN_TESTS_double): Refer to GCC PR56831.
55940         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55941         GCC PR56828.
55943 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55945         * Rules (bench): Move bench.out after the run is complete.
55947         * Rules (bench): Echo currently running benchmark.
55949         * benchtests/Makefile (bench): Add atan and slowatan.
55950         * benchtests/atan-inputs: New file.
55951         * benchtests/slowatan-inputs: New file.
55952         * benchtests/slowatan.c: New file.
55954         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55956         its value.
55958         [BZ #15305]
55959         * sysdeps/unix/sysv/linux/kernel-features.h
55960         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55961         __ASSUME_XFS_RESTRICTED_CHOWN.
55962         * sysdeps/unix/sysv/linux/pathconf.c
55963         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55964         Save and restore errno.
55966 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55968         [BZ #15327]
55969         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55970         arguments using __kernel_casinh.
55971         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55972         arguments using __kernel_casinhf.
55973         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55974         arguments using __kernel_casinhl.
55975         * math/libm-test.inc (cacosh_test): Add more tests.
55976         * sysdeps/i386/fpu/libm-test-ulps: Update.
55977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55979 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55981         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55984         * bench/Makefile (bench): Add sin and slowsin.
55985         * benchtests/sin-inputs: New file.
55986         * benchtests/slowsin-inputs: New file.
55987         * benchtests/slowsin.c: New file.
55989         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55990         (bench): Add slowexp and slowpow.
55991         (exp-ITER): Increase iterations.
55992         (pow-ITER): Likewise.
55993         * benchtests/exp-inputs: Change input.
55994         * benchtests/pow-inputs: Likewise.
55995         * benchtests/slowexp-inputs: New file.
55996         * benchtests/slowexp.c: New file.
55997         * benchtests/slowpow-inputs: New file.
55998         * benchtests/slowpow.c: New file.
56000 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56002         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56003         instructions.
56004         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56005         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56006         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56007         * benchtests/Makefile: Add rint benchtest.
56008         * benchtests/rint-inputs: Input for rint benchtest.
56010 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56012         * Versions.def (libm): Add GLIBC_2.18.
56013         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56014         hidden libm prototypes.
56015         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56016         * math/Makefile (libm-calls): Add s_issignaling.
56017         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56018         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
56019         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56020         declaration.
56021         * math/math.h [__USE_GNU] (issignaling): New macro.
56022         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56023         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56025         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56026         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56027         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56028         * manual/arith.texi (issignaling): New section.
56029         * manual/libm-err-tab.pl (@all_functions): Update comment.
56030         * math/gen-libm-test.pl (parse_args): Apply special handling for
56031         issignaling.
56032         * math/libm-test.inc (print_float, issignaling_test): New
56033         functions.
56034         (check_float_internal): Add issignaling checks.
56035         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56036         default definition.
56037         * sysdeps/powerpc/math-tests.h: New file.
56038         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56039         tests.
56040         * math/test-snan.c (TEST_FUNC): Likewise.
56042 2013-03-30  David S. Miller  <davem@davemloft.net>
56044         * po/de.po: Update from translation team.
56046 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56048         [BZ #10357]
56049         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56050         imaginary part less than 1.0 and real part less than 0.5
56051         specially.
56052         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56053         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56054         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56055         (cacos_test): Add more tests.
56056         (casin_test): Likewise.
56057         (casinh_test): Likewise.
56058         * sysdeps/i386/fpu/libm-test-ulps: Update.
56059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56061 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56063         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56064         ONE with its value.
56066         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56067         (__pow_mp): Replace ONE and MONE with their values.
56068         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56069         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56071         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56072         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56073         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56075         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56077         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56078         (__pow_mp): Replace ZERO and MZERO with their values.
56079         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56080         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56081         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56082         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56083         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56084         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56085         (__sqr): Likewise.
56087         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56089         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56091 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56093         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56094         Declare with __attribute__ ((weak)).
56095         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56096         Call __call_tls_dtors only if it's not NULL.
56098 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56100         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56101         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56102         magic __ehdr_start linker symbol if it's defined.
56103         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56104         them up here if it was already done.
56106         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56107         (_dl_aux_init): Use const in cast when setting it.
56108         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56109         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56110         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56112         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56113         Declare them here.
56114         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56115         * csu/libc-tls.c: Nor here.
56116         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56118         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56119         (__libc_message): Never call vsyslog.
56121 2013-03-28  Alan Modra  <amodra@gmail.com>
56123         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56124         Define as empty.
56125         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56126         Likewise.
56128 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56130         [BZ #15214]
56131         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56132         underflow.
56133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56135 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56137         [BZ #15304]
56138         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56139         Don't add gid passed as argument.
56141         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56143 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56145         [BZ #15307]
56146         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56147         imaginary part between 1.0 and 1.5 and real part less than 0.5
56148         specially.
56149         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56150         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56151         * math/libm-test.inc (cacos_test): Add more tests.
56152         (casin_test): Likewise.
56153         (casinh_test): Likewise.
56154         * sysdeps/i386/fpu/libm-test-ulps: Update.
56155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56157 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56159         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56160         constants.
56161         (norm): Likewise.
56162         (denorm): Likewise.
56163         (__dbl_mp): Likewise.
56164         (add_magnitudes): Likewise.
56165         (sub_magnitudes): Likewise.
56166         (__add): Likewise.
56167         (__sub): Likewise.
56168         (__mul): Likewise.
56169         (__sqr): Likewise.
56170         (__inv): Likewise.
56171         (__dvd): Likewise.
56173         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56174         commented code.
56175         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56176         (__dubcos): Likewise.
56177         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56178         (__ieee754_acos): Likewise.
56179         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56180         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56181         (__exp1): Likewise.
56182         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56183         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56184         (log1): Likewise.
56185         (my_log2): Likewise.
56186         (checkint): Likewise.
56187         * sysdeps/ieee754/dbl-64/e_remainder.c
56188         (__ieee754_remainder): Likewise.
56189         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56191         (bsloww): Likewise.
56192         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56194         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56195         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56196         MANTISSA_STORE_T to store computations on mantissa.  Use
56197         macros for rounding and division.
56198         (denorm): Likewise.
56199         (__dbl_mp): Likewise.
56200         (add_magnitudes): Likewise.
56201         (sub_magnitudes): Likewise.
56202         (__mul): Likewise.
56203         (__sqr): Likewise.
56204         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56205         powers of two in terms of TWOPOW macro.
56206         (mp_no): Make type of mantissa as MANTISSA_T.
56207         [!RADIXI]: Define RADIXI.
56208         [!TWO52]: Define TWO52.
56209         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56211 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56213         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56214         llroundl symbol when building for PPC32.
56216 2013-03-24  Mark H Weaver  <mhw@netris.org>
56218         * manual/arith.texi (Normalization Functions): Fix prototypes for
56219         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56221 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56223         [BZ #13889]
56224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56225         high value to check if expl overflow.
56226         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56227         to check for underflow and overflow.
56228         * math/libm-test.inc: Add exp test.
56230 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56232         [BZ #11120]
56233         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56234         with NOT_IN_libc.
56236 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56238         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56239         symbol.
56241 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56243         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56244         wrap blocks consisting of several statements.
56246         * sysdeps/generic/math-tests.h: New file.
56247         * sysdeps/i386/fpu/math-tests.h: Likewise.
56248         * math/test-snan.c: Include it.
56249         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56251 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56253         [BZ #15285]
56254         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56255         (__ieee754_j0l): Do not improve calculations using cos of twice
56256         input for inputs above LDBL_MAX / 2.0L.
56257         (__ieee754_y0l): Likewise.
56258         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56259         (__ieee754_j1l): Do not improve calculations using cos of twice
56260         input for inputs above LDBL_MAX / 2.0L.
56261         (__ieee754_y1l): Likewise.
56262         * math/libm-test.inc (j0_test): Add another test.
56263         (j1_test): Likewise.
56264         (y0_test): Likewise.
56265         (y1_test): Likewise.
56266         * sysdeps/i386/fpu/libm-test-ulps: Update.
56268 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56270         * Rules ($(objpfx)bench-%.c): Include code from a C source
56271         file.
56273 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56275         [BZ #15287]
56276         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56277         imaginary part 1.0 and real part less than 0.5 specially.
56278         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56279         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56280         * math/libm-test.inc (cacos_test): Add more tests.
56281         (casin_test): Likewise.
56282         (casinh_test): Likewise.
56283         * sysdeps/i386/fpu/libm-test-ulps: Update.
56284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56286 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56288         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56289         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56291 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56293         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56294         * config.make.in (config-cflags-sse4): Remove variable.
56295         (config-cflags-avx): Likewise.
56296         (config-cflags-sse2avx): Likewise.
56297         (config-cflags-novzeroupper): Likewise.
56298         (config-asflags-i686): Likewise.
56299         (have-mfma4): Likewise.
56300         (have-as-vis3): Likewise.
56301         (MIG): Likewise.
56302         * configure.in (MIG): Do not AC_SUBST.
56303         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56304         (libc_cv_cc_sse4): Do not AC_SUBST.
56305         (libc_cv_cc_avx): Likewise.
56306         (libc_cv_cc_sse2avx): Likewise.
56307         (libc_cv_cc_novzeroupper): Likewise.
56308         (libc_cv_cc_fma4): Likewise.
56309         (libc_cv_as_i686): Likewise.
56310         (libc_cv_sparc_as_vis3): Likewise.
56311         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56312         LIBC_CONFIG_VAR.
56313         (config-asflags-i686): Likewise.
56314         (config-cflags-avx): Likewise.
56315         (config-cflags-sse2avx): Likewise.
56316         (have-mfma4): Likewise.
56317         (config-cflags-novzeroupper): Likewise.
56318         * sysdeps/mach/configure.in (MIG): Likewise.
56319         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56320         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56321         LIBC_CONFIG_VAR.
56322         (config-cflags-avx): Likewise.
56323         (config-cflags-sse2avx): Likewise.
56324         (have-mfma4): Likewise.
56325         (config-cflags-novzeroupper): Likewise.
56326         * configure: Regenerated.
56327         * sysdeps/i386/configure: Likewise.
56328         * sysdeps/mach/configure: Likewise.
56329         * sysdeps/sparc/configure: Likewise.
56330         * sysdeps/x86_64/configure: Likewise.
56332 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56334         [BZ #14812]
56335         * locale/programs/localedef.c (options): Put N_ translation marker
56336         on argument names, not just descriptions.
56338 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56340         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56342 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56344         [BZ #14176]
56345         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56347 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56349         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56350         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56351         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56352         [!BEFORE_ABORT] (before_abort): New function.
56353         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56354         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56355         (writev_for_fatal): New function.
56356         (WRITEV_FOR_FATAL): New macro; call that.
56357         (backtrace_and_maps): New function.
56358         (BEFORE_ABORT): New macro; call that.
56359         (struct str_list): Type removed.
56360         (__libc_message, __libc_fatal): Functions removed.
56361         Include <sysdeps/posix/libc_fatal.c> instead.
56363 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56365         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56366         constants.
56367         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56368         double constants.
56370 2013-03-19  Andreas Schwab  <schwab@suse.de>
56372         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56373         * sysdeps/gnu/configure: Regenerate.
56375         * configure.in: Substitute libc_cv_rtlddir.
56376         * configure: Regenerate.
56377         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56378         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56379         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56380         * elf/Makefile (install-others, CFLAGS-interp.c)
56381         (ldso_install, common-ldd-rewrite): Likewise.
56382         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56383         $(inst_slibdir)/$(rtld-installed-name).
56384         * scripts/rellns-sh: Add -p option.
56385         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56386         for source.
56388 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56390         * manual/nptl.texi: Renamed to ...
56391         * manual/threads.texi: ... this.
56392         * manual/Makefile (chapters): Update.
56394 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56396         [BZ #14812]
56397         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56398         on argument names, not just descriptions.
56399         * malloc/memusagestat.c (options): Likewise.
56400         * nss/getent.c (options): Likewise.
56402 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56404         [BZ #14812]
56405         * iconv/iconv_prog.c (options): Put N_ translation marker
56406         on argument names, not just descriptions.
56407         * iconv/iconvconfig.c (options): Likewise.
56409 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56411         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56412         implementation which is faster on all x86_64 architectures.
56413         Tested on AMD, Intel Nehalem, SNB, IVB.
56414         * sysdeps/x86_64/strnlen.S: Likewise.
56416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56417         Remove all multiarch strlen and strnlen versions.
56418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56419         Remove strlen and strnlen related parts.
56421         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56422         Inline strlen part.
56423         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56425         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56426         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56427         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56428         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56429         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56430         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56432 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56434         * manual/memory.texi (Malloc Tunable Parameters):
56435         Sort parameters alphabetically. Add comments for missing entries.
56437 2013-03-17  David S. Miller  <davem@davemloft.net>
56439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56441 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56443         [BZ #15283]
56444         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56445         for arguments at most half maximum finite value.
56446         * math/libm-test.inc (j0_test): Add more tests.
56447         (j1_test): Likewise.
56448         (y0_test): Likewise.
56449         (y1_test): Likewise.
56450         * sysdeps/i386/fpu/libm-test-ulps: Update.
56451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56453         [BZ #14155]
56454         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56455         1 / x and functions P and Q for arguments above 0x1p256L.
56456         (__ieee754_y0l): Likewise.
56457         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56458         (__ieee754_y1l): Likewise.
56459         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56460         (j1_test): Likewise.
56461         (y0_test): Likewise.
56462         (y1_test): Likewise.
56464 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56466         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56467         variable.
56469 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56471         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56472         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56473         zero since it's initialized to EXEC_PAGESIZE.
56475         * sysdeps/unix/sysv/linux/ldsodefs.h
56476         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56477         * sysdeps/generic/ldsodefs.h: ... here.
56479 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56481         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56483         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56484         math/test-snan.c.
56485         * math/test-snan.c: Renamed from
56486         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56487         * math/Makefile (tests): Add test-snan.
56488         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56489         test-powerpc-snan.
56491         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56492         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56493         functions.
56494         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56495         __builtin_nan family of functions.
56496         * math/libm-test.inc (initialize): Initialize qnan_value with
56497         __builtin_nan family of functions.
56498         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56499         Remove variables.
56500         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56501         Remove functions.
56502         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56503         storage class.  Initialize qNaN_var and sNaN_var with
56504         __builtin_nan and __builtin_nans families of functions,
56505         respectively.
56507         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56508         (sqrt_test): Remove duplicate test with qNaN input.
56509         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56510         (round_test, signbit_test, significand_test): Note missing +/-Inf
56511         as well as qNaN tests.
56513         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56514         qNaN_var.  Fix a few strings, too.
56515         * math/libm-test.inc (nan_value): Rename to qnan_value.
56516         * math/gen-libm-test.pl (%beautify): Adjust to that.
56517         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56518         * math/test-misc.c (main): Likewise.
56519         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56520         to __qnan_bytes, and __qnan_union, respectively.
56521         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56522         Likewise.
56523         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56524         and lqnanval, respectively.
56525         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56526         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56527         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56528         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56530         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56531         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56532         doubles.
56534         * math/test-misc.c (main): Fix copy'n'pastos.
56535         * misc/tst-efgcvt.c (special): Likewise.
56537         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56538         Remove declarations.
56540 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56542         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56543         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56544         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56545         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56547 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56549         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56550         macro to return vdso values correctly in IFUNC implementations.
56551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56552         Optimization by using IFUNC.
56554 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56555             Richard Henderson  <rth@redhat.com>
56556             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56558         * Makefile.in (bench): New target.
56559         * NEWS: Mention the benchmark framework.
56560         * Rules (bench): Likewise.
56561         (binaries-bench): Generate binaries for functions to
56562         benchmark.
56563         * benchtests/Makefile: New makefile for benchmark tests.
56564         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56565         programs.
56566         * benchtests/exp-inputs: New input file for EXP function.
56567         * benchtests/pow-inputs: New input file for POW function.
56568         * scripts/bench.pl: New script to generate source files for
56569         benchmark programs.
56571 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56573         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56574         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56575         computations on mantissa.  Use macros for rounding and
56576         division.
56577         (denorm): Likewise.
56578         (__dbl_mp): Likewise.
56579         (add_magnitudes): Likewise.
56580         (sub_magnitudes): Likewise.
56581         (__mul): Likewise.
56582         (__sqr): Likewise.
56583         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56584         powers of two in terms of TWOPOW macro.
56585         (mp_no): Make type of mantissa as MANTISSA_T.
56586         [!RADIXI]: Define RADIXI.
56587         [!TWO52]: Define TWO52.
56588         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56590         * manual/nptl.texi (cindex): Modify threads to pthreads.
56592 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56594         * sysdeps/x86_64/preconfigure: Regenerated.
56596 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56598         [BZ #14155]
56599         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56600         0x1p28 and above.
56601         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56602         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56603         0x1p28 and above.
56604         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56605         * math/libm-test.inc (j0_test): Do not allow one spurious
56606         underflow exception.
56607         (y1_test): Likewise.
56609 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56611         * manual/Makefile (chapters): Add nptl.
56612         * manual/debug.texi (Debugging Support): Add link to Threads
56613         chapter.
56614         * manual/nptl.texi: New file.
56616         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56618 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56620         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56621         for non-NULL pointer before the memory validity test. Pointed
56622         out by Holger Brunck <holger.brunck@keymile.com>.
56624 2013-03-13  Andreas Schwab  <schwab@suse.de>
56626         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56627         instead of .os.
56629 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56631         * timezone/zic.c: Update from tzcode 2013b.
56633 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56635         * manual/install.texi (Configuring and compiling):
56636         Mention i686 and i586.
56637         * INSTALL: Regenerate.
56639 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56641         * sysdeps/init_array/elf-init.c: New file.
56642         * csu/elf-init.c
56643         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56644         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56646         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56647         __gmon_start__ as global, but as static with a .preinit_array pointer.
56648         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56649         * sysdeps/init_array/crti.S: New file, empty except for comments.
56650         * sysdeps/init_array/crtn.S: Likewise.
56652 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56654         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56655         definining bcopy.
56656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56657         Remove Prefer_SSE_for_memop.
56658         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56659         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56660         HAS_PREFER_SSE_FOR_MEMOP.
56661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56662         memset-x86-64.
56663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56664         Remove bzero, memset ifunc support.
56665         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56666         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56667         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56668         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56670 2013-03-11  Andreas Schwab  <schwab@suse.de>
56672         [BZ #15234]
56673         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56674         by SHLIB_COMPAT.
56675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56676         (GLIBC_2.16): Remove pthread_atfork.
56678 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56680         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56681         (ptestcases.h): Likewise.
56683 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56685         * Makeconfig ($(common-objpfx)config.status): Depend on
56686         sysdeps/*/preconfigure{,.in} too.
56688 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56690         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56691         (__free_hook): Use void * instead of __malloc_ptr_t.
56692         (__malloc_hook): Likewise.
56693         (__realloc_hook): Likewise.
56694         (__memalign_hook): Likewise.
56695         (__after_morecore_hook): Likewise.
56696         * malloc/arena.c (save_malloc_hook): Likewise.
56697         (save_free_hook): Likewise.
56698         * malloc/hooks.c (malloc_hook_ini): Likewise.
56699         (realloc_hook_ini): Likewise.
56700         (memalign_hook_ini): Likewise.
56701         * malloc/malloc.c (malloc_hook_ini): Likewise.
56702         (realloc_hook_ini): Likewise.
56703         (memalign_hook_ini): Likewise.
56704         (__free_hook): Likewise.
56705         (__malloc_hook): Likewise.
56706         (__realloc_hook): Likewise.
56707         (__memalign_hook): Likewise.
56708         (__libc_malloc): Likewise.
56709         (__libc_free): Likewise.
56710         (__libc_realloc): Likewise.
56711         (__libc_memalign): Likewise.
56712         (__libc_valloc): Likewise.
56713         (__libc_pvalloc): Likewise.
56714         (__libc_calloc): Likewise.
56715         (__posix_memalign): Likewise.
56716         * malloc/morecore.c (__sbrk): Likewise.
56717         (__default_morecore): Likewise.
56719         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56721         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56722         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56723         __malloc_ptrdiff_t.
56725         * malloc/malloc.h (__malloc_size_t): Remove macro.
56726         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56727         __malloc_size_t.
56728         (old_memalign_hook): Likewise.
56729         (old_realloc_hook): Likewise.
56730         (struct hdr): Likewise.
56731         (flood): Likewise.
56732         (mallochook): Likewise.
56733         (memalignhook): Likewise.
56734         (reallochook): Likewise.
56735         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56736         (tr_old_realloc_hook): Likewise.
56737         (tr_old_memalign_hook): Likewise.
56738         (tr_mallochook): Likewise.
56739         (tr_reallochook): Likewise.
56740         (tr_memalignhook): Likewise.
56742 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56745         default_ldbl_pack and using as default implementation.
56746         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56747         implementation.
56748         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56749         redundant definition.
56750         (ldbl_insert_mantissa): Likewise.
56751         (ldbl_canonicalize): Likewise.
56752         (ldbl_nearbyint): Likewise.
56753         (ldbl_pack): Rename to ldbl_pack_ppc.
56754         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56755         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56756         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56758 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56761         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56762         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56763         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56765         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56766         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56767         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56769 2013-03-07  Andreas Jaeger  <aj@suse.de>
56771         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56772         bits/mman-linux.h.
56774 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56776         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56777         Include mpa.h and declare __MPEXP.
56778         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56779         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56780         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56781         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56782         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56783         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56784         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56786         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56787         (__slowpow): Use long double EXPL and LOGL functions to
56788         compute POW.
56789         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56790         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56791         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56792         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56793         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56794         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56797         intermediate variable to calculate exponent.
56798         (__sqr): Likewise.
56799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56800         Likewise.
56801         (__sqr): Likewise.
56803         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56804         [!NO__SQR]: Define __sqr.
56805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56806         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56807         sysdeps/ieee754/dbl-64/mpa.c.
56808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56810         [BZ #12723]
56811         * posix/Makefile (tests): Add tst-pathconf.
56812         * posix/tst-pathconf.c: New test case.
56813         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56814         _PC_PIPE_BUF.
56815         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56817 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56819         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56821 2013-03-06  Andreas Jaeger  <aj@suse.de>
56823         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56824         definition via __MAP_ANONYMOUS.
56826         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56827         it's not part of Linux headers.
56829         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56830         (MAP_HUGE_MASK): Define.
56832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56833         Define.
56834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56835         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56836         Define.
56837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56838         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56839         Define.
56840         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56841         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56842         Define.
56843         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56845         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56846         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56847         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56848         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56849         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56850         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56853         Handle f2fs.
56855         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56856         Handle f2fs and efivarfs.
56858         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56859         f2fs.
56861         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56862         (EFIVARFS_MAGIC): Add.
56863         (F2FS_LINK_MAX): Add.
56865 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56867         * stdio-common/vfprintf.c: Replace __builtin_expect with
56868         __glibc_unlikely.
56870 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56872         [BZ #13550]
56873         * sysdeps/generic/bp-sym.h: Remove file.
56874         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56875         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56876         <bp-sym.h> and <bp-asm.h>.
56877         (__longjmp): Don't use BP_SYM.
56878         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56879         and <bp-asm.h>.
56880         (memcpy): Don't use BP_SYM.
56881         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56882         <bp-sym.h> and <bp-asm.h>.
56883         (memcpy): Don't use BP_SYM.
56884         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56885         <bp-asm.h>.
56886         (memcpy): Don't use BP_SYM.
56887         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56888         <bp-asm.h>.
56889         (memset): Don't use BP_SYM.
56890         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56891         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56892         (__bzero): Don't use BP_SYM.
56893         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56894         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56895         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56896         <bp-sym.h> and <bp-asm.h>.
56897         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56898         pointers.
56899         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56900         <bp-sym.h> and <bp-asm.h>.
56901         (memcpy): Don't use BP_SYM.
56902         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56903         <bp-sym.h> and <bp-asm.h>.
56904         (memset): Don't use BP_SYM.
56905         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56906         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56907         (__bzero): Don't use BP_SYM.
56908         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56909         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56910         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56911         <bp-sym.h> and <bp-asm.h>.
56912         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56913         pointers.
56914         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56915         <bp-sym.h> and <bp-asm.h>.
56916         (memcpy): Don't use BP_SYM.
56917         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56918         <bp-sym.h> and <bp-asm.h>.
56919         (memset): Don't use BP_SYM.
56920         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56921         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56922         (__bzero): Don't use BP_SYM.
56923         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56924         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56925         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56926         <bp-sym.h> and <bp-asm.h>.
56927         (__memchr): Don't use BP_SYM.
56928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56929         <bp-sym.h> and <bp-asm.h>.
56930         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56931         pointers.
56932         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56933         <bp-sym.h> and <bp-asm.h>.
56934         (memcpy): Don't use BP_SYM.
56935         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56936         <bp-sym.h> and <bp-asm.h>.
56937         (__mempcpy): Don't use BP_SYM.
56938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56939         <bp-sym.h> and <bp-asm.h>.
56940         (__memrchr): Don't use BP_SYM.
56941         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56942         <bp-sym.h> and <bp-asm.h>.
56943         (memset): Don't use BP_SYM.
56944         (__bzero): Likewise.
56945         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56946         <bp-sym.h> and <bp-asm.h>.
56947         (__rawmemchr): Don't use BP_SYM.
56948         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56949         <bp-sym.h> and <bp-asm.h>.
56950         (__STRCMP): Don't use BP_SYM.
56951         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56952         <bp-sym.h> and <bp-asm.h>.
56953         (strchr): Don't use BP_SYM.
56954         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56955         <bp-sym.h> and <bp-asm.h>.
56956         (__strchrnul): Don't use BP_SYM.
56957         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56958         <bp-sym.h> and <bp-asm.h>.
56959         (strlen): Don't use BP_SYM.
56960         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56961         <bp-sym.h> and <bp-asm.h>.
56962         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56963         pointers.
56964         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56965         <bp-sym.h> and <bp-asm.h>.
56966         (__strnlen): Don't use BP_SYM.
56967         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56968         <bp-sym.h> and <bp-asm.h>.
56969         (__GI__setjmp): Don't use BP_SYM.
56970         (_setjmp): Likewise.
56971         (__sigsetjmp): Likewise.
56972         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56973         (L(start_addresses)): Don't use BP_SYM.
56974         (_start): Likewise.
56975         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56976         <bp-asm.h>.
56977         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56978         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56979         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56980         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56981         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56982         <bp-asm.h>.
56983         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56984         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56985         about bounded pointers.
56986         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56987         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56988         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56989         <bp-asm.h>.
56990         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56991         about bounded pointers.  Remove GKM FIXME comments.
56992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56993         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56994         <bp-asm.h>.
56995         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56996         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56997         Remove GKM FIXME comments.
56998         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56999         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57000         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57001         <bp-asm.h>.
57002         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57003         about bounded pointers.  Remove GKM FIXME comment.
57004         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57005         and <bp-asm.h>.
57006         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57007         pointers.
57008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57009         <bp-sym.h> and <bp-asm.h>.
57010         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57012         <bp-sym.h> and <bp-asm.h>.
57013         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57014         comment.
57016 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57018         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57019         call free(NULL).
57021 2013-03-05  David S. Miller  <davem@davemloft.net>
57023         * po/es.po: Update from translation team.
57025 2013-03-05  Andreas Jaeger  <aj@suse.de>
57027         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57028         <bits/mman-linux.h>.
57029         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57030         is fine.
57031         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57032         <bits/mman-linux.h> to end of file.
57033         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57034         is fine.
57035         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57036         <bits/mman-linux.h> to end of file.
57037         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57038         is fine.
57039         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57040         <bits/mman-linux.h> to end of file.
57042         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57043         (MCL_CURRENT, MCL_FUTURE): Define here.
57045 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57047         [BZ #15232]
57048         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57049         attribute_hidden.
57050         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57052 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57055         fourth parameter needed for rt_sigprocmask syscall.
57056         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57059         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57060         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57061         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57063 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57065         [BZ #13550]
57066         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57067         comment about bounded pointers.
57068         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57069         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57071 2013-03-04  Andreas Jaeger  <aj@suse.de>
57073         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57074         common definitions.
57076         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57077         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57078         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57079         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57080         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57081         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57083 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57085         [BZ #15055]
57086         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57087         __ieee754_sqrl instead of __sqrl.
57089 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57091         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57092         * sysdeps/powerpc/fpu_control.h: ... here.
57093         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57094         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57095         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57096         * sysdeps/powerpc/bits/mathinline.h: ... here.
57098 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57100         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57101         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57102         to just [NEED_DL_SYSINFO_DSO].
57103         * elf/dl-support.c: Likewise.
57104         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57105         * elf/rtld.c (dl_main): Likewise.
57106         * elf/setup-vdso.h (setup_vdso): Likewise.
57107         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57108         * sysdeps/unix/sysv/linux/dl-sysdep.c
57109         (_dl_discover_osversion): Likewise.
57111 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57113         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57114         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57116 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57118         * NEWS: Mention libm performance improvements and non-x86 PI
57119         futex support.
57121         * csu/libc-start.c (__pthread_initialize_minimal): Change
57122         function arguments.
57123         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57125 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57127         [BZ #13550]
57128         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57129         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57130         <bp-sym.h> and <bp-asm.h>.
57131         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57132         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57133         and <bp-asm.h>.
57134         (memcpy): Don't use BP_SYM.
57135         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57136         <bp-asm.h>.
57137         (__mpn_add_n): Don't use BP_SYM.
57138         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57139         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57140         and <bp-asm.h>.
57141         (__mpn_addmul_1): Don't use BP_SYM.
57142         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57143         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57144         <bp-sym.h>.
57145         (_setjmp): Don't use BP_SYM.
57146         (__novmx_setjmp): Likewise.
57147         (__GI__setjmp): Likewise.
57148         (__vmx_setjmp): Likewise.
57149         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57150         <bp-sym.h>.
57151         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57152         (__bzero): Don't use BP_SYM.
57153         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57154         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57155         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57156         <bp-sym.h> and <bp-asm.h>.
57157         (memcpy): Don't use BP_SYM.
57158         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57159         <bp-sym.h> and <bp-asm.h>.
57160         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57162         <bp-sym.h> and <bp-asm.h>.
57163         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57164         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57165         <bp-asm.h>.
57166         (__mpn_lshift): Don't use BP_SYM.
57167         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57168         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57169         <bp-asm.h>.
57170         (memset): Don't use BP_SYM.
57171         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57172         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57173         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57174         <bp-asm.h>.
57175         (__mpn_mul_1): Don't use BP_SYM.
57176         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57178         <bp-sym.h> and <bp-asm.h>.
57179         (memcmp): Don't use BP_SYM.
57180         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57181         <bp-sym.h> and <bp-asm.h>.
57182         (memcpy): Don't use BP_SYM.
57183         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57184         <bp-sym.h> and <bp-asm.h>.
57185         (memset): Don't use BP_SYM.
57186         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57187         <bp-sym.h> and <bp-asm.h>.
57188         (strncmp): Don't use BP_SYM.
57189         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57190         <bp-sym.h> and <bp-asm.h>.
57191         (memcpy): Don't use BP_SYM.
57192         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57193         <bp-sym.h> and <bp-asm.h>.
57194         (memset): Don't use BP_SYM.
57195         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57196         <bp-sym.h> and <bp-asm.h>.
57197         (__memchr): Don't use BP_SYM.
57198         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57199         <bp-sym.h> and <bp-asm.h>.
57200         (memcmp): Don't use BP_SYM.
57201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57202         <bp-sym.h> and <bp-asm.h>.
57203         (memcpy): Don't use BP_SYM.
57204         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57205         <bp-sym.h> and <bp-asm.h>.
57206         (__mempcpy): Don't use BP_SYM.
57207         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57208         <bp-sym.h> and <bp-asm.h>.
57209         (__memrchr): Don't use BP_SYM.
57210         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57211         <bp-sym.h> and <bp-asm.h>.
57212         (memset): Don't use BP_SYM.
57213         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57214         <bp-sym.h> and <bp-asm.h>.
57215         (__rawmemchr): Don't use BP_SYM.
57216         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57217         <bp-sym.h> and <bp-asm.h>.
57218         (__STRCMP): Don't use BP_SYM.
57219         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57220         <bp-sym.h> and <bp-asm.h>.
57221         (strchr): Don't use BP_SYM.
57222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57223         <bp-sym.h> and <bp-asm.h>.
57224         (__strchrnul): Don't use BP_SYM.
57225         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57226         <bp-sym.h> and <bp-asm.h>.
57227         (strlen): Don't use BP_SYM.
57228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57229         <bp-sym.h> and <bp-asm.h>.
57230         (strncmp): Don't use BP_SYM.
57231         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57232         <bp-sym.h> and <bp-asm.h>.
57233         (__strnlen): Don't use BP_SYM.
57234         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57235         <bp-asm.h>.
57236         (__mpn_rshift): Don't use BP_SYM.
57237         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57238         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57239         <bp-sym.h> and <bp-asm.h>.
57240         (__sigsetjmp): Don't use BP_SYM.
57241         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57242         (L(start_addresses)): Don't use BP_SYM.
57243         (_start): Likewise.
57244         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57245         <bp-asm.h>.
57246         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57247         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57248         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57249         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57250         <bp-asm.h>.
57251         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57252         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57253         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57254         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57255         <bp-asm.h>.
57256         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57257         comments.
57258         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57259         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57260         <bp-asm.h>.
57261         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57262         FIXME comments.
57263         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57264         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57265         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57266         <bp-asm.h>.
57267         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57268         comment.
57269         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57270         and <bp-asm.h>.
57271         (strncmp): Don't use BP_SYM,
57272         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57273         <bp-asm.h>.
57274         (__mpn_sub_n): Don't use BP_SYM.
57275         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57276         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57277         and <bp-asm.h>.
57278         (__mpn_submul_1): Don't use BP_SYM.
57279         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57281         <bp-sym.h> and <bp-asm.h>.
57282         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57284         <bp-sym.h> and <bp-asm.h>.
57285         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57286         comment.
57288 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57291         Use ZK to minimize writes to Z.
57292         (sub_magnitudes): Simplify code a bit.
57293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57294         Use ZK to minimize writes to Z.
57295         (sub_magnitudes): Simplify code a bit.
57297 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57299         * csu/gmon-start.c: Add special exception to license text.
57301 2013-02-27  Richard Henderson  <rth@redhat.com>
57303         * scripts/config.guess: Update from config.git.
57304         * scripts/config.sub: Likewise.
57306 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57308         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57310         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57312         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57314         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57316         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57318 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57320         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57321         [$(build-shared = yes].
57323 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57325         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57326         (__mul): Reduce iterations for calculating mantissa.
57328         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57329         MPTWO.
57330         (__mpranred): Likewise.
57332         [BZ #15160]
57333         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57334         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57336 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57338         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57339         Define __attribute__.
57341 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57343         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57344         unused.
57345         * posix/regex_internal.h (__attribute): Remove.
57346         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57347         (re_string_context_at): Likewise.
57348         (bitset_not): Use __attribute__ and mark function as possibly
57349         unused.
57350         (bitset_merge): Likewise.
57351         (bitset_mask): Likewise.
57352         (re_string_char_size_at): Likewise.
57353         (re_string_wchar_at): Likewise.
57354         (re_string_elem_size_at): Likewise.
57356 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57358         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57359         code.
57360         (cc32): Likewise.
57362         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57363         (__acr): Likewise.
57364         (__cpy): Likewise.
57365         (norm): Likewise.
57366         (denorm): Likewise.
57367         (__dbl_mp): Likewise.
57368         (add_magnitudes): Likewise.
57369         (sub_magnitudes): Likewise.
57370         (__mul): Likewise.
57371         (__inv): Likewise.
57373         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57374         style.
57376         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57377         style.
57379         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57380         code.
57382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57383         up changes with default code.
57384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57385         Likewise.
57387 2013-02-24  Allan McRae  <allan@archlinux.org>
57389         * manual/socket.texi (The Internet Namespace): Order menu items
57390         to match that in the file.
57392         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57393         node listing of the info page menu.
57395 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57397         [BZ #13550]
57398         * sysdeps/i386/bp-asm.h: Remove file.
57399         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57400         (PARMS): Do not use macros from bp-asm.h.
57401         (S1): Likewise.
57402         (S2): Likewise.
57403         (SIZE): Likewise.
57404         (__mpn_add_n): Do not use BP_SYM
57405         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57406         "bp-asm.h".
57407         (PARMS): Do not use macros from bp-asm.h.
57408         (S1): Likewise.
57409         (SIZE): Likewise.
57410         (__mpn_addmul_1): Do not use BP_SYM
57411         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57412         "bp-asm.h".
57413         (PARMS): Do not use macros from bp-asm.h.
57414         (SIGMSK): Likewise.
57415         (_setjmp): Likewise.  Do not use BP_SYM.
57416         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57417         "bp-asm.h".
57418         (PARMS): Do not use macros from bp-asm.h.
57419         (SIGMSK): Likewise.
57420         (setjmp): Likewise.  Do not use BP_SYM.
57421         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57422         "bp-asm.h".
57423         (PARMS): Do not use macros from bp-asm.h.
57424         (__frexp): Do not use BP_SYM.
57425         (frexp): Likewise.
57426         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57427         "bp-asm.h".
57428         (PARMS): Do not use macros from bp-asm.h.
57429         (__frexpf): Do not use BP_SYM.
57430         (frexpf): Likewise.
57431         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57432         "bp-asm.h".
57433         (PARMS): Do not use macros from bp-asm.h.
57434         (__frexpl): Do not use BP_SYM.
57435         (frexpl): Likewise.
57436         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57437         "bp-asm.h".
57438         (PARMS): Do not use macros from bp-asm.h.
57439         (__remquo): Do not use BP_SYM.
57440         (remquo): Likewise.
57441         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57442         "bp-asm.h".
57443         (PARMS): Do not use macros from bp-asm.h.
57444         (__remquof): Do not use BP_SYM.
57445         (remquof): Likewise.
57446         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57447         "bp-asm.h".
57448         (PARMS): Do not use macros from bp-asm.h.
57449         (__remquol): Do not use BP_SYM.
57450         (remquol): Likewise.
57451         * sysdeps/i386/i486/strcat.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         (SRC): Likewise.
57456         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57457         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57458         "bp-asm.h".
57459         (PARMS): Do not use macros from bp-asm.h.
57460         (strlen): Do not use BP_SYM.
57461         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57462         "bp-asm.h".
57463         (PARMS): Do not use macros from bp-asm.h.
57464         (S1): Likewise.
57465         (S2): Likewise.
57466         (SIZE): Likewise.
57467         (__mpn_add_n): Do not use BP_SYM.
57468         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57469         "bp-asm.h".
57470         (PARMS): Do not use macros from bp-asm.h.
57471         (S1): Likewise.
57472         (SIZE): Likewise.
57473         (__mpn_addmul_1): Do not use BP_SYM.
57474         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57475         weak_alias.
57476         (bzero): Likewise.
57477         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57478         "bp-asm.h".
57479         (PARMS): Do not use macros from bp-asm.h.
57480         (S): Likewise.
57481         (SIZE): Likewise.
57482         (__mpn_lshift): Do not use BP_SYM.
57483         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57484         "bp-asm.h".
57485         (PARMS): Do not use macros from bp-asm.h.
57486         (DEST): Likewise.
57487         (SRC): Likewise.
57488         (LEN): Likewise.
57489         (memcpy): Likewise.  Do not use BP_SYM.
57490         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57491         libc_hidden_def and weak_alias.
57492         (mempcpy): Do not use BP_SYM in weak_alias.
57493         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57494         "bp-asm.h".
57495         (PARMS): Do not use macros from bp-asm.h.
57496         (DEST): Likewise.
57497         (LEN): Likewise.
57498         [!BZERO_P] (CHR): Likewise.
57499         (memset): Likewise.  Do not use BP_SYM.
57500         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
57505         (__mpn_mul_1): Do not use BP_SYM.
57506         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57507         "bp-asm.h".
57508         (PARMS): Do not use macros from bp-asm.h.
57509         (S): Likewise.
57510         (SIZE): Likewise.
57511         (__mpn_rshift): Do not use BP_SYM.
57512         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57513         "bp-asm.h".
57514         (PARMS): Do not use macros from bp-asm.h.
57515         (STR): Likewise.
57516         (CHR): Likewise.
57517         (strchr): Likewise.  Do not use BP_SYM.
57518         (index): Do not use BP_SYM in weak_alias.
57519         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57520         "bp-asm.h".
57521         (PARMS): Do not use macros from bp-asm.h.
57522         (DEST): Likewise.
57523         (SRC): Likewise.
57524         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57525         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57526         "bp-asm.h".
57527         (PARMS): Do not use macros from bp-asm.h.
57528         (strlen): Do not use BP_SYM.
57529         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57530         "bp-asm.h".
57531         (PARMS): Do not use macros from bp-asm.h.
57532         (S1): Likewise.
57533         (S2): Likewise.
57534         (SIZE): Likewise.
57535         (__mpn_sub_n): Do not use BP_SYM.
57536         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57537         "bp-asm.h".
57538         (PARMS): Do not use macros from bp-asm.h.
57539         (S1): Likewise.
57540         (SIZE): Likewise.
57541         (__mpn_submul_1): Do not use BP_SYM.
57542         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57543         "bp-asm.h".
57544         (PARMS): Do not use macros from bp-asm.h.
57545         (S1): Likewise.
57546         (S2): Likewise.
57547         (SIZE): Likewise.
57548         (__mpn_add_n): Do not use BP_SYM.
57549         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57550         weak_alias.
57551         (bzero): Likewise.
57552         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57553         "bp-asm.h".
57554         (PARMS): Do not use macros from bp-asm.h.
57555         (BLK2): Likewise.
57556         (LEN): Likewise.
57557         (memcmp): Do not use BP_SYM.
57558         (bcmp): Do not use BP_SYM in weak_alias.
57559         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57560         "bp-asm.h".
57561         (PARMS): Do not use macros from bp-asm.h.
57562         (DEST): Likewise.
57563         (SRC): Likewise.
57564         (LEN): Likewise.
57565         (memcpy): Likewise.  Do not use BP_SYM.
57566         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57567         "bp-asm.h".
57568         (PARMS): Do not use macros from bp-asm.h.
57569         (DEST): Likewise.
57570         (SRC): Likewise.
57571         (LEN): Likewise.
57572         (memmove): Likewise.  Do not use BP_SYM.
57573         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57574         "bp-asm.h".
57575         (PARMS): Do not use macros from bp-asm.h.
57576         (DEST): Likewise.
57577         (SRC): Likewise.
57578         (LEN): Likewise.
57579         (__mempcpy): Likewise.  Do not use BP_SYM.
57580         (mempcpy): Do not use BP_SYM in weak_alias.
57581         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57582         "bp-asm.h".
57583         (PARMS): Do not use macros from bp-asm.h.
57584         (DEST): Likewise.
57585         (LEN): Likewise.
57586         [!BZERO_P] (CHR): Likewise.
57587         (memset): Likewise.  Do not use BP_SYM.
57588         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57589         "bp-asm.h".
57590         (PARMS): Do not use macros from bp-asm.h.
57591         (STR2): Likewise.
57592         (strcmp): Do not use BP_SYM.
57593         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57594         "bp-asm.h".
57595         (PARMS): Do not use macros from bp-asm.h.
57596         (STR): Likewise.
57597         (DELIM): Likewise.
57598         [USE_AS_STRTOK_R] (SAVE): Likewise.
57599         (FUNCTION): Likewise.  Do not use BP_SYM.
57600         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57601         aliases.
57602         (strtok_r): Likewise.
57603         (__GI___strtok_r): Likewise.
57604         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57605         (PARMS): Do not use macros from bp-asm.h.
57606         (S): Likewise.
57607         (SIZE): Likewise.
57608         (__mpn_lshift): Do not use BP_SYM.
57609         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57610         (PARMS): Do not use macros from bp-asm.h.
57611         (STR): Likewise.
57612         (CHR): Likewise.
57613         (__memchr): Do not use BP_SYM.
57614         (memchr): Do not use BP_SYM in weak_alias.
57615         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57616         (PARMS): Do not use macros from bp-asm.h.
57617         (BLK2): Likewise.
57618         (LEN): Likewise.
57619         (memcmp): Do not use BP_SYM.
57620         (bcmp): Do not use BP_SYM in weak_alias.
57621         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57622         (PARMS): Do not use macros from bp-asm.h.
57623         (S1): Likewise.
57624         (SIZE): Likewise.
57625         (__mpn_mul_1): Do not use BP_SYM.
57626         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57627         "bp-asm.h".
57628         (PARMS): Do not use macros from bp-asm.h.
57629         (STR): Likewise.
57630         (CHR): Likewise.
57631         (__rawmemchr): Do not use BP_SYM.
57632         (rawmemchr): Do not use BP_SYM in weak_alias.
57633         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57634         (PARMS): Do not use macros from bp-asm.h.
57635         (S): Likewise.
57636         (SIZE): Likewise.
57637         (__mpn_rshift): Do not use BP_SYM.
57638         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57639         (PARMS): Do not use macros from bp-asm.h.
57640         (SIGMSK): Likewise.
57641         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57642         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57643         (_start): Do not use BP_SYM.
57644         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57645         (PARMS): Do not use macros from bp-asm.h.
57646         (DEST): Likewise.
57647         (SRC): Likewise.
57648         (__stpcpy): Likewise.  Do not use BP_SYM.
57649         (stpcpy): Do not use BP_SYM in weak_alias.
57650         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57651         "bp-asm.h".
57652         (PARMS): Do not use macros from bp-asm.h.
57653         (DEST): Likewise.
57654         (SRC): Likewise.
57655         (LEN): Likewise.
57656         (__stpncpy): Likewise.  Do not use BP_SYM.
57657         (stpncpy): Do not use BP_SYM in weak_alias.
57658         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57659         (PARMS): Do not use macros from bp-asm.h.
57660         (STR): Likewise.
57661         (CHR): Likewise.
57662         (strchr): Likewise.  Do not use BP_SYM.
57663         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57664         "bp-asm.h".
57665         (PARMS): Do not use macros from bp-asm.h.
57666         (STR): Likewise.
57667         (CHR): Likewise.
57668         (__strchrnul): Likewise.  Do not use BP_SYM.
57669         (strchrnul): Do not use BP_SYM in weak_alias.
57670         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57671         "bp-asm.h".
57672         (PARMS): Do not use macros from bp-asm.h.
57673         (STOP): Likewise.
57674         (strcspn): Do not use BP_SYM.
57675         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57676         "bp-asm.h".
57677         (PARMS): Do not use macros from bp-asm.h.
57678         (STR): Likewise.
57679         (STOP): Likewise.
57680         (strpbrk): Likewise.  Do not use BP_SYM.
57681         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57682         "bp-asm.h".
57683         (PARMS): Do not use macros from bp-asm.h.
57684         (STR): Likewise.
57685         (CHR): Likewise.
57686         (strrchr): Likewise.  Do not use BP_SYM.
57687         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57688         (PARMS): Do not use macros from bp-asm.h.
57689         (SKIP): Likewise.
57690         (strspn): Do not use BP_SYM.
57691         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57692         (PARMS): Do not use macros from bp-asm.h.
57693         (STR): Likewise.
57694         (DELIM): Likewise.
57695         (SAVE): Likewise.
57696         (FUNCTION): Likewise.  Do not use BP_SYM.
57697         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57698         aliases.
57699         (strtok_r): Likewise.
57700         (__GI___strtok_r): Likewise.
57701         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57702         (PARMS): Do not use macros from bp-asm.h.
57703         (S1): Likewise.
57704         (S2): Likewise.
57705         (SIZE): Likewise.
57706         (__mpn_sub_n): Do not use BP_SYM.
57707         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57708         "bp-asm.h".
57709         (PARMS): Do not use macros from bp-asm.h.
57710         (S1): Likewise.
57711         (SIZE): Likewise.
57712         (__mpn_submul_1): Do not use BP_SYM.
57713         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57714         <bp-sym.h>.
57715         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57716         and <bp-asm.h>.
57717         (PARMS): Do not use macros from bp-asm.h.
57718         (FLAGS): Likewise.
57719         (PTID): Likewise.
57720         (TLS): Likewise.
57721         (CTID): Likewise.
57722         (__clone): Do not use BP_SYM.
57723         (clone): Do not use BP_SYM in weak_alias.
57724         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57725         and <bp-asm.h>.
57726         (PARMS): Do not use macros from bp-asm.h.
57727         (LEN): Likewise.
57728         (__mmap64): Do not use BP_SYM.
57729         (mmap64): Do not use BP_SYM in weak_alias.
57730         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57731         <bp-sym.h> and <bp-asm.h>.
57732         (PARMS): Do not use macros from bp-asm.h.
57733         (__posix_fadvise64_l64): Do not use BP_SYM.
57734         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57735         (PARMS): Do not use macros from bp-asm.h.
57736         (NSOPS): Likewise.
57737         (semtimedop): Do not use BP_SYM.
57738         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57739         and <bp-asm.h>.
57741 2013-02-21  Allan McRae  <allan@archlinux.org>
57743         * manual/message.texi (Charset conversion in gettext):
57744         Move @end statement to beginning of line.
57746 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57749         static.
57750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57751         Likewise.
57753         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57754         (denorm): Likewise.
57755         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57758 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57760         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57761         tail-call to the resolved function if pltexit isn't needed.
57763 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57766         or Y being zero as being unlikely.
57767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57768         Likewise.
57770 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57772         * manual/nss.texi (System Databases and Name Service Switch):
57773         Remove frobnicate @pxref.
57775 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57777         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57778         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57780 2013-02-20  Petr Machata  <pmachata@redhat.com>
57782         * elf/elf.h (R_ARM_TARGET1): New macro.
57783         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57784         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57785         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57786         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57787         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57788         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57789         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57790         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57791         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57792         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57793         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57794         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57795         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57796         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57797         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57798         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57799         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57800         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57801         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57802         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57803         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57804         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57805         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57806         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57807         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57808         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57809         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57810         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57811         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57812         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57813         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57814         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57815         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57816         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57817         (R_ARM_THM_GOT_BREL12): Likewise.
57818         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57819         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57820         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57821         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57822         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57823         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57824         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57825         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57826         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57828 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57830         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57831         __attribute_used__ to __attribute__ ((unused)).
57833 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57835         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57836         powerpc mpa.c.
57837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57838         comment formatting.
57839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57841 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57843         [BZ #13550]
57844         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57845         Remove macro.
57846         (ENTER): Remove both macro definitions.
57847         (LEAVE): Likewise.
57848         (CHECK_BOUNDS_LOW): Likewise.
57849         (CHECK_BOUNDS_HIGH): Likewise.
57850         (CHECK_BOUNDS_BOTH): Likewise.
57851         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57852         (RETURN_BOUNDED_POINTER): Likewise.
57853         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57854         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57855         (POP_ERRNO_LOCATION_RETURN): Likewise.
57856         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57857         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57858         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57859         macros.
57860         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57861         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57862         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57863         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57864         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57865         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57866         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57867         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57868         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57869         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57870         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57871         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57872         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57873         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57874         removed macros.
57875         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57876         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57877         macros.
57878         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57879         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57880         * sysdeps/i386/i586/memset.S (memset): Likewise.
57881         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57882         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57883         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57884         macros.
57885         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57886         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57887         Change uses of L(2) to L(out).
57888         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57889         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57890         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57891         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57892         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57893         removed macros.
57894         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57895         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57896         macros.
57897         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57898         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57899         (RETURN): Do not use macro LEAVE.
57900         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57901         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57902         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57903         * sysdeps/i386/i686/memset.S (memset): Likewise.
57904         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57905         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57906         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57907         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57908         Likewise.
57909         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57910         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57911         L(1_2) and L(1_3) into L(1).
57912         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57913         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57914         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57915         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57916         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57917         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57918         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57919         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57920         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57921         macros.
57922         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57923         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57924         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57925         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57926         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57927         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57928         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57929         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57930         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57931         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57932         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57933         * sysdeps/i386/strspn.S (strspn): Likewise.
57934         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57935         conditional code.
57936         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57937         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57938         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57939         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57940         L(1_3) into L(1_1).
57941         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57942         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57943         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57944         macros.
57945         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57947 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57949         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57950         macro.
57952 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57954         * math/atest-exp.c (exp_mpn): Remove ROUND.
57955         * math/atest-exp2.c (exp_mpn): Likewise.
57956         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57958         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57959         * stdlib/tst-tls-atexit-lib.c: Likewise.
57960         * stdlib/tst-tls-atexit.c: Likewise.
57962 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57964         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57965         and __attribute_alloc_size__.
57967 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57969         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57970         __attribute_alloc_size__.
57971         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57972         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57974 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57976         * include/programs/xmalloc.h: New file.
57977         * catgets/gencat.c: Include it.
57978         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57979         * elf/pldd.c: Likewise.
57980         * iconv/iconv_charmap.c: Likewise.
57981         * iconv/iconvconfig.c: Likewise.
57982         * iconv/strtab.c: Likewise.
57983         * locale/programs/locale.c: Likewise.
57984         * locale/programs/localedef.h: Likewise.
57985         * locale/programs/simple-hash.c: Likewise.
57986         * nscd/nscd.h: Likewise.
57987         * nss/makedb.c: Likewise.
57988         * sysdeps/generic/ldconfig.h: Likewise.
57990 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57992         * Versions.def: Add GLIBC_2.18.
57993         * include/link.h (struct link_map): New member l_tls_dtor_count.
57994         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57995         (__call_tls_dtors): Likewise.
57996         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57997         __cxa_thread_atexit_impl.
57998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57999         Likewise.
58000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58001         Likewise.
58002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58003         Likewise.
58004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58005         Likewise.
58006         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58008         Likewise.
58009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58010         Likewise.
58011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58013         Likewise.
58014         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58015         (tests): Add test case tst-tls-atexit.
58016         (modules-names): Add shared library for tst-tls-atexit.
58017         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58018         (GLIBC_PRIVATE): Add __call_tls_dtors.
58019         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58020         for libstdc++.
58021         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58022         * stdlib/tst-tls-atexit.c: New test case.
58023         * stdlib/tst-tls-atexit-lib.c: New test case.
58025         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58027         * elf/Versions (ld): Add _dl_find_dso_for_object.
58028         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58029         * elf/dl-open.c (_dl_find_dso_for_object): New function.
58030         (dl_open_worker): Use _dl_find_dso_for_object.
58031         * elf/dl-sym.c (do_sym): Likewise.
58032         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58034 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58036         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58037         Syntactic changes only.
58038         (_dl_runtime_profile): Do a tail-call to the resolved function.
58040 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58042         [BZ #13550]
58043         * sysdeps/x86_64/bp-asm.h: Remove file.
58044         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58045         <bp-sym.h> and <bp-asm.h>.
58046         (__clone): Do not use BP_SYM.
58047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58048         <bp-sym.h> and <bp-asm.h>.
58049         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58050         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58051         "bp-asm.h".
58052         (_setjmp): Do not use BP_SYM.
58053         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58054         "bp-asm.h".
58055         (setjmp): Do not use BP_SYM.
58056         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58057         libc_hidden_def.
58058         (mempcpy): Do not use BP_SYM in weak_alias.
58059         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58060         "bp-asm.h".
58061         (strchr): Do not use BP_SYM.
58062         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58063         "bp-asm.h".
58064         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58065         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58066         (_start): Do not use BP_SYM.
58067         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58068         "bp-asm.h".
58069         (strcat): Do not use BP_SYM.
58070         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58071         "bp-asm.h".
58072         (STRCMP): Do not use BP_SYM.
58073         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58074         "bp-asm.h".
58075         (STRCPY): Do not use BP_SYM.
58076         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58077         "bp-asm.h".
58078         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58079         "bp-asm.h".
58080         (FUNCTION): Do not use BP_SYM.
58081         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58082         weak_alias.
58083         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58085 2013-02-17  Andreas Jaeger  <aj@suse.de>
58087         * time/Versions: Sort entries.
58088         * string/Versions: Likewise.
58089         * resolv/Versions: Likewise.
58090         * posix/Versions: Likewise.
58091         * iconv/Versions: Likewise.
58092         * elf/Versions: Likewise.
58093         * wcsmbs/Versions: Likewise.
58095 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58097         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58098         loop termination condition.
58100         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58101         variable to calculate EZ.
58102         (__sqr): Likewise.
58104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58105         the lower precision input.
58107 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58109         [BZ #13550]
58110         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58111         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58112         (run-via-rtld-prefix): Do not handle %-bp tests.
58113         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58114         (all-object-suffixes): Remove .ob.
58115         (bppfx): Remove variable.
58116         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58117         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58118         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58119         [$(build-bounded) = yes] (libtype.ob): Likewise.
58120         * Makerules (elide-routines.ob): Remove variable.
58121         (do-tests-clean): Do not handle *-bp.out.
58122         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58123         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58124         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58125         (tests): Do not include $(tests-bp.out).
58126         (xtests): Do not include $(xtests-bp.out).
58127         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58128         [$(build-bounded) = yes] ($(addprefix
58129         $(objpfx),$(binaries-bounded))): Remove rule.
58130         ($(objpfx)%-bp.out): Remove rule.
58131         * config.make.in (build-bounded): Remove variable.
58132         * crypt/Makefile [$(build-bounded) = yes]
58133         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58134         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58135         append to variable.
58136         [$(build-bounded) = yes] (install-lib): Likewise.
58137         [$(build-bounded) = yes] (generated): Likewise.
58138         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58139         Remove rule.
58140         * intl/Makefile [$(build-bounded) = yes]
58141         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58142         * math/Makefile [$(build-bounded) = yes]
58143         ($(tests:%=$(objpfx)%-bp): Likewise.
58144         * misc/Makefile [$(build-bounded) = yes]
58145         ($(objpfx)tst-tsearch-bp): Likewise.
58146         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58147         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58148         Remove dependency.
58149         * string/Makefile (o-objects.ob): Remove variable.
58150         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58151         (CFLAGS-.ob): Remove variable.
58152         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58153         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58154         both definitions of variable.
58155         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58156         (ASFLAGS-.ob): Remove variable.
58158 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58160         [BZ #13550]
58161         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58162         Remove __BOUNDED_POINTERS__ from condition.
58163         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58164         * string/bits/string2.h [!__NO_STRING_INLINES &&
58165         !__BOUNDED_POINTERS__]: Likewise.
58166         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58167         Likewise.
58168         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58169         Remove conditional code.
58170         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58171         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58172         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58173         condition.
58175         [BZ #13550]
58176         * csu/libc-start.c: Do not include <bp-sym.h>.
58177         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58178         * elf/dl-open.c: Do not include <bp-sym.h>.
58179         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58180         * math/fegetenv.c: Do not include <bp-sym.h>.
58181         (fegetenv): Do not use BP_SYM in versioned symbols.
58182         * nptl/sysdeps/pthread/bits/libc-lockP.h
58183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58184         <bp-sym.h>.
58185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58186         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58188         (__pthread_mutex_destroy): Likewise.
58189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58190         (__pthread_mutex_lock): Likewise.
58191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58192         (__pthread_mutex_trylock): Likewise.
58193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58194         (__pthread_mutex_unlock): Likewise.
58195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58196         (__pthread_mutexattr_init): Likewise.
58197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58198         (__pthread_mutexattr_destroy): Likewise.
58199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58200         (__pthread_mutexattr_settype): Likewise.
58201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58202         (__pthread_rwlock_init): Likewise.
58203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58204         (__pthread_rwlock_destroy): Likewise.
58205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58206         (__pthread_rwlock_rdlock): Likewise.
58207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58208         (__pthread_rwlock_tryrdlock): Likewise.
58209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58210         (__pthread_rwlock_wrlock): Likewise.
58211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58212         (__pthread_rwlock_trywrlock): Likewise.
58213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58214         (__pthread_rwlock_unlock): Likewise.
58215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58216         (__pthread_key_create): Likewise.
58217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58218         (__pthread_setspecific): Likewise.
58219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58220         (__pthread_getspecific): Likewise.
58221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58222         Likewise.
58223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58224         (_pthread_cleanup_push_defer): Likewise.
58225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58226         (_pthread_cleanup_pop_restore): Likewise.
58227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58228         (pthread_setcancelstate): Likewise.
58229         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58230         <bp-sym.h>.
58231         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58232         (memchr): Do not use BP_SYM in weak_alias.
58233         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58234         (fegetenv): Do not use BP_SYM in versioned symbols.
58235         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58236         (fesetenv): Do not use BP_SYM in versioned symbols.
58237         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58238         (feupdateenv): Do not use BP_SYM in versioned symbols.
58239         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58240         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58241         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58242         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58243         (open64): Do not use BP_SYM in weak_alias.
58244         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58245         (fegetenv): Do not use BP_SYM in versioned symbols.
58246         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58247         (fesetenv): Do not use BP_SYM in versioned symbols.
58248         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58249         (feupdateenv): Do not use BP_SYM in versioned symbols.
58250         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58251         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58252         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58253         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58254         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58255         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58256         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58257         <bp-sym.h>.
58258         (__libc_start_main): Do not use BP_SYM.
58260 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58263         redundant return line.
58264         (norm): Likewise.
58265         (denorm): Likewise.
58266         (dbl_mp): Likewise.
58267         (sub_magnitudes): Likewise.
58268         (__add): Likewise.
58269         (__sub): Likewise.
58270         (__mul): Likewise.
58271         (__inv): Likewise.
58272         (__dvd): Likewise.
58273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58274         (norm): Likewise.
58275         (denorm): Likewise.
58276         (dbl_mp): Likewise.
58277         (sub_magnitudes): Likewise.
58278         (__add): Likewise.
58279         (__sub): Likewise.
58280         (__mul): Likewise.
58281         (__inv): Likewise.
58282         (__dvd): Likewise.
58284         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58285         instead of __mul.
58286         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58287         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58288         (cc32): Likewise.
58290         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58291         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58292         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58293         of __mul for squares.
58294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58295         function
58296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58297         Likewise.
58298         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58299         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58301 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58303         [BZ #13550]
58304         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58305         code.
58306         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58307         prototype or function definition.  Rename ubp_* variables and
58308         parameters.  Remove argv definitions conditional on
58309         [__BOUNDED_POINTERS__].
58310         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58311         * elf/dl-runtime.c (_dl_fixup): Likewise.
58312         * include/set-hooks.h (RUN_HOOK): Likewise.
58313         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58314         definition.
58315         * string/strcpy.c (strcpy): Do not use __unbounded.
58316         * sysdeps/generic/frame.h (struct layout): Likewise.
58317         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58318         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58319         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58320         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58321         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58322         (__backtrace): Likewise.
58323         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58324         use __ptrvalue.
58325         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58326         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58327         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58328         Likewise.
58329         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58330         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58331         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58332         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58333         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58334         Do not use __unbounded.
58335         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58336         Rename __unboundedrlimits parameter to rlimits in prototype.
58337         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58338         Do not use __unbounded.
58339         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58340         not use __ptrvalue.
58341         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58342         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58343         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58344         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58345         __ptrvalue or __unbounded.
58346         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58347         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58348         use __unbounded.
58349         (__new_msgctl): Do not use __ptrvalue.
58350         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58351         __unbounded.
58352         (__libc_msgrcv): Do not use __ptrvalue.
58353         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58354         startup_info): Do not use __unbounded.
58355         (__libc_start_main): Likewise.  Rename ubp_* variables and
58356         parameters.  Remove argv definitions conditional on
58357         [__BOUNDED_POINTERS__].
58358         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58359         __ptrvalue.
58360         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58361         use __unbounded.
58362         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58363         or __ptrvalue.
58364         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58365         use __unbounded.
58366         (__new_shmctl): Do not use __ptrvalue.
58367         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58368         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58369         Likewise.
58370         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58372         (__libc_sigaction): Likewise.
58373         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58374         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58375         Likewise.
58376         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58378 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58380         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58382         * string/mempcpy.c: Implement by calling memcpy.
58384 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58386         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58389         evaluation.
58391         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58392         values in the mantissa.
58394         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58395         minimize writes to Z.
58396         (sub_magnitudes): Simplify code a bit.
58398 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58400         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58401         from the message.  The linker prefixes all warnings with that already.
58403 2013-02-12  Andreas Schwab  <schwab@suse.de>
58405         [BZ #15078]
58406         * posix/regexec.c (extend_buffers): Add parameter min_len.
58407         (check_matching): Pass minimum needed length.
58408         (clean_state_log_if_needed): Likewise.
58409         (get_subexp): Likewise.
58410         * posix/Makefile (tests): Add bug-regex34.
58411         (bug-regex34-ENV): Define.
58412         * posix/bug-regex34.c: New file.
58414         [BZ #11561]
58415         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58416         elements compare against the byte sequence of it, not its name.
58417         * posix/Makefile (tests): Add bug-regex35.
58418         (bug-regex35-ENV): Define.
58419         * posix/bug-regex35.c: New file.
58421 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58423         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58424         comment.
58425         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58426         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58427         (CHECK_EOL): Add undef.
58429 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58431         * bits/stdlib-bsearch.h: New file.
58432         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58433         * stdlib/stdlib.h: Likewise.
58435 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58437         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58438         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58439         declaration.
58440         * manual/search.texi (Array Search Function): Add missing const in
58441         lfind prototype.
58442         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58443         declaration to use rlim_t.
58444         (Basic Scheduling Functions): Remove erroneous const from
58445         sched_getparam prototype.  Remove erroneous * from
58446         sched_get_priority_max and sched_get_priority_min prototypes.
58447         (Resource Usage): Fix summary @comment on vtimes to refer to
58448         sys/vtimes.h rather than vtimes.h.
58449         Add missing *s in vtimes prototype.
58450         (Limits on Resources): Fix ulimit prototype to return long int.
58451         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58452         prototypes to use long int rather than double.
58453         (BSD Random): Fix initstate and setstate to use char *, not void *.
58454         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58455         prototype to make second argument 'struct aiocb64 *const[]'.
58456         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58457         (Status of AIO Operations): Remove erroneous const in aio_return and
58458         aio_return64 prototypes.
58459         (Synchronizing I/O): Fix sync prototype to return void.
58460         * manual/startup.texi (Suboptions): Remove an erroneous const in
58461         getsubopt prototype.
58462         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58463         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58464         use size_t rather than int.
58465         (Scanning All Users): Likewise for getpwent_r.
58466         (Setting Groups): Add missing const to setgroups prototype.
58467         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58468         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58469         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58470         'const void *' rather than 'const char *'.
58471         (Host Address Functions): Likewise for inet_ntop.
58472         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58473         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58474         ssize_t for return value.
58475         (Sending Data): Likewise for send, sendto, sendmsg.
58476         (Socket Option Functions): Add a missing const in setsockopt prototype.
58477         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58478         use wchar_t for the argument.
58479         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58480         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58481         take no arguments.
58482         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58483         double/float/long double for second argument.
58484         Fix return types of significand, significandf, significandl.
58485         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58486         argument in fchmod prototype.
58487         (File Owner): Use uid_t and gid_t in fchown prototype.
58488         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58489         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58490         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58491         use 'const struct dirent **' as argument types to CMP function pointer
58492         argument.
58493         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58494         (File Times): Fix summary magic @comment for struct utimbuf and utime
58495         to refer to utime.h, not time.h.
58496         * manual/string.texi (Argz Functions): Add missing const in
58497         argz_extract and argz_next prototypes.
58498         (Finding Tokens in a String): Likewise for basename.
58499         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58500         (Copying and Concatenation): Fix typo in wmemmove prototype.
58501         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58502         (Signal Stack): Remove erroneous const in sigstack prototype.
58503         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58504         prototype.
58505         (Simple Calendar Time): Likewise for stime.
58506         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58507         prototype.
58508         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58509         say sys/sysctl.h instead.
58510         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58511         and vsyslog prototypes.
58513 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58515         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58516         Remove.
58518 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58520         * misc/sys/mman.h: Fix typo in mremap comment.
58522 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58524         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58525         the '\0' terminator.
58527 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58529         [BZ #13550]
58530         * debug/segfault.c: Don't include <bp-checks.h>.
58531         * sysdeps/generic/bp-checks.h: Remove file.
58532         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58533         (__GETDENTS): Don't use CHECK_N.
58534         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58535         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58536         (__getgroups): Don't use CHECK_N.
58537         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58538         (setgroups): Don't use CHECK_N.
58539         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58540         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58541         (__libc_msgrcv): Don't use CHECK_N.
58542         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58543         (__libc_msgsnd): Don't use CHECK_N.
58544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58545         <bp-checks.h>.
58546         (__libc_pread): Don't use CHECK_N.
58547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58548         include <bp-checks.h>.
58549         (__libc_pread64): Don't use CHECK_N.
58550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58551         include <bp-checks.h>.
58552         (__libc_pwrite): Don't use CHECK_N.
58553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58554         include <bp-checks.h>.
58555         (__libc_pwrite64): Don't use CHECK_N.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58557         <bp-checks.h>.
58558         (__libc_pread): Don't use CHECK_N.
58559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58560         include <bp-checks.h>.
58561         (__libc_pread64): Don't use CHECK_N.
58562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58563         include <bp-checks.h>.
58564         (__libc_pwrite): Don't use CHECK_N.
58565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58566         include <bp-checks.h>.
58567         (__libc_pwrite64): Don't use CHECK_N.
58568         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58569         (do_pread): Don't use CHECK_N.
58570         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58571         (do_pread64): Don't use CHECK_N.
58572         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58573         (do_pwrite): Don't use CHECK_N.
58574         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58575         (do_pwrite64): Don't use CHECK_N.
58576         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58577         (__libc_readv): Don't use CHECK_N.
58578         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58579         (semop): Don't use CHECK_N.
58580         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58581         <bp-checks.h>.
58582         (semtimedop): Don't use CHECK_N.
58583         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58584         (__libc_pread): Don't use CHECK_N.
58585         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58586         <bp-checks.h>.
58587         (__libc_pread64): Don't use CHECK_N.
58588         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58589         <bp-checks.h>.
58590         (__libc_pwrite): Don't use CHECK_N.
58591         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58592         <bp-checks.h>.
58593         (__libc_pwrite64): Don't use CHECK_N.
58594         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58595         <bp-checks.h>.
58596         (__libc_msgrcv): Don't use CHECK_N.
58597         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58598         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58599         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58600         (__libc_writev): Don't use CHECK_N.
58602 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58604         * string/strcpy.c: Removed unused variable.
58606         * Makeconfig (+sysdep-includes): Define with := rather than =.
58607         Use an existing include/ subdir of each sysdeps dir before it.
58609 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58611         * nscd/connection.c (register_traced_file): Comment function.
58612         [HAVE_INOTIFY] (union __inev): Define.
58613         [HAVE_INOTIFY] (inotify_check_files): New function.
58614         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58615         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58616         clear_db_cache.
58617         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58619 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58621         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58622         loaded if not already and that a failure is permanent.
58624 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58626         [BZ #15006]
58627         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58628         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58630 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58632         [BZ #13550]
58633         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58634         (CHECK_1_NULL_OK): Likewise.
58635         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58636         (__fxstat): Do not use CHECK_1.
58637         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58638         <bp-checks.h>.
58639         (___fxstat64): Do not use CHECK_1.
58640         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58641         <bp-checks.h>.
58642         (__fxstatat): Do not use CHECK_1.
58643         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58644         <bp-checks.h>.
58645         (__fxstatat64): Do not use CHECK_1.
58646         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58647         <bp-checks.h>.
58648         (__fxstat): Do not use CHECK_1.
58649         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58650         <bp-checks.h>.
58651         (__fxstatat): Do not use CHECK_1.
58652         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58653         <bp-checks.h>.
58654         (__getresgid): Do not use CHECK_1.
58655         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58656         <bp-checks.h>.
58657         (__getresuid): Do not use CHECK_1.
58658         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58659         <bp-checks.h>.
58660         (__lxstat): Do not use CHECK_1.
58661         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58662         <bp-checks.h>.
58663         (__old_msgctl): Do not use CHECK_1.
58664         (__new_msgctl): Likewise.
58665         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58666         <bp-checks.h>.
58667         (__new_setrlimit): Do not use CHECK_1.
58668         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58669         <bp-checks.h>.
58670         (__old_shmctl): Do not use CHECK_1.
58671         (__new_shmctl): Likewise.
58672         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58673         <bp-checks.h>.
58674         (__xstat): Do not use CHECK_1.
58675         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58676         (__lxstat): Do not use CHECK_1.
58677         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58678         <bp-checks.h>.
58679         (___lxstat64): Do not use CHECK_1.
58680         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58681         (__old_msgctl): Do not use CHECK_1.
58682         (__new_msgctl): Likewise.
58683         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58684         <bp-checks.h>.
58685         (__gettimeofday): Do not use CHECK_1.
58686         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58687         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58688         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58689         <bp-checks.h>.
58690         (__gettimeofday): Do not use CHECK_1.
58691         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58692         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58693         (__new_shmctl): Do not use CHECK_1.
58694         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58695         <bp-checks.h>.
58696         (do_sigtimedwait): Do not use CHECK_1.
58697         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58698         <bp-checks.h>.
58699         (do_sigwaitinfo): Do not use CHECK_1.
58700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58701         <bp-checks.h>.
58702         (msgctl): Do not use CHECK_1.
58703         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58704         <bp-checks.h>.
58705         (shmctl): Do not use CHECK_1.
58706         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58707         (ustat): Do not use CHECK_1.
58708         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58709         <bp-checks.h>.
58710         (__fxstat): Do not use CHECK_1.
58711         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58712         <bp-checks.h>.
58713         (__fxstatat): Do not use CHECK_1.
58714         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58715         <bp-checks.h>.
58716         (__lxstat): Do not use CHECK_1.
58717         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58718         <bp-checks.h>.
58719         (__xstat): Do not use CHECK_1.
58720         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58721         (__xstat): Do not use CHECK_1.
58722         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58723         (___xstat64): Do not use CHECK_1.
58725         [BZ #13550]
58726         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58727         definitions.
58728         (CHECK_BOUNDS_HIGH): Likewise.
58729         * string/strcpy.c: Do not include <bp-checks.h>.
58730         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58732 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58734         * nscd/nscd-client.h (__nscd_drop_map_ref):
58735         Add __attribute__ ((unused)).
58736         * nis/nss-nisplus.h (niserr2nss): Likewise.
58738         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58739         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58741         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58742         Remove inline keyword.
58743         * include/rounding-mode.h (round_away): Likewise.
58744         * libio/wfileops.c (adjust_wide_data): Likewise.
58745         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58746         (__m128i_strloadu_tolower): Likewise.
58747         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58748         (__m128i_strloadu_tolower): Likewise.
58749         * time/mktime.c (ydhms_diff): Likewise.
58750         * locale/elem-hash.h (elem_hash): Likewise.
58751         * locale/setlocale.c (setdata): Likewise.
58752         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58753         (re_string_wchar_at): Likewise.
58754         (bitset_not, bitset_merge, bitset_mask): Likewise.
58755         [!(__GNUC__ > 3)] (inline): Remove macro.
58756         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58757         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58758         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58759         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58760         * string/memcmp.c (memcmp_bytes): Likewise.
58761         * locale/programs/locarchive.c (compute_hashval): Likewise.
58762         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58763         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58764         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58765         * nss/getent.c (print_rpc, print_protocols): Likewise.
58766         (print_passwd, print_group, print_aliases): Likewise.
58767         * nis/nss-nisplus.h (niserr2nss): Likewise.
58768         * nscd/connections.c (restart_p): Likewise.
58769         Change return type to bool.
58771 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58773         * Makeconfig (all-Depend-files): Add existing
58774         $(sorted-subdirs:=/Depend) files.
58775         (all-subdirs): Remove nss.
58776         * sysdeps/unix/inet/Subdirs: Add it here instead.
58777         * hesiod/Depend: New file.
58779         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58780         instead of calling alloca.
58782         * io/lseek.c (__lseek): Rename to __libc_lseek.
58783         Define __lseek as an alias.
58785         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58787 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58789         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58790         else clause and remove check for non-standard endianness.
58792 2013-02-04  David S. Miller  <davem@davemloft.net>
58794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58796 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58798         [BZ #13550]
58799         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58800         (__ubp_memchr): Remove prototype.
58801         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58802         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58803         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58804         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58805         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58806         Remove alias.
58807         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58808         (__ubp_memchr): Likewise.
58809         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58810         (__ubp_memchr): Likewise.
58811         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58812         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58813         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58814         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58815         CHECK_STRING.
58816         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58817         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58818         (__getcwd): Do not use CHECK_STRING.
58819         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58820         <bp-checks.h>.
58821         (__real_chown): Do not use CHECK_STRING.
58822         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58823         <bp-checks.h>.
58824         (fchownat): Do not use CHECK_STRING.
58825         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58826         CHECK_STRING.
58827         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58828         <bp-checks.h>.
58829         (__lchown): Do not use CHECK_STRING.
58830         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58831         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58832         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58833         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58835         include <bp-checks.h>.
58836         (truncate64): Do not use CHECK_STRING.
58837         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58838         <bp-checks.h>.
58839         (__real_chown): Do not use CHECK_STRING.
58840         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58841         <bp-checks.h>.
58842         (__lchown): Do not use CHECK_STRING.
58843         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58844         <bp-checks.h>.
58845         (__chown): Do not use CHECK_STRING.
58846         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58847         <bp-checks.h>.
58848         (truncate64): Do not use CHECK_STRING.
58849         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58850         Likewise.
58851         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58852         (__xmknod): Do not use CHECK_STRING.
58853         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58854         <bp-checks.h>.
58855         (__xmknodat): Do not use CHECK_STRING.
58856         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58857         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58859 2013-02-04  Andreas Schwab  <schwab@suse.de>
58861         [BZ #14142]
58862         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58863         * include/netdb.h: Likewise for h_errno.
58864         * elf/tst-stackguard1.c: Include <tls.h>.
58866 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58868         * elf/link.h (struct link_map): Extend the l_addr comment.
58869         * include/link.h (struct link_map): Likewise.
58871 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58873         [BZ #13550]
58874         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58875         (BOUNDED_1): Remove macro.
58876         * debug/backtrace.c: Don't include <bp-checks.h>.
58877         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58878         (__backtrace): Likewise.
58879         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58880         <bp-checks.h>.
58881         (__backtrace): Don't use BOUNDED_1.
58882         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58883         <bp-checks.h>.
58884         (__backtrace): Don't use BOUNDED_1.
58885         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58886         (__backtrace): Don't use BOUNDED_1.
58887         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58888         (shmat): Don't use BOUNDED_N.
58890 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58892         [BZ #13550]
58893         * sysdeps/generic/bp-start.h: Remove file.
58894         * csu/libc-start.c: Don't include <bp-start.h>.
58895         (LIBC_START_MAIN): Set up __environ directly instead of using
58896         INIT_ARGV_and_ENVIRON.
58897         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58898         <bp-start.h>.
58900         [BZ #13550]
58901         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58902         definitions.
58903         (CHECK_FCNTL): Likewise.
58904         (CHECK_N_PAGES): Likewise.
58906         [BZ #13550]
58907         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58908         definitions.
58909         (CHECK_SIGSET_NULL_OK): Likewise.
58910         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58911         <bp-checks.h>.
58912         (sigpending): Don't use CHECK_SIGSET.
58913         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58914         <bp-checks.h>.
58915         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58916         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58917         <bp-checks.h>.
58918         (do_sigsuspend): Don't use CHECK_SIGSET.
58919         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58920         use CHECK_SIGSET.
58921         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58922         (do_sigwait): Don't use CHECK_SIGSET.
58923         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58924         use CHECK_SIGSET.
58925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58926         include <bp-checks.h>.
58927         (sigpending): Don't use CHECK_SIGSET.
58928         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58929         include <bp-checks.h>.
58930         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58931         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58932         <bp-checks.h>.
58933         (sigpending): Don't use CHECK_SIGSET.
58934         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58935         <bp-checks.h>.
58936         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58938         [BZ #13550]
58939         * sysdeps/generic/bp-semctl.h: Remove file.
58940         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58941         <bp-checks.h> and <bp-semctl.h>.
58942         (__old_semctl): Don't use CHECK_SEMCTL.
58943         (__new_semctl): Likewise.
58944         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58945         and <bp-semctl.h>.
58946         (__old_semctl): Don't use CHECK_SEMCTL.
58947         (__new_semctl): Likewise.
58948         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58949         <bp-checks.h> and <bp-semctl.h>.
58950         (__old_semctl): Don't use CHECK_SEMCTL.
58951         (__new_semctl): Likewise.
58952         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58953         <bp-checks.h> and <bp-semctl.h>.
58954         (semctl): Don't use CHECK_SEMCTL.
58956         [BZ #13550]
58957         * Makerules (elide-bp-thunks): Remove variable.
58958         (elide-routines.oS): Don't use $(elide-bp-thunks).
58959         (elide-routines.os): Likewise.
58960         (elide-routines.o): Likewise.
58961         (elide-routines.op): Likewise.
58962         (elide-routines.og): Likewise.
58963         (objects): Don't use $(bp-thunks).
58964         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58965         include.
58966         (common-generated): Do not add s-proto-bp.d.
58967         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58968         (int): Likewise.
58969         (typ): Likewise.
58970         Do not generate makefile rules for bounded-pointer thunks.
58971         * sysdeps/generic/bp-thunks.h: Remove file.
58972         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58973         * sysdeps/unix/s-proto-bp.S: Likewise.
58975         [BZ #15062]
58976         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58977         parts of result separately when argument is not close to line from
58978         -i to i and one part of argument is small.
58979         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58980         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58981         * math/libm-test.inc (cacos_test): Add more tests.
58982         (casin_test): Likewise.
58983         (casinh_test): Likewise.
58984         * sysdeps/i386/fpu/libm-test-ulps: Update.
58985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58987 2013-01-31  David S. Miller  <davem@davemloft.net>
58989         * po/de.po: Update from translation team.
58991 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58993         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58995 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58997         * configure.in (_AC_PROG_CC_C89): New definition.
58998         * configure: Regenerate.
59000         * configure.in (AC_PROG_CPP): New definition.
59001         * configure: Regenerate.
59003 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59005         * debug/tst-backtrace.h: New file.
59006         * debug/tst-backtrace2.c: Include tst-backtrace.h.
59007         (ret): Remove variable.
59008         (x): Likewise.
59009         (FAIL): Remove macro.
59010         (NO_INLINE): Likewise.
59011         (fn1): Use match function instead of strstr.
59012         * debug/tst-backtrace3.c: Include tst-backtrace.h.
59013         (ret): Remove variable.
59014         (x): Likewise.
59015         (FAIL): Remove macro.
59016         (NO_INLINE): Likewise.
59017         (fn): Use match function instead of strstr.
59018         * debug/tst-backtrace4.c: Include tst-backtrace.h.
59019         (ret): Remove variable.
59020         (x): Likewise.
59021         (FAIL): Remove macro.
59022         (NO_INLINE): Likewise.
59023         (handle_signal): Use match function instead of strstr.
59024         * debug/tst-backtrace5.c: Include tst-backtrace.h.
59025         (ret): Remove variable.
59026         (x): Likewise.
59027         (FAIL): Remove macro.
59028         (NO_INLINE): Likewise.
59029         (handle_signal): Use match function instead of strstr.
59031 2013-01-23  Roland McGrath  <roland@hack.frob.com>
59033         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59035 2013-01-23  David S. Miller  <davem@davemloft.net>
59037         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59038         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59039         argument of CAS if possible.
59040         * sysdeps/sparc/sparc64/bits/atomic.h
59041         (__arch_compare_and_exchange_val_32_acq): Likewise.
59042         (__arch_compare_and_exchange_val_64_acq): Likewise.
59044 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59046         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59047         * sysdeps/posix/ulimit.c: ... this.
59048         Include <limits.h>.
59049         * sysdeps/unix/bsd/ulimit.c: Remove file.
59051 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59053         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59054         (LDFLAGS-tst-array5): Likewise.
59056 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59058         [BZ #15036]
59059         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59060         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59061         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59062         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59064 2013-01-21  David S. Miller  <davem@davemloft.net>
59066         * sysdeps/sparc/backtrace.c: New file.
59067         * sysdeps/sparc/sparc32/backtrace.h: New file.
59068         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59069         * sysdeps/sparc/sparc64/backtrace.h: New file.
59070         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59071         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59072         -funwind-tables.
59074 2013-01-21  Andreas Schwab  <schwab@suse.de>
59076         [BZ #15020]
59077         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59078         closed its stdout.
59080 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59083         "mpa2.h".
59084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59086 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59087             Mark Mitchell  <mark@codesourcery.com>
59088             Tom de Vries  <tom@codesourcery.com>
59089             Paul Pluzhnikov  <ppluzhnikov@google.com>
59091         * debug/tst-backtrace2.c: New file.
59092         * debug/tst-backtrace3.c: Likewise.
59093         * debug/tst-backtrace4.c: Likewise.
59094         * debug/tst-backtrace5.c: Likewise.
59095         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59096         (CFLAGS-tst-backtrace3.c): Likewise.
59097         (CFLAGS-tst-backtrace4.c): Likewise.
59098         (CFLAGS-tst-backtrace5.c): Likewise.
59099         (LDFLAGS-tst-backtrace2): Likewise.
59100         (LDFLAGS-tst-backtrace3): Likewise.
59101         (LDFLAGS-tst-backtrace4): Likewise.
59102         (LDFLAGS-tst-backtrace5): Likewise.
59103         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59104         tst-backtrace4 and tst-backtrace5.
59106 2013-01-18  Anton Blanchard  <anton@samba.org>
59107             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59109         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59110         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59111         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59112         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59114         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59115         "+r" and remove output regs list as redundant.  Add explicit inline
59116         asm to specify register of return val to work around compiler codegen
59117         bug.  Remove (int) cast on return value.  Add return type parameter to
59118         use in macro so that this macro does not truncate return value for
59119         64-bit values.
59120         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59121         pass to INTERNAL_VSYSCALL_NCS.
59122         (INLINE_VSYSCALL): Add 'long int' as return type to
59123         INTERNAL_VSYSCALL_NCS macro invocation.
59124         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59125         INTERNAL_VSYSCALL_NCS macro invocation.
59126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59128 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59130         [BZ #14496]
59131         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59132         Fix application of SIMD FP exception mask.
59134         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59135         mp_no from a power of two.
59136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59137         __mpexp_twomm1.  Use __pow_mp.
59139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59140         multiplication.
59142 2013-01-17  David S. Miller  <davem@davemloft.net>
59144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59146 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59148         [BZ #15023]
59149         * include/complex.h: Condition contents on [!_COMPLEX_H].
59150         (__kernel_casinhf): New prototype.
59151         (__kernel_casinh): Likewise.
59152         (__kernel_casinhl): Likewise.
59153         * math/Makefile (libm_calls): Add k_casinh.
59154         * math/k_casinh.c: New file.
59155         * math/k_casinhf.c: Likewise.
59156         * math/k_casinhl.c: Likewise.
59157         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59158         finite nonzero arguments.
59159         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59160         finite nonzero arguments.
59161         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59162         finite nonzero arguments.
59163         * math/s_casinh.c: Do not include <float.h>.
59164         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59165         * math/s_casinhf.c: Do not include <float.h>.
59166         (__casinhf): Move code for finite nonzero arguments to
59167         k_casinhf.c.
59168         * math/s_casinhl.c: Do not include <float.h>.
59169         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59170         redefine.
59171         (__casinhl): Move code for finite nonzero arguments to
59172         k_casinhl.c.
59173         * math/libm-test.inc (cacos_test): Add more tests.
59174         * sysdeps/i386/fpu/libm-test-ulps: Update.
59175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59177 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59179         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59180         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59181         [!HAVE_MREMAP]: Remove [defined linux] case.
59182         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59184 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59186         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59188 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59190         * elf/elf.h (R_386_SIZE32): New relocation.
59191         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59192         R_386_SIZE32.
59193         (elf_machine_rela): Likewise.
59194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59195         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59197 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59199         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59200         (FP_FAST_FMA): Do not define.
59201         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59202         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59203         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59204         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59205         !_SOFT_FLOAT]: Likewise.
59206         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59207         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59208         value.
59209         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59210         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59211         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59212         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59213         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59214         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59215         file.
59217 2013-01-16  Andreas Schwab  <schwab@suse.de>
59219         [BZ #14327]
59220         * include/stdlib.h (__mktemp): Add declaration.
59221         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59222         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59224 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59226         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59227         definitions.
59228         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59229         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59230         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59231         definitions here.
59232         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59233         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59234         definitions.
59235         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59236         and ONE.
59237         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59238         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59239         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59240         definitions.
59241         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59242         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59243         definitions.
59244         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59246         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59248 2013-01-15  David S. Miller  <davem@davemloft.net>
59250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59251         trunc{,f} to libm-sysdep_routes.
59252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59254         file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59257         file.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59259         file.
59260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59262         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59263         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59264         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59265         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59266         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59267         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59270         nearbyint{,f} to libm-sysdep_routes.
59271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59273         New file.
59274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59275         file.
59276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59277         New file.
59278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59279         file.
59280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59282         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59283         file.
59284         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59285         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59286         file.
59287         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59288         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59289         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59291         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59292         libc_feholdexcept and libc_fesetenv.
59294 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59296         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59298 2013-01-14  David S. Miller  <davem@davemloft.net>
59300         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59301         (SPARC_ASM_VIS2_IFUNC): Likewise.
59302         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59304         use of 'siam' instruction.
59305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59306         Likewise.
59307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59308         Likewise.
59309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59310         Likewise.
59311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59316         file.
59317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59318         file.
59319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59320         file.
59321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59322         file.
59323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59328         new VIS2 routines.
59329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59332         Likewise.
59333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59338         routines to libm-sysdep_routines.
59339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59342         fdim/fdimf to libm-sysdep_routines.
59343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59344         file.
59345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59347         file.
59348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59351         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59352         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59353         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59354         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59356 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59358         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59359         to optimize copies.
59361         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59366         local variable MPTWO.
59367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59368         Likewise.
59370 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59372         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59373         GLOB_NOESCAPE.
59375 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59377         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59379 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59381         * manual/pattern.texi (glob_t): Document gl_flags.
59382         (glob64_t): Likewise.
59384 2013-01-11  David S. Miller  <davem@davemloft.net>
59386         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59387         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59388         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59389         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59390         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59391         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59392         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59393         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59394         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59395         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59396         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59397         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59398         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59400         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59401         sparc V9 rather than using V8 code.
59402         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59403         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59405         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59406         Move to...
59407         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59408         Here.
59410 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59412         [BZ #14941]
59413         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59414         not in the main loop.
59415         * configure: Regenerated.
59417 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59419         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59420         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59421         to just #else.
59422         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59423         [!__GLIBC_HAVE_LONG_LONG] case.
59424         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59425         condition to just #else.
59426         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59427         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59428         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59429         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59430         unconditional.
59431         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59432         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59433         #elif condition to just #else.
59434         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59435         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59436         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59437         #elif condition to just #else.
59439 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59441         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59442         (EF_MIPS_ARCH_64): Fix value.
59443         (EF_MIPS_ARCH_32R2): New.
59444         (EF_MIPS_ARCH_64R2): New.
59446 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59448         * Makeconfig (+link-pie-before-libc): New.
59449         (+link-pie-after-libc): Likewise.
59450         (+link-pie-tests): Likewise.
59451         (+link-pie): Rewritten.
59452         (link-before-libc): Remove $(config-LDFLAGS).
59453         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59454         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59455         (config-LDFLAGS): Renamed to ...
59456         (rtld-LDFLAGS): This.
59457         (rtld-tests-LDFLAGS): New macro.
59458         (link-libc-rpath-link): Likewise.
59459         (link-libc-tests-rpath-link): Likewise.
59460         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59461         (link-libc): Prepand $(link-libc-rpath-link).
59462         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59463         (test-program-prefix): New macro.
59464         (test-via-rtld-prefix): Likewise.
59465         (test-program-cmd): Likewise.
59466         (host-test-program-cmd): Likewise.
59467         * Makefile ($(common-objpfx)testrun.sh): Replace
59468         $(run-program-prefix) with $(test-program-prefix).
59469         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59470         $(rtld-LDFLAGS).
59471         ($(common-objpfx)shlib.lds): Likewise.
59472         (build-module-helper): Likewise.
59473         ($(common-objpfx)format.lds): Likewise.
59474         * Rules (binaries-pie-tests): New.
59475         (binaries-pie-notests): Likewise.
59476         (binaries-pie): Rewritten.
59477         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59478         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59479         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59480         (make-test-out): Replace $(host-built-program-cmd) with
59481         $(host-test-program-cmd).
59482         * config.make.in (build-hardcoded-path-in-tests): New variable.
59483         * configure.in (--enable-hardcoded-path-in-tests): New configure
59484         option.
59485         (hardcoded_path_in_tests): New AC_SUBST.
59486         * configure: Regenerated.
59487         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59488         $(built-program-cmd) with $(test-program-cmd).
59489         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59490         (test_program_cmd): This.
59491         * elf/Makefile ($(objpfx)order.out): Run test with
59492         $(test-program-prefix).
59493         ($(objpfx)order2.out): Likewise.
59494         ($(objpfx)tst-initorder.out): Likewise.
59495         ($(objpfx)tst-initorder2.out): Likewise.
59496         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59497         $(test-program-cmd).
59498         ($(objpfx)tst-array1-static.out): Likewise.
59499         ($(objpfx)tst-array2.out): Likewise.
59500         ($(objpfx)tst-array3.out): Likewise.
59501         ($(objpfx)tst-array4.out): Likewise.
59502         ($(objpfx)tst-array5.out): Likewise.
59503         ($(objpfx)tst-array5-static.out): Likewise.
59504         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59505         $(test-program-cmd).
59506         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59507         $(run-program-prefix) with $(test-program-prefix).
59508         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59509         (test_program_prefix): This.
59510         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59511         $(run-program-prefix) with $(test-program-prefix).
59512         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59513         (test_program_prefix): This.
59514         * iconvdata/tst-tables.sh: Likewise.
59515         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59516         $(run-program-prefix) with $(test-program-prefix).
59517         ($(objpfx)tst-translit.out): Likewise.
59518         ($(objpfx)tst-gettext2.out): Likewise.
59519         ($(objpfx)tst-gettext4.out): Likewise.
59520         ($(objpfx)tst-gettext6.out): Likewise.
59521         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59522         (test_program_prefix): This.
59523         * intl/tst-gettext2.sh: Likewise.
59524         * intl/tst-gettext4.sh  Likewise.
59525         * intl/tst-gettext6.sh: Likewise.
59526         * intl/tst-translit.sh: Likewise.
59527         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59528         with $(test-program-cmd).
59529         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59530         $(run-program-prefix) with $(test-program-prefix).
59531         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59532         (test_program_prefix): This.
59533         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59534         $(run-program-prefix) with $(test-program-prefix).
59535         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59536         (test_program_prefix): This.
59537         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59538         * posix/Makefile ($(objpfx)globtest.out): Replace
59539         $(run-via-rtld-prefix) and $(test-wrapper) with
59540         $(test-program-prefix) and $(test-via-rtld-prefix).
59541         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59542         $(test-program-prefix).
59543         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59544         $(host-test-program-cmd).
59545         (tst-spawn-ARGS): Likewise.
59546         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59547         $(test-program-prefix).
59548         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59549         (test_via_rtld_prefix): This.
59550         (test_wrapper): Renamed to ...
59551         (test_program_prefix): This.
59552         (run_program_prefix): Replaced by test_program_prefix.
59553         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59554         (test_program_prefix): This.
59555         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59556         with $(host-test-program-cmd).
59557         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59558         $(run-program-prefix) with $(test-program-prefix).
59559         ($(objpfx)tst-printf.out): Likewise.
59560         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59561         $(test-program-cmd).
59562         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59563         (test_program_prefix): This.
59564         * stdio-common/tst-unbputc.sh: Likewise.
59565         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59566         $(run-program-prefix) with $(test-program-prefix).
59567         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59568         (test_program_prefix): This.
59569         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59570         $(built-program-cmd) with $(test-program-cmd).
59572 2013-01-11  Andreas Jaeger  <aj@suse.de>
59574         [BZ #15003]
59575         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59576         value. Sync with Linux 3.7.
59578 2013-01-10  David S. Miller  <davem@davemloft.net>
59580         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59581         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59582         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59584 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59586         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59587         never set.
59588         * configure: Regenerated.
59590 2013-01-10  David S. Miller  <davem@davemloft.net>
59592         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59593         sparc V9 rather than using V8 code.
59594         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59595         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59597 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59599         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59600         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59601         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59602         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59603         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59604         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59605         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59606         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59607         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59608         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59609         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59610         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59611         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59612         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59613         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59614         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59615         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59616         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59617         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59618         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59619         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59620         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59621         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59622         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59623         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59624         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59625         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59627 2013-01-10  David S. Miller  <davem@davemloft.net>
59629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59631 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59633         * posix/Makefile (tests-static): New variable.
59634         (tests): Add $(tests-static).
59635         (tst-exec-static-ARGS): New variable.
59636         (tst-spawn-static-ARGS): Likewise.
59637         * posix/tst-exec-static.c: New file.
59638         * posix/tst-spawn-static.c: Likewise.
59639         * posix/tst-exec.c: Support run directly.
59640         * posix/tst-spawn.c: Likewise.
59642 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59644         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59645         long.
59646         * math/bits/mathcalls.h (llrint): Likewise.
59647         (llround): Likewise.
59648         * stdlib/stdlib.h (struct drand48_data): Likewise.
59649         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59650         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59651         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59652         Likewise.
59653         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59654         Likewise.
59655         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59656         (elf_greg_t): Likewise.
59657         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59658         (__jmp_buf): Likewise.
59659         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59660         definitions.
59661         (llrint): Likewise, for all definitions.
59662         (llrintl): Likewise.
59664         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59665         Remove [__GNUC__] condition.
59666         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59667         condition to just [__USE_ISOC99].
59668         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59670 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59672         [BZ #14200]
59673         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59674         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59675         defined.
59676         (_POSIX_V6_ILP32_OFF32): Likewise.
59677         (_XBS5_ILP32_OFF32): Likewise.
59678         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59679         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59681 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59683         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59686         doubles __mpexp_twomm1.  Adjust usage.
59687         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59688         Remove.
59690 2013-01-10  Andreas Schwab  <schwab@suse.de>
59692         [BZ #14964]
59693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59694         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59696 2013-01-09  David S. Miller  <davem@davemloft.net>
59698         [BZ #15003]
59699         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59700         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59701         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59702         (TCP_FASTOPEN): Define.
59703         (tcp_repair_opt): New structure.
59704         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59705         enum values.
59706         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59707         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59708         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59709         (tcp_cookie_transactions): New structure.
59711 2013-01-09  Anton Blanchard  <anton@samba.org>
59713         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59714         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59715         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59716         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59718 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59720         * include/features.h (__USE_ANSI): Remove.
59722 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59724         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59726         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59728 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59730         * sysdeps/s390/fpu/libm-test-ulps: Update.
59732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59734         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59735         (__acr): Likewise.
59736         (__cpy): Likewise.
59737         (norm): Likewise.
59738         (denorm): Likewise.
59739         (__mp_dbl): Likewise.
59740         (__dbl_mp): Likewise.
59741         (add_magnitudes): Likewise.
59742         (sub_magnitudes): Likewise.
59743         (__add): Likewise.
59744         (__sub): Likewise.
59745         (__mul): Likewise.
59746         (__inv): Likewise.
59747         (__dvd): Likewise.
59748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59749         (__acr): Likewise.
59750         (__cpy): Likewise.
59751         (norm): Likewise.
59752         (denorm): Likewise.
59753         (__mp_dbl): Likewise.
59754         (__dbl_mp): Likewise.
59755         (add_magnitudes): Likewise.
59756         (sub_magnitudes): Likewise.
59757         (__add): Likewise.
59758         (__sub): Likewise.
59759         (__mul): Likewise.
59760         (__inv): Likewise.
59761         (__dvd): Likewise.
59762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59763         (__acr): Likewise.
59764         (__cpy): Likewise.
59765         (norm): Likewise.
59766         (denorm): Likewise.
59767         (__mp_dbl): Likewise.
59768         (__dbl_mp): Likewise.
59769         (add_magnitudes): Likewise.
59770         (sub_magnitudes): Likewise.
59771         (__add): Likewise.
59772         (__sub): Likewise.
59773         (__mul): Likewise.
59774         (__inv): Likewise.
59775         (__dvd): Likewise.
59777 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59779         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59780         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59781         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59782         2 && __USE_EXTERN_INLINES]: Likewise.
59784 2013-01-08  Andreas Jaeger  <aj@suse.de>
59786         [BZ# 14985]
59787         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59788         Remove.
59789         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59790         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59792 2013-01-07  Anton Blanchard  <anton@samba.org>
59794         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59795         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59796         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59797         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59798         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59799         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59800         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59801         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59803         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59804         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59805         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59806         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59807         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59808         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59809         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59810         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59811         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59812         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59813         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59814         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59815         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59817         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59818         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59819         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59820         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59821         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59822         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59823         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59824         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59826         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59827         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59828         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59829         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59830         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59831         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59832         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59836         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59838 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59840         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59841         (__MALLOC_PMT): Likewise.
59842         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59843         [__GNUC__], only on [_LIBC].
59844         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59845         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59846         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59847         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59848         forward declaration.
59849         (realloc_hook_ini): Likewise.
59850         (memalign_hook_ini): Likewise.
59851         (__libc_memalign): Do not use __MALLOC_PMT in variable
59852         declaration.
59853         (__libc_valloc): Likewise.
59854         (__libc_pvalloc): Likewise.
59855         (__libc_calloc): Likewise.
59856         (__posix_memalign): Likewise.
59858         [BZ #14996]
59859         * math/s_casinh.c: Include <float.h>.
59860         (__casinh): Do not do computation with squaring and square root
59861         for large arguments.
59862         * math/s_casinhf.c: Include <float.h>.
59863         (__casinhf): Do not do computation with squaring and square root
59864         for large arguments.
59865         * math/s_casinhl.c: Include <float.h>.
59866         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59867         (__casinhl): Do not do computation with squaring and square root
59868         for large arguments.
59869         * math/libm-test.inc (casin_test): Add more tests.
59870         (casinh_test): Likewise.
59871         * sysdeps/i386/fpu/libm-test-ulps: Update.
59872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59874 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59876         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59877         (__x86_64_raw_data_cache_size): Likewise.
59878         (__x86_64_data_cache_size_half): Likewise.
59879         (__x86_64_raw_data_cache_size_half): Likewise.
59880         (__x86_64_shared_cache_size): Likewise.
59881         (__x86_64_raw_shared_cache_size): Likewise.
59882         (__x86_64_shared_cache_size_half): Likewise.
59883         (__x86_64_raw_shared_cache_size_half): Likewise.
59884         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59885         to ...
59886         (__x86_data_cache_size): This.
59887         (__x86_64_raw_data_cache_size): Renamed to ...
59888         (__x86_raw_data_cache_size): This.
59889         (__x86_64_data_cache_size_half): Renamed to ...
59890         (__x86_data_cache_size_half): This.
59891         (__x86_64_raw_data_cache_size_half): Renamed to ...
59892         (__x86_raw_data_cache_size_half): This.
59893         (__x86_64_shared_cache_size): Renamed to ...
59894         (__x86_shared_cache_size): This.
59895         (__x86_64_raw_shared_cache_size): Renamed to ...
59896         (__x86_raw_shared_cache_size): This.
59897         (__x86_64_shared_cache_size_half): Renamed to ...
59898         (__x86_shared_cache_size_half): This.
59899         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59900         (__x86_raw_shared_cache_size_half): This.
59901         * sysdeps/x86_64/memcpy.S: Updated.
59902         * sysdeps/x86_64/memset.S: Likewise.
59903         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59904         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59905         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59907 2013-01-04  David S. Miller  <davem@davemloft.net>
59909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59911 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59913         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59914         1 to avoid redefinition warning.
59915         (__USE_GNU): Don't define.
59916         (init_signaling_nan): Protoize.
59918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59920 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59922         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59924         (__cpymn): Likewise.
59925         (norm): Remove commented code.
59926         (denorm): Likewise.
59927         (__mp_dbl): Likewise.
59928         (__inv): Likewise.
59929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59930         (__cpymn): Likewise.
59931         (norm): Remove commented code.
59932         (denorm): Likewise.
59933         (__mp_dbl): Likewise.
59934         (__inv): Likewise.
59936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59937         mp_no value for 1.0 and 2.0.
59938         (norm): Use RADIXI instead of radixi.d.
59939         (denorm): Likewise.
59940         (__mul): Use 0.0 instead of zero.d.
59941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59942         mp_no value for 1.0 and 2.0.
59943         (norm): Use RADIXI instead of radixi.d.
59944         (denorm): Likewise.
59945         (__mul): Use 0.0 instead of zero.d.
59947 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59949         [BZ #14994]
59950         * math/s_casinh.c (__casinh): Reduce finite argument to first
59951         quadrant then set signs of results at the end.
59952         * math/s_casinhf.c (__casinhf): Likewise.
59953         * math/s_casinhl.c (__casinhl): Likewise.
59954         * math/libm-test.inc (casin_test): Add more tests.
59955         (casinh_test): Likewise.
59956         * sysdeps/i386/fpu/libm-test-ulps: Update.
59957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59959 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59961         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59963         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59965         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59966         declarations.
59967         (denorm): Likewise.
59968         (__mp_dbl): Likewise.
59969         (__inv): Likewise.
59971         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59972         and adjust the header comment.
59974         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59975         variable name from declaration.
59977 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59980         Initialize COMMON_CPUID_INDEX_7 element.
59981         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59982         (CPUID_RTM): Likewise.
59983         (HAS_RTM): Likewise.
59984         (COMMON_CPUID_INDEX_7): New enum.
59986 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59988         [BZ #14981]
59989         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59990         size is zero, record memory as freed.
59992 2013-01-03  Andreas Jaeger  <aj@suse.de>
59994         * po/ia.po: Add new Interlingua translation.
59996 2012-01-03  Allan McRae  <allan@archlinux.org>
59998         * locale/programs/localedef.c: Fix description of '--posix' flag.
60000 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
60002         * NEWS: Update dates in second copyright notice.
60003         * README: Update copyright dates in example.
60004         * manual/libc.texinfo: Update copyright dates.
60005         * scripts/test-installation.pl: Update copyright date in --version
60006         output.
60008         * hurd/ctty-input.c: Fix copyright notice formatting.
60009         * hurd/ctty-output.c: Likewise.
60010         * hurd/dtable.c: Likewise.
60011         * hurd/hurd-raise.c: Likewise.
60012         * hurd/hurdprio.c: Likewise.
60013         * hurd/msgportdemux.c: Likewise.
60014         * misc/sys/file.h: Likewise.
60015         * misc/sys/ioctl.h: Likewise.
60016         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60017         * sysdeps/mach/hurd/chdir.c: Likewise.
60018         * sysdeps/mach/hurd/fchdir.c: Likewise.
60019         * sysdeps/mach/hurd/rename.c: Likewise.
60020         * sysdeps/mach/hurd/rmdir.c: Likewise.
60021         * sysdeps/mach/hurd/seekdir.c: Likewise.
60022         * sysdeps/mach/hurd/setsid.c: Likewise.
60023         * sysdeps/posix/wait3.c: Likewise.
60025         * All files with FSF copyright notices: Update copyright dates
60026         using scripts/update-copyrights.
60027         * intl/plural.c: Regenerated.
60028         * locale/programs/charmap-kw.h: Likewise.
60029         * locale/programs/locfile-kw.h: Likewise.
60031 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60033         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60034         four values.
60036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60037         calculation loop and add branch prediction.
60039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60040         check access beyond bounds of m1np.
60042         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60043         MPTWO.
60044         (__inv): Remove local variable MPTWO to use the global
60045         constant.
60046         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60047         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60048         variable MPTWO.
60049         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60050         MP3HALFS static const.
60052 2013-01-01  David S. Miller  <davem@davemloft.net>
60054         * po/ca.po: Update from translation team.
60056 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60058         * scripts/update-copyrights: New file.
60059         * Makeconfig: Reformat copyright notice.
60060         * ctype/ctype.h: Likewise.
60061         * debug/swprintf_chk.c: Likewise.
60062         * elf/dl-cache.c: Likewise.
60063         * elf/dl-debug.c: Likewise.
60064         * elf/dl-object.c: Likewise.
60065         * grp/initgroups.c: Likewise.
60066         * hurd/Makefile: Likewise.
60067         * hurd/hurd/signal.h: Likewise.
60068         * hurd/hurdfault.c: Likewise.
60069         * hurd/hurdioctl.c: Likewise.
60070         * hurd/hurdlookup.c: Likewise.
60071         * hurd/intr-msg.c: Likewise.
60072         * iconv/gconv_open.c: Likewise.
60073         * libio/swprintf.c: Likewise.
60074         * locale/lc-ctype.c: Likewise.
60075         * locale/nl_langinfo.c: Likewise.
60076         * mach/Machrules: Likewise.
60077         * mach/Makefile: Likewise.
60078         * malloc/obstack.h: Likewise.
60079         * manual/Makefile: Likewise.
60080         * manual/tsort.awk: Likewise.
60081         * misc/bits/stab.def: Likewise.
60082         * nis/nis_print_group_entry.c: Likewise.
60083         * nis/nis_table.c: Likewise.
60084         * nis/nss_compat/compat-pwd.c: Likewise.
60085         * nis/nss_compat/compat-spwd.c: Likewise.
60086         * po/Makefile: Likewise.
60087         * posix/fnmatch.c: Likewise.
60088         * posix/regex.h: Likewise.
60089         * resolv/Makefile: Likewise.
60090         * resolv/nss_dns/dns-network.c: Likewise.
60091         * resolv/res_hconf.c: Likewise.
60092         * scripts/gen-sorted.awk: Likewise.
60093         * soft-fp/soft-fp.h: Likewise.
60094         * stdio-common/printf.h: Likewise.
60095         * stdlib/monetary.h: Likewise.
60096         * stdlib/random.c: Likewise.
60097         * stdlib/random_r.c: Likewise.
60098         * sysdeps/generic/Makefile: Likewise.
60099         * sysdeps/gnu/Makefile: Likewise.
60100         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60101         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60102         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60104         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60105         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60106         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60107         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60108         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60110         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60111         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60112         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60113         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60114         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60115         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60116         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60117         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60118         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60119         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60120         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60121         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60122         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60123         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60124         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60125         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60126         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60127         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60128         * sysdeps/mach/hurd/errnos.awk: Likewise.
60129         * sysdeps/mach/hurd/fork.c: Likewise.
60130         * sysdeps/mach/hurd/getcwd.c: Likewise.
60131         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60132         * sysdeps/mach/hurd/mmap.c: Likewise.
60133         * sysdeps/mach/hurd/utimes.c: Likewise.
60134         * sysdeps/mach/hurd/xmknod.c: Likewise.
60135         * sysdeps/posix/profil.c: Likewise.
60136         * sysdeps/posix/readdir_r.c: Likewise.
60137         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60138         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60139         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60140         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60142         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60143         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60144         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60146         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60147         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60148         * sysdeps/pthread/lio_listio.c: Likewise.
60149         * sysdeps/sparc/dl-procinfo.h: Likewise.
60150         * sysdeps/unix/i386/sysdep.S: Likewise.
60151         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60152         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60153         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60154         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60156         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60157         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60158         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60159         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60160         * sysdeps/wordsize-32/divdi3.c: Likewise.
60161         * time/sys/time.h: Likewise.
60162         * wcsmbs/Makefile: Likewise.
60164 2013-01-01  David S. Miller  <davem@davemloft.net>
60166         * po/fr.po: Update from translation team.
60168         * catgets/gencat.c: Update copyright year.
60169         * csu/version.c: Likewise.
60170         * debug/catchsegv.sh: Likewise.
60171         * debug/pcprofiledump.c: Likewise.
60172         * debug/xtrace.sh: Likewise.
60173         * elf/ldconfig.c: Likewise.
60174         * elf/ldd.bash.in: Likewise.
60175         * elf/pldd.c: Likewise.
60176         * elf/sotruss.ksh: Likewise.
60177         * elf/sprof.c: Likewise.
60178         * iconv/iconv_prog.c: Likewise.
60179         * iconv/iconvconfig.c: Likewise.
60180         * locale/programs/locale.c: Likewise.
60181         * locale/programs/localedef.c: Likewise.
60182         * login/programs/pt_chown.c: Likewise.
60183         * malloc/memusage.sh: Likewise.
60184         * malloc/memusagestat.c: Likewise.
60185         * malloc/mtrace.pl: Likewise.
60186         * nscd/nscd.c: Likewise.
60187         * nss/getent.c: Likewise.
60188         * nss/makedb.c: Likewise.
60189         * posix/getconf.c: Likewise.
60191 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60193         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60194         numbers.
60196 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60198         * math/bits/mathcalls.h (modf): Use __nonnull.
60200 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60202         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60203         (split): Use macro CN instead of the bare value.
60204         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60205         could be used.
60206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60207         instead of the bare value.
60208         (power1): Likewise.
60210 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60213         __ATAN_TWOM.
60214         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60216         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60217         their values.
60218         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60219         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60220         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60221         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60223 2012-12-28  Andreas Jaeger  <aj@suse.de>
60225         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60226         values are from Linux 3.7.
60228         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60229         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60231 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60233         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60234         TRUE case.
60236         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60237         (norm): Likewise.
60238         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60239         variables with preprocessor constants.
60240         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60241         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60242         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60244 2012-12-27  Bruno Haible  <bruno@clisp.org>
60246         [BZ #14317]
60247         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60248         only if needed.
60250 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60253         and use variable directly.
60254         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60256         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60257         MPONE.
60258         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60259         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60260         variable MPONE.
60261         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60263         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60264         include directive.  Remove local variable MPONE.
60265         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60266         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60267         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60269 2012-12-25  David S. Miller  <davem@davemloft.net>
60271         * version.h (RELEASE): Set to "development".
60272         (VERSION): Set to "2.17.90".
60273         * NEWS: Add 2.18 section.
60275 2012-12-21  David S. Miller  <davem@davemloft.net>
60277         * po/hr.po: Update from translation team.
60279 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60281         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60283 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60285         * NEWS:  Mention new memcpy for MIPS.
60287 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60289         * manual/contrib.texi (Contributors): Spelling correction.
60291 2012-12-15  David S. Miller  <davem@davemloft.net>
60293         * po/ru.po: Update from translation team.
60295 2012-12-13  David S. Miller  <davem@davemloft.net>
60297         * NEWS: Mention IFUNC testsuite enhancements.
60299         * po/pl.po: Update from translation team.
60300         * po/bg.po: Likewise.
60302         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60303         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60305 2012-12-11  David S. Miller  <davem@davemloft.net>
60307         * po/sv.po: Update from translation team.
60309         * po/vi.po: Update from translation team.
60311         * po/cs.po: Update from translation team.
60313         * po/de.po: Update from translation team.
60314         * po/eo.po: Likewise.
60315         * po/nl.po: Likewise.
60317 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60319         [BZ #14246]
60320         * manual/argp.texi (Argp Helper Functions): Move node to follow
60321         Argp Parsing State.
60323         [BZ #14872]
60324         * manual/conf.texi (Limits on File System Capacity): Mention if
60325         terminating null is included in the max size.
60327 2012-12-10  Andreas Jaeger  <aj@suse.de>
60329         * po/cs.po: Update from translation team.
60331 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60333         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60334         void pointer and cast to uintptr_t.
60335         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60336         path.
60337         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60338         * sysdeps/s390/s390-64/memset.S: Likewise.
60340 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60342         [BZ #14833]
60343         * menual/message.texi (Message Translation): Fix typos.
60344         (Helper programs for gettext): Likewise.
60346 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60348         [BZ #14898]
60349         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60350         Change to -1.
60352 2012-12-07  David S. Miller  <davem@davemloft.net>
60354         * po/libc.pot: Update.
60356 2012-12-07  Richard Henderson  <rth@redhat.com>
60358         [BZ #10114]
60359         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60360         normal/normal case to before the switch.
60361         (_FP_DIV): Likewise.
60363 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60364             Mike Frysinger  <vapier@gentoo.org>
60366         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60367         check for __NR_fadvise64_64.
60369 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60371         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60372         0, not just to plain "0" as a statement.
60373         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60374         with cw.
60376 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60378         * NEWS: Use sourceware.org in Bugzilla URL.
60380 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60383         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60385         * stdio-common/tst-put-error.c (do_test): Add newline to the
60386         padded test to ensure flush.
60388 2012-12-05  Jeff Law  <law@redhat.com>
60390         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60392 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60394         * README: Don't refer to ports add-on as distributed separately.
60395         Mention AArch64 in list of systems supported in the ports add-on.
60397         * LICENSES: Add more non-FSF copyright and license notices.
60399         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60400         ((unused)).
60402         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60404         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60405         10000 as width of padded output.
60407 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60409         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60411         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60412         variable LX with __attribute__ ((unused)).
60413         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60414         Likewise.
60415         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60417         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60418         with __attribute__ ((unused)).
60420 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60422         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60424 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60426         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60427         (CFLAGS-nldbl-acos.c): New variable.
60428         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60429         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60430         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60431         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60432         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60433         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60434         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60435         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60436         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60437         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60438         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60439         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60440         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60441         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60442         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60443         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60444         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60445         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60446         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60447         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60448         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60449         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60450         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60451         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60452         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60453         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60454         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60455         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60456         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60457         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60458         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60459         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60460         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60461         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60462         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60463         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60464         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60465         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60466         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60467         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60468         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60469         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60470         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60471         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60472         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60473         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60474         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60475         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60476         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60477         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60478         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60479         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60480         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60481         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60482         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60483         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60484         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60485         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60486         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60487         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60488         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60489         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60490         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60491         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60492         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60493         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60494         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60495         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60496         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60497         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60498         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60499         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60500         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60501         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60502         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60503         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60504         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60505         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60506         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60507         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60508         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60509         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60510         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60511         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60512         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60513         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60514         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60515         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60516         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60517         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60518         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60519         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60520         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60521         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60522         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60523         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60524         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60527         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60529         [BZ #14914]
60530         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60531         whole low double instead of just low 47 bits when splitting values
60532         into two parts.
60534 2012-12-03  Allan McRae  <allan@archlinux.org>
60536         * manual/stdio.texi (Predefined Printf Handlers): Remove
60537         @hsep and @vsep usage.
60539 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60541         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60542         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60544 2012-12-03  Jeff Law  <law@redhat.com>
60546         * time/sys/time.h (settimeofday): Do not mark TV argument
60547         as __nonnull.
60549 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60551         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60552         when currently writing and seek to current position when not.
60553         * libio/Makefile (tests): Remove bug-fclose1.
60554         * libio/bug-fclose1.c: Delete.
60556 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60558         * manual/arith.texi (feenableexcept): Fix typo.
60559         (fedisableexcept): Likewise.
60561 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60563         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60564         second, differently-typed declaration, rather than a cast.
60566 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60568         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60569         * include/rpc/svc.h: ... here.
60571 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60573         [BZ #13013]
60574         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60575         depending n and resplen2 to catch cases where answer
60576         equals answerp2.
60578 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60580         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60581         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60583 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60585         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60587 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60589         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60591 2012-11-28  Jeff Law  <law@redhat.com>
60593         [BZ #13761]
60594         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60595         dataset_temporary.  Track alloca usage into alloca_used.
60596         If dataset is large allocate and release it via malloc/free.
60598 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60600         [BZ #14197]
60601         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60603 2012-11-28  David S. Miller  <davem@davemloft.net>
60605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60607 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60609         [BZ #14803]
60610         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60611         of pi/2 rounded to nearest to 64 bits.
60612         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60613         nearest to 64 bits.
60614         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60615         bits.
60617 2012-11-28  Jeff Law <law@redhat.com>
60618             Martin Osvald <mosvald@redhat.com>
60620         [BZ #14889]
60621         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60622         * sunrpc/svc.c: Include time.h.
60623         (__svc_accept_failed): New function.
60624         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60625         any reason other than EINTR, call __svc_accept_failed.
60626         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60627         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60629 2012-11-28  Andreas Schwab  <schwab@suse.de>
60631         * scripts/abilist.awk: Also handle indirect functions in .opd
60632         section.
60634 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60636         [BZ #13881]
60637         * sysdeps/x86/fpu/powl_helper.c: New file.
60638         * sysdeps/x86/fpu/Makefile: Likewise.
60639         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60640         (p3): New object.
60641         (__ieee754_powl): Use __powl_helper for finite arguments except
60642         integer exponents below 8.
60643         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60644         (p3): New object.
60645         (__ieee754_powl): Use __powl_helper for finite arguments except
60646         integer exponents below 8.
60647         * math/libm-test.inc (pow_test): Add more tests and enable some
60648         previously disabled tests.
60649         * sysdeps/i386/fpu/libm-test-ulps: Update.
60650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60652 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60653             Carlos O'Donell  <carlos_odonell@mentor.com>
60655         * nss/makedb.c (is_prime): Assert that input is odd and greater
60656         than 4.  Note that fact in a comment too.
60657         (next_prime): Add 4 to input.
60659 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60661         [BZ #11741]
60662         * libio/Makefile (tests): Add test case tst-fwrite-error.
60663         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60664         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60665         * libio/tst-fwrite-error.c: New test case.
60667 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60669         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60670         before casting to void *.
60671         * include/libc-internal.h (__pointer_type): New macro.
60672         (__integer_if_pointer_type_sub): Likewise.
60673         (__integer_if_pointer_type): Likewise.
60674         (cast_to_integer): Likewise.
60675         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60676         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60677         before casting to atomic64_t.
60678         (atomic_exchange_acq): Likewise.
60679         (__arch_exchange_and_add_body): Likewise.
60680         (__arch_add_body): Likewise.
60681         (atomic_add_negative): Likewise.
60682         (atomic_add_zero): Likewise.
60684 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60686         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60687         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60688         (add_fdes): Likewise.
60689         (linear_search_fdes): Likewise.
60690         (binary_search_unencoded_fdes): Likewise.
60692 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60694         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60696 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60698         * configure.in: Autodetect C++ header directories.
60699         * configure: Regenerated.
60701 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60703         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60705 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60709 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60711         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60712         LDBL_MANT_DIG == 106]: Disable some tests.
60713         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60714         Likewise.
60715         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60716         Likewise.
60718         [BZ #14871]
60719         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60720         input for small inputs.  Return +/- pi/2 for large inputs.
60721         * math/libm-test.inc (atan_test): Add more tests.
60723         * sysdeps/generic/unwind-dw2-fde-glibc.c
60724         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60725         __attribute__ ((unused)).
60727         [BZ #14645]
60728         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60729         x * y if x and y are nonzero and z is zero.
60731         [BZ #14811]
60732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60733         nonzero exponents with absolute value below 0x1p-117 to +/-
60734         0x1p-117.
60736         [BZ #14869]
60737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60738         up arguments below 2**-450, not just those below 2**-500.
60739         * math/libm-test.inc (hypot_test): Add another test.
60741         [BZ #14868]
60742         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60743         Return a+b for ratio over 2**120, not 2**60.
60744         * math/libm-test.inc (hypot_test): Add another test.
60746         * math/libm-test.inc (clog_test): Use
60747         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60748         (clog10_test): Likewise.
60750         [BZ #6778]
60751         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60753 2012-11-22  Andreas Schwab  <schwab@suse.de>
60755         * sysdeps/i386/fpu/libm-test-ulps: Update.
60757 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60759         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60760         printf output with newline.
60762 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60764         [BZ #14865]
60765         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60766         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60767         -z nodlopen, -z initfirst and -z execstack support.
60768         * configure: Regenerated.
60770         * elf/elf.h (DF_1_NODIRECT): New macro.
60771         (DF_1_IGNMULDEF): Likewise.
60772         (DF_1_NOKSYMS): Likewise.
60773         (DF_1_NOHDR): Likewise.
60774         (DF_1_EDITED): Likewise.
60775         (DF_1_NORELOC): Likewise.
60776         (DF_1_SYMINTPOSE): Likewise.
60777         (DF_1_GLOBAUDIT): Likewise.
60778         (DF_1_SINGLETON): Likewise.
60779         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60780         DT_1_SUPPORTED_MASK bits.
60781         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60783 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60785         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60787 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60789         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60790         macro.
60792         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60793         (sendmmsg): Move declarations...
60794         * socket/sys/socket.h: ... here.
60795         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60796         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60797         include it from...
60798         * socket/recvmmsg.c: ... this new file.
60799         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60800         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60801         definition of __sendmmsg hidden.
60802         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60803         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60804         Move ENOSYS stub into and include it from...
60805         * socket/sendmmsg.c: ... this new file.
60806         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60807         (sysdep_routines): Move recvmmsg and sendmmsg...
60808         * socket/Makefile (routines): ... here.
60809         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60810         (GLIBC_PRIVATE): Add __sendmmsg.
60811         * include/sys/socket.h (__sendmmsg): Add declarations.
60812         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60813         sendmmsg.
60815 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60817         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60818         variable I1 with __attribute__ ((unused)).
60819         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60821 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60823         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60824         DUMMY variables with __attribute__ ((unused)).
60826         * bits/byteswap.h: Include <bits/types.h>.
60827         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60829 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60831         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60832         string_t.  Do not manually set errno.
60833         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60834         length with __strnlen.  Make sure to both set errno and return it on
60835         failure.
60837 2012-11-19  David S. Miller  <davem@davemloft.net>
60839         With help from Joseph Myers.
60840         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60841         very large arguments properly.
60842         * math/libm-test.inc (atan_test): New tests.
60843         (atan2_test): New tests.
60844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60847 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60849         [BZ #14856]
60850         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60851         Define to 3.
60853         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60854         [POSIX] (EADDRNOTAVAIL): Likewise.
60855         [POSIX] (EAFNOSUPPORT): Likewise.
60856         [POSIX] (EALREADY): Likewise.
60857         [POSIX] (ECONNABORTED): Likewise.
60858         [POSIX] (ECONNREFUSED): Likewise.
60859         [POSIX] (ECONNRESET): Likewise.
60860         [POSIX] (EDESTADDRREQ): Likewise.
60861         [POSIX] (EDQUOT): Likewise.
60862         [POSIX] (EHOSTUNREACH): Likewise.
60863         [POSIX] (EIDRM): Likewise.
60864         [POSIX] (EISCONN): Likewise.
60865         [POSIX] (ELOOP): Likewise.
60866         [POSIX] (EMULTIHOP): Likewise.
60867         [POSIX] (ENETDOWN): Likewise.
60868         [POSIX] (ENETUNREACH): Likewise.
60869         [POSIX] (ENOBUFS): Likewise.
60870         [POSIX] (ENODATA): Likewise.
60871         [POSIX] (ENOLINK): Likewise.
60872         [POSIX] (ENOMSG): Likewise.
60873         [POSIX] (ENOPROTOOPT): Likewise.
60874         [POSIX] (ENOSR): Likewise.
60875         [POSIX] (ENOSTR): Likewise.
60876         [POSIX] (ENOTCONN): Likewise.
60877         [POSIX] (ENOTSOCK): Likewise.
60878         [POSIX] (EOPNOTSUPP): Likewise.
60879         [POSIX] (EOVERFLOW): Likewise.
60880         [POSIX] (EPROTO): Likewise.
60881         [POSIX] (EPROTONOSUPPORT): Likewise.
60882         [POSIX] (EPROTOTYPE): Likewise.
60883         [POSIX] (ESTALE): Likewise.
60884         [POSIX] (ETIME): Likewise.
60885         [POSIX] (ETXTBSY): Likewise.
60886         [POSIX] (EWOULDBLOCK): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60888         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60889         [POSIX] (SEEK_CUR): Likewise.
60890         [POSIX] (SEEK_END): Likewise.
60891         [POSIX || UNIX98] (mode_t): Do not require.
60892         [POSIX] (off_t): Likewise.
60893         [POSIX] (pid_t): Likewise.
60894         [POSIX] (sys/stat.h): Do not allow header.
60895         [POSIX] (unistd.h): Likewise.
60896         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60897         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60898         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60899         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60900         require.
60901         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60902         sigevent): Specify elements.
60903         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60904         entry.
60905         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60906         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60908         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60909         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60910         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60911         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60912         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60913         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60914         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60915         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60916         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60917         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60918         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60919         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60920         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60921         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60922         Likewise.
60923         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60924         Likewise.
60925         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60926         Likewise.
60927         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60928         Likewise.
60929         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60930         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60931         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60932         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60933         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60934         Specify lower bound on value.
60935         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60936         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60937         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60938         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60939         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60940         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60941         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60942         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60943         value.
60944         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60945         as optional.
60946         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60947         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60948         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60949         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60950         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60951         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60952         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60953         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60954         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60955         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60956         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60957         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60958         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60959         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60960         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60961         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60962         entry.
60963         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60964         optional.
60965         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60966         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60967         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60968         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60969         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60970         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60971         Likewise.
60972         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60973         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60974         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60975         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60976         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60977         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60978         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60979         as optional.
60980         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60981         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60982         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60983         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60984         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60985         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60986         specify as optional.
60987         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60988         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60989         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60990         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60991         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60992         [XPG3] (NL_LANGMAX): Likewise.
60993         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60994         [POSIX || XPG3] (NL_NMAX): Likewise.
60995         [POSIX || XPG3] (NL_SETMAX): Likewise.
60996         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60997         [XPG3] (NZERO): Likewise.
60998         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60999         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61000         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61001         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61002         (REG_ERANGE): Expect.
61003         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61004         optional-constant.
61005         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61006         Use (void) in prototype.
61007         [POSIX] (*_t): Allow.
61008         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61009         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61010         (WRDE_BADVAL): Expect.
61012         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61013         expect.
61014         [XPG3 || XPG4] (O_RSYNC): Likewise.
61015         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61016         Likewise.
61017         [XPG3 || XPG4] (pthread_sigmask): Likewise.
61018         [XPG3 || XPG4] (sigqueue): Likewise.
61019         [XPG3 || XPG4] (sigtimedwait): Likewise.
61020         [XPG3 || XPG4] (sigwaitinfo): Likewise.
61021         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61022         [XPG3 || XPG4] (vsnprintf): Likewise.
61023         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61024         Likewise.
61025         [XPG3 || XPG4] (blksize_t): Likewise.
61026         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61027         Likewise.
61028         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61029         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61030         [XPG3 || XPG4] (struct itimerspec): Likewise.
61031         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61032         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61033         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61034         [XPG3 || XPG4] (clockid_t): Likewise.
61035         [XPG3 || XPG4] (timer_t): Likewise.
61036         [XPG3 || XPG4] (clock_getres): Likewise.
61037         [XPG3 || XPG4] (clock_gettime): Likewise.
61038         [XPG3 || XPG4] (clock_settime): Likewise.
61039         [XPG3 || XPG4] (nanosleep): Likewise.
61040         [XPG3 || XPG4] (timer_create): Likewise.
61041         [XPG3 || XPG4] (timer_delete): Likewise.
61042         [XPG3 || XPG4] (timer_gettime): Likewise.
61043         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61044         [XPG3 || XPG4] (timer_settime): Likewise.
61045         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61046         [XPG3 || XPG4] (getlogin_r): Likewise.
61047         [XPG3 || XPG4] (pread): Likewise.
61048         [XPG3 || XPG4] (pthread_atfork): Likewise.
61049         [XPG3 || XPG4] (pwrite): Likewise.
61051         [BZ #14835]
61052         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61053         <bits/siginfo.h>.
61055 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61057         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61058         finalizing MALLSTREAM.
61060         * sysdeps/mach/hurd/syncfs.c: New file.
61062 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61064         [BZ #14719]
61065         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61066         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61067         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61068         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61069         (_nss_dns_gethostbyname4_r): Likewise.
61070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61071         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61073 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61075         [BZ #13763]
61076         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61078 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61080         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61081         * elf/cache.c (print_entry): Print ",AArch64" for
61082         FLAG_AARCH64_LIB64
61084         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61085         * elf/cache.c (print_entry): Print ",hard-float" for
61086         FLAG_ARM_LIBHF.
61088 2012-11-18  David S. Miller  <davem@davemloft.net>
61090         With help from Joseph Myers.
61091         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61092         cutoff to 2**-13.
61093         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61094         cutoff to 2**-25.
61095         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61096         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61097         small.
61098         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61099         * math/libm-test.inc (y0_test): New tests.
61100         (y1_test): New tests.
61101         * sysdeps/i386/fpu/libm-test-ulps: Update.
61102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61105 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61107         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61108         64-bit targets.
61109         * configure: Regenerated.
61111 2012-11-17  David S. Miller  <davem@davemloft.net>
61113         [BZ #14811]
61114         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61115         nonzero exponents with absolute value below 0x1p-128 to +/-
61116         0x1p-128.
61118 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61120         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61122         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61124         * posix/getconf-speclist.c: New file.
61125         * posix/posix-envs.def: Likewise.
61126         * posix/confstr.c (START_ENV_GROUP): New macro.
61127         (END_ENV_GROUP): Likewise.
61128         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61129         (KNOWN_PRESENT_ENV_STRING): Likewise.
61130         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61131         (UNKNOWN_ENVIRONMENT): Likewise.
61132         (confstr): Include posix-envs.def instead of handling
61133         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61134         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61135         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61136         (END_ENV_GROUP): Likewise.
61137         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61138         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61139         (UNKNOWN_ENVIRONMENT): Likewise.
61140         (__sysconf): Include posix-envs.def instead of handling associated
61141         cases directly here.
61142         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61143         preprocessing getconf-speclist.c rather than running getconf or
61144         generating empty file.
61146 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61148         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61150 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61152         [BZ #14672]
61153         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61155 2012-11-16  David S. Miller  <davem@davemloft.net>
61157         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61158         smaller than LDBL_EPSILON/2.0L, just return xm1.
61160 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61162         * elf/tst-array1.c (init): Set constructor priority to 1000.
61163         (fini): Set destructor priority to 1000.
61164         * elf/tst-array2dep.c: Likewise.
61166 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61168         [BZ #11741]
61169         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61170         (_IO_new_file_xsputn): Also return EOF if none of the input
61171         data was written when overflow failed.
61172         * libio/iopadn.c (_IO_padn): Likewise.
61173         * libio/iowpadn.c (_IO_wpadn): Likewise.
61174         * stdio-common/tst-put-error.c: Add copyright notice.
61175         (do_test): Add case for printing padded string.
61176         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61177         _IO_padn returned error.
61178         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61179         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61180         return EOF.
61182 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61184         * libio/libioP.h: Add comment note that the references to C++
61185         bits are now obsolete.
61187 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61189         * math/libm-test.inc (check_complex): Use asprintf.
61191 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61193         * debug/pcprofiledump.c (print_version): Update copyright year.
61194         * malloc/memusagestat.c (print_version): Likewise.
61196 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61198         [BZ #14831]
61199         * elf/Makefile (tests): Add tst-audit8.
61200         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61201         ($(objpfx)tst-audit8.out): New target.
61202         (tst-audit8-ENV): New variable.
61203         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61204         audit if l_reloc_result is NULL.
61205         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61206         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61207         * elf/tst-audit8.c: New file.
61209 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61211         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61212         * misc/Makefile (CFLAGS-select.c): Define.
61213         * posix/Makefile (CFLAGS-pause.c): Define.
61215 2012-11-13  David S. Miller  <davem@davemloft.net>
61217         * crypt/Makefile: Move test targets after toplevel Rules
61218         inclusion.  Grab any necessary sysdep routines when linking.
61219         * crypt/md5.c (md5_process_block): Remove define, we will always
61220         name it __md5_process_block.
61221         (md5_finish_ctx): Update md5_process_block call.
61222         (md5_stream): Likewise.
61223         (md5_process_bytes): Likewise.
61224         (md5_process_block): Rename to __md5_process_block and move to ...
61225         * crypt/md5-block.c: ... here.
61226         * crypt/sha256.c (sha256_process_block): Move to ...
61227         * crypt/sha256-block.c: ... here.
61228         * crypt/sha512.c (sha512_process_block): Move to ...
61229         * crypt/sha512-block.c: ... here.
61230         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61231         path.
61232         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61233         * sysdeps/sparc/sparc64/multiarch/Makefile
61234         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61235         crypt subdir.
61236         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61237         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61238         multiarch changes.
61239         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61240         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61241         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61242         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61243         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61244         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61245         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61246         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61247         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61248         file.
61249         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61250         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61251         file.
61252         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61254 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61256         * timezone/tzselect.ksh: Update from tzcode git revision
61257         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61258         * timezone/zdump.c: Likewise.
61259         * timezone/zic.c: Likewise.
61260         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61261         in TZVERSION setting, not $(PKGVERSION).
61262         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61263         REPORT_BUGS_TO settings.
61265         [BZ #14838]
61266         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61267         macro.
61269 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61271         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61272         detection to immediately after _FP_ROUND().
61273         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61274         bits are 0.
61276 2012-11-11  David S. Miller  <davem@davemloft.net>
61278         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61279         inttypes.h
61280         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61281         __close rather than their public counterparts.
61283 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61285         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61286         file.
61287         [UNIX98] (sem_timedwait): Do not expect.
61288         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61289         [XPG4 || UNIX98] (sockatmark): Do not expect.
61290         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61291         (clock_getcpuclockid): Do not expect.
61292         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61293         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61294         Do not expect.
61295         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61296         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61297         [UNIX98] (vwscanf): Likewise.
61298         [UNIX98] (vswscanf): Likewise.
61300 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61302         * timezone/version.h: Remove file.
61303         * timezone/README: Do not refer to version.h.
61304         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61305         $(objpfx)version.h.
61306         ($(objpfx)zdump.o): Likewise.
61307         ($(objpfx)version.h): New target.
61309         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61310         2012i.
61311         * timezone/README: Don't mention modification to tzselect.ksh.
61312         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61313         work on unmodified tzselect.ksh.  Substitute version numbers in
61314         tzselect.ksh.
61316         * Makefile (format-me): Remove.
61317         (INSTALL): Adjust indentation.  Use commands directly instead of
61318         using $(format-me).
61320         * aclocal.m4 (ACX_PKGVERSION): New macro.
61321         (ACX_BUGURL): Likewise.
61322         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61323         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61324         (REPORT_BUGS_TO): Likewise.
61325         * configure: Regenerated.
61326         * config.h.in (PKGVERSION): New macro.
61327         (REPORT_BUGS_TO): Likewise.
61328         * config.make.in (PKGVERSION): New variable.
61329         (PKGVERSION_TEXI): Likewise.
61330         (REPORT_BUGS_TO): Likewise.
61331         (REPORT_BUGS_TEXI): Likewise.
61332         * Makefile (format-me): Use -I$(common-objpfx)manual.
61333         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61334         ($(common-objpfx)manual/%): New target.
61335         (manual/%): Remove target.
61336         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61337         (print_version): Use PKGVERSION.
61338         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61339         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61340         and REPORT_BUGS_TO.
61341         ($(objpfx)xtrace): Likewise.
61342         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61343         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61344         (print_version): Use PKGVERSION.
61345         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61346         (do_version): Use PKGVERSION.
61347         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61348         REPORT_BUGS_TO.
61349         (common-ldd-rewrite): Likewise.
61350         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61351         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61352         (print_version): Use PKGVERSION.
61353         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61354         * elf/pldd.c (argp_program_bug_address): Remove variable.
61355         (more_help): New function.
61356         (argp): Use more_help.
61357         (print_version): Use PKGVERSION.
61358         * elf/sln.c (main): Use PKGVERSION.
61359         (usage): Use REPORT_BUGS_TO.
61360         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61361         (top level): Use PKGVERSION.
61362         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61363         (print_version): Use PKGVERSION.
61364         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61365         (print_version): Use PKGVERSION.
61366         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61367         (print_version): Use PKGVERSION.
61368         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61369         (print_version): Use PKGVERSION.
61370         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61371         (print_version): Use PKGVERSION.
61372         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61373         (print_version): Use PKGVERSION.
61374         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61375         and BUGURL.
61376         ($(objpfx)memusage): Likewise.
61377         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61378         (do_version): Use PKGVERSION.
61379         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61380         (print_version): Use PKGVERSION.
61381         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61382         ($PKGVERSION): New variable.
61383         ($REPORT_BUGS_TO): Likewise.
61384         (usage): Use $REPORT_BUGS_TO.
61385         (top level): Use $PKGVERSION.
61386         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61387         ($(objpfx)pkgvers.texi): New rule.
61388         ($(objpfx)stamp-pkgvers): Likewise.
61389         * manual/install.texi: Include pkgvers.texi.
61390         (--with-pkgversion): Document new configure option.
61391         (--with-bugurl): Likewise.
61392         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61393         than necessarily for this particular distribution.  Use
61394         REPORT_BUGS_TO for where to report bugs.
61395         * INSTALL: Regenerated.
61396         * manual/libc.texinfo: Include pkgvers.texi.
61397         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61398         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61399         (print_version): Use PKGVERSION.
61400         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61401         (print_version): Use PKGVERSION.
61402         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61403         (print_version): Use PKGVERSION.
61404         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61405         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61406         macro.
61407         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61408         (print_version): Use PKGVERSION.
61409         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61410         (print_version): Use PKGVERSION.
61411         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61412         and PKGVERSION.
61414         * timezone/checktab.awk: Update from tzcode 2012i.
61415         * timezone/ialloc.c: Likewise.
61416         * timezone/private.h: Likewise.
61417         * timezone/scheck.c: Likewise.
61418         * timezone/tzfile.h: Likewise.
61419         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61420         (TZVERSION): Hardcode tzcode version number.
61421         * timezone/zdump.c: Update from tzcode 2012i.
61422         * timezone/zic.c: Likewise.
61423         * timezone/version.h: New file.
61424         * timezone/README: Describe version.h.  Update upstream location.
61426         [BZ #14824]
61427         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61428         (mktemp): Enable declaration.
61429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61433         Likewise.
61434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61435         Likewise.
61436         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61437         Likewise.
61438         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61439         Likewise.
61440         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61441         Likewise.
61442         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61443         Likewise.
61445         [BZ #14821]
61446         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61447         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61448         for copies of such integer values.
61449         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61450         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61452 2012-11-09  Andreas Jaeger  <aj@suse.de>
61454         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61455         definitions and declarations that are provided by
61456         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61458 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61460         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61461         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61462         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61463         definition.
61465 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61467         * elf/elf.h: Update comment before AArch64 relocations.
61469 2012-11-07  David S. Miller  <davem@davemloft.net>
61471         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61472         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61473         (__start_context): Declare.
61474         (__makecontext_ret): Delete.
61475         (__makecontext): Hook up __start_context instead of
61476         __makecontext_ret.
61477         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61478         (sysdep_routines): Add __start_context when in stdlib.
61480 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61482         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61483         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61484         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61485         hardcoded "nm".
61486         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61487         (READELF): New variable.  Use it instead of hardcoded "readelf".
61489 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61491         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61492         * sysdeps/x86/Makefile: Here.
61493         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61494         * sysdeps/x86/tst-xmmymm.sh: This.
61496 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61498         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61499         expectations.
61500         [UNIX98] (pthread_barrier_t): Do not expect.
61501         [UNIX98] (pthread_barrierattr_t): Likewise.
61502         [UNIX98] (pthread_spinlock_t): Likewise.
61503         [UNIX98] (pthread_barrier_destroy): Likewise.
61504         [UNIX98] (pthread_barrier_init): Likewise.
61505         [UNIX98] (pthread_barrier_wait): Likewise.
61506         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61507         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61508         [UNIX98] (pthread_barrierattr_init): Likewise.
61509         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61510         [UNIX98] (pthread_getcpuclockid): Likewise.
61511         [UNIX98] (pthread_mutex_timedlock): Likewise.
61512         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61513         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61514         [UNIX98] (pthread_sigmask): Likewise.
61515         [UNIX98] (pthread_spin_destroy): Likewise.
61516         [UNIX98] (pthread_spin_init): Likewise.
61517         [UNIX98] (pthread_spin_lock): Likewise.
61518         [UNIX98] (pthread_spin_trylock): Likewise.
61519         [UNIX98] (pthread_spin_unlock): Likewise.
61520         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61521         Do not expect.
61522         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61523         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61524         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61525         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61526         [XPG3 || XPG4] (pthread_key_t): Likewise.
61527         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61528         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61529         [XPG3 || XPG4] (pthread_once_t): Likewise.
61530         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61531         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61532         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61533         [XPG3 || XPG4] (pthread_t): Likewise.
61535         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61536         not expect.
61537         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61539         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61540         Change function return type to int.
61542         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61543         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61544         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61545         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61546         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61547         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61548         [!POSIX] (posix_madvise): Likewise.
61549         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61550         && !UNIX98].
61551         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61552         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61553         (mode_t): Likewise.
61554         (posix_mem_offset): Likewise.
61555         (posix_typed_mem_get_info): Likewise.
61556         (posix_typed_mem_open): Likewise.
61558         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61559         Change condition to [XOPEN2K8].
61561         * conform/conformtest.pl: Preprocess allow-header data with -x c
61562         instead of from stdin.
61563         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61564         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61565         [C99-based standards] (cerfc): Likewise.
61566         [C99-based standards] (cexp2): Likewise.
61567         [C99-based standards] (cexpm1): Likewise.
61568         [C99-based standards] (clog10): Likewise.
61569         [C99-based standards] (clog1p): Likewise.
61570         [C99-based standards] (clog2): Likewise.
61571         [C99-based standards] (clgamma): Likewise.
61572         [C99-based standards] (ctgamma): Likewise.
61573         [C99-based standards] (cerff): Likewise.
61574         [C99-based standards] (cerfcf): Likewise.
61575         [C99-based standards] (cexp2f): Likewise.
61576         [C99-based standards] (cexpm1f): Likewise.
61577         [C99-based standards] (clog10f): Likewise.
61578         [C99-based standards] (clog1pf): Likewise.
61579         [C99-based standards] (clog2f): Likewise.
61580         [C99-based standards] (clgammaf): Likewise.
61581         [C99-based standards] (ctgammaf): Likewise.
61582         [C99-based standards] (cerfl): Likewise.
61583         [C99-based standards] (cerfcl): Likewise.
61584         [C99-based standards] (cexp2l): Likewise.
61585         [C99-based standards] (cexpm1l): Likewise.
61586         [C99-based standards] (clog10l): Likewise.
61587         [C99-based standards] (clog1pl): Likewise.
61588         [C99-based standards] (clog2l): Likewise.
61589         [C99-based standards] (clgammal): Likewise.
61590         [C99-based standards] (ctgammal): Likewise.
61591         * conform/data/inttypes.h-data [C99-based standards]: Include
61592         stdint.h-data.  Remove all expectations for stdint.h contents.
61593         [C99-based standards] (PRI*): Do not allow.
61594         [C99-based standards] (SCN*): Likewise.
61595         [C99-based standards] (*_t): Likewise.
61596         [C99-based-standards] (PRId8): Expect macro.
61597         [C99-based-standards] (PRIi8): Likewise.
61598         [C99-based-standards] (PRIo8): Likewise.
61599         [C99-based-standards] (PRIu8): Likewise.
61600         [C99-based-standards] (PRIx8): Likewise.
61601         [C99-based-standards] (PRIX8): Likewise.
61602         [C99-based-standards] (SCNd8): Likewise.
61603         [C99-based-standards] (SCNi8): Likewise.
61604         [C99-based-standards] (SCNo8): Likewise.
61605         [C99-based-standards] (SCNu8): Likewise.
61606         [C99-based-standards] (SCNx8): Likewise.
61607         [C99-based-standards] (PRIdLEAST8): Likewise.
61608         [C99-based-standards] (PRIiLEAST8): Likewise.
61609         [C99-based-standards] (PRIoLEAST8): Likewise.
61610         [C99-based-standards] (PRIuLEAST8): Likewise.
61611         [C99-based-standards] (PRIxLEAST8): Likewise.
61612         [C99-based-standards] (PRIXLEAST8): Likewise.
61613         [C99-based-standards] (SCNdLEAST8): Likewise.
61614         [C99-based-standards] (SCNiLEAST8): Likewise.
61615         [C99-based-standards] (SCNoLEAST8): Likewise.
61616         [C99-based-standards] (SCNuLEAST8): Likewise.
61617         [C99-based-standards] (SCNxLEAST8): Likewise.
61618         [C99-based-standards] (PRIdFAST8): Likewise.
61619         [C99-based-standards] (PRIiFAST8): Likewise.
61620         [C99-based-standards] (PRIoFAST8): Likewise.
61621         [C99-based-standards] (PRIuFAST8): Likewise.
61622         [C99-based-standards] (PRIxFAST8): Likewise.
61623         [C99-based-standards] (PRIXFAST8): Likewise.
61624         [C99-based-standards] (SCNdFAST8): Likewise.
61625         [C99-based-standards] (SCNiFAST8): Likewise.
61626         [C99-based-standards] (SCNoFAST8): Likewise.
61627         [C99-based-standards] (SCNuFAST8): Likewise.
61628         [C99-based-standards] (SCNxFAST8): Likewise.
61629         [C99-based-standards] (PRId16): Likewise.
61630         [C99-based-standards] (PRIi16): Likewise.
61631         [C99-based-standards] (PRIo16): Likewise.
61632         [C99-based-standards] (PRIu16): Likewise.
61633         [C99-based-standards] (PRIx16): Likewise.
61634         [C99-based-standards] (PRIX16): Likewise.
61635         [C99-based-standards] (SCNd16): Likewise.
61636         [C99-based-standards] (SCNi16): Likewise.
61637         [C99-based-standards] (SCNo16): Likewise.
61638         [C99-based-standards] (SCNu16): Likewise.
61639         [C99-based-standards] (SCNx16): Likewise.
61640         [C99-based-standards] (PRIdLEAST16): Likewise.
61641         [C99-based-standards] (PRIiLEAST16): Likewise.
61642         [C99-based-standards] (PRIoLEAST16): Likewise.
61643         [C99-based-standards] (PRIuLEAST16): Likewise.
61644         [C99-based-standards] (PRIxLEAST16): Likewise.
61645         [C99-based-standards] (PRIXLEAST16): Likewise.
61646         [C99-based-standards] (SCNdLEAST16): Likewise.
61647         [C99-based-standards] (SCNiLEAST16): Likewise.
61648         [C99-based-standards] (SCNoLEAST16): Likewise.
61649         [C99-based-standards] (SCNuLEAST16): Likewise.
61650         [C99-based-standards] (SCNxLEAST16): Likewise.
61651         [C99-based-standards] (PRIdFAST16): Likewise.
61652         [C99-based-standards] (PRIiFAST16): Likewise.
61653         [C99-based-standards] (PRIoFAST16): Likewise.
61654         [C99-based-standards] (PRIuFAST16): Likewise.
61655         [C99-based-standards] (PRIxFAST16): Likewise.
61656         [C99-based-standards] (PRIXFAST16): Likewise.
61657         [C99-based-standards] (SCNdFAST16): Likewise.
61658         [C99-based-standards] (SCNiFAST16): Likewise.
61659         [C99-based-standards] (SCNoFAST16): Likewise.
61660         [C99-based-standards] (SCNuFAST16): Likewise.
61661         [C99-based-standards] (SCNxFAST16): Likewise.
61662         [C99-based-standards] (PRId32): Likewise.
61663         [C99-based-standards] (PRIi32): Likewise.
61664         [C99-based-standards] (PRIo32): Likewise.
61665         [C99-based-standards] (PRIu32): Likewise.
61666         [C99-based-standards] (PRIx32): Likewise.
61667         [C99-based-standards] (PRIX32): Likewise.
61668         [C99-based-standards] (SCNd32): Likewise.
61669         [C99-based-standards] (SCNi32): Likewise.
61670         [C99-based-standards] (SCNo32): Likewise.
61671         [C99-based-standards] (SCNu32): Likewise.
61672         [C99-based-standards] (SCNx32): Likewise.
61673         [C99-based-standards] (PRIdLEAST32): Likewise.
61674         [C99-based-standards] (PRIiLEAST32): Likewise.
61675         [C99-based-standards] (PRIoLEAST32): Likewise.
61676         [C99-based-standards] (PRIuLEAST32): Likewise.
61677         [C99-based-standards] (PRIxLEAST32): Likewise.
61678         [C99-based-standards] (PRIXLEAST32): Likewise.
61679         [C99-based-standards] (SCNdLEAST32): Likewise.
61680         [C99-based-standards] (SCNiLEAST32): Likewise.
61681         [C99-based-standards] (SCNoLEAST32): Likewise.
61682         [C99-based-standards] (SCNuLEAST32): Likewise.
61683         [C99-based-standards] (SCNxLEAST32): Likewise.
61684         [C99-based-standards] (PRIdFAST32): Likewise.
61685         [C99-based-standards] (PRIiFAST32): Likewise.
61686         [C99-based-standards] (PRIoFAST32): Likewise.
61687         [C99-based-standards] (PRIuFAST32): Likewise.
61688         [C99-based-standards] (PRIxFAST32): Likewise.
61689         [C99-based-standards] (PRIXFAST32): Likewise.
61690         [C99-based-standards] (SCNdFAST32): Likewise.
61691         [C99-based-standards] (SCNiFAST32): Likewise.
61692         [C99-based-standards] (SCNoFAST32): Likewise.
61693         [C99-based-standards] (SCNuFAST32): Likewise.
61694         [C99-based-standards] (SCNxFAST32): Likewise.
61695         [C99-based-standards] (PRId64): Likewise.
61696         [C99-based-standards] (PRIi64): Likewise.
61697         [C99-based-standards] (PRIo64): Likewise.
61698         [C99-based-standards] (PRIu64): Likewise.
61699         [C99-based-standards] (PRIx64): Likewise.
61700         [C99-based-standards] (PRIX64): Likewise.
61701         [C99-based-standards] (SCNd64): Likewise.
61702         [C99-based-standards] (SCNi64): Likewise.
61703         [C99-based-standards] (SCNo64): Likewise.
61704         [C99-based-standards] (SCNu64): Likewise.
61705         [C99-based-standards] (SCNx64): Likewise.
61706         [C99-based-standards] (PRIdLEAST64): Likewise.
61707         [C99-based-standards] (PRIiLEAST64): Likewise.
61708         [C99-based-standards] (PRIoLEAST64): Likewise.
61709         [C99-based-standards] (PRIuLEAST64): Likewise.
61710         [C99-based-standards] (PRIxLEAST64): Likewise.
61711         [C99-based-standards] (PRIXLEAST64): Likewise.
61712         [C99-based-standards] (SCNdLEAST64): Likewise.
61713         [C99-based-standards] (SCNiLEAST64): Likewise.
61714         [C99-based-standards] (SCNoLEAST64): Likewise.
61715         [C99-based-standards] (SCNuLEAST64): Likewise.
61716         [C99-based-standards] (SCNxLEAST64): Likewise.
61717         [C99-based-standards] (PRIdFAST64): Likewise.
61718         [C99-based-standards] (PRIiFAST64): Likewise.
61719         [C99-based-standards] (PRIoFAST64): Likewise.
61720         [C99-based-standards] (PRIuFAST64): Likewise.
61721         [C99-based-standards] (PRIxFAST64): Likewise.
61722         [C99-based-standards] (PRIXFAST64): Likewise.
61723         [C99-based-standards] (SCNdFAST64): Likewise.
61724         [C99-based-standards] (SCNiFAST64): Likewise.
61725         [C99-based-standards] (SCNoFAST64): Likewise.
61726         [C99-based-standards] (SCNuFAST64): Likewise.
61727         [C99-based-standards] (SCNxFAST64): Likewise.
61728         [C99-based-standards] (PRIdMAX): Likewise.
61729         [C99-based-standards] (PRIiMAX): Likewise.
61730         [C99-based-standards] (PRIoMAX): Likewise.
61731         [C99-based-standards] (PRIuMAX): Likewise.
61732         [C99-based-standards] (PRIxMAX): Likewise.
61733         [C99-based-standards] (PRIXMAX): Likewise.
61734         [C99-based-standards] (SCNdMAX): Likewise.
61735         [C99-based-standards] (SCNiMAX): Likewise.
61736         [C99-based-standards] (SCNoMAX): Likewise.
61737         [C99-based-standards] (SCNuMAX): Likewise.
61738         [C99-based-standards] (SCNxMAX): Likewise.
61739         [C99-based-standards] (PRIdPTR): Likewise.
61740         [C99-based-standards] (PRIiPTR): Likewise.
61741         [C99-based-standards] (PRIoPTR): Likewise.
61742         [C99-based-standards] (PRIuPTR): Likewise.
61743         [C99-based-standards] (PRIxPTR): Likewise.
61744         [C99-based-standards] (PRIXPTR): Likewise.
61745         [C99-based-standards] (SCNdPTR): Likewise.
61746         [C99-based-standards] (SCNiPTR): Likewise.
61747         [C99-based-standards] (SCNoPTR): Likewise.
61748         [C99-based-standards] (SCNuPTR): Likewise.
61749         [C99-based-standards] (SCNxPTR): Likewise.
61750         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61751         allow.
61752         * conform/data/stdint.h-data: Update comments to clarify
61753         requirements.
61754         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61755         type.
61756         [C99-based standards] (INT8_MAX): Likewise.
61757         [C99-based standards] (INT16_MIN): Likewise.
61758         [C99-based standards] (INT16_MAX): Likewise.
61759         [C99-based standards] (INT32_MIN): Likewise.
61760         [C99-based standards] (INT32_MAX): Likewise.
61761         [C99-based standards] (INT64_MIN): Likewise.
61762         [C99-based standards] (INT64_MAX): Likewise.
61763         [C99-based standards] (UINT8_MAX): Likewise.
61764         [C99-based standards] (UINT16_MAX): Likewise.
61765         [C99-based standards] (UINT32_MAX): Likewise.
61766         [C99-based standards] (UINT64_MAX): Likewise.
61767         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61768         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61769         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61770         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61771         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61772         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61773         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61774         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61775         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61776         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61777         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61778         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61779         [C99-based standards] (INT_FAST8_MIN): Likewise.
61780         [C99-based standards] (INT_FAST8_MAX): Likewise.
61781         [C99-based standards] (INT_FAST16_MIN): Likewise.
61782         [C99-based standards] (INT_FAST16_MAX): Likewise.
61783         [C99-based standards] (INT_FAST32_MIN): Likewise.
61784         [C99-based standards] (INT_FAST32_MAX): Likewise.
61785         [C99-based standards] (INT_FAST64_MIN): Likewise.
61786         [C99-based standards] (INT_FAST64_MAX): Likewise.
61787         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61788         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61789         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61790         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61791         [C99-based standards] (INTPTR_MIN): Likewise.
61792         [C99-based standards] (INTPTR_MAX): Likewise.
61793         [C99-based standards] (UINTPTR_MAX): Likewise.
61794         [C99-based standards] (INTMAX_MIN): Likewise.
61795         [C99-based standards] (INTMAX_MAX): Likewise.
61796         [C99-based standards] (UINTMAX_MAX): Likewise.
61797         [C99-based standards] (PTRDIFF_MIN): Likewise.
61798         [C99-based standards] (PTRDIFF_MAX): Likewise.
61799         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61800         [C99-based standards] (SIZE_MAX): Likewise.
61801         [C99-based standards] (WCHAR_MAX): Likewise.
61802         [C99-based standards] (WINT_MAX): Likewise.
61803         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61804         constraint on value.
61805         [C99-based standards] (WCHAR_MIN): Likewise.
61806         [C99-based standards] (WINT_MIN): Likewise.
61807         [C99-based standards] (*_t): Allow.
61808         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61809         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61810         Include math.h-data and complex.h-data.  Remove all expectations
61811         of math.h and complex.h contents.
61812         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61813         at end of line.
61814         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61815         (struct tm): Expect tag.
61816         [C99-based-standards] (wcstof): Expect function.
61817         [C99-based-standards] (wcstold): Likewise.
61818         [C99-based-standards] (wcstoll): Likewise.
61819         [C99-based-standards] (wcstoull): Likewise.
61820         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61821         macro-int-constant.  Specify type.
61822         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61823         constraint on value.
61824         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61825         Specify type.
61826         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61827         Specify value.
61828         [ISO C standards]: Do not allow headers.
61829         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61830         wcs[abcdefghijklmnopqrstuvwxyz]*.
61831         [ISO C standards] (*_t): Do not allow.
61832         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61833         Expect function.
61834         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61835         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61836         Specify type.
61837         [ISO C standards]: Do not allow headers.
61838         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61839         is[abcdefghijklmnopqrstuvwxyz]*.
61840         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61841         to[abcdefghijklmnopqrstuvwxyz]*.
61842         [ISO C standards] (*_t): Do not allow.
61843         * conform/data/stdalign.h-data: New file.
61844         * conform/data/stdbool.h-data: Likewise.
61845         * conform/data/stdnoreturn.h-data: Likewise.
61847 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61849         [BZ #14815]
61850         * manual/filesys.texi (Directory Entries): Typo fix.
61851         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61853 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61855         * elf/elf.h (EM_AARCH64): New macro.
61856         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61857         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61858         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61859         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61860         (R_AARCH64_TLSDESC): Likewise.
61861         (NT_ARM_TLS): Likewise.
61862         (NT_ARM_HW_BREAK): Likewise.
61863         (NT_ARM_HW_WATCH): Likewise.
61865 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61867         [BZ #14811]
61868         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61869         (__ieee754_powl): Saturate nonzero exponents with absolute value
61870         below 0x1p-79 to +/- 0x1p-79.
61871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61872         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61873         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61874         nonzero exponents with absolute value below 0x1p-32 to +/-
61875         0x1p-32.
61876         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61877         (__ieee754_powl): Saturate nonzero exponents with absolute value
61878         below 0x1p-79 to +/- 0x1p-79.
61879         * math/libm-test.inc (pow_test): Add more tests.
61881 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61883         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61884         _dl_s390_cap_flags with kernel. Increase string length.
61885         (_dl_s390_platforms): Add z196 and zEC12.
61887 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61889         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61890         Change XOPEN21K to XOPEN2K.
61892 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61894         * string/memmove.c: Use memcpy when possible.
61896 2012-11-06  Andreas Jaeger  <aj@suse.de>
61898         * po/eo.po: Update from translation team.
61900 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61902         [BZ #14793]
61903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61904         exponent and small x and y exponents, scale x or y up.  Increase
61905         by 2 the exponent used in scaling up.
61906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61908         * math/libm-test.inc (fma_test): Add more tests.
61909         (fma_test_towardzero): Likewise.
61910         (fma_test_downward): Likewise.
61911         (fma_test_upward): Likewise.
61913 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61915         [BZ #14805]
61916         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61917         fenv_t *.
61919         [BZ #14801]
61920         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61921         namespace for names of struct fields.
61922         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61923         fenv_t fields.
61924         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61925         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61927 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61929         [BZ #3665]
61930         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61932 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61934         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61935         PTR_DEMANGLE.
61937         [BZ #5246]
61938         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61939         PTR_DEMANGLE.
61941 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61943         [BZ #14797]
61944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61945         definitely overflow as x * y not x * y + z.
61946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61948         * math/libm-test.inc (fma_test): Add more tests.
61949         (fma_test_towardzero): Likewise.
61950         (fma_test_downward): Likewise.
61951         (fma_test_upward): Likewise.
61953 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61955         [BZ #157]
61957         * include/stub-tag.h: Remove file.
61958         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61959         '#include' of it.
61960         * manual/maint.texi (Porting): Don't reference it.
61961         * Makerules ($(objpfx)stubs): Likewise.
61962         * dirent/closedir.c: Don't include <stub-tag.h>.
61963         * dirent/dirfd.c: Likewise.
61964         * dirent/fdopendir.c: Likewise.
61965         * dirent/getdents.c: Likewise.
61966         * dirent/getdents64.c: Likewise.
61967         * dirent/opendir.c: Likewise.
61968         * dirent/readdir.c: Likewise.
61969         * dirent/readdir64.c: Likewise.
61970         * dirent/readdir64_r.c: Likewise.
61971         * dirent/readdir_r.c: Likewise.
61972         * dirent/rewinddir.c: Likewise.
61973         * dirent/seekdir.c: Likewise.
61974         * dirent/telldir.c: Likewise.
61975         * gmon/profil.c: Likewise.
61976         * grp/setgroups.c: Likewise.
61977         * inet/if_index.c: Likewise.
61978         * io/access.c: Likewise.
61979         * io/chdir.c: Likewise.
61980         * io/chmod.c: Likewise.
61981         * io/chown.c: Likewise.
61982         * io/close.c: Likewise.
61983         * io/dup.c: Likewise.
61984         * io/dup2.c: Likewise.
61985         * io/dup3.c: Likewise.
61986         * io/euidaccess.c: Likewise.
61987         * io/faccessat.c: Likewise.
61988         * io/fchdir.c: Likewise.
61989         * io/fchmod.c: Likewise.
61990         * io/fchmodat.c: Likewise.
61991         * io/fchown.c: Likewise.
61992         * io/fchownat.c: Likewise.
61993         * io/fcntl.c: Likewise.
61994         * io/flock.c: Likewise.
61995         * io/fstatfs.c: Likewise.
61996         * io/fstatfs64.c: Likewise.
61997         * io/fstatvfs.c: Likewise.
61998         * io/fstatvfs64.c: Likewise.
61999         * io/futimens.c: Likewise.
62000         * io/fxstat.c: Likewise.
62001         * io/fxstat64.c: Likewise.
62002         * io/fxstatat.c: Likewise.
62003         * io/fxstatat64.c: Likewise.
62004         * io/getcwd.c: Likewise.
62005         * io/isatty.c: Likewise.
62006         * io/lchmod.c: Likewise.
62007         * io/lchown.c: Likewise.
62008         * io/link.c: Likewise.
62009         * io/linkat.c: Likewise.
62010         * io/lseek.c: Likewise.
62011         * io/lseek64.c: Likewise.
62012         * io/lxstat64.c: Likewise.
62013         * io/mkdir.c: Likewise.
62014         * io/mkdirat.c: Likewise.
62015         * io/mkfifo.c: Likewise.
62016         * io/mkfifoat.c: Likewise.
62017         * io/open.c: Likewise.
62018         * io/open64.c: Likewise.
62019         * io/openat.c: Likewise.
62020         * io/openat64.c: Likewise.
62021         * io/pipe.c: Likewise.
62022         * io/pipe2.c: Likewise.
62023         * io/poll.c: Likewise.
62024         * io/posix_fadvise.c: Likewise.
62025         * io/posix_fadvise64.c: Likewise.
62026         * io/posix_fallocate.c: Likewise.
62027         * io/posix_fallocate64.c: Likewise.
62028         * io/read.c: Likewise.
62029         * io/readlink.c: Likewise.
62030         * io/readlinkat.c: Likewise.
62031         * io/rmdir.c: Likewise.
62032         * io/sendfile.c: Likewise.
62033         * io/sendfile64.c: Likewise.
62034         * io/statfs.c: Likewise.
62035         * io/statfs64.c: Likewise.
62036         * io/statvfs.c: Likewise.
62037         * io/statvfs64.c: Likewise.
62038         * io/symlink.c: Likewise.
62039         * io/symlinkat.c: Likewise.
62040         * io/ttyname.c: Likewise.
62041         * io/ttyname_r.c: Likewise.
62042         * io/umask.c: Likewise.
62043         * io/unlink.c: Likewise.
62044         * io/unlinkat.c: Likewise.
62045         * io/utime.c: Likewise.
62046         * io/utimensat.c: Likewise.
62047         * io/write.c: Likewise.
62048         * io/xmknod.c: Likewise.
62049         * io/xmknodat.c: Likewise.
62050         * io/xstat.c: Likewise.
62051         * io/xstat64.c: Likewise.
62052         * login/getpt.c: Likewise.
62053         * login/grantpt.c: Likewise.
62054         * login/unlockpt.c: Likewise.
62055         * math/e_acoshl.c: Likewise.
62056         * math/e_acosl.c: Likewise.
62057         * math/e_asinl.c: Likewise.
62058         * math/e_atan2l.c: Likewise.
62059         * math/e_atanhl.c: Likewise.
62060         * math/e_coshl.c: Likewise.
62061         * math/e_expl.c: Likewise.
62062         * math/e_fmodl.c: Likewise.
62063         * math/e_gammal_r.c: Likewise.
62064         * math/e_hypotl.c: Likewise.
62065         * math/e_j0l.c: Likewise.
62066         * math/e_j1l.c: Likewise.
62067         * math/e_jnl.c: Likewise.
62068         * math/e_lgammal_r.c: Likewise.
62069         * math/e_log10l.c: Likewise.
62070         * math/e_log2l.c: Likewise.
62071         * math/e_logl.c: Likewise.
62072         * math/e_powl.c: Likewise.
62073         * math/e_rem_pio2l.c: Likewise.
62074         * math/e_sinhl.c: Likewise.
62075         * math/e_sqrtl.c: Likewise.
62076         * math/fclrexcpt.c: Likewise.
62077         * math/fedisblxcpt.c: Likewise.
62078         * math/feenablxcpt.c: Likewise.
62079         * math/fegetenv.c: Likewise.
62080         * math/fegetexcept.c: Likewise.
62081         * math/fegetround.c: Likewise.
62082         * math/feholdexcpt.c: Likewise.
62083         * math/fesetenv.c: Likewise.
62084         * math/fesetround.c: Likewise.
62085         * math/feupdateenv.c: Likewise.
62086         * math/fgetexcptflg.c: Likewise.
62087         * math/fraiseexcpt.c: Likewise.
62088         * math/fsetexcptflg.c: Likewise.
62089         * math/ftestexcept.c: Likewise.
62090         * math/k_cosl.c: Likewise.
62091         * math/k_rem_pio2l.c: Likewise.
62092         * math/k_sinl.c: Likewise.
62093         * math/k_tanl.c: Likewise.
62094         * math/s_asinhl.c: Likewise.
62095         * math/s_atanl.c: Likewise.
62096         * math/s_cbrtl.c: Likewise.
62097         * math/s_erfl.c: Likewise.
62098         * math/s_expm1l.c: Likewise.
62099         * math/s_log1pl.c: Likewise.
62100         * math/s_tanhl.c: Likewise.
62101         * misc/acct.c: Likewise.
62102         * misc/brk.c: Likewise.
62103         * misc/chflags.c: Likewise.
62104         * misc/chroot.c: Likewise.
62105         * misc/fchflags.c: Likewise.
62106         * misc/fgetxattr.c: Likewise.
62107         * misc/flistxattr.c: Likewise.
62108         * misc/fremovexattr.c: Likewise.
62109         * misc/fsetxattr.c: Likewise.
62110         * misc/fsync.c: Likewise.
62111         * misc/ftruncate.c: Likewise.
62112         * misc/futimes.c: Likewise.
62113         * misc/futimesat.c: Likewise.
62114         * misc/getdomain.c: Likewise.
62115         * misc/getdtsz.c: Likewise.
62116         * misc/gethostid.c: Likewise.
62117         * misc/gethostname.c: Likewise.
62118         * misc/getloadavg.c: Likewise.
62119         * misc/getpagesize.c: Likewise.
62120         * misc/getsysstats.c: Likewise.
62121         * misc/getxattr.c: Likewise.
62122         * misc/gtty.c: Likewise.
62123         * misc/ioctl.c: Likewise.
62124         * misc/lgetxattr.c: Likewise.
62125         * misc/listxattr.c: Likewise.
62126         * misc/llistxattr.c: Likewise.
62127         * misc/lremovexattr.c: Likewise.
62128         * misc/lsetxattr.c: Likewise.
62129         * misc/lutimes.c: Likewise.
62130         * misc/madvise.c: Likewise.
62131         * misc/mincore.c: Likewise.
62132         * misc/mlock.c: Likewise.
62133         * misc/mlockall.c: Likewise.
62134         * misc/mmap.c: Likewise.
62135         * misc/mprotect.c: Likewise.
62136         * misc/msync.c: Likewise.
62137         * misc/munlock.c: Likewise.
62138         * misc/munlockall.c: Likewise.
62139         * misc/munmap.c: Likewise.
62140         * misc/preadv.c: Likewise.
62141         * misc/preadv64.c: Likewise.
62142         * misc/ptrace.c: Likewise.
62143         * misc/pwritev.c: Likewise.
62144         * misc/pwritev64.c: Likewise.
62145         * misc/readv.c: Likewise.
62146         * misc/reboot.c: Likewise.
62147         * misc/remap_file_pages.c: Likewise.
62148         * misc/removexattr.c: Likewise.
62149         * misc/revoke.c: Likewise.
62150         * misc/select.c: Likewise.
62151         * misc/setdomain.c: Likewise.
62152         * misc/setegid.c: Likewise.
62153         * misc/seteuid.c: Likewise.
62154         * misc/sethostid.c: Likewise.
62155         * misc/sethostname.c: Likewise.
62156         * misc/setregid.c: Likewise.
62157         * misc/setreuid.c: Likewise.
62158         * misc/setxattr.c: Likewise.
62159         * misc/sstk.c: Likewise.
62160         * misc/stty.c: Likewise.
62161         * misc/swapoff.c: Likewise.
62162         * misc/swapon.c: Likewise.
62163         * misc/sync.c: Likewise.
62164         * misc/syncfs.c: Likewise.
62165         * misc/syscall.c: Likewise.
62166         * misc/truncate.c: Likewise.
62167         * misc/ualarm.c: Likewise.
62168         * misc/usleep.c: Likewise.
62169         * misc/ustat.c: Likewise.
62170         * misc/utimes.c: Likewise.
62171         * misc/vhangup.c: Likewise.
62172         * misc/writev.c: Likewise.
62173         * posix/_exit.c: Likewise.
62174         * posix/alarm.c: Likewise.
62175         * posix/execve.c: Likewise.
62176         * posix/fexecve.c: Likewise.
62177         * posix/fork.c: Likewise.
62178         * posix/fpathconf.c: Likewise.
62179         * posix/getaddrinfo.c: Likewise.
62180         * posix/getegid.c: Likewise.
62181         * posix/geteuid.c: Likewise.
62182         * posix/getgid.c: Likewise.
62183         * posix/getgroups.c: Likewise.
62184         * posix/getlogin.c: Likewise.
62185         * posix/getlogin_r.c: Likewise.
62186         * posix/getpgid.c: Likewise.
62187         * posix/getpid.c: Likewise.
62188         * posix/getppid.c: Likewise.
62189         * posix/getresgid.c: Likewise.
62190         * posix/getresuid.c: Likewise.
62191         * posix/getsid.c: Likewise.
62192         * posix/getuid.c: Likewise.
62193         * posix/glob64.c: Likewise.
62194         * posix/nanosleep.c: Likewise.
62195         * posix/pathconf.c: Likewise.
62196         * posix/pause.c: Likewise.
62197         * posix/posix_madvise.c: Likewise.
62198         * posix/pread.c: Likewise.
62199         * posix/pread64.c: Likewise.
62200         * posix/pwrite.c: Likewise.
62201         * posix/pwrite64.c: Likewise.
62202         * posix/sched_getaffinity.c: Likewise.
62203         * posix/sched_getp.c: Likewise.
62204         * posix/sched_gets.c: Likewise.
62205         * posix/sched_primax.c: Likewise.
62206         * posix/sched_primin.c: Likewise.
62207         * posix/sched_rr_gi.c: Likewise.
62208         * posix/sched_setaffinity.c: Likewise.
62209         * posix/sched_setp.c: Likewise.
62210         * posix/sched_sets.c: Likewise.
62211         * posix/sched_yield.c: Likewise.
62212         * posix/setgid.c: Likewise.
62213         * posix/setlogin.c: Likewise.
62214         * posix/setpgid.c: Likewise.
62215         * posix/setresgid.c: Likewise.
62216         * posix/setresuid.c: Likewise.
62217         * posix/setsid.c: Likewise.
62218         * posix/setuid.c: Likewise.
62219         * posix/sleep.c: Likewise.
62220         * posix/spawni.c: Likewise.
62221         * posix/sysconf.c: Likewise.
62222         * posix/times.c: Likewise.
62223         * posix/wait.c: Likewise.
62224         * posix/wait3.c: Likewise.
62225         * posix/wait4.c: Likewise.
62226         * posix/waitpid.c: Likewise.
62227         * resolv/gai_sigqueue.c: Likewise.
62228         * resource/getpriority.c: Likewise.
62229         * resource/getrlimit.c: Likewise.
62230         * resource/getrusage.c: Likewise.
62231         * resource/nice.c: Likewise.
62232         * resource/setpriority.c: Likewise.
62233         * resource/setrlimit.c: Likewise.
62234         * resource/ulimit.c: Likewise.
62235         * rt/aio_cancel.c: Likewise.
62236         * rt/aio_fsync.c: Likewise.
62237         * rt/aio_read.c: Likewise.
62238         * rt/aio_sigqueue.c: Likewise.
62239         * rt/aio_suspend.c: Likewise.
62240         * rt/aio_write.c: Likewise.
62241         * rt/clock_getres.c: Likewise.
62242         * rt/clock_gettime.c: Likewise.
62243         * rt/clock_nanosleep.c: Likewise.
62244         * rt/clock_settime.c: Likewise.
62245         * rt/lio_listio.c: Likewise.
62246         * rt/mq_close.c: Likewise.
62247         * rt/mq_getattr.c: Likewise.
62248         * rt/mq_notify.c: Likewise.
62249         * rt/mq_open.c: Likewise.
62250         * rt/mq_receive.c: Likewise.
62251         * rt/mq_send.c: Likewise.
62252         * rt/mq_setattr.c: Likewise.
62253         * rt/mq_timedreceive.c: Likewise.
62254         * rt/mq_timedsend.c: Likewise.
62255         * rt/mq_unlink.c: Likewise.
62256         * rt/shm_open.c: Likewise.
62257         * rt/shm_unlink.c: Likewise.
62258         * rt/timer_create.c: Likewise.
62259         * rt/timer_delete.c: Likewise.
62260         * rt/timer_getoverr.c: Likewise.
62261         * rt/timer_gettime.c: Likewise.
62262         * rt/timer_settime.c: Likewise.
62263         * setjmp/__longjmp.c: Likewise.
62264         * setjmp/setjmp.c: Likewise.
62265         * signal/kill.c: Likewise.
62266         * signal/killpg.c: Likewise.
62267         * signal/raise.c: Likewise.
62268         * signal/sigaction.c: Likewise.
62269         * signal/sigaltstack.c: Likewise.
62270         * signal/sigblock.c: Likewise.
62271         * signal/sigignore.c: Likewise.
62272         * signal/sigintr.c: Likewise.
62273         * signal/signal.c: Likewise.
62274         * signal/sigpause.c: Likewise.
62275         * signal/sigpending.c: Likewise.
62276         * signal/sigqueue.c: Likewise.
62277         * signal/sigreturn.c: Likewise.
62278         * signal/sigset.c: Likewise.
62279         * signal/sigsetmask.c: Likewise.
62280         * signal/sigstack.c: Likewise.
62281         * signal/sigsuspend.c: Likewise.
62282         * signal/sigtimedwait.c: Likewise.
62283         * signal/sigvec.c: Likewise.
62284         * signal/sigwait.c: Likewise.
62285         * signal/sigwaitinfo.c: Likewise.
62286         * signal/sysv_signal.c: Likewise.
62287         * socket/accept.c: Likewise.
62288         * socket/accept4.c: Likewise.
62289         * socket/bind.c: Likewise.
62290         * socket/connect.c: Likewise.
62291         * socket/getpeername.c: Likewise.
62292         * socket/getsockname.c: Likewise.
62293         * socket/getsockopt.c: Likewise.
62294         * socket/isfdtype.c: Likewise.
62295         * socket/listen.c: Likewise.
62296         * socket/recv.c: Likewise.
62297         * socket/recvfrom.c: Likewise.
62298         * socket/recvmsg.c: Likewise.
62299         * socket/send.c: Likewise.
62300         * socket/sendmsg.c: Likewise.
62301         * socket/sendto.c: Likewise.
62302         * socket/setsockopt.c: Likewise.
62303         * socket/shutdown.c: Likewise.
62304         * socket/sockatmark.c: Likewise.
62305         * socket/socket.c: Likewise.
62306         * socket/socketpair.c: Likewise.
62307         * stdio-common/ctermid.c: Likewise.
62308         * stdio-common/cuserid.c: Likewise.
62309         * stdio-common/remove.c: Likewise.
62310         * stdio-common/rename.c: Likewise.
62311         * stdio-common/renameat.c: Likewise.
62312         * stdio-common/tempname.c: Likewise.
62313         * stdlib/getcontext.c: Likewise.
62314         * stdlib/makecontext.c: Likewise.
62315         * stdlib/setcontext.c: Likewise.
62316         * stdlib/swapcontext.c: Likewise.
62317         * stdlib/system.c: Likewise.
62318         * streams/fattach.c: Likewise.
62319         * streams/fdetach.c: Likewise.
62320         * streams/getmsg.c: Likewise.
62321         * streams/getpmsg.c: Likewise.
62322         * streams/putmsg.c: Likewise.
62323         * streams/putpmsg.c: Likewise.
62324         * sysdeps/unix/bsd/getpt.c: Likewise.
62325         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62326         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62327         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62329         Likewise.
62330         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62331         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62332         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62333         * sysvipc/msgctl.c: Likewise.
62334         * sysvipc/msgget.c: Likewise.
62335         * sysvipc/msgrcv.c: Likewise.
62336         * sysvipc/msgsnd.c: Likewise.
62337         * sysvipc/semctl.c: Likewise.
62338         * sysvipc/semget.c: Likewise.
62339         * sysvipc/semop.c: Likewise.
62340         * sysvipc/semtimedop.c: Likewise.
62341         * sysvipc/shmat.c: Likewise.
62342         * sysvipc/shmctl.c: Likewise.
62343         * sysvipc/shmdt.c: Likewise.
62344         * sysvipc/shmget.c: Likewise.
62345         * termios/tcdrain.c: Likewise.
62346         * termios/tcflow.c: Likewise.
62347         * termios/tcflush.c: Likewise.
62348         * termios/tcgetattr.c: Likewise.
62349         * termios/tcgetpgrp.c: Likewise.
62350         * termios/tcsendbrk.c: Likewise.
62351         * termios/tcsetattr.c: Likewise.
62352         * termios/tcsetpgrp.c: Likewise.
62353         * time/adjtime.c: Likewise.
62354         * time/clock.c: Likewise.
62355         * time/getitimer.c: Likewise.
62356         * time/gettimeofday.c: Likewise.
62357         * time/setitimer.c: Likewise.
62358         * time/settimeofday.c: Likewise.
62359         * time/stime.c: Likewise.
62360         * time/time.c: Likewise.
62362 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62364         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62365         /usr/old/bin.
62367         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62368         instead of spaces.
62369         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62371 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62373         [BZ #14796]
62374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62375         FE_TONEAREST before applying Dekker multiplication and Knuth
62376         addition.  Clear inexact exceptions and check for exact zero
62377         results afterwards.
62378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62379         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62381         * math/libm-test.inc (fma_test): Add more tests.
62382         (fma_test_towardzero): Likewise.
62383         (fma_test_downward): Likewise.
62384         (fma_test_upward): Likewise.
62385         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62386         function.
62387         (libc_fesetround): New macro.
62388         (libc_fesetroundf): Likewise.
62389         (libc_fesetroundl): Likewise.
62390         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62391         function.
62392         (libc_fesetround_387): Likewise.
62393         (libc_fesetroundf): New macro.
62394         (libc_fesetround): Likewise.
62395         (libc_fesetroundl): Likewise.
62396         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62397         function.
62398         (libc_fesetroundf): New macro.
62399         (libc_fesetround): Likewise.
62400         (libc_fesetroundl): Likewise.
62401         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62402         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62403         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62404         libm_hidden_ver.
62405         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62406         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62407         libm_hidden_def.
62408         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62409         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62410         libm_hidden_ver.
62411         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62412         libm_hidden_def.
62414         [BZ #3439]
62415         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62416         integer constant usable in #if and use that to give value to enum
62417         constant.
62418         (FE_DIVBYZERO): Likewise.
62419         (FE_UNDERFLOW): Likewise.
62420         (FE_OVERFLOW): Likewise.
62421         (FE_INVALID): Likewise.
62422         (FE_INVALID_SNAN): Likewise.
62423         (FE_INVALID_ISI): Likewise.
62424         (FE_INVALID_IDI): Likewise.
62425         (FE_INVALID_ZDZ): Likewise.
62426         (FE_INVALID_IMZ): Likewise.
62427         (FE_INVALID_COMPARE): Likewise.
62428         (FE_INVALID_SOFTWARE): Likewise.
62429         (FE_INVALID_SQRT): Likewise.
62430         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62431         (FE_TONEAREST): Likewise.
62432         (FE_TOWARDZERO): Likewise.
62433         (FE_UPWARD): Likewise.
62434         (FE_DOWNWARD): Likewise.
62435         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62436         (FE_DIVBYZERO): Likewise.
62437         (FE_OVERFLOW): Likewise.
62438         (FE_UNDERFLOW): Likewise.
62439         (FE_INEXACT): Likewise.
62440         (FE_TONEAREST): Likewise.
62441         (FE_DOWNWARD): Likewise.
62442         (FE_UPWARD): Likewise.
62443         (FE_TOWARDZERO): Likewise.
62444         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62445         (FE_UNDERFLOW): Likewise.
62446         (FE_OVERFLOW): Likewise.
62447         (FE_DIVBYZERO): Likewise.
62448         (FE_INVALID): Likewise.
62449         (FE_TONEAREST): Likewise.
62450         (FE_TOWARDZERO): Likewise.
62451         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62452         (FE_OVERFLOW): Likewise.
62453         (FE_UNDERFLOW): Likewise.
62454         (FE_DIVBYZERO): Likewise.
62455         (FE_INEXACT): Likewise.
62456         (FE_TONEAREST): Likewise.
62457         (FE_TOWARDZERO): Likewise.
62458         (FE_UPWARD): Likewise.
62459         (FE_DOWNWARD): Likewise.
62460         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62461         (FE_DIVBYZERO): Likewise.
62462         (FE_OVERFLOW): Likewise.
62463         (FE_UNDERFLOW): Likewise.
62464         (FE_INEXACT): Likewise.
62465         (FE_TONEAREST): Likewise.
62466         (FE_DOWNWARD): Likewise.
62467         (FE_UPWARD): Likewise.
62468         (FE_TOWARDZERO): Likewise.
62470 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62472         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62474 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62476         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62477         commands.  Quote $PWD.
62478         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62479         -x" by "export".
62480         (remove_newlines): Remove.
62482 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62484         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62485         * stdlib/stdlib.h (atof): Moved to ...
62486         * include/bits/stdlib-float.h: Here.  New file.
62487         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62488         * stdlib/bits/stdlib-float.h: New file.
62489         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62490         -mno-sse -mno-mmx.
62491         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62492         <xmmintrin.h>.
62494 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62496         * conform/conformtest.pl (@headers): Add fenv.h.
62497         * conform/data/fenv.h-data: New file.
62498         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62499         include of <math/fenv.h>.
62501         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62502         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62503         && !UNIX98].  Enables tests for XOPEN2K8.
62504         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62505         POSIX2008]: Likewise.
62507         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62508         (struct rusage): Do not expect type or its members.
62510         [BZ #3439]
62511         * math/math.h (FP_NAN): Define macro to integer constant usable in
62512         #if and use that to give value to enum constant.
62513         (FP_INFINITE): Likewise.
62514         (FP_ZERO): Likewise.
62515         (FP_SUBNORMAL): Likewise.
62516         (FP_NORMAL): Likewise.
62518 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62520         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62521         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62522         arguments.
62524 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62526         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62527         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62528         autoconf-time if not.
62529         * configure.in: Remove AC_PREREQ.
62531 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62533         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62534         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62535         of the internal implementation.
62537 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62539         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62540         except include of <misc/sys/syslog.h>.
62542 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62545         function returns with a NULL context exit with zero.
62547 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62549         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62551 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62553         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62554         (run_program_cmd): This.
62555         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62556         (tst_langinfo): New variable.  Use it.
62558 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62560         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62561         floating point opcodes.
62563 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62565         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62566         variable.
62568         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62570         * sysdeps/mach/hurd/powerpc: Remove directory.
62571         * sysdeps/mach/powerpc: Likewise.
62573 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62575         * scripts/check-local-headers.sh: Ignore c++ headers.
62577 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62579         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62580         __libc_cleanup_region_start argument.
62582 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62584         [BZ #14784]
62585         [BZ #14785]
62586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62587         x * y using scaling, not as x * y + z.
62588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62590         * math/libm-test.inc (fma_test): Add more tests.
62591         (fma_test_towardzero): Likewise.
62592         (fma_test_downward): Likewise.
62593         (fma_test_upward): Likewise.
62595 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62597         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62599 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62601         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62602         New variable.
62604 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62606         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62608 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62611         Fix sort order.
62612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62613         Likewise.
62615 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62618         Fix the order of the list for glibc 2.17.
62619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62620         Likewise.
62622 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62626 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62628         [BZ #14610]
62629         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62630         for low part of x being zero before using __atanl (y).
62631         * math/libm-test.inc (atan2_test): Add another test.
62633         * manual/install.texi (Configuring and compiling): Document
62634         general use of test-wrapper and test-wrapper-env.
62635         * INSTALL: Regenerated.
62637         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62638         (__fma): Do not extract and scale down low bits on after-rounding
62639         systems when result rounded to normal precision would have normal
62640         exponent.
62641         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62642         (__fmal): Do not extract and scale down low bits on after-rounding
62643         systems when result rounded to normal precision would have normal
62644         exponent.
62645         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62646         (__fmal): Do not extract and scale down low bits on after-rounding
62647         systems when result rounded to normal precision would have normal
62648         exponent.
62649         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62650         macro.
62651         (fma_test): Add more tests.
62652         (fma_test_towardzero): Likewise.
62653         (fma_test_downward): Likewise.
62654         (fma_test_upward): Likewise.
62656 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62658         * sysdeps/i386/tininess.h: Renamed to ...
62659         * sysdeps/x86/tininess.h: This.
62660         * sysdeps/x86_64/tininess.h: Removed.
62662 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62664         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62665         input.  Use $(build-program-cmd).
62666         ($(objpfx)tst-array1-static.out): Likewise.
62667         ($(objpfx)tst-array2.out): Likewise.
62668         ($(objpfx)tst-array3.out): Likewise.
62669         ($(objpfx)tst-array4.out): Likewise.
62670         ($(objpfx)tst-array5.out): Likewise.
62671         ($(objpfx)tst-array5-static.out): Likewise.
62673 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62675         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62676         if defined.
62678         * nss/nsswitch.h (nss_interface_function): Provide new
62679         macro for use with NSS functions.
62680         * grp/initgroups.c: Use new macro.
62681         * nss/getXXbyYY.c: Likewise.
62682         * nss/getXXbyYY_r.c: Likewise.
62683         * nss/getXXent.c: Likewise.
62684         * nss/getXXent_r.c: Likewise.
62685         * sysdeps/posix/getaddrinfo.c: Likewise.
62687 2012-10-30  Andreas Jaeger  <aj@suse.de>
62689         * po/ru.po: Update Russion translation from translation project.
62691 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62693         [BZ #14152]
62694         [BZ #14783]
62695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62696         result and shift together with sticky bit instead of replicating
62697         round-to-nearest rounding.
62698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62700         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62701         missing underflow exceptions.
62702         (fma_test_towardzero): Add more tests.
62703         (fma_test_downward): Likewise.
62704         (fma_test_upward): Likewise.
62706         [BZ #14047]
62707         * sysdeps/generic/tininess.h: New file.
62708         * sysdeps/i386/tininess.h: Likewise.
62709         * sysdeps/sh/tininess.h: Likewise.
62710         * sysdeps/x86_64/tininess.h: Likewise.
62711         * stdlib/tst-strtod-underflow.c: Likewise.
62712         * stdlib/tst-tininess.c: Likewise.
62713         * stdlib/strtod_l.c: Include <tininess.h>.
62714         (round_and_return): Do not set errno for exact underflow cases.
62715         Force an underflow exception when setting errno for underflow.
62716         Determine underflow based on rounding to normal precision if
62717         TININESS_AFTER_ROUNDING.
62718         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62719         ERANGE for exact underflow cases.
62720         * stdlib/Makefile (tests): Add tst-tininess and
62721         tst-strtod-underflow.
62722         ($(objpfx)tst-tininess): Use $(link-libm).
62723         ($(objpfx)tst-strtod-underflow): Likewise.
62725 2012-10-30  Andreas Jaeger  <aj@suse.de>
62727         [BZ#14767]
62728         * elf/Makefile (tests): Remove conditional for have-initfini-array
62729         since this is now always required and the variable does not exist
62730         anymore.
62731         (tests-static): Likewise.
62732         (modules-names): Likewise.
62734         * po/eo.po: Add Esperanto translation from translation project.
62736         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62737         merged with constructor/destructor.
62738         (init_array): Likewise.
62739         * elf/tst-array2dep.c (fini_array): Likewise.
62740         (init_array): Likewise.
62742 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62744         * manual/message.texi: Delete @cartouche tags.
62746 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62748         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62749         EOPNOTSUPP.
62750         * sysdeps/mach/hurd/fsync.c: Likewise.
62752         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62753         [_POSIX_REALTIME_SIGNALS]: Change condition to
62754         [_POSIX_REALTIME_SIGNALS > 0].
62756 2012-10-27  Andreas Jaeger  <aj@suse.de>
62758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62759         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62761         [__WORDSIZE != 64]: Likewise.
62763 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62765         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62766         *  iconvdata/tst-tables.sh: Likewise.
62768 2012-10-25  David S. Miller  <davem@davemloft.net>
62770         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62771         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62772         of strtoull.
62774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62775         ifunc-impl-list.c
62776         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62777         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62778         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62779         file.
62781 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62783         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62784         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62785         __getdirentries.
62787 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62788             Jim Blandy  <jimb@codesourcery.com>
62790         * scripts/cross-test-ssh.sh: New file.
62791         * manual/install.texi (Configuring and compiling): Document use of
62792         cross-test-ssh.sh.
62793         * INSTALL: Regenerated.
62795 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62797         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62798         EOPNOTSUPP.
62800 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62802         * Makeconfig (run-program-prefix): Fix comment.
62804 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62805             Jim Blandy  <jimb@codesourcery.com>
62807         * Makeconfig (test-wrapper): New variable,
62808         (test-wrapper-env): Likewise.
62809         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62810         (run-built-tests): Define to yes.
62811         (run-program-prefix): Use $(test-wrapper).
62812         (built-program-cmd): Likewise.
62813         * Rules (make-test-out): Use $(test-wrapper-env) and
62814         $(host-built-program-cmd).
62815         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62816         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62817         tst-pathopt.sh.
62818         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62819         $(test-wrapper-env) to tst-rtld-load-self.sh.
62820         ($(objpfx)order2.out): Use $(test-wrapper).
62821         ($(objpfx)tst-initorder.out): Likewise.
62822         ($(objpfx)tst-initorder2.out): Likewise.
62823         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62824         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62825         (test_wrapper_env): New variable.  Use it to run ld.so.
62826         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62827         Use it to run ld.so.
62828         (test_wrapper_env): Likewise.
62829         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62830         $(test-wrapper) to run-iconv-test.sh.
62831         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62832         (ICONV): Use $test_wrapper.
62833         * posix/Makefile ($(objpfx)globtest.out): Pass
62834         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62835         globtest.sh, not $(run-program-prefix).
62836         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62837         (test_wrapper): Likewise.
62838         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62839         set together with run_via_rtld_prefix.
62840         (run_program_prefix): Define in terms of test_wrapper and
62841         run_via_rtld_prefix.
62843 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62845         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62846         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62847         Targets removed.
62849         [BZ #14743]
62850         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62851         Declare __clock_getres, __clock_gettime, __clock_settime,
62852         __clock_nanosleep, and __clock_getcpuclockid.
62853         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62854         Remove librt_hidden_def (clock_gettime).
62855         * sysdeps/unix/clock_gettime.c: Likewise.
62856         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62857         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62858         * rt/clock_getres.c: Define __clock_getres as an alias.
62859         * sysdeps/posix/clock_getres.c: Likewise.
62860         * rt/clock_settime.c: Define __clock_settime as an alias.
62861         * sysdeps/unix/clock_settime.c: Likewise.
62862         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62863         * sysdeps/unix/clock_nanosleep.c: Likewise.
62864         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62865         * rt/clock-compat.c: New file.
62866         * rt/Makefile (librt-routines): Add clock-compat and move
62867         $(clock-routines) to ...
62868         (routines): ... here, new variable.
62869         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62870         Don't add get_clockfreq here.
62871         * rt/Versions (libc: GLIBC_2.17): New version set.
62872         Add clock_* symbols here.
62873         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62874         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62875         (GLIBC_2.17): Add clock_* symbols.
62876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62878         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62880         Likewise.
62881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62882         Likewise.
62883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62887         * NEWS: Mention the move.
62889         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62890         Use __open, __read, __close rather than their public counterparts.
62891         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62892         (__get_clockfreq_via_cpuinfo): Likewise.
62893         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62894         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62896         * config.h.in (HAVE_IFUNC): New #undef.
62897         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62898         was successful.
62899         * configure: Regenerated.
62901 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62903         * configure.in: Move READELF check to start of file.
62904         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62905         libc_cv_asm_gnu_indirect_function in the process.
62906         * configure: Regenerated.
62908 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62910         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62911         send the output to /dev/null.
62912         (libc_cv_cc_with_libunwind): Likewise.
62913         (libc_cv_as_noexecstack): Likewise.
62914         * configure: Regenerate.
62916 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62918         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62920         * posix/globtest.sh (TMPDIR): Do not set.
62921         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62922         (testout): Likewise.
62924 2012-10-24  Andreas Jaeger  <aj@suse.de>
62926         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62927         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62928         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62929         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62930         posix_fadvise64, posix_fallocate64.
62932         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62933         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62934         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62935         Likewise.
62936         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62937         Likewise.
62938         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62941         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62942         <bits/fcntl-linux.h>.
62943         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62946         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62947         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62948         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62949         [__WORDSIZE != 64]: Likewise.
62951 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62953         * Makeconfig (run-built-tests): New variable.
62954         * Rules [$(cross-compiling) = yes]: Change condition to
62955         [$(run-built-tests) = no].
62956         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62957         to [$(run-built-tests) = yes].
62958         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62959         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62960         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62961         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62962         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62963         * io/Makefile [$(cross-compiling) = no]: Likewise.
62964         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62965         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62966         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62967         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62968         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62969         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62970         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62971         * string/Makefile [$(cross-compiling) = no]: Likewise.
62973         * posix/Makefile ($(objpfx)globtest.out): Pass
62974         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62975         $(rtld-installed-name).
62976         * posix/globtest.sh (elf_objpfx): Remove variable.
62977         (rtld_installed_name): Likewise.
62978         (library_path): Likewise.
62979         (run_program_prefix): New variable.  Use for running globtest
62980         binary.
62982 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62983             Joseph Myers  <joseph@codesourcery.com>
62985         * Makeconfig (host-built-program-cmd): New variable.
62986         * elf/Makefile (tst-stackguard1-ARGS): Use
62987         $(host-built-program-cmd).
62988         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62989         (tst-spawn-ARGS): Likewise.
62990         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62992 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62993             Jim Blandy  <jimb@codesourcery.com>
62995         * Makeconfig (run-via-rtld-prefix): New variable.
62996         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62997         (built-program-cmd): Likewise.
62999 2012-10-22  Andreas Jaeger  <aj@suse.de>
63001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63002         __O_RSYNC if it exists, otherwise to O_SYNC.
63004 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
63005             Joseph Myers  <joseph@codesourcery.com>
63007         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63008         /dev/null.
63009         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63010         from /dev/null
63011         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63012         /dev/null.
63014 2012-10-22  Andreas Jaeger  <aj@suse.de>
63016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63017         Define always.
63018         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63021         bits/fcntl-linux.h.
63023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63024         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63026         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63027         to __O_LARGEFILE.
63028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63029         to __O_LARGEFILE.
63031 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
63032             Joseph Myers  <joseph@codesourcery.com>
63034         * config.make.in (NM): New variable.
63036 2012-10-21  Andreas Jaeger  <aj@suse.de>
63038         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63039         definitions and declarations that are provided by
63040         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63042 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63044         [BZ #14683]
63045         * elf/Makefile (tests-static): Add tst-leaks1-static.
63046         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63047         ($(objpfx)tst-leaks1-static): New rule.
63048         ($(objpfx)tst-leaks1-static-mem): Likewise.
63049         (tst-leaks1-static-ENV): New macro.
63050         * elf/dl-open.c (dl_open_worker): Check the main application
63051         only if SHARED is defined.
63052         * elf/tst-leaks1-static.c: New file.
63054 2012-10-20  Andreas Jaeger  <aj@suse.de>
63056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63057         generic values for Linux.
63058         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63059         and declarations that are provided by <bits/fcntl-linux.h> and
63060         include <bits/fcntl-linux.h>.
63061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63064 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63066         * io/fcntl.h: Move include of <bits/types.h> to the top and
63067         include it unconditionally.
63069 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63071         * wcsmbs/Makefile (tests-ifunc): New variable.
63072         (tests): Add $(tests-ifunc).
63073         * wcsmbs/test-wcschr-ifunc.c: New file.
63074         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63075         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63076         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63077         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63078         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63080         * string/Makefile (tests-ifunc): New variable.
63081         (tests): Add $(tests-ifunc).
63082         * string/test-memccpy.c (TEST_NAME): New macro.
63083         * string/test-memchr.c (TEST_NAME): Likewise.
63084         * string/test-memcmp.c (TEST_NAME): Likewise.
63085         * string/test-memcpy.c (TEST_NAME): Likewise.
63086         * string/test-memmem.c (TEST_NAME): Likewise.
63087         * string/test-memmove.c (TEST_NAME): Likewise.
63088         * string/test-memset.c (TEST_NAME): Likewise.
63089         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63090         * string/test-stpcpy.c (TEST_NAME): Likewise.
63091         * string/test-stpncpy.c (TEST_NAME): Likewise.
63092         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63093         * string/test-strcasestr.c (TEST_NAME): Likewise.
63094         * string/test-strcat.c (TEST_NAME): Likewise.
63095         * string/test-strchr.c (TEST_NAME): Likewise.
63096         * string/test-strcmp.c(TEST_NAME): Likewise.
63097         * string/test-strcpy.c (TEST_NAME): Likewise.
63098         * string/test-strcspn.c (TEST_NAME): Likewise.
63099         * string/test-strlen.c (TEST_NAME): Likewise.
63100         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63101         * string/test-strncmp.c (TEST_NAME): Likewise.
63102         * string/test-strncpy.c (TEST_NAME): Likewise.
63103         * string/test-strnlen.c (TEST_NAME): Likewise.
63104         * string/test-strpbrk.c (TEST_NAME): Likewise.
63105         * string/test-strrchr.c (TEST_NAME): Likewise.
63106         * string/test-strspn.c (TEST_NAME): Likewise.
63107         * string/test-strstr.c (TEST_NAME): Likewise.
63108         * string/test-bcopy-ifunc.c: New file.
63109         * string/test-bzero-ifunc.c: Likewise.
63110         * string/test-memccpy-ifunc.c: Likewise.
63111         * string/test-memchr-ifunc.c: Likewise.
63112         * string/test-memcmp-ifunc.c: Likewise.
63113         * string/test-memcpy-ifunc.c: Likewise.
63114         * string/test-memmem-ifunc.c: Likewise.
63115         * string/test-memmove-ifunc.c: Likewise.
63116         * string/test-mempcpy-ifunc.c: Likewise.
63117         * string/test-memset-ifunc.c: Likewise.
63118         * string/test-rawmemchr-ifunc.c: Likewise.
63119         * string/test-stpcpy-ifunc.c: Likewise.
63120         * string/test-stpncpy-ifunc.c: Likewise.
63121         * string/test-strcasecmp-ifunc.c: Likewise.
63122         * string/test-strcasestr-ifunc.c: Likewise.
63123         * string/test-strcat-ifunc.c: Likewise.
63124         * string/test-strchr-ifunc.c: Likewise.
63125         * string/test-strchrnul-ifunc.c: Likewise.
63126         * string/test-strcmp-ifunc.c: Likewise.
63127         * string/test-strcpy-ifunc.c: Likewise.
63128         * string/test-strcspn-ifunc.c: Likewise.
63129         * string/test-strlen-ifunc.c: Likewise.
63130         * string/test-strncasecmp-ifunc.c: Likewise.
63131         * string/test-strncat-ifunc.c: Likewise.
63132         * string/test-strncmp-ifunc.c: Likewise.
63133         * string/test-strncpy-ifunc.c: Likewise.
63134         * string/test-strnlen-ifunc.c: Likewise.
63135         * string/test-strpbrk-ifunc.c: Likewise.
63136         * string/test-strrchr-ifunc.c: Likewise.
63137         * string/test-strspn-ifunc.c: Likewise.
63138         * string/test-strstr-ifunc.c: Likewise.
63140         * debug/Makefile (tests-ifunc): New variable.
63141         (tests): Add $(tests-ifunc).
63142         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63143         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63144         * debug/test-stpcpy_chk-ifunc.c: New file.
63145         * debug/test-strcpy_chk-ifunc.c: Likewise.
63147 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63149         [BZ #13601]
63150         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63151         header is not read in.
63153 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63155         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63156         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63157         directly.  Pass built executable to script as
63158         $(built-program-cmd).
63159         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63160         $testprogram without using LD_LIBRARY_PATH and $ldso.
63162         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63163         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63164         $(rtld-installed-name).
63165         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63166         (rtld_installed_name): Likewise.
63167         (library_path): Likewise.
63168         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63169         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63170         $(run-program-prefix) to tst-tables.sh.
63171         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63172         it to run tst-table-from and tst-table-to.
63173         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63174         Pass it to tst-table.sh.
63175         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63176         $(run-program-prefix) to tst-gettext.sh.
63177         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63178         tst-translit.sh.
63179         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63180         tst-gettext2.sh.
63181         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63182         to run tst-gettext.
63183         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63184         to run tst-gettext2.
63185         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63186         to run tst-translit.
63187         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63188         $(run-program-prefix) to tst-mtrace.sh.
63189         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63190         to run tst-mtrace.
63191         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63192         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63193         $(rtld-installed-name).
63194         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63195         (rtld_installed_name): Likewise.
63196         (run_program_prefix): New variable.  Use it to run wordexp-test.
63198         * Makeconfig (ARCH): Remove all definitions.
63199         (machine): Likewise.
63200         [ARCH]: Remove conditional code.
63201         [!objdir]: Give error.
63202         [!objdir] (objpfx): Remove.
63203         [!objdir] (common-objpfx): Likewise.
63204         [!objdir] (common-objdir): Likewise.
63205         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63206         AC_CONFIG_FILES call.
63207         * configure: Regenerated.
63209         [BZ #13888]
63210         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63211         or TMPDIR.
63212         (testout): Likewise.
63214         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63215         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63216         $(rtld-installed-name).
63217         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63218         (rtld_installed_name): Likwise.
63219         (runit): Remove function.
63220         (run_getconf): New variable,  Use it for running getconf binary.
63222 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63224         [BZ #14716]
63225         * string/test-memmem.c (check_result): New function.
63226         (do_one_test): Use it.
63227         (check1): New function.
63228         (test_main): Use it.
63230 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63232         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63234 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63236         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63237         (_G_LSEEK64): Likewise.
63238         (_G_MMAP64): Likewise.
63239         (_G_FSTAT64): Likewise.
63240         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63241         (_G_LSEEK64): Likewise.
63242         (_G_MMAP64): Likewise.
63243         (_G_FSTAT64): Likewise.
63244         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63245         unconditional.  Call __mmap64 directly.
63246         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63247         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63248         __lseek64 directly.
63249         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63250         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63251         __mmap64 directly.
63252         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63253         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63254         __lseek64 directly.
63255         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63256         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63257         __lseek64 directly.
63258         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63259         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63260         __lseek64 directly.
63261         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63262         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63263         __fxstat64 directly.
63264         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63265         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63266         unconditional.
63267         (freopen64) [!_G_OPEN64]: Remove conditional code.
63268         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63269         unconditional.
63270         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63271         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63272         unconditional.
63273         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63274         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63275         unconditional.
63276         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63277         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63278         unconditional.
63279         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63280         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63281         unconditional.
63282         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63283         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63284         unconditional.
63285         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63286         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63287         unconditional.
63288         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63290 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63292         [BZ #12140]
63293         * manual/memory.texi (Malloc Tunable Parameters): Add note
63294         about free list pointers overwriting some perturb bytes.
63295         Wording suggested by Roland McGrath.
63297 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63299         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63300         (lgamma_test): Likewise.
63301         (tgamma_test): Likewise.
63303 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63305         [BZ #14700]
63306         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63307         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63309 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63311         * NEWS: Mention BZ #14716.
63312         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63313         when removing AVAILABLE1_USES_J macro.
63315 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63317         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63318         (__bswap_64): __uint64_t for unsigned 64-bit int.
63320 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63322         * include/string.h (memmem): Declare libc hidden alias.
63323         * string/memmem.c (memmem): Define libc hidden alias.
63324         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63325         __read, __close instead of open, read, close.
63327 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63330         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63331         global and hidden.
63332         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63333         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63334         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63335         Likewise.
63336         (__rawmemchr_sse2): Likewise.
63337         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63338         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63339         (__strchr_sse2): Likewise.
63340         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63341         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63342         (__strcasecmp_sse2): Likewise.
63343         (__strncasecmp_sse2): Likewise.
63344         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63345         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63346         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63347         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63348         (__strrchr_sse2): Likewise.
63349         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63350         ifunc-impl-list.c.
63351         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63352         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63353         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63354         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63355         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63356         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63357         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63358         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63359         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63360         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63361         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63362         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63363         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63364         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63365         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63366         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63367         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63368         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63369         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63370         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63371         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63372         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63373         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63374         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63375         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63376         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63377         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63378         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63379         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63380         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63382         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63383         global and hidden.
63384         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63385         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63386         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63387         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63388         Likewise.
63389         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63390         Likewise.
63391         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63392         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63393         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63394         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63395         ifunc-impl-list.c.
63396         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63397         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63398         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63399         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63400         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63401         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63402         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63403         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63404         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63405         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63406         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63407         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63408         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63409         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63410         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63411         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63412         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63413         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63414         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63415         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63416         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63417         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63418         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63419         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63421         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63422         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63423         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63424         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63425         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63426         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63427         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63428         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63429         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63430         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63431         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63432         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63433         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63434         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63435         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63436         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63438         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63439         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63440         * include/ifunc-impl-list.h: New file.
63441         * misc/ifunc-impl-list.c: Likewise.
63442         * misc/Makefile (routines): Add ifunc-impl-list.
63443         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63444         * string/test-string.h: Include <ifunc-impl-list.h>.
63445         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63446         TEST_NAME]: New variables.
63447         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63448         are defined.
63449         (test_init): Call __libc_ifunc_impl_list to initialize
63450         func_list if TEST_IFUNC and TEST_NAME are defined.
63452         * string/Makefile (strop-tests): Add bcopy and bzero.
63453         * string/test-bcopy.c: New file.
63454         * string/test-bzero.c: Likewise.
63455         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63456         defined.
63457         * string/test-memset.c: Support bzero test if TEST_BZERO is
63458         defined.
63459         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63460         __libc_memmove.
63461         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63462         __libc_memset.
63463         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63464         of memset.
63466 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63468         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63469         * configure: Regenerated.
63471         * Makeconfig (+link-static-before-libc): Don't include
63472         $(link-static-libc).
63474         * libio/libio.h (_IO_pos_t): Remove.
63476 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63478         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63479         McGrath.
63481 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63483         * crypt/crypt-entry.c: Include fips-private.h.
63484         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63485         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63486         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63487         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63489 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63491         * crypt/crypt-private.h: Include stdbool.h.
63492         (_ufc_setup_salt_r): Return bool.
63493         * crypt/crypt-entry.c: Include errno.h.
63494         (__crypt_r): Return NULL with EINVAL for bad salt.
63495         * crypt/crypt_util.c (bad_for_salt): New.
63496         (_ufc_setup_salt_r): Check that salt is long enough and within
63497         the specified alphabet.
63498         * crypt/badsalttest.c: New file.
63499         * crypt/Makefile (tests): Add it.
63500         ($(objpfx)badsalttest): New.
63502 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63504         * NEWS: Add entry for BZ #14602.
63506 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63508         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63509         type-generic.
63510         * math/libm-test.inc: Update comment listing what functions and
63511         macros are tested.
63512         (isgreater_test): New function.
63513         (isgreaterequal_test): Likewise.
63514         (isless_test): Likewise.
63515         (islessequal_test): Likewise.
63516         (islessgreater_test): Likewise.
63517         (isunordered_test): Likewise.
63518         (main): Call the new functions.
63520 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63522         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63523         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63524         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63525         * sysdeps/i386/configure: Regenerated.
63526         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63527         * sysdeps/mach/configure: Regenerated.
63528         * sysdeps/mach/hurd/configure: Regenerated.
63529         * sysdeps/powerpc/configure: Regenerated.
63530         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63531         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63532         * sysdeps/s390/s390-32/configure: Regenerated.
63533         * sysdeps/s390/s390-64/configure: Regenerated.
63534         * sysdeps/sh/configure: Regenerated.
63535         * sysdeps/sparc/configure: Regenerated.
63536         * sysdeps/unix/sysv/linux/configure: Regenerated.
63537         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63538         * sysdeps/x86_64/configure: Regenerated.
63540         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63541         defined.  Don't check if MAP is NULL.
63543 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63545         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63546         (_G_stat64): Likewise.
63547         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63548         (_G_stat64): Likewise.
63549         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63550         instead of struct _G_stat64.
63551         * libio/fileops.c (mmap_remap_check): Likewise.
63552         (decide_maybe_mmap): Likewise.
63553         (_IO_new_file_seekoff): Likewise.
63554         (_IO_file_stat): Likewise.
63555         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63556         _G_off64_t.
63557         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63558         instead of struct _G_stat64.
63559         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63561 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63563         [BZ #14602]
63564         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63565         Replace with ...
63566         (CHECK_EOL): New macro.
63567         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63568         CHECK_EOL.
63569         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63570         Replace with CHECK_EOL.
63571         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63572         Replace with CHECK_EOL.
63574 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63576         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63577         type-generic.
63578         * math/libm-test.inc: Update comment listing what functions and
63579         macros are tested.
63580         (finite_test): New function.
63581         (isinf_test): Likewise.
63582         (isnan_test): Likewise.
63583         (fpclassify_test): Test subnormal input.
63584         (isfinite_test): Likewise.
63585         (isnormal_test): Likewise.
63586         (main): Call the new functions.
63588 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63590         [BZ #14660]
63591         * Makerules (%.dynsym): Force C locale when running
63592         $(OBJDUMP) --dynamic-syms.
63594 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63596         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63597         <stdint.h>.
63599 2012-10-06  David S. Miller  <davem@davemloft.net>
63601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63602         upper 32-bits of the length value in %o2 since we use branch-on-register
63603         tests which consider the entire 64-bit register.
63605 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63607         * string/test-strstr.c (check2): Add a test for page boundary.
63609 2012-10-05  David S. Miller  <davem@davemloft.net>
63611         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63612         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63613         file.
63614         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63615         sysdep_routines.
63616         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63617         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63618         and bzero when HWCAP_SPARC_CRYPTO is present.
63620 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63622         [BZ #14602]
63623         * string/test-strstr.c (check2): New function.
63624         (test_main): Call check2.
63626         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63627         and bug-strchr1.
63628         * string/bug-strcasestr1.c (do_test): Moved to ...
63629         * string/test-strcasestr.c (check1): Here.  New function.
63630         (do_one_test): Break out result checking code into ...
63631         (check_result): This.  New function.
63632         (do_one_test): Call check_result.
63633         (test_main): Call check1.
63634         * string/bug-strchr1.c (do_test): Moved to ...
63635         * string/test-strchr.c (check1): Here.  New function.
63636         (do_one_test): Break out result checking code into ...
63637         (check_result): This.  New function.
63638         (do_one_test): Call check_result.
63639         (test_main): Call check1.
63640         * string/bug-strstr1.c (main): Moved to ...
63641         * string/test-strstr.c (check1): Here.  New function.
63642         (do_one_test): Break out result checking code into ...
63643         (check_result): This.  New function.
63644         (do_one_test): Call check_result.
63645         (test_main): Call check1.
63646         * string/bug-strcasestr1.c: Removed.
63647         * string/bug-strchr1.c: Likewise.
63648         * string/bug-strstr1.c: Likewise.
63650         * elf/Makefile (dl-routines): Add hwcaps.
63651         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63652         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63653         (_dl_important_hwcaps): Moved to ...
63654         * elf/dl-hwcaps.c: Here.  New file.
63655         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63657         [BZ #14557]
63658         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63659         if IS_IN_rtld isn't defined.
63661         * elf/dl-support.c (_dl_sysinfo_map): New.
63662         Include "get-dynamic-info.h" and "setup-vdso.h".
63663         (_dl_non_dynamic_init): Call setup_vdso.
63664         * elf/dynamic-link.h: Don't include <assert.h>.
63665         (elf_get_dynamic_info): Moved to ...
63666         * elf/get-dynamic-info.h: Here.  New file.
63667         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63668         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63669         * elf/setup-vdso.h: Here.  New file.
63670         * elf/rtld.c: Include "setup-vdso.h".
63671         (dl_main): Call setup_vdso.
63673 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63675         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63676         creal in comment listing functions tested.  List finite, isinf,
63677         isnan, isless, islessequal, isgreater, isgreaterequal,
63678         islessgreater, isunordered, lgamma_r and pow10 as functions and
63679         macros not tested.  Mention which functions not tested are aliases
63680         for other functions.  Fix typo.  Note that signs of NaNs are not
63681         tested.
63683         * scripts/config.guess: Update from config.git.
63684         * scripts/config.sub: Likewise.
63686 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63688         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63689         * misc/madvise.c (madvise): Renamed to __madvise.
63690         Make madvise a weak alias.
63691         * include/sys/mman.h: Declare __madvise.
63692         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63693         * sysdeps/unix/syscalls.list
63694         (madvise): Make __madvise the strong name, and madvise a weak alias.
63695         * sysdeps/unix/sysv/linux/syscalls.list
63696         (madvise, mmap): Remove redundant entries.
63697         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63698         * malloc/malloc.c (mtrim): Likewise.
63699         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63701 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63703         * sysdeps/mach/hurd/dl-cache.c: File removed.
63704         * config.h.in (USE_LDCONFIG): New #undef.
63705         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63706         * configure: Regenerated.
63707         * elf/Makefile (dl-routines): Add dl-cache only under
63708         [$(use-ldconfig) = yes].
63709         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63710         cache on [USE_LDCONFIG].
63711         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63712         [USE_LDCONFIG].
63713         * elf/rtld.c (dl_main): Likewise.
63715 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63717         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63718         _SC_LEVEL4_CACHE_LINESIZE.
63720 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63722         * sysdeps/unix/bsd/confstr.h: File removed.
63724 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63726         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63727         sys/sdt-config.h.
63729 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63731         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63732         Make 'mapoff' field ElfW(Off) rather than off_t.
63734 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63736         * nscd/Makefile: Remove nscd-cflags and all its users.
63737         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63738         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63740         [BZ #10631]
63741         * malloc.c (malloc_printerr): Clarify error message.
63743 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63745         [BZ #14648]
63746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63747         Set bit_FMA_Usable if FMA is supported.
63748         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63749         macro.
63750         (bit_FMA4_Usable): Updated.
63751         (index_FMA_Usable): New macro.
63752         (CPUID_FMA): Likewise.
63753         (HAS_FMA): Defined with bit_FMA_Usable.
63755 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63757         * bits/types.h (__swblk_t): Type removed.
63758         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63759         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63761         (__SWBLK_T_TYPE): Likewise.
63762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63763         (__SWBLK_T_TYPE): Likewise.
63764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63765         (__SWBLK_T_TYPE): Likewise.
63766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63767         (__SWBLK_T_TYPE): Likewise.
63769 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63770             Honza Horak <hhorak@redhat.com>
63772         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63773         (xdr_mapname): Use YPMAXMAP as maxsize.
63774         (xdr_peername): Use YPMAXPEER as maxsize.
63775         (xdr_keydat): Use YPAXRECORD as maxsize.
63776         (xdr_valdat): Use YPMAXRECORD as maxsize.
63778 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63780         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63782         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63783         * csu/init-first.c: ... here.
63784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63785         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63786         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63787         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63788         * sysdeps/i386/init-first.c: File removed.
63789         * sysdeps/sh/init-first.c: File removed.
63791 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63793         [BZ #14645]
63794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63795         if x * y might underflow to zero and z is zero.
63796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63798         * math/libm-test.inc (min_subnorm_value): New variable.
63799         (fma_test): Add more tests.
63800         (fma_test_towardzero): Likewise.
63801         (fma_test_downward): Likewise.
63802         (fma_test_upward): Likewise.
63803         (initialize): Set min_subnorm_value.
63805 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63807         [BZ #14638]
63808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63809         0 + 0.
63810         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63811         mode for addition resulting in exact zero.
63812         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63814         exact 0 + 0.
63815         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63817         * math/libm-test.inc (fma_test): Add more tests.
63818         (fma_test_towardzero): New function.
63819         (fma_test_downward): Likewise.
63820         (fma_test_upward): Likewise.
63821         (main): Call the new functions.
63823 2012-09-28  David S. Miller  <davem@davemloft.net>
63825         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63827 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63829         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63830         instead of SIGALRM.
63832         * sysdeps/gnu/_G_config.h: Moved to ...
63833         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63834         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63835         * sysdeps/generic/_G_config.h: ... here.
63837         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63839         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63841         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63842         Conditionalize target on [libnss_test1.so-version].
63844         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63846         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63847         (elfobjdir): Move out of conditionals.
63849         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63850         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63851         (__nss_lookup_function): Conditionalize label remove_from_tree on
63852         [!DO_STATIC_NSS || SHARED], matching its only use.
63854 2012-09-28  David S. Miller  <davem@davemloft.net>
63856         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63857         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63858         file.
63859         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63860         sysdep_routines.
63861         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63863         when HWCAP_SPARC_CRYPTO is present.
63865 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63867         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63869 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63871         [BZ #6530]
63872         * stdio-common/vfprintf.c (process_string_arg): Revert
63873         2000-07-22 change.
63875 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63877         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63878         for testcase.
63879         * stdio-common/tst-sprintf.c: Include <locale.h>
63880         (main): Test sprintf's handling of incomplete multibyte
63881         characters.
63883 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63885         * elf/dl-runtime.c (VERSYMIDX): Removed.
63886         * elf/dl-version.c (VERSYMIDX): Likewise.
63887         * elf/do-rel.h (VERSYMIDX): Likewise.
63888         (VALIDX): Likewise.
63889         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63890         * elf/rtld.c (VALIDX): Likewise.
63891         (ADDRIDX): Likewise.
63892         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63893         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63894         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63895         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63896         (VALIDX): Likewise.
63897         (ADDRIDX): Likewise.
63899 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63901         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63903 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63905         [BZ #11438]
63906         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63907         to global scope.
63908         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63909         addresses are in the same scope as 192.0.2/24.
63910         * posix/gai.conf: Document new scope table defaults.
63912 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63914         [BZ #5298]
63915         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63916         for ftell.  Compute offsets from write pointers instead.
63917         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63919 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63921         [BZ #14543]
63922         * libio/Makefile (tests): New test case tst-fseek.
63923         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63924         combination works in wide mode.
63925         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63926         state when the external buffer state changes.
63928 2012-09-27  David S. Miller  <davem@davemloft.net>
63930         [BZ #14376]
63931         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63932         pass reloc->r_addend in as the 'high' argument to
63933         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63937 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63939         * rt/tst-aio2.c: Include <pthread.h>.
63940         * rt/tst-aio3.c: Likewise.
63942 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63944         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63946 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63948         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63949         contents on [SHARED].
63951 2012-09-26  Marek Polacek  <polacek@redhat.com>
63953         [BZ #14530]
63954         [BZ #13741]
63955         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63956         for C++ and GCC <4.3 as well as for non GCC compilers.
63958 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63962 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63964         * Makefile.in (all, install): Declare with .PHONY.
63965         Reported by Michael Hope <michael.hope@linaro.org>.
63967 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63969         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63970         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63971         system header.
63972         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63973         Likewise.
63974         (sydep_routines): Add the new and the internal functions.
63975         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63976         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63978         (GLIBC_2.17): Add the new function.
63979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63980         (GLIBC_2.17): Likewise.
63981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63982         (GLIBC_2.17): Likewise.
63983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63984         (GLIBC_2.17): Likewise.
63985         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63987 2012-09-25  Alan Modra  <amodra@gmail.com>
63989         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63990         Add release barrier before setting once_control to say
63991         initialisation is done.  Add hints on lwarx.  Use macro in
63992         place of isync.
63993         (clear_once_control): Add release barrier.
63995 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63997         [BZ #13629]
63998         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63999         specially.
64000         * math/s_clog10.c (__clog10): Likewise.
64001         * math/s_clog10f.c (__clog10f): Likewise.
64002         * math/s_clog10l.c (__clog10l): Likewise.
64003         * math/s_clogf.c (__clogf): Likewise.
64004         * math/s_clogl.c (__clogl): Likewise.
64005         * math/Makefile (libm-calls): Add x2y2m1.
64006         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64007         (__x2y2m1): Likewise.
64008         (__x2y2m1l): Likewise.
64009         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64010         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64011         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64012         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64013         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64014         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64015         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64016         * sysdeps/i386/fpu/libm-test-ulps: Update.
64017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64019         [BZ #14621]
64020         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64021         int as type of variable DEPTH.
64022         (glob): Use size_t instead of int as type of variables NEWCOUNT
64023         and OLD_PATHC.
64025 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64027         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64028         Add s_sincosf-sse2.
64029         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64030         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64031         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64032         macros for using routine as __sincosf_ia32.
64033         Use macro for function declaration and weak_alias.
64034         * sysdeps/i386/fpu/libm-test-ulps: Update.
64036         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64039         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64040         subnormal argument.
64041         * math/s_cexpf.c (__cexpf): Likewise.
64042         * math/s_csinf.c (__csinf): Likewise.
64043         * math/s_csinhf.c (__csinhf): Likewise.
64044         * math/s_ctanf.c (__ctanf): Likewise.
64045         * math/s_ctanhf.c (__ctanhf): Likewise.
64046         * math/s_ccosh.c (__ccoshf): Likewise.
64047         * math/s_cexp.c (__cexpl): Likewise.
64048         * math/s_csin.c (__csin): Likewise.
64049         * math/s_csinh.c (__csinh): Likewise.
64050         * math/s_ctan.c (__ctan): Likewise.
64051         * math/s_ctanh.c (ctanh): Likewise.
64052         * math/s_ccoshl.c (__ccoshl): Likewise.
64053         * math/s_cexpl.c (__cexpl): Likewise.
64054         * math/s_csinl.c (__csinl): Likewise.
64055         * math/s_csinhl.c (__csinhl): Likewise.
64056         * math/s_ctanl.c (__ctanl): Likewise.
64057         * math/s_ctanhl.c (__ctanhl): Likewise.
64059 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64061         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64062         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64063         (_IO_off_t): Define to __off_t, not _G_off_t.
64064         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64065         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64066         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64067         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64068         type of __dummy and __dummy2 fields.
64069         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64070         (_G_ssize_t): Likewise.
64071         (_G_off_t): Likewise.
64072         (_G_pid_t): Likewise.
64073         (_G_uid_t): Likewise.
64074         (_G_wchar_t): Likewise.
64075         (_G_wint_t): Likewise.
64076         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64077         (_G_ssize_t): Likewise.
64078         (_G_off_t): Likewise.
64079         (_G_pid_t): Likewise.
64080         (_G_uid_t): Likewise.
64081         (_G_wchar_t): Likewise.
64082         (_G_wint_t): Likewise.
64083         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64084         (_G_ssize_t): Likewise.
64085         (_G_off_t): Likewise.
64086         (_G_pid_t): Likewise.
64087         (_G_uid_t): Likewise.
64088         (_G_wchar_t): Likewise.
64089         (_G_wint_t): Likewise.
64091 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64093         * malloc/arena.c: Include malloc-sysdep.h.
64094         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64095         is sufficient to shrink the heap or an unmap is needed.
64096         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64097         new function check_may_shrink_heap.
64098         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64099         new function check_may_shrink_heap.
64101 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64103         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64104         comments.
64106 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64108         * catgets/test-gencat.sh: Add "set -e".
64109         * elf/tst-pathopt.sh: Likewise.
64110         * grp/tst_fgetgrent.sh: Likewise.
64111         * iconvdata/run-iconv-test.sh: Likewise.
64112         * intl/tst-gettext.sh: Likewise.
64113         * intl/tst-gettext2.sh: Likewise.
64114         * intl/tst-gettext4.sh: Likewise.
64115         * intl/tst-gettext6.sh: Likewise.
64116         * intl/tst-translit.sh: Likewise.
64117         * io/ftwtest-sh: Likewise.
64118         * libio/test-freopen.sh: Likewise.
64119         * malloc/tst-mtrace.sh: Likewise.
64120         * posix/globtest.sh: Likewise.
64121         * posix/tst-getconf.sh: Likewise.
64122         * posix/wordexp-tst.sh: Likewise.
64123         * stdio-common/tst-printf.sh: Likewise.
64124         * stdio-common/tst-unbputc.sh: Likewise.
64125         * stdlib/tst-fmtmsg.sh: Likewise.
64126         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64127         * catgets/Makefile: Do not specify -e option when running
64128         testsuite shell scripts.
64129         * elf/Makefile: Likewise.
64130         * grp/Makefile: Likewise.
64131         * iconvdata/Makefile: Likewise.
64132         * intl/Makefile: Likewise.
64133         * io/Makefile: Likewise.
64134         * libio/Makefile: Likewise.
64135         * malloc/Makefile: Likewise.
64136         * posix/Makefile: Likewise.
64137         * stdio-common/Makefile: Likewise.
64138         * stdlib/Makefile: Likewise.
64139         * sysdeps/x86_64/Makefile: Likewise.
64141         * io/ftwtest-sh: Add copyright header.
64142         * posix/globtest.sh: Likewise.
64143         * posix/tst-getconf.sh: Likewise.
64144         * posix/wordexp-tst.sh: Likewise.
64145         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64147 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64149         [BZ #13679]
64150         * Makeconfig (+link): Defined as $(+link-static) if
64151         $(build-shared) isn't yes.
64152         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64153         isn't yes.
64154         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64156         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64158         [BZ #14562]
64159         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64160         new chunk size with MALLOC_ALIGN_MASK.
64162 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64164         [BZ #5044]
64165         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64166         <rounding-mode.h>.
64167         (__printf_fphex): Determine rounding using get_rounding_mode and
64168         round_away.
64169         * stdio-common/tst-printf-round.c (struct hex_test): New
64170         structure.
64171         (hex_tests): New variable.
64172         (test_hex_in_one_mode): New function.
64173         (do_test): Also run tests for hex float output.
64175 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64177         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64178         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64179         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64180         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64181         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64182         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64183         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64184         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64186 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64188         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64189         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64190         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64191         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64193 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64195         [BZ #14579]
64196         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64197         mode only.
64198         * elf/tst-rtld-load-self.sh: New test.
64199         * elf/Makefile: Run it.
64201 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64203         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64204         (tst-writev-ENV): Remove.
64205         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64207 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64209         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64211 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64213         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64214         unconditional.
64215         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64216         Likewise.
64217         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64218         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64219         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64220         Likewise.
64222 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64224         [BZ #14587]
64225         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64226         * config.make.in (have-cpp-asm-debuginfo): Removed.
64227         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64228         * configure: Regenerated.
64230 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64232         [BZ #5044]
64233         * stdio-common/printf_fp.c: Include <stdbool.h> and
64234         <rounding-mode.h>.
64235         (___printf_fp): Determine rounding using get_rounding_mode and
64236         round_away.
64237         * stdio-common/tst-printf-round.c: New file.
64238         * stdio-common/Makefile (tests): Add tst-printf-round.
64239         (link-libm): New variable.
64240         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64242 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64244         [BZ #14576]
64245         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64246         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64247         Likewise.
64248         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64249         Likewise.
64251 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64253         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64254         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64255         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64256         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64258 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64260         [BZ #14518]
64261         * include/rounding-mode.h: New file.
64262         * sysdeps/generic/get-rounding-mode.h: Likewise.
64263         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64264         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64265         (MAX_VALUE): New macro.
64266         (MIN_VALUE): Likewise.
64267         (overflow_value): New function.
64268         (underflow_value): Likewise.
64269         (round_and_return): Use overflow_value and underflow_value to
64270         determine return values in overflow and underflow cases.  Use
64271         round_away to determine rounding depending on rounding mode.
64272         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64273         determine return values in overflow and underflow cases.
64274         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64275         (struct test_results): New structure.
64276         (struct test): Use struct test_results to store expected results
64277         for all rounding modes.
64278         (TEST): Include expected results for all rounding modes.
64279         (test_in_one_mode): New function.
64280         (do_test): Use test_in_one_mode to compute and check results.
64281         Check results for all rounding modes.
64282         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64283         $(link-libm).
64285 2012-12-09  Allan McRae  <allan@archlinux.org>
64287         * sysdeps/i386/fpu/libm-test-ulps: Update
64289 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64291         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64292         (_G_int32_t): Likewise.
64293         (_G_uint16_t): Likewise.
64294         (_G_uint32_t): Likewise.
64295         (_G_HAVE_BOOL): Likewise.
64296         (_G_HAVE_ATEXIT): Likewise.
64297         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64298         (_G_HAVE_IO_FILE_OPEN): Likewise.
64299         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64300         (_G_int32_t): Likewise.
64301         (_G_uint16_t): Likewise.
64302         (_G_uint32_t): Likewise.
64303         (_G_HAVE_BOOL): Likewise.
64304         (_G_HAVE_ATEXIT): Likewise.
64305         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64306         (_G_HAVE_IO_FILE_OPEN): Likewise.
64307         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64308         (_G_int32_t): Likewise.
64309         (_G_uint16_t): Likewise.
64310         (_G_uint32_t): Likewise.
64311         (_G_HAVE_BOOL): Likewise.
64312         (_G_HAVE_ATEXIT): Likewise.
64313         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64314         (_G_HAVE_IO_FILE_OPEN): Likewise.
64316 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64318         * csu/libc-tls.c: Update copyright years.
64320 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64322         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64323         [!_G_USING_THUNKS]: Remove conditional code.
64324         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64325         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64327         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64328         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64329         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64330         (_G_VTABLE_LABEL_PREFIX): Likewise.
64331         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64332         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64333         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64334         (_G_VTABLE_LABEL_PREFIX): Likewise.
64335         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64336         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64337         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64338         (_G_VTABLE_LABEL_PREFIX): Likewise.
64339         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64341 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64343         * libio/Makefile: Include ../Makeconfig before tests.
64344         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64345         only if $(build-shared) is yes.
64347         * iconv/gconv_db.c: Update copyright years.
64349 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64351         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64352         unwind info if defined PIC. Fix special cases description.
64353         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64355         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64356         DP_HI_MASK entry.
64357         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64359 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64361         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64363         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64364         is NULL.
64366         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64367         (LDLIBS-tst-chk4): This.
64368         (LDFLAGS-tst-chk5): Renamed to ...
64369         (LDLIBS-tst-chk5): This.
64370         (LDFLAGS-tst-chk6): Renamed to ...
64371         (LDLIBS-tst-chk6): This.
64372         (LDFLAGS-tst-lfschk4): Renamed to ...
64373         (LDLIBS-tst-lfschk4): This.
64374         (LDFLAGS-tst-lfschk5): Renamed to ...
64375         (LDLIBS-tst-lfschk5): This.
64376         (LDFLAGS-tst-lfschk6): Renamed to ...
64377         (LDLIBS-tst-lfschk6): This.
64379         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64380         on $(common-objpfx)soversions.mk.
64382 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64384         [BZ #10014]
64385         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64386         example host name.
64388 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64390         * malloc/arena.c (arena_get_retry): New function that gets
64391         another arena for the caller to try its request on.
64392         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64393         current arena cannot fulfill the request.
64394         (__libc_memalign): Likewise.
64395         (__libc_memalign): Likewise.
64396         (__libc_pvalloc): Likewise.
64397         (__libc_calloc): Likewise.
64399 2012-09-05  John Tobey  <john.tobey@gmail.com>
64401         [BZ #13542]
64402         * manual/arith.texi (Operations on Complex): Fix description
64403         of carg branch cut.
64405 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64407         [BZ #10014]
64408         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64409         host name.
64411         [BZ #10038]
64412         * manual/memory.texi (Memory): Make order of menu items match
64413         order of sections.
64415 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64417         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64418         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64419         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64421 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64423         * csu/libc-tls.c (static_dtv): Renamed to ...
64424         (_dl_static_dtv): This.  Make it global.
64425         (_dl_initial_dtv): Removed.
64426         (__libc_setup_tls): Updated.
64427         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64428         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64429         DL_INITIAL_DTV.
64431 2012-09-06  Petr Machata  <pmachata@redhat.com>
64433         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64434         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64435         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64436         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64438 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64440         [BZ #14545]
64441         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64442         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64443         freeing dtv[-1].
64445 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64447         [BZ #14544]
64448         * Makeconfig (link-static-before-libc): Replace $(+prector)
64449         with $(+prectorT).
64450         (link-static-after-libc): Replace $(+postctor) with
64451         $(+postctorT).
64452         (link-bounded): Replace $(+prector)/$(+postctor) with
64453         $(+prectorT)/$(+postctorT).
64454         (+prectorT): New macro.
64455         (+postctorT): Likewise.
64457 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64459         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64460         (round_str): Handle values above the maximum for IBM long double
64461         as inexact.
64462         * stdlib/tst-strtod-round.c (tests): Regenerated.
64464 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64466         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64467         assembler flag.
64468         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64469         zarch_nohighgprs around the zarch optimized routines.
64470         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64471         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64472         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64473         for zarch.
64475 2012-09-05  David S. Miller  <davem@davemloft.net>
64477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64479         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64480         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64481         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64482         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64483         entries.
64485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64487         * malloc/arena.c: Fold copyright years.
64488         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64490 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64492         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64494 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64496         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64498 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64500         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64501         change internal state upon failure.
64503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64505         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64506         * malloc/memusage.c (mmap): Likewise.
64507         (mmap64, mremap): Likewise.  Adjust name in comment.
64509 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64511         * libio/fileops.c: Fix typos in comments.
64512         * libio/oldfileops.c: Likewise.
64513         * libio/wfileops.c: Likewise.
64515 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64517         [BZ #1349]
64518         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64519         (tst-malloc-usable-ENV): Set environment for test case.
64520         * malloc/hooks.c (malloc_check_get_size): New function to get
64521         requested size.
64522         * malloc/malloc.c (musable): Use malloc_check_get_size.
64523         * malloc/tst-malloc-usable.c: New test case.
64525 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64527         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64529 2012-09-05  Allan McRae  <allan@archlinux.org>
64531         [BZ #13966]
64532         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64533         determine header location.
64534         * configure: Regenerated.
64536 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64538         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64539         float format.
64540         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64541         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64542         format.
64543         (test): Regenerate.
64545 2012-09-04  David S. Miller  <davem@davemloft.net>
64547         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64548         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64549         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64551 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64553         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64554         failures.
64556         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64558 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64560         [BZ #9914]
64561         * libio/iogetdelim.c: Include <limits.h>.
64562         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64563         + len + 1 would overflow.
64565 2012-09-03  Andreas Jaeger  <aj@suse.de>
64567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64568         * sysdeps/i386/fpu/libm-test-ulps: Update.
64570 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64572         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64573         Add s_sinf-sse2, s_conf-sse2.
64575         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64576         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64577         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64578         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64580         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64581         for using routine as __sinf_ia32.
64582         Use macro for function declaration and weak_alias.
64583         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64584         for using routine as __cosf_ia32.
64585         Use macro for function declaration and weak_alias.
64587         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64588         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64590         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64591         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64594         * math/libm-test.inc (cos_test): Add more test cases.
64595         (sin_test): Likewise.
64596         (sincos_test): Likewise.
64598 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64600         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64601         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64602         hidden.
64603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64605 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64607         [BZ #14538]
64608         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64609         first element of the GOT.
64610         (elf_machine_load_address): Return the difference between
64611         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64613 2012-09-01  Allan McRae  <allan@archlinux.org>
64615         [BZ #13412]
64616         * configure.in (AWK): Require gawk version 3.0 or later.
64617         * configure: Regenerated.
64619 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64621         * sysdeps/unix/sysv/linux/kernel-features.h
64622         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64624         [__NR_clock_getres]: Make code unconditional.
64625         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64626         (clock_getcpuclockid): Remove code left unreachable by removal of
64627         conditionals.
64628         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64629         code unconditional.
64630         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64631         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64632         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64633         Make code unconditional.
64634         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64635         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64636         * sysdeps/unix/sysv/linux/clock_settime.c
64637         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64638         conditional code.
64639         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64640         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64642 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64644         [BZ #14476]
64645         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64646         scripts/test-installation.pl.
64648         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64649         and $ld_so_version if it is set.
64651 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64653         [BZ #14516]
64654         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64655         failure if reading from procfs failed.
64656         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64658 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64660         * sysdeps/unix/sysv/linux/kernel-features.h
64661         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64662         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64663         Remove conditional code.
64664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64665         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64666         Remove conditional code.
64667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64668         * sysdeps/unix/sysv/linux/i386/fxstat.c
64669         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64671         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64672         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64674         * sysdeps/unix/sysv/linux/i386/lxstat.c
64675         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64677         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64678         Remove conditional code.
64679         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64680         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64681         Remove conditional code.
64682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64683         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64684         <kernel-features.h>.
64685         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64686         Remove.
64687         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64688         Remove conditional code.
64689         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64690         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64691         Remove conditional.
64693 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64695         [BZ #5400]
64696         * NEWS: Add fixed bug number.
64698 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64700         [BZ #14519]
64701         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64702         underflowing exponent in case of negative sign.
64703         * stdlib/tst-strtod-round-data: Add more tests.
64704         * stdlib/tst-strtod-round.c (tests): Regenerated.
64706         [BZ #3479]
64707         * stdlib/strtod_l.c (NDIG): Remove.
64708         (HEXNDIG): Likewise.
64709         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64710         smallest representable value.
64711         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64712         lie within an exact representation of 1/2 ulp of the result.
64713         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64714         unconditionally.
64715         (TENS_P9_IDX): Define unconditionally.
64716         (TENS_P9_SIZE): Likewise.
64717         (TENS_P10_IDX): Likewise.
64718         (TENS_P10_SIZE): Likewise.
64719         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64720         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64721         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64722         entries for 10^2^13 and 10^2^14.
64723         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64724         (TENS_P13_IDX): Define.
64725         (TENS_P13_SIZE): Likewise.
64726         (TENS_P14_IDX): Likewise.
64727         (TENS_P14_SIZE): Likewise.
64728         (_fpioconst_pow10): Change array size to
64729         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64730         unconditional.
64731         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64732         1024]: Add entries for 10^2^13 and 10^2^14.
64733         [LAST_POW10 > _LAST_POW10]: Remove #error.
64734         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64735         (_fpioconst_pow10): Change array size to
64736         FPIOCONST_POW10_ARRAY_SIZE.
64737         * stdlib/gen-fpioconst.c: New file.
64738         * stdlib/gen-tst-strtod-round.c: Likewise.
64739         * stdlib/tst-strtod-round-data: Likewise.
64740         * stdlib/tst-strtod-round.c: Likewise.
64741         * stdlib/Makefile (tests): Add tst-strtod-round.
64743         [BZ #14459]
64744         * stdlib/strtod_l.c: Include <stdint.h>.
64745         (NDEBUG): Do not define.
64746         (round_and_return): Change EXPONENT parameter to type intmax_t.
64747         Rearrange calculations to avoid internal overflow possibilities.
64748         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64749         Rearrange calculations to avoid internal overflow possibilities.
64750         Assert that number fits inside MPNSIZE limbs.
64751         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64752         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64753         calculations and add assertions to avoid internal overflow
64754         possibilities.  Add casts to avoid signed/unsigned operations.
64755         * stdlib/tst-strtod-overflow.c: New file.
64756         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64758 2012-08-25  Marek Polacek  <polacek@redhat.com>
64760         * time/time.h: Fix some typos in comments.
64762 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64764         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64765         * posix/tst-rfc3484-2.c: Likewise.
64766         * posix/tst-rfc3484-3.c: Likewise.
64768 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64770         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64771         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64773 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64775         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64776         #include of fxstatat64.c.
64778 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64780         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64781         * shadow/getspent_r.c: Likewise.
64782         * shadow/getspnam.c: Likewise.
64783         * shadow/getspnam_r.c: Likewise.
64784         * gshadow/getsgent.c: Likewise.
64785         * gshadow/getsgent_r.c: Likewise.
64786         * gshadow/getsgnam.c: Likewise.
64787         * gshadow/getsgnam_r.c: Likewise.
64788         * inet/getnetbyad.c: Likewise.
64789         * inet/getnetbyad_r.c: Likewise.
64790         * inet/getnetbynm.c: Likewise.
64791         * inet/getnetbynm_r.c: Likewise.
64792         * inet/getnetent.c: Likewise.
64793         * inet/getnetent_r.c: Likewise.
64794         * inet/getproto.c: Likewise.
64795         * inet/getproto_r.c: Likewise.
64796         * inet/getprtent.c: Likewise.
64797         * inet/getprtent_r.c: Likewise.
64798         * inet/getprtname.c: Likewise.
64799         * inet/getprtname_r.c: Likewise.
64800         * inet/getrpcbyname.c: Likewise.
64801         * inet/getrpcbyname_r.c: Likewise.
64802         * inet/getrpcbynumber.c: Likewise.
64803         * inet/getrpcbynumber_r.c: Likewise.
64804         * inet/getrpcent.c: Likewise.
64805         * inet/getrpcent_r.c: Likewise.
64806         * inet/getaliasent.c: Likewise.
64807         * inet/getaliasent_r.c: Likewise.
64808         * inet/getaliasname.c: Likewise.
64809         * inet/getaliasname_r.c: Likewise.
64810         * nscd/getgrgid_r.c: Likewise.
64811         * nscd/getgrnam_r.c: Likewise.
64812         * nscd/gethstbyad_r.c: Likewise.
64813         * nscd/gethstbynm3_r.c: Likewise.
64814         * nscd/getpwnam_r.c: Likewise.
64815         * nscd/getpwuid_r.c: Likewise.
64816         * nscd/getsrvbynm_r.c: Likewise.
64817         * nscd/getsrvbypt_r.c: Likewise.
64818         * nscd/gai.c: Likewise.
64820         * configure.in (build_nscd): New substituted variable, set
64821         by --disable-build-nscd and defaults to $use_nscd.
64822         * configure: Regenerated.
64823         * config.make.in (build-nscd): New substituted variable.
64824         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64825         Change conditional to require [$(build-nscd) = yes] as well.
64826         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64828         [BZ# 13696]
64829         * configure.in (use_nscd): New substituted variable, set by
64830         --disable-nscd.  If enabled, define USE_NSCD.
64831         * configure: Regenerated.
64832         * config.h.in: Add USE_NSCD.
64833         * config.make.in (use-nscd): New substituted variable.
64834         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64835         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64836         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64837         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64838         (CFLAGS-getgrnam_r.c): Likewise.
64839         (CFLAGS-initgroups.c): Likewise.
64840         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64841         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64842         Variables removed.
64843         * inet/getnetgrent_r.c
64844         (nscd_setnetgrent): New function, broken out of ...
64845         (setnetgrent): ... here.  Call it.
64846         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64847         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64848         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64849         * nscd/Makefile (routines, aux): Move definitions after include of
64850         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64851         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64852         Conditionalize on [USE_NSCD].
64853         (is_nscd, nscd_init_cb): Likewise.
64854         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64855         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64856         * nss/nss_db/db-init.c: Likewise.
64857         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64858         [USE_NSCD].
64859         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64860         (make_request): Use it.
64861         (cache_valid_p): New function.
64862         (__check_pf): Use it.
64863         * NEWS: Add item for --disable-nscd.
64865 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64867         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64868         to support sed >= 4.2.1-20-ga9bf076.
64869         * configure: Regenerated.
64871 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64873         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64874         Conditionalize whole body on [IREL].
64876 2012-08-22  Jeff Law <law@redhat.com>
64878         [BZ #14505]
64879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64880         if the family is PF_UNSPEC.
64882 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64884         * Makerules (lib-version): Rename from V.
64885         (install-lib-nosubdir): Change V to lib-version.
64887 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64889         [BZ #14252]
64890         * powerpc32/power6/wcschr.c: New file.
64891         * powerpc32/power6/wcscpy.c: New file.
64892         * powerpc32/power6/wcsrchr.c: New file.
64893         * powerpc64/power6/wcschr.c: New file.
64894         * powerpc64/power6/wcscpy.c: New file.
64895         * powerpc64/power6/wcsrchr.c: New file.
64897 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64899         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64900         (two_way_short_needle): Use it.
64901         * string/strstr.c (AVAILABLE1_USES_J): Define.
64902         * string/strcasestr.c: Likewise.
64904         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64905         array references.
64906         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64908         [BZ #11607]
64909         * NEWS: Add an entry.
64910         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64911         define their defaults.
64912         (two_way_short_needle): Detect end-of-string on-the-fly.
64913         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64914         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64915         * string/bug-strcasestr1.c: New test.
64916         * string/Makefile: Run it.
64918 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64920         [BZ #11607]
64921         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64922         the first character.
64924 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64926         * csu/elf-init.c (__libc_csu_irel): Function removed.
64927         * csu/libc-start.c (apply_irel): New function.
64928         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64930 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64932         * sysdeps/unix/sysv/linux/kernel-features.h
64933         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64934         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64935         <kernel-features.h>.
64936         [__NR_fadvise64_64]: Make code unconditional.
64937         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64938         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64939         !__NR_fadvise64_64)]: Likewise.
64940         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64941         !__NR_fadvise64_64))]: Likewise.
64942         [__NR_fadvise64]: Make code unconditional.
64943         [!__NR_fadvise64]: Remove conditional code.
64944         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64945         <kernel-features.h>.
64946         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64947         unconditional.
64948         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64949         conditional code.
64950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64951         not include <kernel-features.h>.
64952         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64953         unconditional.
64954         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64955         conditional code.
64956         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64957         include <kernel-features.h>.
64958         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64959         unconditional.
64960         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64961         conditional code.
64963 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64965         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64966         slight instruction rearrangements per scrollpipe analysis.
64967         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64969 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64971         * manual/syslog.texi (syslog; vsyslog, closelog):
64972         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64973         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64975         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64976         DSOCAPS to match condition on defining it.
64978 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64980         * sysdeps/unix/sysv/linux/kernel-features.h
64981         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64983         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64984         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64986         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64987         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64989         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64990         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64992         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64993         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64995         * sysdeps/unix/sysv/linux/kernel-features.h
64996         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64997         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64998         unconditional.
64999         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65000         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65001         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65002         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65003         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65004         Make code unconditional.
65005         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65006         (__mmap64) [!__NR_mmap2]: Likewise.
65007         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65008         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65009         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65010         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65011         [__NR_mmap2]: Make code unconditional.
65012         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65013         (__mmap64) [!__NR_mmap2]: Likewise.
65015 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65017         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65019 2012-08-18  Andreas Jaeger  <aj@suse.de>
65021         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65023 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65025         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65026         * include/unistd.h (__have_sock_cloexec): Likewise.
65027         (__have_pipe2): Likewise.
65028         (__have_dup3): Likewise.
65030 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65032         [BZ #9685]
65033         * include/unistd.h (__have_pipe2): Change define into an extern int.
65034         (__have_dup3): Likewise.
65035         * socket/have_sock_cloexec.c: Include fcntl.h.
65036         (__have_pipe2): New variable.
65037         (__have_dup3): Likewise.
65039 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
65041         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65043 2012-08-17  Marek Polacek  <polacek@redhat.com>
65045         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65046         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65048 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65050         * configure.in: Add AC_SUBST for sysheaders.
65051         * configure: Regenerated.
65052         * config.make.in (sysheaders): New substituted variable.
65054         * sysdeps/unix/mkfifo.c: Moved ...
65055         * sysdeps/posix/mkfifo.c: ... here.
65056         * sysdeps/unix/mkfifoat.c: Moved ...
65057         * sysdeps/posix/mkfifoat.c: ... here.
65059         * sysdeps/unix/utime.c: Moved ...
65060         * sysdeps/posix/utime.c: ... here.
65062         * sysdeps/unix/time.c: Moved ...
65063         * sysdeps/posix/time.c: ... here.
65064         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65065         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65067         * sysdeps/unix/nice.c: Moved ...
65068         * sysdeps/posix/nice.c: ... here.
65070         * sysdeps/unix/alarm.c: Moved ...
65071         * sysdeps/posix/alarm.c: ... here.
65073         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65075 2012-08-17  Jeff Law <law@redhat.com>
65077         * intl/Makefile (codeset_mo): New variable.
65078         ($(codeset_mo)): New target.
65079         (tst-codeset.out): Depend on that.  Remove explicit rule.
65080         (tst-gettext3.out, tst-gettext5.out): Likewise.
65081         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65082         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65083         * intl/tst-codeset.sh: Remove.
65084         * intl/tst-gettext3.sh: Likewise.
65085         * intl/tst-gettext5.sh: Likewise.
65087 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65089         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65090         * sysdeps/unix/syscalls.list: ... here.
65092         * sysdeps/posix/getaddrinfo.c
65093         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65094         (gaiconf_init, gaiconf_reload): Use them.
65095         [!_STATBUF_ST_NSEC]
65096         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65097         Define using time_t rather than struct timespec.
65099         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65100         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65101         Macros removed.
65102         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65103         [!NO_THREADS].
65104         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65105         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65106         Likewise.
65108         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65109         __libc_cleanup_push argument.
65111         * bits/param.h: New file.
65112         * misc/sys/param.h: New file.
65113         * include/sys/param.h: New file.
65114         * misc/Makefile (headers): Add bits/param.h.
65115         * sysdeps/generic/sys/param.h: File removed.
65116         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65117         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65118         * sysdeps/mach/hurd/bits/param.h: New file.
65119         * sysdeps/mach/hurd/sys/param.h: File removed.
65121         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65122         last change.
65124         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65125         [_IO_MTSAFE_IO].
65126         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65127         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65128         New macros.
65130         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65131         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65132         rather than -D_IO_MTSAFE_IO conditionally.
65133         * stdio-common/Makefile (CPPFLAGS): Likewise.
65134         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65135         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65136         Use $(libio-mtsafe).
65137         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65138         of -D_IO_MTSAFE_IO.
65139         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65140         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65141         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65142         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65143         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65144         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65145         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65146         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65147         (CFLAGS-fread_u_chk.c): Likewise.
65148         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65149         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65150         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65151         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65152         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65153         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65154         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65155         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65156         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65158         * libio/Makefile: Test [$(libc-reentrant) = yes]
65159         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65161         * Makeconfig
65162         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65163         * sysdeps/pthread/configure: File removed.
65164         * sysdeps/pthread/Makeconfig: New file.
65165         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65166         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65168 2012-08-16  Gary Benson  <gbenson@redhat.com>
65170         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65171         unmapping the first object in a namespace.
65173 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65175         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65176         (__internal_setnetgrent): ... this.  Add internal_function to
65177         definition.  Add libc_hidden_def.
65178         (setnetgrent): Update caller.
65179         (internal_endnetgrent): Renamed to ...
65180         (__internal_endnetgrent): ... this.  Add internal_function to
65181         definition.  Add libc_hidden_def.
65182         (endnetgrent): Update caller.
65183         (internal_getnetgrent_r): Renamed to ...
65184         (__internal_getnetgrent_r): ... this.  Add internal_function to
65185         definition.  Add libc_hidden_def.
65186         (__getnetgrent_r): Update caller.
65187         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65189 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65191         * stdlib/longlong.h: Update from GCC.
65193 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65195         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65196         on _QL, which is set by umul_ppmm but never used.
65197         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65198         variables, which are set by GMP macros but never used.
65199         * stdio-common/_itowa.c (_itowa): Likewise.
65200         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65201         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65203 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65205         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65206         struct La_sh_regs is not constant.
65207         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65208         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65209         and struct La_sparc64_regs are not constant.
65211 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65213         * sysdeps/unix/sysv/linux/kernel-features.h
65214         (__ASSUME_POSIX_TIMERS): Remove.
65215         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65217         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65218         Make code unconditional.
65219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65220         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65221         Make code unconditional.
65222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65223         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65224         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65225         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65226         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65227         Make code unconditional.
65228         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65229         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65230         (__libc_missing_posix_timers): Remove.
65232 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65234         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65235         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65237         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65239         * elf/dl-sym.c: Include <stdlib.h>.
65241         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65242         constants, which avoids warnings in 32-bit builds.
65244         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65245         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65247         * misc/lseek.c: File moved to ...
65248         * io/lseek.c: ... here.
65250         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65252         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65253         shifting LEN more than 31 bits at once.
65255 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65257         [BZ #14195]
65258         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65259         segmentation fault for a case of two empty input strings.
65260         * string/test-strncasecmp.c (check1): Renamed to...
65261         (bz12205): ...this.
65262         (bz14195): Add new testcase for two empty input strings and N > 0.
65263         (test_main): Call new testcase, adapt for renamed function.
65265 2012-08-15  Andreas Jaeger  <aj@suse.de>
65267         [BZ #14090]
65268         * crypt/md5test2.c: New test, based on test supplied by Serge
65269         Belyshev <belyshev@depni.sinp.msu.ru>.
65270         * crypt/Makefile (xtests): Add md5test-giant..
65271         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65273 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65275         [BZ #14090]
65276         * crypt/md5.c (md5_process_block): Don't assume the buffer
65277         length is less than 2**32.
65278         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65279         length is less than 2**64.
65281 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65283         * string/str-two-way.h: Include <sys/param.h>.
65284         (MAX): Macro removed.
65286         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65287         Move #define and #undef of memmove to just before and after
65288         including <string.h>.
65290         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65291         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65292         and after including <string.h>.  Move declarations of
65293         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65294         to before #include "string/memmove.c".
65296         * include/dirent.h: Declare __getdirentries.
65298         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65299         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65301 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65303         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65304         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65305         * sysdeps/i386/configure: Regenerated.
65306         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65307         STABS_CURRENT_FILE, and STABS_FUN.
65308         (END): Remove call to STABS_FUN_END.
65309         (STABS_CURRENT_FILE1): Delete.
65310         (STABS_CURRENT_FILE): Likewise.
65311         (STABS_FUN): Likewise.
65312         (STABS_FUN_END): Likewise.
65313         (STABS_FUN2): Likewise.
65314         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65315         * sysdeps/x86_64/configure: Regenerated.
65317 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65319         * elf/dl-open.c: Include <atomic.h>.
65320         * elf/dl-lookup.c: Likewise.
65322 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65324         * sysdeps/unix/sysv/linux/kernel-features.h
65325         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65326         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65327         unconditionally.
65328         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65329         unconditionally.
65330         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65331         condition on __ASSUME_CLONE_THREAD_FLAGS.
65333 2012-08-14  Andreas Jaeger  <aj@suse.de>
65335         * sysdeps/i386/fpu/libm-test-ulps: Update.
65337 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65339         * include/atomic.h (atomic_exchange_and_add): Split into ...
65340         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65341         New atomic macros.
65343 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65347 2012-08-13  Jeff Law <law@redhat.com>
65349         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65350         null byte in the output string.
65352 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65354         * sysdeps/unix/sysv/linux/kernel-features.h
65355         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65356         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65357         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65358         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65359         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65360         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65361         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65363 2012-08-09  Jeff Law <law@redhat.com>
65365         [BZ #13939]
65366         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65367         When avoid_arena is set, don't retry in the that arena.  Pick the
65368         next one, whatever it might be.
65369         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65370         (arena_lock): Pass in new parameter to arena_get2.
65371         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65372         arena_get2.
65373         (__libc_malloc): Unify retrying after main arena failure with
65374         __libc_memalign version.
65375         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65377 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65379         [BZ #14166]
65380         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65381         to __redirect_strstr.
65382         (__strstr_sse42): Use typeof __redirect_strstr.
65383         (__strstr_ia32): Likewise.
65384         (__libc_strstr): New prototype.
65385         (strstr): Renamed to ...
65386         (__libc_strstr): This.
65387         (strstr): New strong alias of __libc_strstr.
65388         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65389         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65390         __redirect_time.
65391         Include <time.h>.
65392         (__libc_time): New prototype.
65393         (time_ifunc): Replace time with __libc_time.
65394         (time): New strong alias and hidden definition of __libc_time.
65395         (__GI_time): Remove strong alias.
65396         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65397         Include <stddef.h>.
65398         (memmove): Redefined to __redirect_memmove.
65399         (__memmove_sse2): Use typeof __redirect_memmove.
65400         (__memmove_ssse3): Likewise.
65401         (__memmove_ssse3_back): Likewise.
65402         (__libc_memmove): New prototype.
65403         (memmove): Renamed to ...
65404         (__libc_memmove): This.
65405         (memmove): New strong alias of __libc_memmove.
65407 2012-08-08  Mark Salter  <msalter@redhat.com>
65409         * elf/elf.h
65410         (R_MN10300_TLS_GD): Define.
65411         (R_MN10300_TLS_LD): Likewise.
65412         (R_MN10300_TLS_LDO): Likewise.
65413         (R_MN10300_TLS_GOTIE): Likewise.
65414         (R_MN10300_TLS_IE): Likewise.
65415         (R_MN10300_TLS_LE): Likewise.
65416         (R_MN10300_TLS_DTPMOD): Likewise.
65417         (R_MN10300_TLS_DTPOFF): Likewise.
65418         (R_MN10300_TLS_TPOFF): Likewise.
65419         (R_MN10300_SYM_DIFF): Likewise.
65420         (R_MN10300_ALIGN): Likewise.
65421         (R_MN10300_NUM): Update.
65423 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65425         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65426         Remove.
65428 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65430         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65432         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65433         sysdeps/unix -> sysdeps/posix move.
65434         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65436 2012-08-07      Allan McRae     <allan@archlinux.org>
65438         [BZ #14303]
65439         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65440         (SUNOS_CPP): Likewise.
65441         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65442         not found.
65443         (open_input): Call CPP using execvp.
65445 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65447         * sysdeps/unix/sysv/linux/kernel-features.h
65448         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65449         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65450         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65451         (__ASSUME_WAITID_SYSCALL): Likewise.
65452         * sysdeps/unix/sysv/linux/dl-execstack.c
65453         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65454         code unconditional.
65455         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65456         conditional code.
65457         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65458         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65459         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65460         code.
65461         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65462         unconditional.
65463         [__ASSUME_WAITID_SYSCALL]: Likewise.
65464         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65466 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65468         * sysdeps/unix/closedir.c: Renamed to ...
65469         * sysdeps/posix/closedir.c: ... here.
65470         * sysdeps/unix/dirfd.c: Renamed to ...
65471         * sysdeps/posix/dirfd.c: ... here.
65472         * sysdeps/unix/dirstream.h: Renamed to ...
65473         * sysdeps/posix/dirstream.h: ... here.
65474         * sysdeps/unix/fdopendir.c: Renamed to ...
65475         * sysdeps/posix/fdopendir.c: ... here.
65476         * sysdeps/unix/opendir.c: Renamed to ...
65477         * sysdeps/posix/opendir.c: ... here.
65478         * sysdeps/unix/readdir.c: Renamed to ...
65479         * sysdeps/posix/readdir.c: ... here.
65480         * sysdeps/unix/readdir_r.c: Renamed to ...
65481         * sysdeps/posix/readdir_r.c: ... here.
65482         * sysdeps/unix/rewinddir.c: Renamed to ...
65483         * sysdeps/posix/rewinddir.c: ... here.
65484         * sysdeps/unix/seekdir.c: Renamed to ...
65485         * sysdeps/posix/seekdir.c: ... here.
65486         * sysdeps/unix/telldir.c: Renamed to ...
65487         * sysdeps/posix/telldir.c: ... here.
65488         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65489         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65490         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65491         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65493         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65494         * bits/fcntl.h: ... here.
65496         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65497         not 0.
65498         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65499         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65500         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65501         (struct flock): Move l_start, l_len to the beginning.
65502         Use __pid_t for l_pid.
65503         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65504         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65505         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65506         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65507         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65508         [__USE_LARGEFILE64] (struct flock64): New type.
65509         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65511         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65512         * bits/dirent.h: ... here.
65514         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65515         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65517 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65519         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65520         Change from 2.6.0 to 2.6.16.
65521         * sysdeps/unix/sysv/linux/configure: Regenerated.
65522         * sysdeps/unix/sysv/linux/kernel-features.h
65523         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65524         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65525         version.
65526         (__ASSUME_UTIMES): Likewise.
65527         (__ASSUME_CLONE_STOPPED): Remove.
65528         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65529         architectures, not kernel version.
65530         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65531         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65532         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65533         (__ASSUME_WAITID_SYSCALL): Likewise.
65534         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65535         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65536         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65537         refer to older versions.
65539 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65541         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65542         Define alphasort64 as an alias.
65543         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65544         Define versionsort64 as an alias.
65545         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65546         Define scandir64 as an alias.
65547         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65548         Define scandirat64 as an alias.
65549         * dirent/alphasort64.c (alphasort64):
65550         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65551         * dirent/versionsort64.c: Likewise.
65552         * dirent/scandir64.c: Likewise.
65553         * dirent/scandirat64.c: Likewise.
65554         * sysdeps/wordsize-64/alphasort.c: File removed.
65555         * sysdeps/wordsize-64/alphasort64.c: File removed.
65556         * sysdeps/wordsize-64/scandir.c: File removed.
65557         * sysdeps/wordsize-64/scandir64.c: File removed.
65558         * sysdeps/wordsize-64/scandirat.c: File removed.
65559         * sysdeps/wordsize-64/scandirat64.c: File removed.
65560         * sysdeps/wordsize-64/versionsort.c: File removed.
65561         * sysdeps/wordsize-64/versionsort64.c: File removed.
65562         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65563         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65564         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65565         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65566         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65567         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65568         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65569         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65571         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65573         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65575         [defined __arch64__ || defined __sparcv9]
65576         (__INO_T_MATCHES_INO64_T): New macro.
65577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65578         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65579         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65580         * sysdeps/unix/sysv/linux/bits/dirent.h
65581         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65582         (_DIRENT_MATCHES_DIRENT64): New macro.
65584         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65585         Define lockf64 as an alias.
65586         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65587         Define fseeko64 as an alias.
65588         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65589         Define ftello64 as an alias.
65590         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65591         Define _IO_fgetpos64 and fgetpos64 as aliases.
65592         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65593         Define _IO_fsetpos64 and fsetpos64 as aliases.
65594         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65595         Conditionalize body on this.
65596         * libio/fseeko64.c: Likewise.
65597         * libio/ftello64.c: Likewise.
65598         * libio/iofgetpos64.c: Likewise.
65599         * libio/iofsetpos64.c: Likewise.
65600         * sysdeps/wordsize-64/lockf.c: File removed.
65601         * sysdeps/wordsize-64/lockf64.c: File removed.
65602         * sysdeps/wordsize-64/fseeko.c: File removed.
65603         * sysdeps/wordsize-64/fseeko64.c: File removed.
65604         * sysdeps/wordsize-64/ftello.c: File removed.
65605         * sysdeps/wordsize-64/ftello64.c: File removed.
65606         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65607         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65608         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65609         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65610         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65611         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65612         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65613         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65614         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65615         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65617         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65618         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65619         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65621         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65623         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65624         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65625         [defined __arch64__ || defined __sparcv9]
65626         (__OFF_T_MATCHES_OFF64_T): New macro.
65627         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65628         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65630         (__OFF_T_MATCHES_OFF64_T): New macro.
65632 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65634         * stdlib/secure-getenv.c (__secure_getenv): Replace
65635         GLIBC_2_16 with GLIBC_2_17.
65637 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65639         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65642 2012-08-03  David S. Miller  <davem@davemloft.net>
65644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65646 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65648         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65649         Remove.
65650         (__ASSUME_CORRECT_SI_PID): Likewise.
65651         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65652         (__ASSUME_TMPFS_NAME): Likewise.
65653         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65654         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65655         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65656         (HAVE_AUX_SECURE): Make definition unconditional.
65657         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65658         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65660 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65662         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65663         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65664         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65665         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65666         __eloop_threshold instead of SYMLOOP_MAX.
65668         * sysdeps/generic/eloop-threshold.h: New file.
65669         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65670         of MAXSYMLINKS.
65671         * elf/chroot_canon.c (chroot_canon): Likewise.
65673 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65675         [BZ #13717]
65676         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65677         Change to 2.6.0 everywhere.
65678         * sysdeps/unix/sysv/linux/configure: Regenerated.
65679         * sysdeps/unix/sysv/linux/kernel-features.h
65680         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65681         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65682         kernel versions.
65683         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65684         (__ASSUME_FUTEX_REQUEUE): Remove.
65685         (__ASSUME_STATFS64): Define unconditionally.
65686         (__ASSUME_AT_SECURE): Likewise.
65687         (__ASSUME_CORRECT_SI_PID): Likewise.
65688         (__ASSUME_TGKILL): Define without depending on kernel version for
65689         i386.
65690         (__ASSUME_UTIMES): Likewise.
65691         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65692         kernel version.
65693         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65694         (__ASSUME_TMPFS_NAME): Likewise.
65695         * README: Update reference to Linux kernel versions.
65697 2012-08-02  Marek Polacek  <polacek@redhat.com>
65699         [BZ# 14150]
65700         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65701         libc_cv_asm_type_prefix with %.
65702         * configure: Regenerated.
65703         * include/libc-symbols.h: Remove comment about
65704         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65705         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65706         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65707         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65708         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65709         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65710         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65711         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65712         * elf/tst-unique2mod1.c: Likewise.
65713         * elf/tst-unique1mod2.c: Likewise.
65714         * elf/tst-unique1mod1.c: Likewise.
65715         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65716         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65717         Replace ASM_TYPE_DIRECTIVE with .type.
65718         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65719         * sysdeps/i386/sysdep.h: Likewise.
65720         * sysdeps/x86_64/sysdep.h: Likewise.
65721         * sysdeps/sh/sysdep.h: Likewise.
65722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65723         Do not define ASM_TYPE_DIRECTIVE.
65724         * sysdeps/powerpc/sysdep.h: Likewise.
65725         * sysdeps/powerpc/powerpc32/sysdep.h:
65726         Replace ASM_TYPE_DIRECTIVE with .type.
65727         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65728         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65729         * sysdeps/i386/fpu/e_powf.S: Likewise.
65730         * sysdeps/i386/fpu/e_expl.S: Likewise.
65731         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65732         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65733         * sysdeps/i386/fpu/e_pow.S: Likewise.
65734         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65735         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65736         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65737         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65738         * sysdeps/i386/fpu/e_log2.S: Likewise.
65739         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65740         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65741         * sysdeps/i386/fpu/e_powl.S: Likewise.
65742         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65743         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65744         * sysdeps/i386/fpu/e_logl.S: Likewise.
65745         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65746         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65747         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65748         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65749         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65750         * sysdeps/i386/fpu/e_log.S: Likewise.
65751         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65752         * sysdeps/i386/fpu/e_logf.S: Likewise.
65753         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65754         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65755         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65756         * sysdeps/i386/fpu/e_log10.S: Likewise.
65757         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65758         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65759         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65760         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65761         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65762         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65763         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65764         * sysdeps/i386/i686/strtok.S: Likewise.
65765         * sysdeps/i386/i386-mcount.S: Likewise.
65766         * sysdeps/i386/strtok.S: Likewise.
65767         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65768         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65769         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65770         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65771         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65772         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65773         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65774         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65775         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65776         * sysdeps/x86_64/_mcount.S: Likewise.
65777         * sysdeps/x86_64/strtok.S: Likewise.
65778         * sysdeps/sh/_mcount.S: Likewise.
65780 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65782         * libio/iofopen.c: Include <fcntl.h>.
65783         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65784         (_IO_fopen64, fopen64): Define as aliases.
65785         * libio/iofopen64.c: Include <fcntl.h>.
65786         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65787         Conditionalize body on this.
65788         * sysdeps/wordsize-64/iofopen.c: File removed.
65789         * sysdeps/wordsize-64/iofopen64.c: File removed.
65791 2012-08-01  Marek Polacek  <polacek@redhat.com>
65793         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65794         Use dlfcn directly instead of a variable.
65795         (binfmt-subdir): Do not define.
65796         (dlfcn): Likewise.
65798 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65801         Remove all definitions.
65802         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65803         <kernel-features.h>.
65804         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65805         (miss_F_GETOWN_EX): Remove all definitions.
65806         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65807         macro definition.
65808         [!__ASSUME_FCNTL64]: Remove conditional code.
65809         [__ASSUME_FCNTL64]: Make code unconditional.
65810         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65811         <kernel-features.h>.
65812         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65813         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65814         (lockf64) [__NR_fcntl64]: Make code unconditional.
65815         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65817         * sysdeps/unix/sysv/linux/kernel-features.h
65818         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65819         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65820         Make code unconditional.
65821         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65822         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65824         [__NR_vfork]: Make code unconditional.
65825         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65826         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65828         [__NR_vfork]: Make code unconditional.
65829         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65830         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65832 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65834         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65835         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65837         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65838         Define mkstemp64 as an alias.
65839         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65840         Define mkstemps64 as an alias.
65841         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65842         Define mkostemp64 as an alias.
65843         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65844         Define mkostemps64 as an alias.
65845         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65846         Conditionalize body on this.
65847         * misc/mkostemp64.c: Likewise.
65848         * misc/mkostemps64.c: Likewise.
65849         * misc/mkstemps64.c: Likewise.
65850         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65851         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65852         * sysdeps/wordsize-64/mkostemp.c: File removed.
65853         * sysdeps/wordsize-64/mkstemp.c: File removed.
65854         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65855         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65856         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65857         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65859         [BZ #14138]
65860         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65861         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65862         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65863         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65865         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65866         compat_symbol macros from <shlib-compat.h> rather than the underlying
65867         default_symbol_version and symbol_version macros, so that DEFAULT
65868         lines in shlib-versions are respected.
65869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65871 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65873         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65874         Declare with warn_unused_result.
65875         (setgid, setregid, setegid, setresgid): Likewise.
65876         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65877         Likewise.
65878         * WUR-REPORT: Remove set*id functions.
65880 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65882         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65884 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65886         [BZ #10191]
65887         * include/sys/socket.h (__libc_accept, __libc_accept4):
65888         Add attribute_hidden.
65889         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65891         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65892         use of PTR_MANGLE.
65893         * inet/getnetgrent_r.c (setup): Likewise.
65895         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65897 2012-07-31  David S. Miller  <davem@davemloft.net>
65899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65901 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65903         [BZ #13629]
65904         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65905         value between 1.0 and 2.0 and smaller part has absolute value less
65906         than 1.0.
65907         * math/s_clog10.c (__clog10): Likewise.
65908         * math/s_clog10f.c (__clog10f): Likewise.
65909         * math/s_clog10l.c (__clog10l): Likewise.
65910         * math/s_clogf.c (__clogf): Likewise.
65911         * math/s_clogl.c (__clogl): Likewise.
65912         * math/libm-test.inc (clog_test): Add more tests.
65913         (clog10_test): Likewise.
65914         * sysdeps/i386/fpu/libm-test-ulps: Update.
65915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65917 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65919         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65920         Exit with zero in case no suitable GID is found, and write a
65921         message to standard error.
65923 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65925         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65926         rather than to 1.
65927         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65928         (MAXPATHLEN): Removed.
65929         (NOGROUP, NODEV): New macros.
65930         (setbit, clrbit, isset, isclr): New macros.
65931         (howmany, roundup, powerof2): New macros.
65932         (DEV_BSIZE): New macro.
65934         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65935         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65937         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65938         definition on [!__NO_LONG_DOUBLE_MATH].
65940         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65941         PTR_MANGLE and PTR_DEMANGLE.
65943         * socket/accept4.c (accept4): Rename to __libc_accept4.
65944         Define accept4 as a weak alias.
65946         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65947         on [_DIRENT_HAVE_D_TYPE].
65948         * io/ftw.c (ftw_dir): Likewise.
65950         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65952         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65954         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65955         Use the BSD numbers rather than the arbitrary ones we had.
65956         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65957         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65958         (SIGXCPU, SIGXFSZ): New macros.
65959         (_NSIG): Now 32.
65961         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65962         initializer on [_LIBC_REENTRANT].
65964         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65965         definitions inside [_POSIX_MAPPED_FILES].
65967         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65969         * dirent/opendir.c: Include <fcntl.h>.
65971         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65972         (__libc_getspecific): Likewise.
65973         (__libc_key_create): Likewise.
65975         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65976         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65977         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65978         (tmpfile64): Define as alias.
65979         * sysdeps/wordsize-64/tmpfile.c: File removed.
65980         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65981         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65984         * stdio-common/vfscanf.c: Include <stdbool.h>.
65985         * nss/makedb.c: Likewise.
65986         * stdio-common/_i18n_number.h: Likewise.
65987         * argp/argp-help.c: Likewise.
65988         * posix/wordexp.c: Likewise.
65989         * sysdeps/posix/spawni.c: Likewise.
65990         * nss/nss_files/files-initgroups.c: Likewise.
65991         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65992         * nss/nss_files/files-initgroups.c: Likewise.
65993         * nss/nss_db/db-netgrp.c: Likewise.
65994         * nss/nss_db/db-initgroups.c: Likewise.
65995         * io/fchmodat.c: Include <sys/stat.h>.
65997         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65998         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66000         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66001         [HAVE_MMAP].
66003         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66004         Add multiple inclusion protection.
66006 2012-07-27  David S. Miller  <davem@davemloft.net>
66008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66010 2012-07-27  Gary Benson  <gbenson@redhat.com>
66012         [BZ #14298]
66013         * elf/rtld.c: Include <stap-probe.h>.
66014         (dl_main): Added static probes "init_start" and "init_complete".
66015         * elf/dl-load.c: Include <stap-probe.h>.
66016         (lose): Take new parameter "nsid".
66017         Added static probe "map_failed".
66018         (_dl_map_object_from_fd): Pass namespace id to lose.
66019         Added static probe "map_start".
66020         (open_verify): Pass namespace id to lose.
66021         * elf/dl-open.c: Include <stap-probe.h>.
66022         (dl_open_worker) Added static probes "map_complete", "reloc_start"
66023         and "reloc_complete".
66024         * elf/dl-close.c: Include <stap-probe.h>.
66025         (_dl_close_worker): Added static probes "unmap_start" and
66026         "unmap_complete".
66027         * elf/rtld-debugger-interface.txt: New file documenting the above.
66029 2012-07-26  Roland McGrath  <roland@hack.frob.com>
66031         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66032         rather than a string variable.
66033         * sunrpc/rpc_main.c (h_output): Likewise.
66034         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66036 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
66038         * inet/check_native.c: New file.
66040 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66042         [BZ #13629]
66043         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66044         if larger part has absolute value 1.0.
66045         * math/s_clog10.c (__clog10): Likewise.
66046         * math/s_clog10f.c (__clog10f): Likewise.
66047         * math/s_clog10l.c (__clog10l): Likewise.
66048         * math/s_clogf.c (__clogf): Likewise.
66049         * math/s_clogl.c (__clogl): Likewise.
66050         * math/libm-test.inc (clog_test): Add more tests.
66051         (clog10_test): Likewise.
66052         * sysdeps/i386/fpu/libm-test-ulps: Update.
66053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66055         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66056         (pltexit): Likewise.
66057         (La_regs): Likewise.
66058         (La_retval): Likewise.
66059         (int_retval): Likewise.
66060         Update #error for removed macros to refer only to definitions in
66061         tst-audit.h.
66062         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66063         macro.
66064         (pltexit): Likewise.
66065         (La_regs): Likewise.
66066         (La_retval): Likewise.
66067         (int_retval): Likewise.
66068         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66069         macro.
66070         (pltexit): Likewise.
66071         (La_regs): Likewise.
66072         (La_retval): Likewise.
66073         (int_retval): Likewise.
66074         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66075         macro.
66076         (pltexit): Likewise.
66077         (La_regs): Likewise.
66078         (La_retval): Likewise.
66079         (int_retval): Likewise.
66080         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66081         macro.
66082         (pltexit): Likewise.
66083         (La_regs): Likewise.
66084         (La_retval): Likewise.
66085         (int_retval): Likewise.
66086         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66087         macro.
66088         (pltexit): Likewise.
66089         (La_regs): Likewise.
66090         (La_retval): Likewise.
66091         (int_retval): Likewise.
66092         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66093         macro.
66094         (pltexit): Likewise.
66095         (La_regs): Likewise.
66096         (La_retval): Likewise.
66097         (int_retval): Likewise.
66098         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66099         macro definitions in tst-audit.h.
66100         * sysdeps/i386/tst-audit.h: New file.
66101         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66102         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66103         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66104         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66105         * sysdeps/sh/tst-audit.h: Likewise.
66106         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66107         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66108         * sysdeps/x86_64/tst-audit.h: Likewise.
66110 2012-07-26  Andreas Jaeger  <aj@suse.de>
66112         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66113         ptrace.
66115         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66116         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66117         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66118         PTRACE_O_MASK.
66119         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66120         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66121         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66123         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66124         value.
66126         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66127         _sigsys.
66128         (si_call_addr, si_syscall, si_arch): Define new macro.
66129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66130         _sigsys.
66131         (si_call_addr, si_syscall, si_arch): Define new marcro.
66132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66133         _sigsys.
66134         (si_call_addr, si_syscall, si_arch): Define new macro.
66135         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66136         _sigsys.
66137         (si_call_addr, si_syscall, si_arch): Define new macro.
66139 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66141         [BZ #13717]
66142         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66143         Change to 2.4.21 where previously 2.4.1.
66144         * sysdeps/unix/sysv/linux/configure: Regenerated.
66145         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66146         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66147         Linux kernel version.
66148         (__ASSUME_STD_AUXV): Remove.
66149         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66150         kernel version.
66151         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66152         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66153         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66154         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66155         (__ASSUME_NETLINK_SUPPORT): Likewise.
66156         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66157         (__no_netlink_support): Remove conditional definition.
66158         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66159         Remove.
66160         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66161         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66162         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66163         (if_nameindex_ioctl): Remove.
66164         (if_nameindex_netlink): Do not handle __no_netlink_support.
66165         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66166         code.
66167         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66168         Remove conditional code.
66169         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66170         code.
66171         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66172         unconditional.
66173         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66174         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66175         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66176         Remove.
66177         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66178         [!__ASSUME_STD_AUXV]: Remove conditional code.
66179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66180         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66181         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66183         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66184         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66185         code.
66186         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66188         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66189         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66190         conditional code.
66191         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66193         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66194         code.
66195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66196         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66197         conditional code.
66198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66199         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66200         code unconditional.
66201         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66202         conditional code.
66203         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66204         unconditional.
66205         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66206         conditional code.
66207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66208         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66209         unconditional.
66210         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66211         conditional code.
66212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66213         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66214         code unconditional.
66215         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66216         conditional code.
66217         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66218         unconditional.
66219         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66220         conditional code.
66221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66222         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66223         code unconditional.
66224         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66225         conditional code.
66226         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66227         unconditional.
66228         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66229         conditional code.
66231 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66233         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66234         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66235         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66236         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66237         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66238         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66239         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66240         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66241         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66242         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66243         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66244         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66245         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66246         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66247         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66248         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66249         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66251         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66253         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66254         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66257 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66259         * Versions.def: Add GLIBC_2.17.
66260         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66261         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66262         Introduce __libc_secure_getenv.
66263         * stdlib/Versions (2.17): Add secure_getenv
66264         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66265         * stdlib/secure-getenv.c: Rename __secure_getenv to
66266         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66267         symbol __secure_getenv for GLIBC_2.0.
66268         * stdlib/tst-secure-getenv.c: New.
66269         * stdlib/Makefile (tests): Add testcase.
66270         * manual/startup.texi (Environment Access): Document
66271         secure_getenv.
66272         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66273         __libc_secure_getenv.
66274         * inet/ruserpass.c (ruserpass): Likewise.
66275         * malloc/mtrace.c (mtrace): Likewise.
66276         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66277         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66278         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66279         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66280         HAVE_SECURE_GETENV.
66281         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66282         __secure_getenv to __libc_secure_getenv.
66283         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66285         Likewise.
66286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66287         Likewise.
66288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66290         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66296 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66298         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66299         (struct La_i86_retval): Likewise.
66300         (struct La_x86_64_regs): Likewise.
66301         (struct La_x86_64_retval): Likewise.
66302         (struct La_x32_regs): Likewise.
66303         (struct La_x32_retval): Likewise.
66304         (struct La_ppc32_regs): Likewise.
66305         (struct La_ppc32_retval): Likewise.
66306         (struct La_ppc64_regs): Likewise.
66307         (struct La_ppc64_retval): Likewise.
66308         (struct La_sh_regs): Likewise.
66309         (struct La_sh_retval): Likewise.
66310         (struct La_s390_32_regs): Likewise.
66311         (struct La_s390_32_retval): Likewise.
66312         (struct La_s390_64_regs): Likewise.
66313         (struct La_s390_64_retval): Likewise.
66314         (struct La_sparc32_regs): Likewise.
66315         (struct La_sparc32_retval): Likewise.
66316         (struct La_sparc64_regs): Likewise.
66317         (struct La_sparc64_retval): Likewise.
66318         (struct audit_ifaces): Remove architecture-specific pltenter and
66319         pltexit members.
66320         * sysdeps/i386/ldsodefs.h: New file.
66321         * sysdeps/powerpc/ldsodefs.h: Likewise.
66322         * sysdeps/s390/ldsodefs.h: Likewise.
66323         * sysdeps/sh/ldsodefs.h: Likewise.
66324         * sysdeps/sparc/ldsodefs.h: Likewise.
66325         * sysdeps/x86_64/ldsodefs.h: Likewise.
66327 2012-07-25  Marek Polacek  <polacek@redhat.com>
66329         [BZ #6808]
66330         * math/libm-test.inc (yn_test): Add another test.
66331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66332         to ERANGE when the result is +-Inf.
66333         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66334         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66335         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66336         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66338 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66340         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66341         equal to 0.
66342         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66343         clock_t.
66344         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66346 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66348         * configure.in <sysdeps resolving>: Correct printing
66349         Implies_before.
66350         * configure: Regenerate.
66352 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66354         * math/w_ilogb.c: Include <limits.h>.
66355         * math/w_ilogbl.c: Likewise.
66357 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66359         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66360         va_copy.  Document allowing for unavailable va_copy only as
66361         pre-C99 compatibility.
66362         * manual/string.texi (Copying and Concatenation): Use va_copy
66363         instead of __va_copy in concat example.
66365 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66367         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66368         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66369         it if not null.
66371         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66372         with O_NOLINK passed to __file_name_lookup.
66374         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66375         with O_NOLINK passed to __file_name_lookup.
66377         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66378         negative N or less than NGIDS.
66380         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66381         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66382         enough.  Use memcpy instead of strncpy.
66384 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66386         * elf/Makefile (check-data): Remove.
66387         (localplt.data): New vpath directive.
66388         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66389         instead of $(check-data).
66390         * scripts/data/localplt-generic.data: Move to ...
66391         * sysdeps/generic/localplt.data: ... here.
66392         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66393         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66394         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66396         ... here.
66397         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66399         ... here.
66400         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66402         ... here.
66403         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66405         ... here.
66406         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66408         ... here.
66409         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66411         ... here.
66413 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66415         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66416         PPC32 and PPC64 files.
66417         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66418         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66420 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66422         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66423         __makecontext_ret to ...
66424         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66425         ... here and call exit if uc_link is NULL.  New file.
66426         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66427         __makecontext_ret.S.
66428         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66429         __makecontext_ret to ...
66430         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66431         ... here and call exit if uc_link is NULL.  New file.
66432         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66433         __makecontext_ret.S.
66435 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66437         * elf/elf.h (R_390_IRELATIVE): New definition.
66438         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66439         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66440         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66442         (elf_machine_lazy_rel): Likewise.
66443         * sysdeps/s390/dl-irel.h: New file.
66444         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66445         * sysdeps/s390/s390-64/memset.S: New asm code.
66446         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66447         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66448         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66449         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66450         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66451         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66452         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66453         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66454         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66455         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66456         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66457         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66458         * sysdeps/s390/s390-32/memset.S: New asm code.
66459         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66461 2012-07-17  Marek Polacek  <polacek@redhat.com>
66463         [BZ #14349]
66464         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66465         * sysdeps/s390/s390-64/configure.in: Likewise.
66466         * sysdeps/sparc/configure.in: Likewise.
66467         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66468         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66469         * sysdeps/i386/configure.in: Likewise.
66470         * sysdeps/x86_64/configure.in: Likewise.
66471         * sysdeps/sh/configure.in: Likewise.
66472         * sysdeps/s390/s390-32/configure: Regenerated.
66473         * sysdeps/s390/s390-64/configure: Likewise.
66474         * sysdeps/x86_64/configure: Likewise.
66475         * sysdeps/sh/configure: Likewise.
66476         * sysdeps/powerpc/powerpc64/configure: Likewise.
66477         * sysdeps/powerpc/powerpc32/configure: Likewise.
66478         * sysdeps/sparc/configure: Likwise.
66479         * sysdeps/i386/configure: Likewise.
66481         * elf/dl-open.c: Comment fixes.
66483 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66485         * Makefile [CXX] (check-data): Remove.
66486         [CXX] (c++-types.data): New vpath directive.
66487         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66488         vpath.  Do not allow for C++ type data being missing.
66489         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66490         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66491         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66492         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66493         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66494         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66495         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66497         ... here.
66498         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66500         ... here.
66501         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66503         ... here.
66504         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66506         ... here.
66507         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66509         ... here.
66510         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66512         ... here.
66513         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66515         ... here.
66516         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66519         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66520         definitions to architecture-specific files.
66521         (TLS_IE): Likewise.
66522         (TLS_LD): Likewise.
66523         (TLS_GD): Likewise.
66524         * sysdeps/i386/tls-macros.h: New file.
66525         * sysdeps/powerpc/tls-macros.h: Likewise.
66526         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66527         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66528         * sysdeps/sh/tls-macros.h: Likewise.
66529         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66530         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66531         * sysdeps/x86_64/tls-macros.h: Likewise.
66533 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66535         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66536         zero value for regular exit case.
66538         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66539         (__start_context): Preserve zero value for regular exit case.
66541 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66542             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66544         * manual/setjmp.texi (setcontext): Clarify normal process
66545         termination when uc_link is the null pointer.
66546         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66547         exit call.
66549 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66551         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66552         preprocessor.  Test for each exception mask separately.
66554 2012-07-16  Andreas Jaeger  <aj@suse.de>
66556         * po/ru.po: Update from translation team.
66558 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66560         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66561         equal to 0.
66562         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66563         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66564         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66565         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66568 2012-07-13  Andreas Jaeger  <aj@suse.de>
66570         * po/fr.po: Update from translation team.
66572 2012-07-12  Marek Polacek  <polacek@redhat.com>
66574         [BZ #14173]
66575         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66576         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66577         loop condition.
66579 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66581         [BZ #13717]
66582         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66583         Change to 2.4.1 where previously 2.4.0.
66584         * sysdeps/unix/sysv/linux/configure: Regenerated.
66585         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66586         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66587         version.
66588         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66589         (__ASSUME_AT_CLKTCK): Remove.
66590         (__ASSUME_AT_PAGESIZE): Likewise.
66591         (__ASSUME_AT_XID): Likewise.
66592         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66593         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66594         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66595         unconditionally.
66596         (HAVE_AUX_PAGESIZE): Likewise.
66597         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66598         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66599         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66601 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66603         [BZ #14307]
66604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66605         the temporary buffer used to invoke __gethostbyname2_r,
66606         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66607         host_data / struct gaih_addrtuple.
66608         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66609         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66610         header file nss/nsswitch.h.
66611         * nss/nsswitch.h (global scope): Add definition of implementation
66612         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66613         resolv/nss_dns/dns-host.c).
66615 2012-07-11  Andreas Jaeger  <aj@suse.de>
66617         * po/fr.po: Update from translation team.
66619         * po/sv.po: Update from translation team
66620         * po/fr.po: Another update from translation team.
66622 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66624         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66625         for subnormals or multiply small sinh result by itself.
66626         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66629 2012-07-11  David S. Miller  <davem@davemloft.net>
66631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66633 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66635         [BZ #14347]
66636         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66637         (INTERNAL_MARK): Shift it here.
66639 2012-07-10  Marek Polacek  <polacek@redhat.com>
66641         [BZ #14151]
66642         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66643         libc_cv_asm_global_directive with .globl.
66644         * configure: Regenerated.
66645         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66646         with .globl.
66647         * sysdeps/i386/configure: Regenerated.
66648         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66649         with .globl.
66650         * sysdeps/x86_64/configure: Regenerated.
66651         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66652         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66653         * elf/tst-unique2mod2.c: Likewise.
66654         * elf/tst-unique2mod1.c: Likewise.
66655         * elf/tst-unique1mod2.c: Likewise.
66656         * elf/tst-unique1mod1.c: Likewise.
66657         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66658         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66659         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66660         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66661         * sysdeps/mach/sysdep.h: Likewise.
66662         * sysdeps/i386/sysdep.h: Likewise.
66663         * sysdeps/i386/i386-mcount.S: Likewise.
66664         * sysdeps/x86_64/_mcount.S: Likewise.
66665         * sysdeps/x86_64/sysdep.h: Likewise.
66666         * sysdeps/sh/_mcount.S: Likewise.
66667         * sysdeps/sh/sysdep.h: Likewise.
66668         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66669         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66670         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66671         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66672         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66673         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66674         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66675         * locale/localeinfo.h: Likewise.
66676         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66677         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66679 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66681         [BZ #14336]
66682         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66683         system".
66684         * manual/message.texi (The Uniforum approach): Likewise.
66685         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66686         (glibc iconv Implementation): Likewise.
66688 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66690         [BZ #14337]
66691         * math/s_clog.c (__clog): Avoid scaling a value down where that
66692         could result in underflow.
66693         * math/s_clog10.c (__clog10): Likewise.
66694         * math/s_clog10f.c (__clog10f): Likewise.
66695         * math/s_clog10l.c (__clog10l): Likewise.
66696         * math/s_clogf.c (__clogf): Likewise.
66697         * math/s_clogl.c (__clogl): Likewise.
66698         * math/libm-test.inc (clog_test): Add more tests.
66699         (clog10_test): Likewise.
66700         * sysdeps/i386/fpu/libm-test-ulps: Update.
66701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66703 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66705         [BZ #14283]
66706         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66707         by 7 not 8 to examine high bit of fractional part.
66709         [BZ #14042]
66710         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66711         for call to __mcount_internal.
66712         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66713         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66714         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66716 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66718         [BZ #14154]
66719         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66720         approximation for values within 0x1p-13f of an odd multiple of
66721         pi/4.
66722         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66723         exception.  Add more tests.
66724         * sysdeps/i386/fpu/libm-test-ulps: Update.
66726         [BZ #6778]
66727         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66728         inputs and return -1 for them.  Do not check for +Inf in case not
66729         reachable for +Inf.
66730         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66731         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66732         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66733         and return -1 for them.  Do not check for +Inf in case not
66734         reachable for +Inf.
66735         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66736         define.
66737         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66738         and return -1 for them.  Do not check for +Inf in case not
66739         reachable for +Inf.
66740         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66741         spurious underflow.
66742         * sysdeps/i386/fpu/libm-test-ulps: Update.
66743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66745 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66747         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66749 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66751         [BZ #14157]
66752         [BZ #14331]
66753         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66754         could result in spurious underflow.  Scale down values above
66755         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66756         * math/s_csqrtf.c (__csqrtf): Likewise.
66757         * math/s_csqrtl.c (__csqrtl): Likewise.
66758         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66759         spurious underflow.
66760         * sysdeps/i386/fpu/libm-test-ulps: Update.
66761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66763 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66765         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66766         xopen-msg.sed.
66767         * catgets/xopen-msg.awk: New file.
66768         * catgets/xopen-msg.sed: Removed.
66770         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66771         po2text.sed.
66772         * intl/po2test.awk: New file.
66773         * intl/po2test.sed: Removed.
66775 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66777         [BZ #14328]
66778         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66779         or multiply small sinh result by itself.
66780         * math/s_ctanf.c (__ctanf): Likewise.
66781         * math/s_ctanh.c (__ctanh): Likewise.
66782         * math/s_ctanhf.c (__ctanhf): Likewise.
66783         * math/s_ctanhl.c (__ctanhl): Likewise.
66784         * math/s_ctanl.c (__ctanl): Likewise.
66785         * math/libm-test.inc (ctan_test_tonearest): New function.
66786         (ctan_test_towardzero): Likewise.
66787         (ctan_test_downward): Likewise.
66788         (ctan_test_upward): Likewise.
66789         (ctanh_test_tonearest): Likewise.
66790         (ctanh_test_towardzero): Likewise.
66791         (ctanh_test_downward): Likewise.
66792         (ctanh_test_upward): Likewise.
66793         (main): Call these new functions.
66794         * sysdeps/i386/fpu/libm-test-ulps: Update.
66795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66797 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66799         * .gitignore: Delete /ports entry.
66801 2012-07-03  Andreas Jaeger  <aj@suse.de>
66803         * po/bg.po: Update from translation team.
66804         * po/cs.po: Likewise.
66805         * po/de.po: Likewise.
66806         * po/hr.po: Likewise.
66807         * po/nl.pl: Likewise.
66808         * po/pl.po: Likewise.
66809         * po/vi.po: Likewise.
66811 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66813         * Makeconfig [!+link] (+link-before-libc): New variable.
66814         [!+link] (+link-after-libc): Likewise.
66815         [!+link] (+link-tests): Likewise.
66816         [!+link] (+link): Define in terms of $(+link-before-libc) and
66817         $(+link-after-libc).
66818         [!+link-static] (+link-static-before-libc): New variable.
66819         [!+link-static] (+link-static-after-libc): Likewise.
66820         [!+link-static] (+link-static-tests): Likewise.
66821         [!+link-static] (+link-static): Define in terms of
66822         $(+link-static-before-libc) and $(+link-static-after-libc).
66823         [build-shared] (link-libc-before-gnulib): New variable.
66824         [build-shared] (link-libc-tests): Likewise.
66825         [build-shared] (link-libc): Define in terms of
66826         $(link-libc-before-gnulib).
66827         [!build-shared] (link-libc-tests): New variable.
66828         (link-libc-static-tests): New variable.
66829         [!gnulib] (gnulib-arch): New variable.
66830         [!gnulib] (gnulib-tests): Likewise.
66831         [!gnulib] (static-gnulib-arch): Likewise.
66832         [!gnulib] (static-gnulib-tests): Likewise.
66833         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66834         Define with "=" instead of ":=".
66835         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66836         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66837         * Rules (binaries-all-notests): New variable.
66838         (binaries-all-tests): Likewise.
66839         (binaries-static-notests): Likewise.
66840         (binaries-static-tests): Likewise.
66841         (binaries-all): Define using $(binaries-all-notests) and
66842         $(binaries-all-tests).
66843         (binaries-static): Define using $(binaries-static-notests) and
66844         $(binaries-static-tests).
66845         (binaries-shared-tests): New variable.
66846         (binaries-shared-notests): Likewise.
66847         (binaries-shared): Remove variable.
66848         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66849         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66850         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66851         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66852         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66853         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66854         * elf/Makefile (sln-modules): New variable.
66855         (extra-objs): Add $(sln-modules:=.o).
66856         (ldconfig-modules): Add static-stubs.
66857         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66858         * elf/static-stubs.c: New file.
66860         [BZ #14283]
66861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66862         by 7 not 8 to examine high bit of fractional part.  Use volatile
66863         variables when splitting into final array of floats if
66864         __FLT_EVAL_METHOD__ != 0.
66865         * math/libm-test.inc (cos_test): Add another test.
66866         (sin_test): Likewise.
66867         * sysdeps/i386/fpu/libm-test-ulps: Update.
66869         [BZ #14273]
66870         * math/libm-test.inc (cosh_test): Add more tests.
66872         * version.h (RELEASE): Set to "development".
66873         (VERSION): Set to "2.16.90".
66875 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66877         * NEWS: Update copyright. Remove last-updated date.
66878         Mention math library bug fixes and timezone data changes.
66879         * README: Mention GNU/Hurd, x32, and HPPA support status.
66881 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66883         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66885 2012-06-27  Andreas Jaeger  <aj@suse.de>
66887         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66889 2012-06-25  Andreas Jaeger  <aj@suse.de>
66891         * sysdeps/s390/fpu/libm-test-ulps: Update.
66893 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66894             Thomas Schwinge  <thomas@codesourcery.com>
66896         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66897         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66898         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66899         fanotify_mark.
66901 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66903         * sysdeps/mach/start.c: Remove file.
66904         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66905         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66906         * sysdeps/sh/init-first.c: Likewise.
66908         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66909         registers for frame unwinding purposes, add CFI directives.
66910         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66911         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66912         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66913         Likewise.
66915         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66916         __fortify_fail returning.
66917         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66919         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66920         sysdeps/sh/____longjmp_chk.S.
66921         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66922         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66923         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66924         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66926         * sysdeps/sh/abort-instr.h: New file.
66927         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66928         process in case exit returns.
66930         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66931         initialize the GOT register before use.
66933         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66934         calculation of ARGC > 4.
66936         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66937         meaningful names to some local labels.
66939 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66940             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66942         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66943         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66944         (__arch_compare_and_exchange_val_16_acq): Likewise.
66945         (__arch_compare_and_exchange_val_32_acq): Likewise.
66946         (atomic_exchange_and_add): Fix gUSA sequence.
66947         (atomic_add): Likewise.
66948         (atomic_add_negative): Likewise.
66949         (atomic_add_zero): Likewise.
66950         (atomic_bit_test_set): Likewise.
66952 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66954         [BZ #13579]
66955         * include/link.h (struct link_map): Add l_free_initfini.
66956         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66957         l_initfini.
66958         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66959         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66960         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66961         set.
66963 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66965         * configure.in: Use AC_LANG_SOURCE.
66966         * configure: Regenerate.
66968 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66970         * configure.in (libc_cv_localstatedir): New substituted variable.
66971         * configure: Regenerated.
66972         * config.make.in (localstatedir): New variable, substituted from
66973         libc_cv_localstatedir.
66974         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66975         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66976         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66977         * sysdeps/gnu/configure: Regenerated.
66979 2012-06-21  Jeff Law  <law@redhat.com>
66981         [BZ #14277]
66982         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66983         free.  Simplify list management for _LIBC case.
66985 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66987         [BZ #14273]
66988         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66989         Clear sign bit of 64-bit integer value before comparing against
66990         overflow value.
66992         * sysdeps/mach/configure: Regenerated.
66994 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66996         [BZ #14278]
66997         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66999 2012-06-21  Jeff Law  <law@redhat.com>
67001         [BZ #13882]
67002         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
67003         uint16_t for elements in the "seen" array to avoid char overflows.
67004         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67005         * elf/dl-open.c (dl_open_worker): Likewise.
67007 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
67009         * scripts/list-sources.sh: Scan PORTS for translations.
67010         * po/libc.pot: Regenerated.
67012 2012-06-21  Andreas Jaeger  <aj@suse.de>
67014         [BZ #12194]
67015         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67016         warning.
67017         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67018         * bits/byteswap-16.h (__bswap_16): Likewise.
67019         * bits/byteswap.h (__bswap_constant_16): Likewise.
67021 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
67023         [BZ #14117]
67024         * sysdeps/i386/fpu_control.h: Removed.
67025         * sysdeps/x86_64/fpu_control.h: Moved to ...
67026         * sysdeps/x86/fpu_control.h: Here.
67028         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67029         (_FPU_SETCW): Likewise.
67031 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
67033         [BZ #14117]
67034         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67035         * sysdeps/x86/fpu/bits/mathinline.h: This.
67036         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67038         [BZ #14050]
67039         [BZ #14117]
67040         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67041         functions if __x86_64__ is defined.
67043 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67045         * string/endian.h: Add !__ASSEMBLER__ condition for including
67046         conversion interfaces.
67048 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67050         [BZ #14241]
67051         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67052         of ABS(x) in calculating zero to negative powers other than odd
67053         integers.
67054         * math/libm-test.inc (pow_test): Add more tests.
67056 2012-06-15  Andreas Jaeger  <aj@suse.de>
67058         * manual/contrib.texi (Contributors): Update entry of Liubov
67059         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67060         Machado Filho.
67062 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67064         * string/string.h: Add __wur to GNU version of strerror_r.
67066 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67068         [BZ #14229]
67069         * string/Makefile (tests): Add tst-strtok_r.
67070         * string/tst-strtok_r.c: New file.
67071         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67072         RAX_LP/RDX_LP on SAVE_PTR.
67074 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67076         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67078 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67080         * libm_test.inc (csqrt_test): Allow more spurious underflow
67081         exceptions.
67082         (j0_test): Likewise.
67083         (j1_test): Likewise.
67084         (y0_test): Likewise.
67085         (y1_test): Likewise.
67087 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67089         * po/Makefile (libc.pot): Use UTF-8 charset.
67091 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67093         [BZ #14210]
67094         Suppress sign-conversion warning from FD_SET.
67095         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67096         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67097         not unsigned long int.
67098         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67100 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67102         [BZ #14050]
67103         [BZ #14117]
67104         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67105         __extern_always_inline instead of __extern_inline.
67106         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67107         (__signbit): Likewise.
67108         (__signbitl): Support C++ namespace.
67109         (lrintf): New inline function.
67110         (lrint): Likewise.
67111         (llrintf): Likewise.
67112         (llrint): Likewise.
67113         (fmaxf): Likewise.
67114         (fmax): Likewise.
67115         (fminf): Likewise.
67116         (fmin): Likewise.
67117         (rint): Likewise.
67118         (rintf): Likewise.
67119         (ceil): Likewise.
67120         (ceilf): Likewise.
67121         (floor): Likewise.
67122         (floorf): Likewise.
67123         (nearbyint): Likewise.
67124         (nearbyintf): Likewise.
67126 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67128         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67129         non-default versions.
67131 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67133         [BZ #14218]
67134         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67136 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67138         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67139         (FE_UPWARD, FE_DOWNWARD): Don't define.
67140         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67141         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67143         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67144         reading it.
67145         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67146         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67148 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67150         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67152         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67153         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67155 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67157         [BZ #14117]
67158         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67159         * sysdeps/i386/fpu/Implies: New file.
67160         * sysdeps/x86_64/fpu/Implies: Likewise.
67161         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67162         * sysdeps/x86/fpu/bits/fenv.h: This.
67164         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67165         __SSE_MATH__.
67167 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67169         [BZ #14134]
67170         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67171         character 0xffff that matches the last element of the
67172         conversion table.
67174 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67176         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67177         fmodl commit.
67179 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67182         values higher than 25.6283.
67184 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67186         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67187         subnormal exponent extraction and add some __builtin_expect.
67188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67189         Fix for subnormal mantissa calculation.
67191 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67193         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67194         cpu2 is -1 and errno is not ENOSYS.
67196 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67198         [BZ #14117]
67199         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67200         * sysdeps/x86/bits/string.h: This.
67201         * sysdeps/x86_64/bits/string.h: Removed.
67203         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67204         if not compiling for x86-64, but compiling for >= i486.
67206         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67207         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67209         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67210         New macro from Linux kernel 3.4.0.
67211         (FP_XSTATE_MAGIC2): Likewise.
67212         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67213         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67214         (struct _fpx_sw_bytes): New struct.
67215         (struct _xsave_hdr): Likewise.
67216         (struct _ymmh_state): Likewise.
67217         (struct _xstate): Likewise.
67219         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67220         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67221         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67222         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67223         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67224         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67226         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67227         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67228         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67229         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67230         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67231         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67233 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67235         [BZ #13743]
67236         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67237         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67238         (sysdep_headers): Include sys/platform/ppc.h.
67239         * sysdeps/powerpc/test-gettimebase.c: Test for
67240         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67241         * manual/Makefile (appendices): Include platform.texi.
67242         * manual/contrib.texi (Contributors): Update @node pointers.
67243         * manual/maint.texi (Maintenance): Likewise.
67244         (Platform): New node.
67245         * manual/platform.texi: New file.  Document the new features.
67247 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67248             Jakub Jelinek  <jakub@redhat.com>
67250         [BZ #14188]
67251         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67252         where __builtin_expect is unavailable.
67254 2012-06-03  David S. Miller  <davem@davemloft.net>
67256         * stdlib/longlong.h: Updated from GCC.
67258 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67260         [BZ #14042]
67261         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67262         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67263         __mcount_internal.
67264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67265         (GLIBC_2.16): Likewise.
67267 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67269         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67271 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67274         (default-abi): New variable.
67275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67276         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67277         variable.
67278         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67279         Likewise.
67280         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67281         Likewise.
67282         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67283         Likewise.
67285         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67286         definition.  Document in comment.
67288 2012-06-01  David S. Miller  <davem@davemloft.net>
67290         * stdlib/longlong.h: Updated from GCC.
67292 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67294         [BZ #14117]
67295         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67296         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67297         sys/debugreg.h sys/io.h here.
67298         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67299         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67300         sys/io.h.
67301         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67302         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67303         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67304         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67305         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67306         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67308         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67309         Define only if __x86_64__ is defined.
67311 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67313         [BZ #14048]
67314         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67315         Use int64_t for variable i.
67316         * math/libm-test.inc (fmod_test): Add more tests.
67318         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67319         z computation is not scheduled after fetestexcept.
67320         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67321         Use math_force_eval instead of asm to ensure calculation scheduled
67322         before exception test.
67323         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67324         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67326 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67329         computation is not scheduled after fetestexcept.
67331 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67333         [BZ #14117]
67334         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67335         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67337 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67339         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67340         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67342 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67344         [BZ #14117]
67345         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67346         <bits/wordsize.h>.
67347         (__WCHAR_MIN): Support __WORDSIZE == 64.
67348         (__WCHAR_MAX): Likewise.
67350         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67351         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67353         [BZ #14183]
67354         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67355         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67357         [BZ #14117]
67358         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67359         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67361         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67362         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67364         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67365         Defined to 1 if __x86_64__ isn't defined.
67366         (_STAT_VER_LINUX_OLD): New.
67367         (st_atime): Remove duplicate.
67368         (st_mtime): Likewise.
67369         (st_ctime): Likewise.
67371 2012-05-31  David S. Miller  <davem@davemloft.net>
67373         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67374         entries.
67376 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67378         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67379         gen-libm-test.pl.
67381         [BZ #14132]
67382         * elf/dl-reloc.c: Include <_itoa.h>.
67383         (_dl_reloc_bad_type): Remove use of INTUSE.
67384         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67385         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67386         * stdio-common/psiginfo.c (psiginfo): Likewise.
67387         * stdio-common/psignal.c (psignal): Likewise.
67388         * string/strsignal.c (strsignal): Likewise.
67389         * include/signal.h (_sys_siglist): Declare hidden proto.
67390         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67391         INTVARDEF with libc_hidden_data_def.
67392         * stdio-common/itoa-udigits.c: Likewise.
67393         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67394         (_itoa_lower_digits_internal): Remove declaration.
67395         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67396         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67397         (_sys_sigabbrev_internal): Remove aliases.
67398         (_sys_siglist): Define hidden alias.
67400 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67403         bits/sysctl.h.
67405 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67407         [BZ #14117]
67408         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67409         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67411         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67412         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67413         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67414         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67415         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67416         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67418         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67419         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67420         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67422         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67423         with __addr.
67424         (insw): Likewise.
67425         (insl): Likewise.
67426         (outsb): Likewise.
67427         (outsw): Likewise.
67428         (outsl): Likewise.
67430         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67431         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67432         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67434         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67435         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67436         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67437         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67438         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67439         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67441         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67442         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67444         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67445         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67447         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67448         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67449         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67451         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67452         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67453         to ...
67454         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67456         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67457         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67458         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67460         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67461         for x86-64.
67462         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67464 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67466         * math/math.h (M_El): Use two more decimal places.
67467         (M_LOG2El): Likewise.
67468         (M_LOG10El): Likewise.
67469         (M_LN2l): Likewise.
67470         (M_LN10l): Likewise.
67471         (M_PIl): Likewise.
67472         (M_PI_2l): Likewise.
67473         (M_PI_4l): Likewise.
67474         (M_1_PIl): Likewise.
67475         (M_2_PIl): Likewise.
67476         (M_2_SQRTPIl): Likewise.
67477         (M_SQRT2l): Likewise.
67478         (M_SQRT1_2l): Likewise.
67480 2012-05-31  David S. Miller  <davem@davemloft.net>
67482         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67483         values between float registers.
67484         * sysdeps/sparc/sparc64/memset.S: Likewise.
67485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67487 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67489         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67490         -D_FORTIFY_SOURCE=1.
67491         (CPPFLAGS-tst-longjmp_chk.c): Define.
67492         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67493         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67494         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67495         CFLAGS-tst-wchar-h.c.
67497 2012-05-31  Marek Polacek  <polacek@redhat.com>
67499         [BZ #14132]
67500         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67501         __endmntent_internal): Remove declaration.
67502         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67503         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67504         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67506 2012-05-30  David S. Miller  <davem@davemloft.net>
67508         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67509         (___Q_simulate_exceptions): Use real FP ops rather than writing
67510         into the %fsr.
67511         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67512         Likewise.
67514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67516         [BZ #14117]
67517         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67518         * sysdeps/x86/bits/xtitypes.h: This.
67520         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67521         * sysdeps/x86/bits/wordsize.h: This.
67523         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67524         * sysdeps/x86/bits/huge_vall.h: This.
67526         * sysdeps/i386/bits/select.h: Removed.
67527         * sysdeps/x86_64/bits/select.h: Renamed to ...
67528         * sysdeps/x86/bits/select.h: This.
67530         * sysdeps/i386/bits/setjmp.h: Removed.
67531         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67532         * sysdeps/x86/bits/setjmp.h: This.
67534         * sysdeps/i386/bits/mathdef.h: Removed.
67535         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67536         * sysdeps/x86/bits/mathdef.h: This.
67538 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67540         [BZ #14132]
67541         * include/sys/socket.h (__connect_internal)
67542         (__libc_sa_len_internal): Remove declaration.
67543         (__connect, __libc_sa_len): Declare hidden_proto.
67544         (SA_LEN): Remove use of INTUSE.
67545         * socket/connect.c: Add libc_hidden_def.
67546         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67547         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67548         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67549         alias.
67550         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67551         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67552         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67553         of adding _internal alias.
67555 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67557         [BZ #14117]
67558         * sysdeps/i386/bits/link.h: Removed.
67559         * sysdeps/i386/bits/linkmap.h: Likewise.
67560         * sysdeps/x86_64/bits/link.h: Renamed to ...
67561         * sysdeps/x86/bits/link.h: This.
67562         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67563         * sysdeps/x86/bits/linkmap.h: This.
67565         * sysdeps/i386/bits/endian.h: Removed.
67566         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67567         * sysdeps/x86/bits/endian.h: This.
67569         * sysdeps/i386/bits/byteswap.h: Removed.
67570         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67571         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67572         * sysdeps/x86/bits/byteswap.h: This.
67573         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67574         * sysdeps/x86/bits/byteswap-16.h: This.
67575         * sysdeps/i386/Implies: Add x86.
67576         * sysdeps/x86_64/Implies: Likewise.
67578 2012-05-30  David S. Miller  <davem@davemloft.net>
67580         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67581         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67582         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67583         (FP_TRAPPING_EXCEPTIONS): Define.
67584         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67585         (FP_TRAPPING_EXCEPTIONS): Define.
67586         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67587         subnormals only when inexact has been signalled or underflow
67588         exceptions are enabled.
67589         (_FP_PACK_CANONICAL): Likewise.
67591 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67593         [BZ #14183]
67594         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67595         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67597 2012-05-30  Richard Henderson  <rth@twiddle.net>
67599         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67600         with #ifndef NOT_IN_libc.
67602         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67603         marked to avoid plt entry.
67605 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67607         [BZ #14112]
67608         * Makeconfig (default-abi): New macro.
67609         (abi-includes): Likewise.
67610         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67611         $(abi-$(default-abi)-lib-soname) for soname if defined.
67612         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67613         abi-variants.
67614         * Makefile (installed-stubs): Likewise.
67615         * include/stubs-biarch.h: Removed.
67616         * scripts/lib-names.awk: Only handle one library at a time.
67617         * scripts/soversions.awk: Remove WORDSIZE support.
67618         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67619         entries.
67620         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67621         Removed.
67622         (syscall-list-default-condition): Likewise.
67623         (syscall-list-default-condition): Likewise.
67624         (syscall-list-includes): Likewise.
67625         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67626         syscall-list-* with abi-*.  Handle undefined abi-variants.
67627         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67628         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67629         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67630         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67631         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67632         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67633         Removed.
67634         (syscall-list-32-options): Likewise.
67635         (syscall-list-32-condition): Likewise.
67636         (syscall-list-64-options): Likewise.
67637         (syscall-list-64-condition): Likewise.
67638         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67639         macro.
67640         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67641         Renamed to ...
67642         (abi-*): This.
67643         (abi-64-ld-soname): New macro.
67644         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67645         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67646         Renamed to ...
67647         (abi-*): This.
67648         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67649         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67651 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67653         * sysdeps/unix/sysv/linux/kernel-features.h
67654         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67655         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67656         include <kernel-features.h>.
67657         [!__NR_ftruncate64]: Remove conditional code.
67658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67659         [__NR_ftruncate64]: Make code unconditional.
67660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67661         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67662         include <kernel-features.h>.
67663         [!__NR_ftruncate64]: Remove conditional code.
67664         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67665         [__NR_ftruncate64]: Make code unconditional.
67666         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67668         include <kernel-features.h>.
67669         [!__NR_ftruncate64]: Remove conditional code.
67670         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67671         [__NR_ftruncate64]: Make code unconditional.
67672         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67674         include <kernel-features.h>.
67675         [!__NR_ftruncate64]: Remove conditional code.
67676         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67677         [__NR_ftruncate64]: Make code unconditional.
67678         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67680         * configure.in (libc_cv_fpie): Weaken to a compile test using
67681         LIBC_TRY_CC_OPTION.
67682         * configure: Regenerated.
67684 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67690         Refreshed.
67691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67697         Refreshed.
67699 2012-05-27  David S. Miller  <davem@davemloft.net>
67701         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67702         (___Q_zero): New.
67703         (__Q_simulate_exceptions): Return void.  Change to simulate
67704         exceptions by writing into the %fsr.
67705         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67706         (__Qp_handle_exceptions): Likewise.
67707         (numbers): Delete.
67708         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67709         __Qp_handle_exceptions.
67710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67711         __Qp_handle_exceptions.
67712         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67713         as unused and give dummy FP_RND_NEAREST initializer.
67714         (FP_INHIBIT_RESULTS): Define.
67715         (___Q_simulate_exceptions): Update declaration.
67716         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67717         formatting.
67718         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67719         as unused and give dummy FP_RND_NEAREST initializer.
67720         (__Qp_handle_exceptions): Update declaration.
67721         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67722         formatting.
67724 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67726         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67727         the temporary FPU control word.
67728         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67729         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67730         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67731         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67732         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67733         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67734         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67735         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67736         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67737         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67738         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67740 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67742         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67743         fields.
67745 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67747         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67748         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67749         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67750         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67751         Likewise.
67752         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67753         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67754         Likewise.
67756 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67758         * po/h.po: Update from translation team.
67760 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67762         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67764         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67765         handling of denormals.
67766         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67767         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67768         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67769         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67770         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67773         Likewise.
67775 2012-05-26  Marek Polacek  <polacek@redhat.com>
67777         [BZ #14152]
67778         * math/libm-test.inc (fma_test): Don't always expect underflow
67779         exception.
67781 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67783         [BZ #12416]
67784         * elf/tst-execstack.c: Include stackinfo.h.
67785         (do_test): Adjust test case to ensure that pthread_getattr_np
67786         behaviour remains the same after marking stack executable.
67788 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67790         * sysdeps/unix/sysv/linux/kernel-features.h
67791         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67792         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67793         kernel-features.h.
67794         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67795         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67796         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67797         kernel-features.h.
67798         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67799         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67801 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67803         * configure.in: Define the default includes to being none.
67804         * configure: Regenerated.
67806 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67808         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67809         * sysdeps/x86_64/setjmp.S: Likewise.
67810         * sysdeps/i386/bsd-setjmp.S: Likewise.
67811         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67812         * sysdeps/i386/setjmp.S: Likewise.
67813         * sysdeps/i386/__longjmp.S: Likewise.
67814         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67815         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67817         * include/stap-probe.h: New file.
67818         * configure.in: Handle --enable-systemtap.
67819         * configure: Regenerated.
67820         * config.h.in (USE_STAP_PROBE): New #undef.
67821         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67822         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67823         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67825 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67827         [BZ #13717]
67828         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67829         to 2.4.0 where earlier.
67830         * sysdeps/unix/sysv/linux/configure: Regenerated.
67831         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67832         <kernel-features.h>.
67833         [__ASSUME_32BITUIDS]: Make code unconditional.
67834         [!__ASSUME_32BITUIDS]: Remove conditional code.
67835         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67836         <kernel-features.h>.
67837         [__ASSUME_32BITUIDS]: Make code unconditional.
67838         [!__ASSUME_32BITUIDS]: Remove conditional code.
67839         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67840         [__ASSUME_32BITUIDS]: Make code unconditional.
67841         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67842         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67843         <kernel-features.h>.
67844         [__ASSUME_32BITUIDS]: Make code unconditional.
67845         [!__ASSUME_32BITUIDS]: Remove conditional code.
67846         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67847         <kernel-features.h>.
67848         [__ASSUME_32BITUIDS]: Make code unconditional.
67849         [!__ASSUME_32BITUIDS]: Remove conditional code.
67850         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
67883         <kernel-features.h>.
67884         [__NR_setresgid] (__setresgid): Do not declare.
67885         [__ASSUME_32BITUIDS]: Make code unconditional.
67886         [!__ASSUME_32BITUIDS]: Remove conditional code.
67887         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67888         <kernel-features.h>.
67889         [__NR_setresuid] (__setresuid): Do not declare.
67890         [__ASSUME_32BITUIDS]: Make code unconditional.
67891         [!__ASSUME_32BITUIDS]: Remove conditional code.
67892         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67893         <kernel-features.h>.
67894         [__ASSUME_32BITUIDS]: Make code unconditional.
67895         [!__ASSUME_32BITUIDS]: Remove conditional code.
67896         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67897         <kernel-features.h>.
67898         [__ASSUME_32BITUIDS]: Make code unconditional.
67899         [!__ASSUME_32BITUIDS]: Remove conditional code.
67900         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67901         <kernel-features.h>.
67902         [__ASSUME_32BITUIDS]: Make code unconditional.
67903         [!__ASSUME_32BITUIDS]: Remove conditional code.
67904         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67905         <kernel-features.h>.
67906         [__ASSUME_32BITUIDS]: Make code unconditional.
67907         [!__ASSUME_32BITUIDS]: Remove conditional code.
67908         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67909         <kernel-features.h>.
67910         [__ASSUME_32BITUIDS]: Make code unconditional.
67911         [!__ASSUME_32BITUIDS]: Remove conditional code.
67912         * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
67921         <kernel-features.h>.
67922         [__ASSUME_32BITUIDS]: Make code unconditional.
67923         [!__ASSUME_32BITUIDS]: Remove conditional code.
67924         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67925         <kernel-features.h>.
67926         [__ASSUME_32BITUIDS]: Make code unconditional.
67927         [!__ASSUME_32BITUIDS]: Remove conditional code.
67928         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67929         <kernel-features.h>.
67930         [__ASSUME_32BITUIDS]: Make code unconditional.
67931         [!__ASSUME_32BITUIDS]: Remove conditional code.
67932         * sysdeps/unix/sysv/linux/kernel-features.h
67933         (__ASSUME_SETRESUID_SYSCALL): Remove.
67934         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67935         (__ASSUME_32BITUIDS): Likewise.
67936         (__ASSUME_LDT_WORKS): Likewise.
67937         (__ASSUME_O_DIRECTORY): Likewise.
67938         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67939         architecture but not kernel version.
67940         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67941         (__ASSUME_MMAP2_SYSCALL): Likewise.
67942         (__ASSUME_STAT64_SYSCALL): Likewise.
67943         (__ASSUME_IPC64): Likewise.
67944         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67945         <kernel-features.h>.
67946         [__ASSUME_32BITUIDS]: Make code unconditional.
67947         [!__ASSUME_32BITUIDS]: Remove conditional code.
67948         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67949         <kernel-features.h>.
67950         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67951         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67952         132096]: Remove conditional code.
67953         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67954         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67955         <kernel-features.h>.
67956         [__ASSUME_32BITUIDS]: Make code unconditional.
67957         [!__ASSUME_32BITUIDS]: Remove conditional code.
67958         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67959         <kernel-features.h>.
67960         [__ASSUME_32BITUIDS]: Make code unconditional.
67961         [!__ASSUME_32BITUIDS]: Remove conditional code.
67962         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67963         <kernel-features.h>.
67964         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67965         unconditional.
67966         (__setresgid): Do not declare.
67967         [__ASSUME_32BITUIDS]: Make code unconditional.
67968         [!__ASSUME_32BITUIDS]: Remove conditional code.
67969         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67970         <kernel-features.h>.
67971         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67972         unconditional.
67973         (__setresuid): Do not declare.
67974         [__ASSUME_32BITUIDS]: Make code unconditional.
67975         [!__ASSUME_32BITUIDS]: Remove conditional code.
67976         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67977         <kernel-features.h>.
67978         [__ASSUME_32BITUIDS]: Make code unconditional.
67979         [!__ASSUME_32BITUIDS]: Remove conditional code.
67980         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67981         <kernel-features.h>.
67982         [__ASSUME_32BITUIDS]: Make code unconditional.
67983         [!__ASSUME_32BITUIDS]: Remove conditional code.
67985 2012-05-25  Richard Henderson  <rth@twiddle.net>
67987         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67988         dl_hwcap to ifunc resolver.
67989         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67990         elf_ifunc_invoke.
67991         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67992         dl_hwcap to ifunc resolver.
67993         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67995 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67997         [BZ #14153]
67998         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67999         for |x| <= 2**-26, not 2**-57.
68000         * math/libm-test.inc (acos_test): Do not allow spurious underflow
68001         exception.
68003 2012-05-24  Jeff Law  <law@redhat.com>
68005         * stdio-common/Makefile (tests): Add bug25.
68006         * stdio-common/bug25.c: New test.
68008 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68010         [BZ #13576]
68011         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68012         multiple of MALLOC_ALIGNMENT in size.
68013         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68015 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68017         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68018         Require >= 256.
68019         (FILENAME_MAX): Use macro-int-constant.
68020         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
68021         (_IOFBF): Use macro-int-constant.
68022         (_IOLBF): Likewise.
68023         (_IONBF): Likewise.
68024         (SEEK_CUR): Likewise.
68025         (SEEK_END): Likewise.
68026         (SEEK_SET): Likewise.
68027         (TMP_MAX): Likewise.
68028         (EOF): Use macro-int-constant.  Require < 0.
68029         (NULL): Use macro-constant.  Require == 0.
68030         (stdin): Require type to be FILE *.
68031         (stdout): Likewise.
68032         (stderr): Likewise.
68033         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68034         macro-int-constant.
68035         (EXIT_SUCCESS): Likewise.
68036         (NULL): Use macro-constant.  Require == 0.
68037         (RAND_MAX): Use macro-int-constant.
68038         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68039         [C99-based standards] (strtof): Require function.
68040         [C99-based standards] (strtold): Likewise.
68041         [C99-based standards] (strtoll): Likewise.
68042         [C99-based standards] (strtoull): Likewise.
68043         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68044         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68045         [ISO || ISO99 || ISO11] (math.h): Likewise.
68046         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68047         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68048         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68050 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68052         [BZ #14132]
68053         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68054         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68055         * intl/dgettext.c (DCGETTEXT): Likewise.
68056         * intl/gettext.c (DCGETTEXT): Likewise.
68057         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68058         * posix/regex_internal.h (gettext): Likewise.
68059         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68060         Remove declaration.
68061         * include/argz.h (__argz_count_internal)
68062         (__argz_stringify_internal): Remove declaration.
68063         (__argz_count, __argz_stringify): Declare hidden proto.
68064         * intl/dcgettext.c: Remove use of INTDEF.
68065         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68066         * string/argz-stringify.c: Likewise.
68067         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68068         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68069         Declare hidden proto.
68070         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68071         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68072         Declare hidden proto.
68073         * include/stdio.h (__asprintf_internal): Don't declare.
68074         (__asprintf): Don't define as macro.  Declare hidden proto.
68075         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68076         (__fsetlocking): Declare hidden proto.
68077         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68078         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68079         hidden proto.
68080         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68081         (_IO_setlinebuf): Remove use of INTUSE.
68082         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68083         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68084         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68085         Remove declaration.
68086         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68087         (_IO_do_flush): Remove use of INTUSE.
68088         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68089         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68090         (_IO_adjust_column, _IO_least_wmarker)
68091         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68092         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68093         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68094         (_IO_default_doallocate, _IO_wdefault_doallocate)
68095         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68096         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68097         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68098         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68099         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68100         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68101         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68102         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68103         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68104         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68105         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68106         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68107         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68108         proto.
68109         (_IO_flush_all_internal, _IO_adjust_column_internal)
68110         (_IO_default_uflow_internal, _IO_default_finish_internal)
68111         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68112         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68113         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68114         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68115         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68116         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68117         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68118         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68119         (_IO_file_close_internal, _IO_file_close_it_internal)
68120         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68121         (_IO_file_init_internal, _IO_file_attach_internal)
68122         (_IO_file_fopen_internal, _IO_file_read_internal)
68123         (_IO_file_sync_internal, _IO_file_seek_internal)
68124         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68125         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68126         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68127         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68128         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68129         (_IO_list_all_internal, _IO_link_in_internal)
68130         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68131         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68132         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68133         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68134         (_IO_do_write_internal, _IO_padn_internal)
68135         (_IO_getline_info_internal, _IO_getline_internal)
68136         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68137         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68138         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68139         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68140         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68141         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68142         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68143         with libc_hidden_ver, remove use of INTUSE.
68144         * libio/genops.c: Likewise.
68145         * libio/freopen.c: Likewise.
68146         * libio/freopen64.c: Likewise.
68147         * libio/iofclose.c: Likewise.
68148         * libio/iofdopen.c: Likewise.
68149         * libio/iofflush.c: Likewise.
68150         * libio/iofflush_u.c: Likewise.
68151         * libio/iofgets.c: Likewise.
68152         * libio/iofgets_u.c: Likewise.
68153         * libio/iofopen.c: Likewise.
68154         * libio/iofopncook.c: Likewise.
68155         * libio/iofread.c: Likewise.
68156         * libio/iofread_u.c: Likewise.
68157         * libio/ioftell.c: Likewise.
68158         * libio/iofwrite.c: Likewise.
68159         * libio/iogetline.c: Likewise.
68160         * libio/iogets.c: Likewise.
68161         * libio/iogetwline.c: Likewise.
68162         * libio/iopadn.c: Likewise.
68163         * libio/iopopen.c: Likewise.
68164         * libio/ioseekoff.c: Likewise.
68165         * libio/ioseekpos.c: Likewise.
68166         * libio/iosetbuffer.c: Likewise.
68167         * libio/iosetvbuf.c: Likewise.
68168         * libio/ioungetc.c: Likewise.
68169         * libio/ioungetwc.c: Likewise.
68170         * libio/iovdprintf.c: Likewise.
68171         * libio/iovsprintf.c: Likewise.
68172         * libio/iovsscanf.c: Likewise.
68173         * libio/memstream.c: Likewise.
68174         * libio/obprintf.c: Likewise.
68175         * libio/oldfileops.c: Likewise.
68176         * libio/oldiofclose.c: Likewise.
68177         * libio/oldiofdopen.c: Likewise.
68178         * libio/oldiofopen.c: Likewise.
68179         * libio/oldiopopen.c: Likewise.
68180         * libio/oldstdfiles.c: Likewise.
68181         * libio/putc.c: Likewise.
68182         * libio/setbuf.c: Likewise.
68183         * libio/setlinebuf.c: Likewise.
68184         * libio/stdfiles.c: Likewise.
68185         * libio/strops.c: Likewise.
68186         * libio/vasprintf.c: Likewise.
68187         * libio/vscanf.c: Likewise.
68188         * libio/vsnprintf.c: Likewise.
68189         * libio/vswprintf.c: Likewise.
68190         * libio/wfiledoalloc.c: Likewise.
68191         * libio/wfileops.c: Likewise.
68192         * libio/wgenops.c: Likewise.
68193         * libio/wmemstream.c: Likewise.
68194         * libio/wstrops.c: Likewise.
68195         * libio/__fpurge.c: Likewise.
68196         * libio/__fsetlocking.c: Likewise.
68197         * assert/assert.c: Likewise.
68198         * debug/fgets_chk.c: Likewise.
68199         * debug/fgets_u_chk.c: Likewise.
68200         * debug/fread_chk.c: Likewise.
68201         * debug/fread_u_chk.c: Likewise.
68202         * debug/gets_chk.c: Likewise.
68203         * debug/obprintf_chk.c: Likewise.
68204         * debug/vasprintf_chk.c: Likewise.
68205         * debug/vdprintf_chk.c: Likewise.
68206         * debug/vsnprintf_chk.c: Likewise.
68207         * debug/vsprintf_chk.c: Likewise.
68208         * malloc/mtrace.c: Likewise.
68209         * misc/error.c: Likewise.
68210         * misc/syslog.c: Likewise.
68211         * stdio-common/asprintf.c: Likewise.
68212         * stdio-common/fxprintf.c: Likewise.
68213         * stdio-common/getw.c: Likewise.
68214         * stdio-common/isoc99_fscanf.c: Likewise.
68215         * stdio-common/isoc99_scanf.c: Likewise.
68216         * stdio-common/isoc99_vfscanf.c: Likewise.
68217         * stdio-common/isoc99_vscanf.c: Likewise.
68218         * stdio-common/isoc99_vsscanf.c: Likewise.
68219         * stdio-common/printf-prs.c: Likewise.
68220         * stdio-common/printf_fp.c: Likewise.
68221         * stdio-common/printf_fphex.c: Likewise.
68222         * stdio-common/printf_size.c: Likewise.
68223         * stdio-common/putw.c: Likewise.
68224         * stdio-common/scanf.c: Likewise.
68225         * stdio-common/sprintf.c: Likewise.
68226         * stdio-common/tmpfile.c: Likewise.
68227         * stdio-common/vfprintf.c: Likewise.
68228         * stdio-common/vfscanf.c: Likewise.
68229         * stdlib/strfmon_l.c: Likewise.
68230         * sunrpc/openchild.c: Likewise.
68231         * sunrpc/xdr_stdio.c: Likewise.
68232         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68233         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68235 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68237         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68239         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68240         in the third column, to generate for the shared library an IFUNC
68241         that uses _dl_vdso_vsym.
68242         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68243         * Makeconfig (object-suffixes-noshared): New variable.
68245         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68246         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68247         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68248         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68250         [BZ #14132]
68251         * include/sys/time.h (__gettimeofday): Remove macro.
68252         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68253         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68254         Remove INTDEF.
68255         (__gettimeofday): Add libc_hidden_def.
68256         (gettimeofday): Add libc_hidden_weak.
68257         * sysdeps/mach/gettimeofday.c: Likewise.
68258         * sysdeps/posix/gettimeofday.c: Likewise.
68259         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68260         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68261         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68262         (__gettimeofday_internal): Remove strong_alias.
68263         (__gettimeofday): Add libc_hidden_def.
68264         (gettimeofday): Add libc_hidden_weak.
68265         * sysdeps/unix/syscalls.list (gettimeofday):
68266         Remove __gettimeofday_internal alias.
68268 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68269             H.J. Lu  <hongjiu.lu@intel.com>
68271         [BZ #12495]
68272         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68273         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68274         (largebin_index_32_big): New.
68275         (largebin_index): Use it for 16-byte alignment.
68276         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68277         correction with front_misalign.
68279 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68283         Likewise.
68284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68285         Likewise.
68286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68287         Likewise.
68288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68289         Likewise.
68290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68291         Likewise.
68292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68293         Likewise.
68294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68295         Likewise.
68296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68297         Likewise.
68298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68299         Likewise.
68300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68301         Likewise.
68302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68303         Likewise.
68304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68305         Likewise.
68307         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68308         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68310 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68312         [BZ #10846]
68313         [BZ #14036]
68314         * math/libm-test.inc (exp_test): Add test from bug 14036.
68315         (pow_test): Add test from bug 10846.
68317         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68318         and other flags.
68319         (special_function): Do not include flags in test name.
68320         (parse_args): Likewise.
68321         * sysdeps/i386/fpu/libm-test-ulps: Update.
68322         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68323         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68324         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68327         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68328         exceptions.
68329         * math/libm-test.inc ("Philosophy"): Update comment about
68330         exception testing.
68331         (UNDERFLOW_EXCEPTION): New macro.
68332         (UNDERFLOW_EXCEPTION_OK): Likewise.
68333         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68334         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68335         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68336         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68337         (INVALID_EXCEPTION_OK): Update value.
68338         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68339         (OVERFLOW_EXCEPTION_OK): Likewise.
68340         (IGNORE_ZERO_INF_SIGN): Likewise.
68341         (test_exceptions): Handle underflow exceptions.
68342         (acos_test): Update for underflow exception expectations.
68343         (cexp_test): Likewise.
68344         (clog_test): Likewise.
68345         (clog10_test): Likewise.
68346         (csqrt_test): Likewise.
68347         (ctan_test): Likewise.
68348         (ctanh_test): Likewise.
68349         (exp_test): Likewise.
68350         (exp10_test): Likewise.
68351         (exp2_test): Likewise.
68352         (expm1_test): Likewise.
68353         (fma_test): Likewise.
68354         (j0_test): Likewise.
68355         (jn_test): Likewise.
68356         (nexttoward_test): Likewise.
68357         (pow_test): Likewise.
68358         (scalbn_test): Likewise.
68359         (scalbln_test): Likewise.
68360         (tan_test): Likewise.
68361         (y1_test): Likewise.
68362         * sysdeps/i386/fpu/libm-test-ulps: Update.
68363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68365 2012-05-23  David S. Miller  <davem@davemloft.net>
68367         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68368         (__libc_sigaction): Remove unused local variables.
68370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68372         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68374 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68376         mktime: avoid signed integer overflow
68377         * time/mktime.c (__mktime_internal): Do not mishandle the case
68378         where diff == INT_MIN.
68380         mktime: simplify computation of average
68381         * time/mktime.c (ranged_convert): Use new time_t_avg function
68382         instead of rolling our own (probably-slower) code.
68384         mktime: do not assume signed right shift propagates sign bit
68385         * time/mktime.c (isdst_differ): New static function.
68386         (__mktime_internal): No need to normalize tm_isdst now.
68387         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68388         tm_isdst values.
68390         mktime: merge another wrapv change from gnulib
68391         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68392         from some compilers.
68394         mktime: remove incorrect attempt at unusual arithmetics
68395         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68396         The code didn't really work on such machines anyway.
68397         (TYPE_MINIMUM): Assume two's complement.
68398         (twos_complement_arithmetic): Verify that long_int and time_t
68399         are two's complement (or unsigned, in the latter case).
68401         mktime: check signed shifts on long_int and time_t, too
68402         * time/mktime.c (SHR): Check that shifts work as desired
68403         on the types long_int and time_t too, as SHR is used on
68404         such types.
68406         mktime: do not assume 'long' is wide enough
68407         * time/mktime.c (verify): Move decl up.
68408         (long_int): New type.
68409         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68410         to remove assumption in the code that 'long' is wide enough to
68411         store year values.  This assumption is not true on x32 and on
68412         some non-glibc platforms.
68414         mktime: merge wrapv change from gnulib
68415         * time/mktime.c (WRAPV): New macro.
68416         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68417         (guess_time_tm, __mktime_internal): Do not assume that signed
68418         integer overflow wraps around; modern compilers generate code
68419         where this assumption is no longer valid.
68421 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68423         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68424         Replace "jmp L(pseudo_end)" with "ret".
68425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68426         Likewise.
68428 2012-05-23  Andreas Jaeger  <aj@suse.de>
68430         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68431         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68433 2012-05-23  Andreas Jaeger  <aj@suse.de>
68434             Maximilian Attems  <max@stro.at>
68436         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68437         New macros.
68439 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68441         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68442         code so that pseudo_end is just ret and the stack pointer is
68443         correct also for static library in error case.
68445 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68447         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68448         move to syscalls.list.
68449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68454         * manual/install.texi (Running make install): Do not mention Linux
68455         kernel version for which pt_chown is not needed.
68456         (Linux): Do not mention problems with nscd with 2.0 kernels.
68457         * INSTALL: Regenerated.
68459 2012-05-23  Andreas Jaeger  <aj@suse.de>
68461         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68462         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68463         macro.
68464         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68465         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68466         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68467         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68468         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68469         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68471         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68472         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68473         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68474         * sysdeps/unix/sysv/linux/bits/in.h
68475         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68477 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68479         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68480         (PREPARE_VERSION): Just use assert instead, it will be elided
68481         under [NDEBUG] anyway.
68483 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68485         * sysdeps/unix/sysv/linux/Makefile: Include
68486         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68487         (sysdep_routines): Remove sysctl.
68488         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68489         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68490         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68491         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68492         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68494 2012-05-22  Andreas Jaeger  <aj@suse.de>
68496         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68497         that pseudo_end is just ret and the stack pointer is correct also
68498         for static library in error case.
68500 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68502         [BZ #14122]
68503         * nss/nsswitch.c (defconfig_entries): New variable.
68504         (__nss_database_lookup): Don't leak defconfig entries.
68505         (nss_parse_service_list): Don't leak on error paths.
68506         (free_database_entries): New function.
68507         (free_defconfig): New function.
68508         (free_mem): Move common code to free_database_entries.
68510 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68512         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68513         Add arch_prctl.
68514         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68516         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68517         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68519         New macro.
68520         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68521         (INTERNAL_SYSCALL_TYPES): Likewise.
68522         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68523         (LOAD_REGS_TYPES_[1-6]): Likewise.
68524         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68525         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68527 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68529         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68530         copysignl for GLIBC_2_0.
68531         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68532         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68534         logbl for GLIBC_2_0.
68535         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68536         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68538 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68543         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68544         Use "neg %eax".
68546         * time/mktime.c: Update copyright years.
68548 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68550         mktime: merge comment-quoting-style change from gnulib
68551         * time/mktime.c: Quote 'like this' in comments.
68552         The GNU coding standards suggest that we no longer quote `like this',
68553         as "`" and "'" are typically rendered asymmetrically nowadays.
68554         The typical gnulib style is to quote 'like this' when quoting
68555         code, and "like this" when quoting English.
68557         * time/mktime.c (compile-command): Add "-I.".
68559         mktime: merge mktime-internal.h change from gnulib
68560         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68562         mktime: merge time_r change from gnulib
68563         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68565         mktime: merge DEBUG change from gnulib
68566         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68567         case system <time.h> has a #define.
68569         mktime: merge <sys/types.h> change from gnulib
68570         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68571         since <time.t> is now guaranteed to define time_t.
68573         mktime: merge HAVE_CONFIG_H change from gnulib
68574         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68576 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68579         Use "neg %eax".
68581         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68582         __rlim_t cast.
68583         (struct rusage): Use anonymous union to pad each field to
68584         __syscall_slong_t.
68586 2012-05-21  David S. Miller  <davem@davemloft.net>
68588         * Makefules (o-iterator): Remove .s cases.
68589         (compile-command.s): Delete.
68590         (COMPILE.s): Delete.
68591         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68593 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68595         * configure.in (libc_cv_predef_stack_protector): Only consider
68596         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68597         * configure: Regenerated.
68599 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68602         New macro.  Use R*LP on int and pointer.
68603         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68604         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68605         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68606         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68608         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68609         [__WORDSIZE_TIME64_COMPAT32] instead of
68610         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68611         (struct utmp): Likewise.
68612         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68613         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68614         Renamed to ...
68615         (__WORDSIZE_TIME64_COMPAT32): This.
68616         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68617         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68618         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68619         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68620         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68621         (__WORDSIZE_TIME64_COMPAT32): New macro.
68623 2012-05-21  Andreas Jaeger  <aj@suse.de>
68625         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68626         only if [SHARED]. Add prototype for __wcschr_ia32.
68628 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68630         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68631         of %rbp unmolested in the jmp_buf while mangling the low bits.
68632         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68633         unmolested high bits of %rbp while demangling the low bits.
68634         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68636 2012-05-21  Andreas Jaeger  <aj@suse.de>
68638         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68639         * sunrpc/svc_simple.c: Use it for registerrpc.
68640         * sunrpc/xcrypt.c: Use it for passwd2des.
68642         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68644 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68646         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68647         Don't define if [__SYSCALL_WORDSIZE != 32].
68648         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68649         New macro.
68651 2012-05-21  Bruno Haible  <bruno@clisp.org>
68652             Andreas Jaeger  <aj@suse.de>
68654         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68655         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68656         inptr and inend for must_buffer_ch.
68657         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68658         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68659         * stdio-common/Makefile (tests): Remove bug15.
68660         (bug15-ENV): Remove macro.
68661         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68662         anymore.
68664 2012-05-19  Andreas Jaeger  <aj@suse.de>
68665             Roland McGrath  <roland@hack.frob.com>
68667         * manual/contrib.texi: Completely rewritten. It contains now an
68668         alphabetical list of contributors and their contributions.
68670 2012-05-21  Richard Henderson  <rth@twiddle.net>
68672         * misc/getauxval.c (__getauxval): Use unsigned long int.
68673         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68674         (getauxval): Use unsigned long int.
68676 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68678         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68680 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68682         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68683         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68684         __alignof__ (long double).
68686 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68690 2012-05-20  Richard Henderson  <rth@twiddle.net>
68692         * misc/getauxval.c: New file.
68693         * misc/sys/auxv.h: New file.
68694         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68695         (routines): Add getauxval.
68696         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68697         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68698         * elf/dl-sysdep.c (_dl_auxv): Remove.
68699         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68700         * elf/dl-support.c (_dl_auxv): New variable.
68701         (_dl_aux_init): Initialize it.
68702         * manual/startup.texi (Auxiliary Vector): New node.
68703         * sysdeps/generic/bits/hwcap.h: New file.
68704         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68705         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68706         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68707         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68708         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68709         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68711         Update.
68712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68715         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68721 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68725 2012-05-19  David S. Miller  <davem@davemloft.net>
68727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68729 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68731         [BZ #14123]
68732         * math/s_ccosh.c: Include <float.h>
68733         (__ccosh): Avoid internal overflow calculating sinh and cosh
68734         values before multiplying by sin and cos values.
68735         * math/s_ccoshf.c: Likewise.
68736         * math/s_ccoshl.c: Likewise.
68737         * math/s_csin.c: Likewise.
68738         * math/s_csinf.c: Likewise.
68739         * math/s_csinl.c: Likewise.
68740         * math/s_csinh.c: Likewise.
68741         * math/s_csinhf.c: Likewise.
68742         * math/s_csinhl.c: Likewise.
68743         * math/libm-test.inc (ccos_test): Add more tests.
68744         (ccosh_test): Likewise.
68745         (csin_test): Likewise.
68746         (csinh_test): Likewise.
68747         * sysdeps/i386/fpu/libm-test-ulps: Update.
68748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68750 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68752         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68753         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68755         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68757 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68759         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68760         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68761         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68762         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68763         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68764         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68765         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68766         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68767         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68768         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68769         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68770         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68771         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68772         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68773         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68774         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68775         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68776         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68777         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68778         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68779         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68780         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68781         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68782         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68783         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68784         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68785         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68786         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68787         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68788         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68789         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68791 2012-05-18  Andreas Jaeger  <aj@suse.de>
68793         * csu/.gitignore: Delete.
68795 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68797         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68798         (timex): Use __syscall_slong_t.
68800 2012-05-18  Andreas Jaeger  <aj@suse.de>
68801             Carlos O'Donell  <carlos_odonell@mentor.com>
68803         * manual/install.texi (Configuring and compiling): Update
68804         description about files modified in the source directory.
68805         * INSTALL: Regenerated.
68807 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68809         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68810         value.  Use "or" to set return value to -1.
68811         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68812         negate return value.
68814 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68816         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68817         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68818         failure if the compiler has Graphite support disabled.
68819         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68820         Likewise.
68821         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68822         (CFLAGS-memmove.c): Likewise.
68823         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68824         Likewise.
68826 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68828         * sysdeps/x86_64/x32/_itoa.h: New file.
68830         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68831         getdents system call only if kernel and user dirents have the
68832         same d_ino and d_off.
68834         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68835         LLONG_MAX != LONG_MAX.
68836         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68837         (_fitoa_word): Likewise.
68839         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68840         years.
68841         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68842         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68843         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68845         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68846         include <bits/wordsize.h>.  Check __x86_64__ instead of
68847         __WORDSIZE.
68848         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68849         if __x86_64__ is defined.  Use anonymous union on fpstate.
68851         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68852         anonymous union.
68854 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68856         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68857         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68859         Refer to _rtld_local_ro instead of _rtld_global_ro.
68860         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68861         Likewise.
68862         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68863         Likewise.
68864         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68865         Likewise.
68866         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68867         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68868         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68870         [BZ #10882]
68871         * sysdeps/powerpc/powerpc32/dl-machine.c
68872         (__elf_machine_runtime_setup) [PROF]: Don't reference
68873         _dl_prof_resolve.
68875 2012-05-18  Andreas Jaeger  <aj@suse.de>
68877         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68878         function only available for GCCs before 3.4 since GCC 3.4
68879         introduced a builtin.
68880         (lrint): Likewise.
68881         (llrintf): Likewise.
68882         (llrint): Likewise.
68883         (fmaxf): Likewise.
68884         (fmax): Likewise.
68885         (fminf): Likewise.
68886         (fmin): Likewise.
68887         (rint): Likewise.
68888         (rintf): Likewise.
68889         (nearbyint): Likewise.
68890         (nearbyintf): Likewise.
68891         (ceil): Likewise.
68892         (ceilf): Likewise.
68893         (floor): Likewise.
68894         (floorf): Likewise.
68896 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68898         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68899         on both fields and cast pointer to __syscall_ulong_t.
68901         * bits/types.h (__fsword_t): New type.
68902         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68903         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68905         (__FSWORD_T_TYPE): Likewise.
68906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68907         (__FSWORD_T_TYPE): Likewise.
68908         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68909         (__FSWORD_T_TYPE): Likewise.
68910         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68911         (__FSWORD_T_TYPE): Likewise.
68912         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68913         __SWORD_TYPE with __fsword_t.
68914         (statfs64): Likewise.
68916 2012-05-17  David S. Miller  <davem@davemloft.net>
68918         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68920 2012-05-17  Andreas Jaeger  <aj@suse.de>
68922         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68923         warning.
68925 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68927         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68929 2012-05-17  Andreas Jaeger  <aj@suse.de>
68931         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68932         when it is used.
68934 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68936         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68938 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68940         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68941         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68943 2012-05-17  Andreas Jaeger  <aj@suse.de>
68944             Carlos O'Donell  <carlos_odonell@mentor.com>
68946         [BZ #14059]
68947         * sysdeps/x86_64/multiarch/init-arch.h
68948         (bit_YMM_Usable): Rename to...
68949         (bit_AVX_Usable): ... this.
68950         (bit_FMA4_Usable): New macro.
68951         (bit_XMM_state): New macro.
68952         (bit_YMM_state): New macro.
68953         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68954         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68955         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68956         (CPUID_OSXSAVE): New macro.
68957         (CPUID_AVX): New macro.
68958         (CPUID_FMA4): New macro.
68959         (index_YMM_Usable): Rename to...
68960         (index_AVX_Usable): ... this.
68961         (HAS_AVX): Use HAS_ARCH_FEATURE.
68962         (HAS_FMA4): Likewise.
68963         (HAS_YMM_USABLE): Remove.
68964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68965         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68966         are present.
68967         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68968         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68969         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68970         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68971         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68973 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68975         * math/libm-test.c: Support platforms without multiple rounding modes.
68976         * math/bug-nextafter.c: Support platforms without FP exceptions.
68977         * math/bug-nexttoward.c: Likewise.
68978         * math/test-fenv.c: Likewise.
68979         * math/test-misc.c: Likewise.
68980         * stdlib/bug-getcontext.c: Likewise.
68982 2012-05-17  Andreas Jaeger  <aj@suse.de>
68984         * manual/examples/search.c (critter_cmp): Change signature to
68985         avoid warnings.
68986         * manual/string.texi (Collation Functions): Likewise.
68988 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68990         * bits/types.h: Fold copyright years.
68991         * bits/typesizes.h: Likewise.
68992         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68996         * time/time.h: Likewise.
68998 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
69000         [BZ #208]
69001         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69002         in instead of returning them.  Return void.
69003         (__libc_mallinfo): Accumulate over all arenas.
69004         (__malloc_stats): Adjust for change in int_mallinfo interface.
69006 2012-05-16  Roland McGrath  <roland@hack.frob.com>
69008         [BZ #10375]
69009         * configure.in (NM): Add AC_CHECK_TOOL for it.
69010         (libc_extra_cflags): New substituted variable.
69011         Check for -fstack-protector being used implicitly.
69012         * configure: Regenerated.
69013         * config.make.in (config-extra-cflags): New variable,
69014         gets @libc_extra_cflags@.
69015         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69017         [BZ #10375]
69018         * configure.in: Check for _FORTIFY_SOURCE being predefined.
69019         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69020         * configure: Regenerated.
69021         * config.make.in (CPPUNDEFS): New substituted variable.
69022         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69023         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69024         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69028         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69029         (mq_attr): Use __syscall_slong_t.
69031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69033         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69034         Check __x86_64__ instead of __WORDSIZE.
69035         (_STAT_VER_LINUX): Likewise.
69036         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
69037         __syscall_ulong_t and __syscall_slong_t.
69038         (stat64): Likewise.
69040 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69042         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69046         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69048 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69050         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69051         __syscall_ulong_t.
69053         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69054         include <bits/wordsize.h>.  Check __x86_64__ instead of
69055         __WORDSIZE.
69056         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69057         defined.
69058         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69060         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69061         include <bits/wordsize.h>.  Check __x86_64__ instead of
69062         __WORDSIZE.
69063         (user_regs_struct): Use "__extension__ unsigned long long"
69064         instead of "unsigned long" if __x86_64__ is defined.
69065         (user): Likewise.  Pad after pointer field if __ILP32__ is
69066         defined.
69068 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69070         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69071         versions 5 to 9.
69072         * configure: Regenerated.
69073         * manual/install.texi (texinfo): Increase version requirement to
69074         4.5 or later.
69075         * INSTALL: Regenerated.
69077         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69081         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69083         * sysdeps/x86_64/x32/ffs.c: New file.
69085         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69086         __syscall_ulong_t.
69087         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69088         defined.  Use __syscall_ulong_t.
69089         (shminfo): Use __syscall_ulong_t.
69090         (shm_info): Likewise.
69092         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69093         __syscall_ulong_t.
69095         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69096         <bits/wordsize.h>.
69097         (msgqnum_t): Use __syscall_ulong_t.
69098         (msglen_t): Likewise.
69099         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69100         __syscall_ulong_t.
69102         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69103         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69105         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69107         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69108         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69110         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69111         __syscall_slong_t.
69113         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69114         include <bits/wordsize.h>.  Check __x86_64__ instead of
69115         __WORDSIZE.
69117         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69118         "unsigned long long int" if __x86_64__ is defined.
69119         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69121         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69122         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69123         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69125         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69126         <stdint.h>.
69127         (GET_PC): Cast to uintptr_t first.
69128         (GET_FRAME): Likewise.
69129         (GET_STACK): Likewise.
69131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69132         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69133         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69135         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69137         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69138         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69139         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69140         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69141         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69142         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69143         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69144         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69145         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69146         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69147         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69148         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69149         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69150         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69152         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69153         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69154         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69155         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69156         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69157         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69158         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69159         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69161 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69163         * Makerules (+depfiles): Also collect depfiles from .oS in
69164         $(extra-objs).
69165         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69166         .oS, $(libnldbl-routines)).
69168         * Makerules (native-compile-mkdep-flags): Define.
69169         * sunrpc/Makefile (extra-objs): Add $(addprefix
69170         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69171         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69172         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69173         calling $(make-target-directory).
69175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69177         * bits/types.h (__snseconds_t): Removed.
69178         * time/time.h (struct timespec): Replace __snseconds_t with
69179         __syscall_slong_t.
69180         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69181         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69182         Likewise.
69183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69184         (__SNSECONDS_T_TYPE): Likewise.
69185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69186         (__SNSECONDS_T_TYPE): Likewise.
69187         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69188         (__SNSECONDS_T_TYPE): Likewise.
69190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69192         * sysdeps/mach/hurd/bits/typesizes.h
69193         (__SYSCALL_SLONG_TYPE): New macro.
69194         (__SYSCALL_ULONG_TYPE): Likewise.
69196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69198         * bits/types.h (__syscall_slong_t): New type.
69199         (__syscall_ulong_t): Likewise.
69201         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69202         (__SYSCALL_ULONG_TYPE): Likewise.
69203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69204         (__SYSCALL_SLONG_TYPE): Likewise.
69205         (__SYSCALL_ULONG_TYPE): Likewise.
69206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69207         (__SYSCALL_SLONG_TYPE): Likewise.
69208         (__SYSCALL_ULONG_TYPE): Likewise.
69209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69210         (__SYSCALL_SLONG_TYPE): Likewise.
69211         (__SYSCALL_ULONG_TYPE): Likewise.
69213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69215         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69216         Add sigaltstack-offsets.sym.
69217         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69218         <sigaltstack-offsets.h>.
69219         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69220         longjmp_msg pointer.
69221         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69222         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69223         signal stack.
69224         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69226 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69228         * elf/stackguard-macros.h: Remove file.
69229         * sysdeps/generic/stackguard-macros.h: New file.
69230         * sysdeps/i386/stackguard-macros.h: Likewise.
69231         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69232         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69233         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69234         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69235         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69236         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69237         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69238         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69239         <elf/stackguard-macros.h>.
69241         [BZ #14109]
69242         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69243         __aligned__ in attribute.
69244         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69245         (gregset_t): Likewise.
69247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69249         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69250         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69251         * sysdeps/x86_64/x32/Implies-after: New file.
69253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69255         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69256         and access return value for _dl_profile_fixup.  Use R10_LP to
69257         load frame size.
69259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69261         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69265         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69266         * sysdeps/x86_64/x32/sysdep.h: New file.
69268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69270         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69271         * sysdeps/x86_64/setjmp.S: Likewise.
69273 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69275         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69277         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69278         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69279         remove unused global constant.
69281 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69283         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69284         include of <not-cancel.h>.
69286 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69288         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69290 2012-05-15  Jeff Law  <law@redhat.com>
69291             Andreas Jaeger  <aj@suse.de>
69293         [BZ #13594]
69294         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69295         out from...
69296         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69297         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69298         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69299         code changing __hst_map_handle.map.
69301 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69303         * configure.in (sysnames): Look for Implies-before and Implies-after
69304         files.
69305         * configure: Regenerated.
69307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69309         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69310         8-byte data alignment with LP_SIZE alignment.
69312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69314         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69315         into R10_LP.
69317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69319         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69323         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69324         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69326         Likewise.
69327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69331         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69332         (stackinfo_sub_sp): Likewise.
69334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69336         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69337         RAX_LP.
69339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69342         into R*_LP.
69344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69347         sizes into R*_LP.
69349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69351         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69355         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69356         into R11_LP and load __x86_64_shared_cache_size_half into
69357         R8_LP.
69359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69361         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69362         R8_LP.
69364 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69366         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69367         logb for POWER7.
69368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69369         logbf for POWER7.
69370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69371         logbl for POWER7.
69372         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69373         powerpc32/power7/fpu/s_logb.c via #include.
69374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69375         powerpc32/power7/fpu/s_logbf.c via #include.
69376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69377         powerpc32/power7/fpu/s_logbl.c via #include.
69379 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69381         * README.libm: Remove file.
69383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69385         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69386         count for x32.  Use R*_LP and omit operand-size suffix.
69388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69390         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69391         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69392         * sysdeps/x86_64/x32/shlib-versions: New file.
69394 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69396         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69397         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69398         Use _dl_fatal_printf instead.
69400 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69402         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69403         set if not set by the user.  Do not allow for being unset.
69404         * sysdeps/unix/sysv/linux/configure: Regenerated.
69406 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69408         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69409         the `q' suffix from lea and replace .quad with ASM_ADDR.
69411 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69414         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69415         instead of $17.
69416         (PTR_DEMANGLE): Likewise.
69418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69420         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69421         (LP_OP): Likewise.
69422         (ASM_ADDR): Likewise.
69423         (RAX_LP): Likewise.
69424         (RBP_LP): Likewise.
69425         (RBX_LP): Likewise.
69426         (RCX_LP): Likewise.
69427         (RDI_LP): Likewise.
69428         (RSI_LP): Likewise.
69429         (RSP_LP): Likewise.
69430         (R8_LP): Likewise.
69431         (R9_LP): Likewise.
69432         (R10_LP): Likewise.
69433         (R10_LP): Likewise.
69434         (R11_LP): Likewise.
69435         (R12_LP): Likewise.
69436         (R13_LP): Likewise.
69437         (R14_LP): Likewise.
69438         (R15_LP): Likewise.
69440 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69442         * sysdeps/x86_64/x32/dl-machine.h: New file.
69444 2012-05-14  Andreas Jaeger  <aj@suse.de>
69446         * manual/Makefile (subdir): Remove export of subdir.
69447         (all): Remove target.
69448         (.PHONY): Remove all from list.
69449         (mkinstalldirs): Remove.
69450         (.PHONY): Remove installdirs from list.
69451         ($(inst_infodir)/libc.info): Use make-target-directory.
69452         (installdirs): Remove.
69453         (subdir_%): Remove.
69454         (glibc-targets): Remove.
69455         (lib): Remove.
69456         (stubs): Remove.
69457         ($(objpfx)stubs ../po/manual.pot): Remove.
69458         ($(objpfx)stamp%): Remove.
69459         (make-target-directory): Remove.
69460         (subdir_install): Remove.
69461         (routines): Remove.
69462         (aux): Remove.
69463         (sources): Remove.
69464         (objects): Remove.
69465         (headers): Remove.
69467         [BZ #13750]
69468         * manual/.gitignore: Remove, it's not needed anymore.
69469         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69470         all files in it.
69471         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69472         directory.
69473         (texis): Renamed to $(objpfx)texis.
69474         (texis-path): New, contains path to generated files.
69475         (chapters.%): Use texis-path for complete path, add extra argument
69476         libc-texinfo.sh.
69477         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69478         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69479         (summary,texi, stamp-summary): Use complete path of
69480         files. Generate files in build dir.
69481         (dir-add.texi): Build in build dir.
69482         (libm-err.texi,stamp-libm-err): Likewise.
69483         (version.texi, stamp-version): Likewise.
69484         (.%c.texi): Likewise.
69485         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69486         (mostlyclean): Remove target.
69487         (realclean): Remove target.
69488         (generated): Add new variable with contents from mostlyclean and
69489         realclean, remove entries duplicated in common-mostlyclean, add
69490         stamp-libm-err and stamp-version.
69491         (generated-dirs): Add libc directory.
69492         ($(inst_infodir)/libc.info): Install files from build dir.
69494         * manual/install.texi (Configuring and compiling): Adjust since
69495         the info files are not part of the tar ball anymore.
69497 2012-05-14  Andreas Jaeger  <aj@suse.de>
69499         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69500         variable.
69502 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69504         [BZ #13717]
69505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69506         to 2.2.0 where earlier.
69507         * sysdeps/unix/sysv/linux/configure: Regenerated.
69508         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69509         Remove conditional code.
69510         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69511         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69512         Remove conditional code.
69513         [!__NR_lchown]: Likewise.
69514         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69515         [__NR_lchown]: Likewise.
69516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69517         comment referencing __ASSUME_LCHOWN_SYSCALL.
69518         * sysdeps/unix/sysv/linux/i386/sigaction.c
69519         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69520         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69521         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69522         Remove conditional code.
69523         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69524         (__protocol_available): Remove #if 0 code.
69525         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69526         conditional code.
69527         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69528         * sysdeps/unix/sysv/linux/kernel-features.h
69529         (__ASSUME_GETCWD_SYSCALL): Don't define.
69530         (__ASSUME_REALTIME_SIGNALS): Likewise.
69531         (__ASSUME_PREAD_SYSCALL): Likewise.
69532         (__ASSUME_PWRITE_SYSCALL): Likewise.
69533         (__ASSUME_POLL_SYSCALL): Likewise.
69534         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69535         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69536         non-SPARC.
69537         (__ASSUME_SIOCGIFNAME): Don't define.
69538         (__ASSUME_MSG_NOSIGNAL): Likewise.
69539         (__ASSUME_SENDFILE): Define unconditionally.
69540         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69541         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69542         conditional code.
69543         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69544         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69545         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69546         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69547         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69548         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69549         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69551         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69552         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69554         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69557         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69558         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69560         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69563         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69564         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69566         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69567         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69569         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69572         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69574         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69575         Remove conditional code.
69576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69577         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69578         Remove conditional code.
69579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69580         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69581         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69582         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69583         Remove conditional code.
69584         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69585         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69586         Remove conditional code.
69587         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69588         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69589         Remove conditional code.
69590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69591         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69592         Remove conditional code.
69593         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69594         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69595         Remove conditional code.
69596         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69597         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69598         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69599         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69600         * sysdeps/unix/sysv/linux/sigaction.c
69601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69603         * sysdeps/unix/sysv/linux/sigpending.c
69604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69606         * sysdeps/unix/sysv/linux/sigprocmask.c
69607         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69608         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69609         * sysdeps/unix/sysv/linux/sigsuspend.c
69610         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69611         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69612         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69613         (__libc_missing_rt_sigs): Remove.
69614         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69615         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69616         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69617         Remove conditional code.
69618         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69619         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69620         return 1.
69621         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69622         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69623         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69624         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69626 2012-05-14  Andreas Jaeger  <aj@suse.de>
69628         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69629         it's not used in glibc.
69630         (__coshm1): Likewise.
69631         (__acosh1p): Likewise.
69632         (__sgn): Likewise.
69634         * manual/string.texi (Copying and Concatenation): Add missing
69635         variable in concat example.
69636         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69640         [BZ #14103]
69641         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69642         __builtin_clzl with __builtin_clzll.
69644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69646         [BZ #14104]
69647         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69648         libc_freeres_ptr.
69650 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69652         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69653         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69654         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69657 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69659         * NEWS: Update ia64 info.
69661 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69663         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69664         used as bcopy.
69666 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69668         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69669         * sysdeps/unix/syscalls.list (dup3): Likewise.
69670         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69671         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69673 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69675         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69676         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69678 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69680         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69681         thread pointer.
69682         (TLS_IE): Use mov/add instead of movq/addq to load thread
69683         pointer.
69684         (TLS_GD_PREFIX): New.
69685         (TLS_GD): Use it.
69687 2012-05-11  David S. Miller  <davem@davemloft.net>
69689         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69690         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69691         (_FPU_SETCW): Likewise.
69693 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69695         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69696         is 32-byte aligned.
69698 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69700         [BZ #11837]
69701         * iconvdata/gb18030.c: Update tables.
69702         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69703         characters specially.
69704         (BODY for TO_LOOP): Add encoding of missing ranges.
69706 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69708         [BZ #13673]
69709         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69710         * sysdeps/mach/hurd/dup3.c: Likewise.
69711         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69712         * sysdeps/powerpc/memmove.c:: Likewise.
69714 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69717         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69719 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69721         * elf/elf.h (R_X86_64_RELATIVE64): New.
69722         (R_X86_64_NUM): Updated.
69723         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69724         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69725         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69726         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69727         tst-quad1pie tst-quad2pie
69728         (modules-names): Add tst-quadmod1 tst-quadmod2.
69729         ($(objpfx)tst-quad1): New dependency.
69730         ($(objpfx)tst-quad2): Likewise.
69731         ($(objpfx)tst-quad1pie): Likewise.
69732         ($(objpfx)tst-quad2pie): Likewise.
69733         * sysdeps/x86_64/tst-quad1.c: New file.
69734         * sysdeps/x86_64/tst-quad1pie.c: New file.
69735         * sysdeps/x86_64/tst-quad2.c: Likewise.
69736         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69737         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69738         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69739         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69740         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69744         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69745         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69746         * streams/stropts.h (t_scalar_t): Define type.
69748         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69749         (_PATH_PRESERVE): Set to "/var/lib".
69750         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69752         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69753         instead of int.
69755         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69756         if __dir_mkfile succeeded.
69758         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69759         checking for _hurd_dtablesize.  Unlock it right after having
69760         finished _hurd_dtable allocation.
69762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69764         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69765         * sysdeps/mach/hurd/configure: Regenerated.
69766         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69767         special-casing to...
69768         * sysdeps/gnu/configure.in: ... this new file.
69769         * sysdeps/unix/sysv/linux/configure: Regenerated.
69770         * sysdeps/gnu/configure: New generated file.
69772         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69773         for Linux: use nsec instead of usec, as well as:
69774         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69775         members of type struct timespec.
69776         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69777         New macros.
69778         (struct stat64): Likewise.
69779         (_STATBUF_ST_NSEC): New macro.
69780         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69782         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69783         __strtoul_internal rather than strtoul.
69785 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69787         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69788         and reject them.
69790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69792         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69793         which preserves existing values.
69794         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69798         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69799         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69800         greater than FD_SETSIZE.
69802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69804         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69805         allocated, call __vm_protect to finish enabling the existing space, and
69806         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69807         allocate the remainder.
69809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69811         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69812         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69816         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69817         sysdeps/mach/hurd/readlink.c.
69819         * posix/tst-sysconf.c (posix_options): Only use
69820         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69821         _POSIX_SYNCHRONIZED_IO when they are defined
69822         * sysdeps/mach/hurd/bits/posix_opt.h:
69823         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69824         (_XOPEN_REALTIME): Undefine macro.
69825         (_XOPEN_REALTIME_THREADS): Undefine macro.
69826         (_XOPEN_SHM): Undefine macro.
69827         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69828         macro to -1.
69829         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69830         macro to -1.
69831         (_POSIX_ASYNC_IO): Undefine macro.
69832         (_POSIX_PRIORITIZED_IO): Undefine macro.
69833         (_POSIX_SPIN_LOCKS): Define macro to -1.
69835         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69836         SA_NODEFER, SA_RESETHAND.
69837         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69838         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69839         F_DUPFD_CLOEXEC.
69841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69843         * elf/Makefile (pldd-modules): Define unconditionally.
69845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69847         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69851         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69852         Return ENOENT when name is empty.
69853         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69855 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69857         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69859         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69863         Fix mlock in all cases except non-readable pages.
69864         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69865         instead of VM_PROT_ALL as parameter to __vm_wire function.
69867         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69868         (__mkdir): When path is `/', just fail with EEXIST.
69869         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69873         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69874         <sys/uio.h> (for writev).
69875         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69876         and <sys/param.h> (for MIN).
69878 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69880         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69881         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69882         if interrupted.
69884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69886         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69887         Depend on against $(link-rpcuserlibs).
69889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69891         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69892         (__libc_stack_end): Do not use attribute_relro.
69893         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69894         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69895         to libthread-provided value.
69896         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69897         attribute_relro.
69899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69901         [BZ #3748]
69902         * bits/libc-lock.h (__libc_once_get): New macro.
69903         * sysdeps/mach/bits/libc-lock.h: Likewise.
69904         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69906         instead of using implementation details.
69908         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69909         * libio/freopen.c: Likewise.
69910         * libio/freopen64.c: Likewise.
69911         * misc/syslog.c: Likewise.
69912         * nscd/connections.c: Likewise.
69913         * nscd/netgroupcache.c: Likewise.
69914         * sysdeps/posix/getcwd.c: Likewise.
69916 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69918         * math/w_ilogbf.c: Add #include <limits.h>.
69920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69922         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69923         path instead of returning without unlocking.
69925         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69926         immediate-write ioctls.
69927         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69931         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69932         __builtin_frame_address instead of making assumptions about the
69933         location of the return address relative to DATA.  Force early load of
69934         the return address.
69935         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69936         __builtin_frame_address.
69938         dup3 for GNU Hurd.
69939         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69940         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69941         implement dup3 and do some further code clean-ups.
69942         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69943         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69947         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69949         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69950         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69951         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69952         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69953         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69954         d->port.lock.
69956         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69957         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69958         when handler == SIG_ERR, not when handler != SIG_ERR.
69960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69962         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69963         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69964         definitions.
69966         accept4 for GNU Hurd.
69967         * include/sys/socket.h (__libc_accept4): New prototype.
69968         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69969         to implement __libc_accept4.
69970         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69971         __libc_accept4.
69972         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69974         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69975         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69976         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69977         signal-defines.sym.
69979 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69981         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69985         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69986         assertion on O_CLOEXEC flag.
69987         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69988         * hurd/intern-fd.c: Likewise.
69989         * hurd/port2fd.c: Likewise.
69991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69993         [BZ #3906]
69994         * bits/in.h (IPV6_PKTINFO): Define new macro.
69995         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69997 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69999         [BZ #13954]
70000         [BZ #13955]
70001         [BZ #13956]
70002         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70004         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70005         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70007         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70008         * math/libm-test.inc (logb_test) : Additional logb tests.
70010 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
70011             Andreas Jaeger  <aj@suse.de>
70013         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70014         * configure: Regenerated.
70015         * config.h.in (LINK_OBSOLETE_RPC): New macro.
70016         * config.make.in (link-obsolete-rpc): New substituted variable.
70017         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70018         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70019         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70020         (shared-only-routines): Don't set it under [link-obsolete-rpc],
70021         so that libc.a contains the symbols.
70022         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70023         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70024         * sunrpc/auth_none.c: Likewise.
70025         * sunrpc/auth_unix.c: Likewise.
70026         * sunrpc/authdes_prot.c: Likewise.
70027         * sunrpc/authuxprot.c: Likewise.
70028         * sunrpc/clnt_gen.c: Likewise.
70029         * sunrpc/clnt_perr.c: Likewise.
70030         * sunrpc/clnt_raw.c: Likewise.
70031         * sunrpc/clnt_simp.c: Likewise.
70032         * sunrpc/clnt_tcp.c: Likewise.
70033         * sunrpc/clnt_udp.c: Likewise.
70034         * sunrpc/clnt_unix.c: Likewise.
70035         * sunrpc/des_crypt.c: Likewise.
70036         * sunrpc/des_soft.c: Likewise.
70037         * sunrpc/get_myaddr.c: Likewise.
70038         * sunrpc/key_call.c: Likewise.
70039         * sunrpc/key_prot.c: Likewise.
70040         * sunrpc/netname.c: Likewise.
70041         * sunrpc/pm_getmaps.c: Likewise.
70042         * sunrpc/pm_getport.c: Likewise.
70043         * sunrpc/pmap_clnt.c: Likewise.
70044         * sunrpc/pmap_prot.c: Likewise.
70045         * sunrpc/pmap_prot2.c: Likewise.
70046         * sunrpc/pmap_rmt.c: Likewise.
70047         * sunrpc/publickey.c: Likewise.
70048         * sunrpc/rpc_cmsg.c: Likewise.
70049         * sunrpc/rpc_common.c: Likewise.
70050         * sunrpc/rpc_dtable.c: Likewise.
70051         * sunrpc/rpc_prot.c: Likewise.
70052         * sunrpc/rpc_thread.c: Likewise.
70053         * sunrpc/rtime.c: Likewise.
70054         * sunrpc/svc.c: Likewise.
70055         * sunrpc/svc_auth.c: Likewise.
70056         * sunrpc/svc_raw.c: Likewise.
70057         * sunrpc/svc_run.c: Likewise.
70058         * sunrpc/svc_tcp.c: Likewise.
70059         * sunrpc/svc_udp.c: Likewise.
70060         * sunrpc/svc_unix.c: Likewise.
70061         * sunrpc/svcauth_des.c: Likewise.
70062         * sunrpc/xcrypt.c: Likewise.
70063         * sunrpc/xdr.c: Likewise.
70064         * sunrpc/xdr_array.c: Likewise.
70065         * sunrpc/xdr_float.c: Likewise.
70066         * sunrpc/xdr_intXX_t.c: Likewise.
70067         * sunrpc/xdr_mem.c: Likewise.
70068         * sunrpc/xdr_rec.c: Likewise.
70069         * sunrpc/xdr_ref.c: Likewise.
70070         * sunrpc/xdr_sizeof.c: Likewise.
70071         * sunrpc/xdr_stdio.c: Likewise.
70073 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70075         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70076         change.  Update copyright years.
70078 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70080         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70082 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70083             Joseph Myers  <joseph@codesourcery.com>
70084             Paul Pluzhnikov  <ppluzhnikov@google.com>
70086         [BZ #14012]
70087         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70088         requiring rpcgen.
70089         [cross-compiling] (extra-libs): Likewise.
70090         [cross-compiling] (extra-libs-others): Likewise.
70091         [cross-compiling] (librpcsvc-routines): Likewise.
70092         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70093         [cross-compiling] (omit-deps): Likewise.
70094         (sunrpc-CPPFLAGS): New variable.
70095         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70096         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70097         (cross-rpcgen-objs): New variable.
70098         (extra-objs): Append $(cross-rpcgen-objs).
70099         ($(cross-rpcgen-objs)): New rule.
70100         ($(objpfx)cross-rpcgen): Likewise.
70101         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70102         comment.
70103         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70104         ($(objpfx)x%.stmp): Likewise.
70105         * sunrpc/proto.h [IS_IN_build] (_): Define.
70106         [IS_IN_build] (_libc_intl_domainname): Likewise.
70108 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70111         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70112         and R_X86_64_TPOFF64.
70114 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70116         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70117         sysdeps/unix/sysv/syscalls.list.
70118         (stime): Likewise.
70119         (utime): Likewise.
70120         * sysdeps/unix/sysv/syscalls.list: Remove file.
70122 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70124         [BZ #3440]
70125         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70126         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70127         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70128         (__LC_IDENTIFICATION): Make these macros useful in #if
70129         expressions, as required by C99.
70131 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70133         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70134         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70135         after this.
70137 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70139         * stdlib/longlong.h: Updated from GCC.
70141 2012-05-09  Andreas Jaeger  <aj@suse.de>
70143         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70144         default is first entry.
70145         (run_mode): Set type.
70146         (main): Remove informal message about syslog.
70147         (options): Fix typo.
70149         [BZ #14053]
70150         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70151         to asm.
70152         (lrint): Likewise.
70153         (llrintf): Likewise.
70154         (llrint): Likewise.
70155         (rint): Likewise.
70156         (rintf): Likewise.
70157         (nearbyint): Likewise.
70158         (nearbyintf): Likewise.
70160 2012-05-09  Andreas Jaeger  <aj@suse.de>
70161             Pedro Alves  <palves@redhat.com>
70163         * nscd/nscd.c (run_mode): Use enum.
70164         (main): Cleanup coding style issue.
70166 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70167             Andreas Jaeger  <aj@suse.de>
70169         * nscd/nscd.c (go_background): Replaced with...
70170         (run_mode): ... this.
70171         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70172         (options): Add -F --foreground.
70173         (main): Implement it.
70174         (parse_opt): Parse it.
70176 2012-05-09  Andreas Jaeger  <aj@suse.de>
70178         [BZ #14083]
70179         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70180         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70181         -Wconversion warning.
70182         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70183         Likewise.
70185 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70187         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70188         == 0.
70189         (LC_ALL): Use macro-int-constant.
70190         (LC_COLLATE): Likewise.
70191         (LC_CTYPE): Likewise.
70192         (LC_MESSAGES): Likewise.
70193         (LC_MONETARY): Likewise.
70194         (LC_NUMERIC): Likewise.
70195         (LC_TIME): Likewise.
70196         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70197         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70199         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70200         Specify type.
70201         [C99-based standards] (float_t): Expect type.
70202         [C99-based standards] (double_t): Expect type.
70203         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70204         type.
70205         [C99-based standards] (HUGE_VALL): Likewise.
70206         [C99-based standards] (INFINITY): Likewise.
70207         [C99-based standards] (NAN): Likewise.
70208         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70209         [C99-based standards] (FP_NAN): Likewise.
70210         [C99-based standards] (FP_NORMAL): Likewise.
70211         [C99-based standards] (FP_SUBNORMAL): Likewise.
70212         [C99-based standards] (FP_ZERO): Likewise.
70213         [C99-based standards] (FP_FAST_FMA): Use
70214         optional-macro-int-constant.  Specify type.  Require == 1.
70215         [C99-based standards] (FP_FAST_FMAF): Likewise.
70216         [C99-based standards] (FP_FAST_FMAL): Likewise.
70217         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70218         [C99-based standards] (FP_ILOGBNAN): Likewise.
70219         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70220         Specify type.
70221         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70222         [C99-based standards] (math_errhandling): Specify type.
70223         [ISO99 || ISO11] (signgam): Do not allow.
70224         [non-C99-based standards] (copysignf): Do not allow.
70225         [non-C99-based standards] (exp2f): Likewise.
70226         [non-C99-based standards] (log2f): Likewise.
70227         [non-C99-based standards] (modff): Allow.
70228         [non-C99-based standards] (erff): Do not allow.
70229         [non-C99-based standards] (erfcf): Likewise.
70230         [non-C99-based standards] (gammaf): Likewise.
70231         [non-C99-based standards] (hypotf): Likewise.
70232         [non-C99-based standards] (j0f): Likewise.
70233         [non-C99-based standards] (j1f): Likewise.
70234         [non-C99-based standards] (jnf): Likewise.
70235         [non-C99-based standards] (lgammaf): Likewise.
70236         [non-C99-based standards] (tgammaf): Likewise.
70237         [non-C99-based standards] (y0f): Likewise.
70238         [non-C99-based standards] (y1f): Likewise.
70239         [non-C99-based standards] (ynf): Likewise.
70240         [non-C99-based standards] (isnanf): Likewise.
70241         [non-C99-based standards] (acoshf): Likewise.
70242         [non-C99-based standards] (asinhf): Likewise.
70243         [non-C99-based standards] (atanhf): Likewise.
70244         [non-C99-based standards] (cbrtf): Likewise.
70245         [non-C99-based standards] (expm1f): Likewise.
70246         [non-C99-based standards] (ilogbf): Likewise.
70247         [non-C99-based standards] (log1pf): Likewise.
70248         [non-C99-based standards] (logbf): Likewise.
70249         [non-C99-based standards] (nextafterf): Likewise.
70250         [non-C99-based standards] (remainderf): Likewise.
70251         [non-C99-based standards] (rintf): Likewise.
70252         [non-C99-based standards] (scalbf): Likewise.
70253         [non-C99-based standards] (copysignl): Likewise.
70254         [non-C99-based standards] (exp2l): Likewise.
70255         [non-C99-based standards] (log2l): Likewise.
70256         [non-C99-based standards] (modfl): Allow.
70257         [non-C99-based standards] (erfl): Do not allow.
70258         [non-C99-based standards] (erfcl): Likewise.
70259         [non-C99-based standards] (gammal): Likewise.
70260         [non-C99-based standards] (hypotl): Likewise.
70261         [non-C99-based standards] (j0l): Likewise.
70262         [non-C99-based standards] (j1l): Likewise.
70263         [non-C99-based standards] (jnl): Likewise.
70264         [non-C99-based standards] (lgammal): Likewise.
70265         [non-C99-based standards] (tgammal): Likewise.
70266         [non-C99-based standards] (y0l): Likewise.
70267         [non-C99-based standards] (y1l): Likewise.
70268         [non-C99-based standards] (ynl): Likewise.
70269         [non-C99-based standards] (isnanl): Likewise.
70270         [non-C99-based standards] (acoshl): Likewise.
70271         [non-C99-based standards] (asinhl): Likewise.
70272         [non-C99-based standards] (atanhl): Likewise.
70273         [non-C99-based standards] (cbrtl): Likewise.
70274         [non-C99-based standards] (expm1l): Likewise.
70275         [non-C99-based standards] (ilogbl): Likewise.
70276         [non-C99-based standards] (log1pl): Likewise.
70277         [non-C99-based standards] (logbl): Likewise.
70278         [non-C99-based standards] (nextafterl): Likewise.
70279         [non-C99-based standards] (remainderl): Likewise.
70280         [non-C99-based standards] (rintl): Likewise.
70281         [non-C99-based standards] (scalbl): Likewise.
70282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70283         [non-C99-based standards] (FP_*): Do not allow.
70284         [C99-based standards] (FP_*): Change to
70285         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70286         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70287         allow.
70288         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70289         (SIG_ERR): Likewise.
70290         [X/Open-based standards] (SIG_HOLD): Likewise.
70291         (SIG_IGN): Likewise.
70292         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70293         positive value.
70294         (SIGFPE): Likewise.
70295         (SIGILL): Likewise.
70296         (SIGINT): Likewise.
70297         (SIGSEGV): Likewise.
70298         (SIGTER): Likewise.
70299         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70300         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70301         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70302         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70303         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70304         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70305         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70306         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70307         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70308         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70309         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70310         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70311         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70312         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70313         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70314         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70315         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70316         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70317         [X/Open-based standards] (SIGTRAP): Likewise.
70318         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70319         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70320         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70321         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70322         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70323         allow.
70325 2012-05-08  Ian Wienand  <ianw@vmware.com>
70327         [BZ #14080]
70328         * time/tzset.c (__tzset_parse_tz): Update default rules for
70329         daylight time changes in the Energy Policy Act of 2005.
70331 2012-05-09  Andreas Jaeger  <aj@suse.de>
70333         [BZ #13983]
70334         * elf/ldconfig.c (parse_conf): Change string to make clear that
70335         ldconfig only issued a warning if ld.so.conf does not exist.
70337 2012-05-08  David S. Miller  <davem@davemloft.net>
70339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70340         movxtod instead of popping the value on the stack.
70342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70344 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70346         * config.h.in: Add HAVE_ARM_PCS_VFP.
70348 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70350         [BZ #13979]
70351         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70352         checking but the checks are disabled for any reason.
70354 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70356         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70357         and ELF64_R_TYPE with ELFW(R_TYPE).
70359 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70361         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70362         (ulimit): Likewise.
70364         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70365         (settimeofday): Likewise.
70367 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70369         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70370         a struct th_u2 inside the union, and move tu_block/tu_code into
70371         a new th_u3 union of tu_block/tu_code inside of that.  Move
70372         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70373         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70374         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70375         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70376         (th_stuff): Change to th_u1.tu_stuff.
70377         (th_data): Define.
70378         (th_msg): Change to th_u1.th_u2.tu_data.
70380 2012-05-07  David S. Miller  <davem@davemloft.net>
70382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70384         [BZ #14074]
70385         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70386         (SETUP_PIC_REG): Use it.
70387         (SETUP_PIC_REG_LEAF): Use it.
70389 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70391         [BZ #13885]
70392         [BZ #13923]
70393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70394         USE_AS_EXPM1L.
70395         (EXPL_FINITE): Likewise.
70396         (FLDLOG): Likewise.
70397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70398         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70399         e_expl.S.
70400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70401         USE_AS_EXPM1L.
70402         (EXPL_FINITE): Likewise.
70403         (FLDLOG): Likewise.
70404         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70405         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70406         e_expl.S.
70407         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70408         test of -max_value argument for long double.
70409         * sysdeps/i386/fpu/libm-test-ulps: Update.
70410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70412 2012-05-06  David S. Miller  <davem@davemloft.net>
70414         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70415         quad soft-float symbols whose references which are compiler
70416         generated.
70417         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70419 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70421         [BZ #13884]
70422         [BZ #13914]
70423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70424         USE_AS_EXP10L.
70425         (EXPL_FINITE): Likewise.
70426         (FLDLOG): Likewise.
70427         (c0): Likewise.
70428         (c1): Likewise.
70429         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70430         Adjust comments for base varying.
70431         (__expl_finite): Change alias to EXPL_FINITE.
70432         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70433         e_expl.S.
70434         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70435         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70436         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70437         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70439         USE_AS_EXP10L.
70440         (EXPL_FINITE): Likewise.
70441         (FLDLOG): Likewise.
70442         (c0): Likewise.
70443         (c1): Likewise.
70444         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70445         Adjust comments for base varying.
70446         (__expl_finite): Change alias to EXPL_FINITE.
70447         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70448         tests for bugs.
70449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70451         [BZ #14064]
70452         * math/libm-test.inc (check_float_internal): Correct ulp
70453         calculation for subnormal expected results.
70455 2012-05-06  Andreas Jaeger  <aj@suse.de>
70457         * Makeconfig (+math-flags): New, set to -frounding-math.
70458         (+cflags): Add +math-flags so that all of glibc gets compiled with
70459         it.
70461         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70463 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70465         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70466         Disable one test.
70468         [BZ #13787]
70469         [BZ #13922]
70470         [BZ #14036]
70471         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70472         (__ieee754_expl): Allow for and saturate large arguments.
70473         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70474         (u_threshold): Likewise.
70475         (__exp): Call __ieee754_exp before checking for overflow and
70476         underflow.
70477         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70478         (u_threshold): Likewise.
70479         (__expf): Call __ieee754_expf before checking for overflow and
70480         underflow.
70481         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70482         (u_threshold): Likewise.
70483         (__expl): Call __ieee754_expl before checking for overflow and
70484         underflow.
70485         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70486         (__ieee754_expl): Allow for and saturate large arguments.
70487         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70488         missing overflow exception on overflow.
70489         (expm1_test): Do not allow missing overflow exception on overflow.
70491         * sysdeps/i386/fpu/e_expl.c: Move to ...
70492         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70493         rather than using inline asm.
70494         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70495         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70496         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70498         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70499         (nice): Likewise.
70500         (poll): Likewise.
70501         (signal): Likewise.
70502         (time): Likewise.
70503         (times): Likewise.
70505 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70507         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70508         sysdeps/unix/common/syscalls.list.
70509         (fchmod): Likewise.
70510         (fchown): Likewise.
70511         (ftruncate): Likewise.
70512         (getrusage): Likewise.
70513         (gettimeofday): Likewise.
70514         (setpgid): Likewise.
70515         (setregid): Likewise.
70516         (setreuid): Likewise.
70517         (sigaction): Likewise.
70518         (truncate): Likewise.
70519         (vhangup): Likewise.
70520         * sysdeps/unix/common/syscalls.list: Remove file.
70521         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70522         * sysdeps/unix/sysv/linux/Implies: Likewise.
70524 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70526         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70528         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70529         Moved to ...
70530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70531         Here.
70532         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70533         to ...
70534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70535         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70536         to ...
70537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70538         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70539         to ...
70540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70541         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70542         to ...
70543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70544         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70545         to ...
70546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70547         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70548         to ...
70549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70550         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70551         to ...
70552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70553         Here.
70554         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70555         to ...
70556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70557         Here.
70558         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70559         to ...
70560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70561         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70562         Moved to ...
70563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70564         Here.
70565         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70566         to ...
70567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70569 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70571         * sysdeps/unix/common/bits/dirent.h: Remove file.
70572         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70574         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70575         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70576         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70577         * sysdeps/unix/bsd/isatty.c: Likewise.
70578         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70579         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70580         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70582 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70584         [BZ #13563]
70585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70586         long double comparison inaccuracies.
70587         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70590 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70592         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70595 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70597         [BZ #14049]
70598         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70599         nonzero digits before rounding a hex value.
70600         * stdlib/tst-strtod.c (tests): Add another test.
70602 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70604         * sysdeps/s390/fpu/libm-test-ulps: Update.
70606 2012-05-03  Andreas Jaeger  <aj@suse.de>
70608         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70609         does not get optimized out.
70610         (malloc_opt_barrier): New.
70612 2012-05-03  Andreas Jaeger  <aj@suse.de>
70613             Roland McGrath  <roland@hack.frob.com>
70615         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70616         intermediate file deletion.
70617         (generated): Add .symlist files.
70619 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70621         [BZ #13775]
70622         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70623         Redirect under this condition.
70624         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70625         [__USE_GNU] (__dprintf_chk): Not under this condition.
70626         [__USE_GNU] (__vdprintf_chk): Likewise.
70627         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70628         under this condition.
70629         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70630         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70631         [__USE_XOPEN2K8] (vdprintf): Likewise.
70632         [__USE_GNU] (__dprintf_chk): Not under this condition.
70633         [__USE_GNU] (__vdprintf_chk): Likewise.
70634         [__USE_GNU] (dprintf): Likewise.
70635         [__USE_GNU] (vdprintf): Likewise.
70637 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70639         * elf/Makefile (common-generated): Set this instead of generated for
70640         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70641         $(all-built-dso)-derived lists.
70643 2012-05-03  Andreas Jaeger  <aj@suse.de>
70645         * sysdeps/i386/fpu/libm-test-ulps: Update.
70647         * FAQ: Removed.
70648         * FAQ.in: Likewise.
70649         * scripts/gen-FAQ.pl: Likewise.
70650         * manual/install.texi (Installation): Point to online location of
70651         FAQ.
70652         * Makefile (files-for-dist): Remove FAQ.
70653         (FAQ): Remove.
70655 2012-05-02  Allan McRae  <allan@archlinux.org>
70657         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70658         (LDFLAGS-reldepmod5.so): Likewise.
70659         (LDFLAGS-reldep6mod1.so): Likewise.
70660         (LDFLAGS-reldep6mod4.so): Likewise.
70661         (LDFLAGS-reldep8mod3.so): Likewise.
70662         (LDFLAGS-unload4mod1.so): Likewise.
70663         (LDFLAGS-unload4mod2.so): Likewise.
70664         (LDFLAGS-tst-initorder): Likewise.
70665         (LDFLAGS-tst-initordera2.so): Likewise.
70666         (LDFLAGS-tst-initordera3.so): Likewise.
70667         (LDFLAGS-tst-initordera4.so): Likewise.
70668         (LDFLAGS-tst-initorderb2.so): Likewise.
70669         (LDFLAGS-noload): Likewise.
70670         (LDFLAGS-next): Likewise.
70671         (LDFLAGS-order2mod1.so): Likewise.
70672         (LDFLAGS-order2mod2.so): Likewise.
70673         (LDFLAGS-tst-initorder2): Likewise.
70674         (LDFLAGS-tst-initorder2a.so): Likewise.
70675         (LDFLAGS-tst-initorder2b.so): Likewise.
70676         (LDFLAGS-tst-initorder2c.so): Likewise.
70677         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70679 2012-05-02  David S. Miller  <davem@davemloft.net>
70681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70683 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70685         [BZ #14055]
70686         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70688 2012-05-02  Andreas Jaeger  <aj@suse.de>
70690         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70691         since we manipulate rounding mode.
70692         (CPPFLAGS-test-idouble.c): Likewise.
70693         (CPPFLAGS-test-ifloat.c): Likewise.
70694         (CFLAGS-test-ldouble.c): Likewise.
70695         (CFLAGS-test-double.c): Likewise.
70696         (CFLAGS-test-float.c): Likewise.
70697         (CFLAGS-test-misc.c): Likewise.
70698         (CFLAGS-test-test-fenv.c): Likewise.
70700 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70702         [BZ #2550]
70703         [BZ #2570]
70704         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70705         comparisons to determine direction to adjust input.
70707 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70709         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70710         output to the target.
70712         * scripts/localplt.awk: New file.
70713         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70714         (check-localplt-CFLAGS): Variable removed.
70715         ($(all-built-dso:=.jmprel)): New static pattern rule.
70716         (generated): Add those targets.
70717         (localplt-built-dso): New variable.
70718         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70720         * elf/check-localplt.c: File removed.
70722         * scripts/check-execstack.awk: New file.
70723         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70724         (check-execstack-CFLAGS): Variable removed.
70725         ($(objpfx)check-execstack.h): Target removed.
70726         ($(objpfx)execstack-default): New target.
70727         (generated): Add that instead of check-execstack.h.
70728         ($(all-built-dso:=.phdr)): New static pattern rule.
70729         (generated): Add those targets.
70730         * elf/check-execstack.c: File removed.
70732         * scripts/check-textrel.awk: New file.
70733         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70734         (check-textrel-CFLAGS): Variable removed.
70735         (all-built-dso): Use := to define.o
70736         ($(all-built-dso:=.dyn)): New static pattern rule.
70737         (generated): Add those targets.
70738         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70739         * config.make.in (READELF): New substituted variable.
70740         * elf/check-textrel.c: File removed.
70742 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70744         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70745         allow.
70746         * conform/data/ctype.h-data [C99-based standards] (isblank):
70747         Expect function.
70748         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70749         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70751         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70752         Specify type.  Require positive value.
70753         (EILSEQ): Likewise.
70754         (ERANGE): Likewise.
70755         [ISO || POSIX] (EILSEQ): Do not expect.
70756         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70757         Specify type.  Require positive value.
70758         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70759         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70760         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70761         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70762         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70763         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70764         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70765         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70766         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70767         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70768         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70769         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70770         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70771         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70772         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70773         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70774         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70775         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70776         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70777         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70778         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70779         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70780         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70781         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70782         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70783         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70784         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70785         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70786         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70787         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70788         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70789         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70790         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70791         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70792         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70793         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70794         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70795         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70796         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70797         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70798         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70799         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70800         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70801         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70802         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70803         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70804         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70805         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70806         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70807         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70808         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70809         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70810         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70811         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70812         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70813         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70814         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70815         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70816         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70817         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70818         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70819         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70820         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70821         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70822         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70823         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70824         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70825         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70826         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70827         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70828         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70829         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70830         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70831         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70832         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70833         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70834         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70835         Require >= 2.
70836         (FLT_ROUNDS): Expect as macro, not constant.
70837         (FLT_MANT_DIG): Use macro-int-constant.
70838         (DBL_MANT_DIG): Likewise.
70839         (LDBL_MANT_DIG): Likewise.
70840         (FLT_DIG): Likewise.
70841         (DBL_DIG): Likewise.
70842         (LDBL_DIG): Likewise.
70843         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70844         (DBL_MIN_EXP): Likewise.
70845         (LDBL_MIN_EXP): Likewise.
70846         (FLT_MAX_EXP): Use macro-int-constant.
70847         (DBL_MAX_EXP): Likewise.
70848         (LDBL_MAX_EXP): Likewise.
70849         (FLT_MAX_10_EXP): Likewise.
70850         (DBL_MAX_10_EXP): Likewise.
70851         (LDBL_MAX_10_EXP): Likewise.
70852         (FLT_MAX): Use macro-constant.
70853         (DBL_MAX): Likewise.
70854         (LDBL_MAX): Likewise.
70855         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70856         (DBL_EPSILON): Likewise.
70857         (LDBL_EPSILON): Likewise.
70858         (FLT_MIN): Likewise.
70859         (DBL_MIN): Likewise.
70860         (LDBL_MIN): Likewise.
70861         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70862         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70863         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70864         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70865         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70866         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70867         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70868         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70869         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70870         [ISO11] (FLT_TRUE_MIN): Likewise.
70871         [ISO11] (LDBL_TRUE_MIN): Likewise.
70872         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70873         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70874         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70875         (SCHAR_MAX): Likewise.
70876         (UCHAR_MAX): Likewise.
70877         (CHAR_MIN): Likewise.
70878         (CHAR_MAX): Likewise.
70879         (MB_LEN_MAX): Use macro-int-constant.
70880         (SHRT_MIN): Use macro-int-constant.  Specify type.
70881         (SHRT_MAX): Likewise.
70882         (USHRT_MAX): Likewise.
70883         (INT_MAX): Likewise.
70884         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70885         bound negative.
70886         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70887         bound with "U".
70888         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70889         bound with "L".
70890         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70891         bound negative.  Suffix upper bound with "L".
70892         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70893         bound with "UL".
70894         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70895         Specify type.
70896         [C99-based standards] (LLONG_MAX): Likewise.
70897         [C99-based standards] (ULLONG_MAX): Likewise.
70898         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70899         == 0.
70900         [ISO11] (max_align_t): Require type.
70901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70903         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70904         from $CFLAGS, without defining away __attribute__ calls.
70905         (checknamespace): Use $CFLAGS_namespace.
70907         * conform/conformtest.pl (@keywords): Only include C99 keywords
70908         for standards based on C99 or C11.
70910         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70911         Disable tests.
70912         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70913         UNIX98]: Likewise.
70915         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70916         usability of symbols in #if.
70918         * conform/conformtest.pl: If macro or constant types start
70919         "promoted:", expect the symbol to be of the following type
70920         promoted by the integer promotions.
70922         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70923         in one place.  Also handle "macro-constant".
70925         * conform/conformtest.pl: Only accept expected macro values with
70926         "==".  Parse all "macro" lines in one place.
70927         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70929         * conform/conformtest.pl: Handle braced types on "constant" lines
70930         instead of handling "typed-constant".
70931         * conform/data/signal.h-data: Use "constant" instead of
70932         "typed-constant".
70934         * conform/conformtest.pl: Handle "optional-" at start of lines in
70935         one place rather than duplicating several cases.  Handle each
70936         format of "macro" line with initial "optional-".
70938         * conform/conformtest.pl: Only accept expected constant or
70939         optional-constant values with "==".  Parse all "constant" lines in
70940         one place.  Parse all "optional-constant" lines in one place.
70941         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70942         * conform/data/fmtmsg.h-data: Likewise.
70943         * conform/data/netinet/in.h-data: Likewise.
70944         * conform/data/tar.h-data: Likewise.
70945         * conform/data/limits.h-data: Use "==" form on "constant" and
70946         "optional-constant" lines.
70948         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70949         Use -std=c99 for XOPEN2K.
70950         (@knownproblems): Remove.
70951         (newtoken): Don't check %isknown.
70953         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70954         Do not expect macro.
70955         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70967         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70968         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70985         [XPG3] (acosh): Likewise.
70986         [XPG3] (asinh): Likewise.
70987         [XPG3] (atanh): Likewise.
70988         [XPG3] (cbrt): Likewise.
70989         [XPG3] (expm1): Likewise.
70990         [XPG3] (ilogb): Likewise.
70991         [XPG3] (log1p): Likewise.
70992         [XPG3] (logb): Likewise.
70993         [XPG3] (nextafter): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70996         [XPG3] (remainder): Likewise.
70997         [XPG3] (rint): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71005         [UNIX98 || XOPEN2K] (scalb): Expect.
71006         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71007         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71008         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71009         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71010         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71011         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71012         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71013         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71014         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71015         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71016         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71017         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71018         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71019         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71020         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71021         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71022         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71023         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71024         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71025         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71026         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71027         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71028         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71029         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71030         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71031         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71032         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71033         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71034         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71035         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71036         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71037         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71038         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71039         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71040         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71041         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71042         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71043         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71044         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71045         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71046         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71047         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71048         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71049         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71050         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71051         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71052         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71053         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71054         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71055         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71056         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71057         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71058         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71059         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71060         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71061         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71062         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71063         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71064         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71065         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71066         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71067         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71068         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71069         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71070         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71071         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71072         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71073         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71074         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71075         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71076         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71077         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71078         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71079         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71080         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71081         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71082         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71083         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71084         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71085         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71086         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71087         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71088         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71089         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71090         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71091         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71092         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71093         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71094         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71095         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71096         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71097         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71098         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71099         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71100         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71101         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71102         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71103         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71104         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71105         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71106         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71107         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71108         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71109         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71110         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71111         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71112         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71113         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71114         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71115         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71116         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71117         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71118         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71119         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71120         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71121         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71122         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71123         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71124         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71125         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71126         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71127         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71128         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71129         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71130         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71131         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71132         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71133         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71134         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71135         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71136         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71137         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71138         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71139         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71140         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71141         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71142         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71144         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71145         _XOPEN_SOURCE_EXTENDED for XPG4.
71147         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71149         * Makeconfig (localtime): Remove variable.
71150         (inst_localtime-file): Likewise.
71152 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71155         Update.
71156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71157         Update.
71158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71159         Update.
71160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71161         Update.
71162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71163         Update.
71164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71165         Update.
71166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71167         Update.
71168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71169         Update.
71170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71171         Update.
71173 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71175         [BZ #2550]
71176         [BZ #2570]
71177         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71178         comparisons to determine direction to adjust input.
71179         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71180         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71181         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71182         Likewise.
71183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71184         Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71186         Likewise.
71187         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71189         Likewise.
71190         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71191         Likewise.
71192         * math/libm-test.inc (nexttoward_test): Add more tests.
71194 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71196         [BZ #14040]
71197         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71198         in version GLIBC_2.1, not GLIBC_2.0.
71199         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71200         Likewise.
71202 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71204         [BZ #13942]
71205         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71206         (1 - x) * (1 + x).
71207         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71208         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71209         * math/libm-test.inc (acos_test): Add more tests.
71210         (asin_test): Likewise.
71211         * sysdeps/i386/fpu/libm-test-ulps: Update.
71212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71214         [BZ #14034]
71215         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71216         of square root.
71217         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71218         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71219         * math/libm-test.inc (acos_test_tonearest): New function.
71220         (acos_test_towardzero): Likewise.
71221         (acos_test_downward): Likewise.
71222         (acos_test_upward): Likewise.
71223         (asin_test_tonearest): Likewise.
71224         (asin_test_towardzero): Likewise.
71225         (asin_test_downward): Likewise.
71226         (asin_test_upward): Likewise.
71227         (main): Call the new functions.
71228         * sysdeps/i386/fpu/libm-test-ulps: Update.
71229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71231         [BZ #13884]
71232         [BZ #13924]
71233         * math/e_exp10.c: Include <float.h>.
71234         (__ieee754_exp10): Handle underflow here rather than multiplying
71235         large negative argument by M_LN10.
71236         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71237         of __ieee754_expf.
71238         * math/e_exp10l.c: Include <float.h>.
71239         (__ieee754_exp10l): Handle underflow here rather than multiplying
71240         large negative argument by M_LN10l.
71241         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71242         spurious overflow exception on underflow.
71244 2012-04-29  Marek Polacek  <polacek@redhat.com>
71246         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71247         (__fortify_function): New macro.
71248         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71249         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71250         __extern_always_inline.
71251         * libio/bits/stdio2.h: Likewise.
71252         * libio/bits/stdio.h: Likewise.
71253         * string/string.h: Likewise.
71254         * string/bits/string3.h: Likewise.
71255         * include/stdio.h: Likewise.
71256         * stdlib/bits/stdlib.h: Likewise.
71257         * stdlib/stdlib.h: Likewise.
71258         * rt/bits/mqueue2.h: Likewise.
71259         * rt/mqueue.h: Likewise.
71260         * posix/bits/unistd.h: Likewise.
71261         * posix/unistd.h: Likewise.
71262         * io/bits/poll2.h: Likewise.
71263         * io/bits/fcntl2.h: Likewise.
71264         * io/fcntl.h: Likewise.
71265         * io/sys/poll.h: Likewise.
71266         * misc/bits/syslog.h: Likewise.
71267         * misc/bits/syslog-ldbl.h: Likewise.
71268         * misc/sys/syslog.h: Likewise.
71269         * socket/bits/socket2.h: Likewise.
71270         * socket/sys/socket.h: Likewise.
71271         * debug/tst-chk1.c: Likewise.
71272         * wcsmbs/bits/wchar2.h: Likewise.
71273         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71274         * wcsmbs/wchar.h: Likewise.
71276 2012-04-29  Andreas Jaeger  <aj@suse.de>
71278         * Makerules (tests): Remove enable-check-abi protection.
71279         (check-abi-warn): Remove.
71280         (check-abi-%): Remove check-abi-warn usage.
71282         * configure.in: Remove check-abi configure option.
71283         * configure: Regenerated.
71284         * config.make.in (enable-check-abi): Remove.
71286 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71288         [BZ #14033]
71289         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71290         double functions to double *_finite functions.
71292         [BZ #13941]
71293         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71294         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71295         LDBL_MIN_EXP.
71296         * stdio-common/Makefile (tests): Add tst-sprintf3.
71297         * stdio-common/tst-sprintf3.c: New file.
71299         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71300         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71302 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71304         * conform/conformtest.pl: Remove duplicate typed-constant
71305         handling.
71307 2012-04-28  David S. Miller  <davem@davemloft.net>
71309         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71310         (check-abi-%): Remove AWK script prerequisite and explicit
71311         abilist directory.
71312         (check-abi): Rewrite to just diff the symlist with the abilist.
71313         (config-tls, config-abi-config): Delete, no longer used.
71314         (update-abi-%): Remove AWK script and explicit abilist directory.
71315         (update-abi): Rewrite to simply compare and conditionally copy the
71316         symlist and the sysdep abilist file.  Remove update-abi-config
71317         checks.
71318         * abilist/ld.abilist: Remove.
71319         * abilist/libBrokenLocale.abilist: Remove.
71320         * abilist/libanl.abilist: Remove.
71321         * abilist/libcrypt.abilist: Remove.
71322         * abilist/libdl.abilist: Remove.
71323         * abilist/librt.abilist: Remove.
71324         * abilist/libthread_db.abilist: Remove.
71325         * abilist/libutil.abilist: Remove.
71326         * scripts/extract-abilist.awk: Remove.
71327         * scripts/merge-abilist.awk: Remove.
71328         * sysdeps/generic/libcidn.abilist: New file.
71329         * sysdeps/generic/libnss_compat.abilist: New file.
71330         * sysdeps/generic/libnss_db.abilist: New file.
71331         * sysdeps/generic/libnss_dns.abilist: New file.
71332         * sysdeps/generic/libnss_files.abilist: New file.
71333         * sysdeps/generic/libnss_hesiod.abilist: New file.
71334         * sysdeps/generic/libnss_nis.abilist: New file.
71335         * sysdeps/generic/libnss_nisplus.abilist: New file.
71336         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71337         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71338         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71339         file.
71340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71341         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71342         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71343         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71344         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71345         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71346         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71347         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71348         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71349         file.
71350         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71351         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71352         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71353         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71354         file.
71355         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71356         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71357         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71358         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71359         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71360         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71361         file.
71362         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71363         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71364         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71365         file.
71366         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71368         New file.
71369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71370         New file.
71371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71372         New file.
71373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71374         New file.
71375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71376         New file.
71377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71378         New file.
71379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71380         New file.
71381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71382         New file.
71383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71384         New file.
71385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71386         New file.
71387         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71388         New file.
71389         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71390         New file.
71391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71392         New file.
71393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71394         file.
71395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71396         New file.
71397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71398         New file.
71399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71400         file.
71401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71402         New file.
71403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71404         New file.
71405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71406         file.
71407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71408         New file.
71409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71410         New file.
71411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71412         New file.
71413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71414         New file.
71415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71416         New file.
71417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71418         New file.
71419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71421         file.
71422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71423         New file.
71424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71425         file.
71426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71427         file.
71428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71429         file.
71430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71431         file.
71432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71433         file.
71434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71435         New file.
71436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71437         file.
71438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71439         file.
71440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71441         New file.
71442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71443         file.
71444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71446         file.
71447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71448         New file.
71449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71450         file.
71451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71452         file.
71453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71454         file.
71455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71456         file.
71457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71458         file.
71459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71460         New file.
71461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71462         file.
71463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71464         file.
71465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71466         New file.
71467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71468         file.
71469         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71470         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71471         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71472         file.
71473         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71474         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71475         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71476         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71477         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71478         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71479         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71480         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71481         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71482         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71485         file.
71486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71487         New file.
71488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71489         file.
71490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71491         file.
71492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71493         file.
71494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71495         file.
71496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71497         file.
71498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71499         New file.
71500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71501         New file.
71502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71503         file.
71504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71505         New file.
71506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71507         file.
71508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71510         file.
71511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71512         New file.
71513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71514         file.
71515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71516         file.
71517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71518         file.
71519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71520         file.
71521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71522         file.
71523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71524         New file.
71525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71526         New file.
71527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71528         file.
71529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71530         New file.
71531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71532         file.
71534 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71536         * conform/conformtest.pl: Fix typo in handling typed-constant from
71537         allow-header.
71539 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71541         * README: Cut down references to pre-2.6 Linux kernels and
71542         Linuxthreads.  Update lists of configurations in libc and ports
71543         and sort alphabetically.  Say "or newer" with Linux kernel version
71544         requirements.
71546         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71548 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71550         [BZ #887]
71551         * math/libm-test.inc (logb_test_downward): New test to expose
71552         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71553         rounding mode.
71555 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71557         [BZ #14027]
71558         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71559         to be done.
71560         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71561         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71563 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71565         * sysdeps/unix/i386/brk.S: Remove file.
71566         * sysdeps/unix/i386/dl-brk.S: Likewise.
71567         * sysdeps/unix/i386/pipe.S: Likewise.
71568         * sysdeps/unix/i386/sigreturn.S: Likewise.
71569         * sysdeps/unix/i386/syscall.S: Likewise.
71570         * sysdeps/unix/i386/vfork.S: Likewise.
71571         * sysdeps/unix/i386/wait.S: Likewise.
71573         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71574         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71576         * configure.in (arm*-none*): Do not allow without
71577         --enable-hacker-mode.
71578         (netbsd*): Remove case setting base_os.
71579         (386bsd*): Likewise.
71580         (freebsd*): Likewise.
71581         (bsdi*): Likewise.
71582         (osf*): Likewise.
71583         (sunos*): Likewise.
71584         (ultrix*): Likewise.
71585         (newsos*): Likewise.
71586         (dynix*): Likewise.
71587         (*bsd*): Likewise.
71588         (sysv*): Likewise.
71589         (isc*): Likewise.
71590         (esix*): Likewise.
71591         (sco*): Likewise.
71592         (minix*): Likewise.
71593         (irix4*): Likewise.
71594         (irix6*): Likewise.
71595         (solaris[2-9]*): Likewise.
71596         (none): Likewise.
71597         * configure: Regenerated.
71599 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71601         [BZ #11521]
71602         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71603         overflow or cancellation in calculating denominator.
71604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71606         down expression to avoid unexpected rounding in newer GCCs.
71607         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71609 2012-04-26  David S. Miller  <davem@davemloft.net>
71611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71612         long-double compat symbols.
71613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71627 2012-04-25  David S. Miller  <davem@davemloft.net>
71629         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71630         HWCAP_* values only after the memory barriers have been defined.
71631         (atomic_full_barrier): Define.
71632         (atomic_read_barrier): Define.
71633         (atomic_write_barrier): Define.
71635 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71637         * shlib-versions: Add libgcc_s version information.
71638         * sysdeps/generic/libgcc_s.h: Remove.
71639         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71640         libgcc_s.h.
71641         * sysdeps/gnu/unwind-resume.c: Likewise.
71642         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71644 2012-04-25  David S. Miller  <davem@davemloft.net>
71646         * sysdeps/unix/sparc/brk.S: Delete.
71647         * sysdeps/unix/sparc/dl-brk.S: Delete.
71648         * sysdeps/unix/sparc/pipe.S: Delete.
71649         * sysdeps/unix/sparc/sysdep.S: Delete.
71650         * sysdeps/unix/sparc/sysdep.h: Delete.
71651         * sysdeps/unix/sparc/vfork.S: Delete.
71652         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71653         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71654         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71655         (ret_ERRVAL, r0, r1, MOVE): Define.
71656         (JUMPTARGET): Remove.
71657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71658         sysdeps/unix/sparc/sysdep.h
71659         (ENTRY, END): Remove.
71660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71662 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71664         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71665         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71666         -DIS_IN_build.
71668         * timezone/README: Update upstream location and email address for
71669         tzcode and tzdata.
71670         * timezone/zdump.c: Update from tzcode 2012b.
71671         * timezone/zic.c: Likewise.
71673         * configure.in (libc_cv_as_needed): Remove test.
71674         * configure: Regenerated.
71675         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71676         conditional definition.
71677         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71678         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71679         * config.make.in (have-as-needed): Remove variable.
71681 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71682             Paul Pluzhnikov  <ppluzhnikov@google.com>
71684         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71685         strings correctly.
71687 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71689         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71690         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71691         * sysdeps/sh/strlen.S: Likewise.
71693 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71695         * sysdeps/unix/fork.S: Remove file.
71696         * sysdeps/unix/i386/fork.S: Likewise.
71697         * sysdeps/unix/sparc/fork.S: Likewise.
71699         * sysdeps/unix/system.c: Remove file.
71700         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71702         * sysdeps/unix/getegid.S: Remove file.
71703         * sysdeps/unix/geteuid.S: Likewise.
71705 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71707         * scripts/check-localplt.awk: New file.
71708         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71709         of diff.
71710         * scripts/data/localplt-generic.data: Add a comment.
71712         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71713         NODE when __dir_mkfile failed.
71714         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71715         Reported by Ludovic Courtès <ludo@gnu.org>.
71717 2012-04-24  Andreas Jaeger  <aj@suse.de>
71719         * Makerules (common-clean): Also remove gen-as-const-headers
71720         files.
71722 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71724         * Makerules (native-compile): Do not change working directory for
71725         build.  Use $(OUTPUT_OPTION) in command.
71726         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71728 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71730         [BZ #13886]
71731         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71732         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71733         * math/libm-test.inc (floor_test): Add more tests.
71734         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71736 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71738         * sysdeps/unix/getdents.c: Remove file.
71739         * sysdeps/unix/sysv/getdents.c: Likewise.
71740         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71742         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71743         sysdeps/unix/mman/syscalls.list.
71744         (mmap): Likewise.
71745         (mprotect): Likewise.
71746         (msync): Likewise.
71747         (munmap): Likewise.
71748         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71749         * sysdeps/unix/mman/syscalls.list: Remove.
71750         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71752         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71753         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71754         * configure: Regenerated.
71755         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71756         $(libgcc_s_suffix).
71757         * config.make.in (libgcc_s_suffix): Remove variable.
71759 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71761         * sysdeps/unix/sysv/gethostname.c: Move to ...
71762         * sysdeps/posix/gethostname.c: ... here.
71764         * sysdeps/unix/execve.S: Remove file.
71766         * sysdeps/unix/_exit.S: Remove file.
71768 2012-04-23  Andreas Jaeger  <aj@suse.de>
71770         [BZ #13739]
71771         * manual/Makefile: Remove make dist support, there's no
71772         need for a stand-alone documentation tar ball.
71773         (TEXI2DVI): Define always, it's not in Makeconfig.
71774         (dist): Removed.
71775         (tar-it): Removed.
71776         (edition): Removed.
71777         (glibc-doc-$(edition).tar): Removed
71778         (%.Z): Removed.
71779         (%.gz): Removed.
71780         (%.uu): Removed.
71781         (ETAGS): Remove, it's in Makeconfig.
71782         (move-if-change): Remove, it's in Makeconfig.
71784 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71786         [BZ #13970]
71787         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71788         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71789         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71790         (strtod_l, strtof_l, strtold_l): Remove __wur.
71791         It is not necessarily an error to ignore strtol's return value.
71792         One can reliably look at the stored endptr to decide whether
71793         the number had valid syntax.
71795 2012-04-21  Andreas Jaeger  <aj@suse.de>
71797         [BZ #13739]
71798         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71800 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71802         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71803         * sysdeps/unix/sysv/Versions: Remove file.
71805 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71807         [BZ #13927]
71808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71810 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71812         [BZ #7064]
71813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71814         version from __vm86.
71816 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71818         * sysdeps/unix/common/lxstat.c: Remove file.
71819         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71821         * sysdeps/unix/sysv/Makefile: Remove file.
71823         * sysdeps/unix/sysv/direct.h: Remove file.
71825         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71826         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71827         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71828         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71829         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71830         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71831         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71833         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71835         * sysdeps/unix/xmknod.c: Remove file.
71836         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71838         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71840         * sysdeps/unix/sysv/i386/time.S: Remove file.
71842         * sysdeps/unix/fxstat.c: Remove file.
71843         * sysdeps/unix/xstat.c: Likewise.
71844         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71846         * sysdeps/unix/sysv/sigaction.c: Remove file.
71848         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71849         (sysdep_headers): Remove variable.
71850         [termio.h not in sysdep_headers] (generated): Likewise.
71851         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71852         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71853         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71854         * sysdeps/unix/sysv/tcflow.c: Likewise.
71855         * sysdeps/unix/sysv/tcflush.c: Likewise.
71856         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71857         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71858         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71859         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71860         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71862         * sysdeps/unix/siglist.c: Remove file.
71864         * sysdeps/unix/getppid.S: Remove file.
71866         * sysdeps/unix/mkdir.c: Remove file.
71867         * sysdeps/unix/rmdir.c: Likewise.
71869 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71871         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71872         ERR_MAX value.
71873         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71874         errlist-compat value.
71876 2012-04-18  David S. Miller  <davem@davemloft.net>
71878         * sysdeps/generic/memcopy.h (reg_char): Delete.
71879         * debug/strcat_chk.c: Use char, not reg_char.
71880         * debug/strcpy_chk.c: Likewise.
71881         * debug/strncat_chk.c: Likewise.
71882         * debug/strncpy_chk.c: Likewise.
71883         * string/memchr.c: Likewise.
71884         * string/memrchr.c: Likewise.
71885         * string/rawmemchr.c: Likewise.
71886         * string/strcat.c: Likewise.
71887         * string/strchr.c: Likewise.
71888         * string/strchrnul.c: Likewise.
71889         * string/strcmp.c: Likewise.
71890         * string/strcpy.c: Likewise.
71891         * string/strncat.c: Likewise.
71892         * string/strncmp.c: Likewise.
71893         * string/strncpy.c: Likewise.
71895 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71897         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71898         __builtin_memcopy is called when src and dest ranges are known to not
71899         overlap.
71901 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71903         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71904         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71905         fwd_align_merge macro call.
71906         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71907         bwd_align_merge macro call.
71908         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71910 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71912         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71913         bwd_align_merge macros.
71914         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71915         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71916         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71918 2012-04-18  David S. Miller  <davem@davemloft.net>
71920         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71922 2012-04-18  Andreas Jaeger  <aj@suse.de>
71924         [BZ# 6794]
71925         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71926         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71927         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71930         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71931         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71933         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71934         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71935         Adjust for changed ldbl-128 files.
71937         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71938         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71939         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71941 2012-04-17  David S. Miller  <davem@davemloft.net>
71943         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71945 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71947         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71948         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71949         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71950         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71951         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71952         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71954 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71956         [BZ #6794]
71957         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71958         * math/libm-test.inc: Add ilogb errno and exception tests.
71959         * math/w_ilogb.c: New file: ilogb wrapper.
71960         * math/w_ilogbf.c: New file: ilogbf wrapper.
71961         * math/w_ilogbl.c: New file: ilogbl wrapper.
71962         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71963         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71964         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71965         exception being thrown with 0.0 as argument.
71966         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71967         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71968         exception being thrown with 0.0 as argument.
71969         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71970         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71971         exception being thrown with 0.0 as argument.
71972         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71973         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71974         exception being thrown with 0.0 as argument.
71975         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71976         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71977         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71978         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71979         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71980         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71981         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71982         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71983         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71985 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71987         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71988         with altivec.
71990 2012-04-16  Marek Polacek  <polacek@redhat.com>
71992         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71994 2012-04-16  Marek Polacek  <polacek@redhat.com>
71996         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71997         operands of fdivp instruction.
71999 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72001         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72002         * elf/tst-auditmod3b.c: Likewise.
72003         * elf/tst-auditmod4b.c: Likewise.
72004         * elf/tst-auditmod5b.c: Likewise.
72005         * elf/tst-auditmod6b.c: Likewise.
72006         * elf/tst-auditmod6c.c: Likewise.
72007         * elf/tst-auditmod7b.c: Likewise.
72008         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72009         * sysdeps/x86_64/preconfigure.in: Likewise.
72010         * sysdeps/x86_64/preconfigure: Regenerated.
72012 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72014         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72015         __ILP32__.
72017 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
72019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72020         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72022 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
72024         [BZ #13973]
72025         * locale/iso-639.def: Fix gl language name. Spotted by
72026         Yaron Shahrabani.
72028 2012-04-12  Roland McGrath  <roland@hack.frob.com>
72030         [BZ #2074]
72031         * libio/libio.h (__io_write_fn): Update comment.
72033 2012-04-12  Petr Baudis  <pasky@ucw.cz>
72035         [BZ #2074]
72036         * stdio.texi (Hook Functions): The user provided writer function
72037         is not allowed to return -1.
72039 2012-04-11  David S. Miller  <davem@davemloft.net>
72041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72043 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72045         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72046         Add a leading slash to rtkaio.
72048 2012-04-11  Jim Meyering  <meyering@redhat.com>
72050         [BZ #11959]
72051         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72052         It is not necessarily an error to ignore fwrite's return
72053         value.  One can reliably use ferror to test for errors after
72054         the fact.
72056 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72058         * bits/types.h (__snseconds_t): New type.
72059         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72061         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72063         (__SNSECONDS_T_TYPE): Likewise.
72064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72065         (__SNSECONDS_T_TYPE): Likewise.
72066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72067         (__SNSECONDS_T_TYPE): Likewise.
72069 2012-04-10  Andreas Jaeger  <aj@suse.de>
72071         [BZ #2636]
72072         * manual/time.texi (Processor Time): Return type of times is
72073         elapsed real time since an arbitrary point in the past.
72074         (CPU Time): Move CLK_TCK from here...
72075         (Processor Time): ...to here.  Correct description.
72076         * manual/conf.texi (Constants for Sysconf): Correct description of
72077         _SC_CLK_TCK.
72079 2012-04-10  David S. Miller  <davem@davemloft.net>
72081         [BZ #13967]
72082         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72083         where the is a gap between DT_REL(A) and DT_JMPREL.
72085 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72087         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72088         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72089         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72091 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72093         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72094         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72095         (dl_main): Handle --inhibit-cache.
72096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72097         _dl_inhibit_cache.
72098         * elf/dl-load.c (_dl_map_object): Use it.
72099         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72101 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72103         [BZ #13872]
72104         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72105         (__ieee754_powl): Saturate large exponents rather than testing for
72106         overflow of y*log2(x).
72107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72108         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72109         exceptions.
72111         [BZ #11521]
72112         * math/s_ctan.c: Include <float.h>.
72113         (__ctan): Avoid internal overflow or cancellation in calculating
72114         denominator.
72115         * math/s_ctanf.c: Likewise.
72116         * math/s_ctanl.c: Likewise.
72117         * math/s_ctanh.c: Likewise.
72118         * math/s_ctanhf.c: Likewise.
72119         * math/s_ctanhl.c: Likewise.
72120         * math/libm-test.inc (ctan_test): Add more tests.
72121         (ctanh_test): Likewise.
72122         * sysdeps/i386/fpu/libm-test-ulps: Update.
72123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72125 2012-04-09  Andreas Jaeger  <aj@suse.de>
72127         [BZ #6894]
72128         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72129         is an optional BSD extension.
72131         [BZ #10254]
72132         * manual/stdio.texi (Opening Streams): Document additional fopen
72133         parameters.
72135 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72137         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72138         %eax without telling the compiler.
72140 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72142         [BZ # 13963]
72143         * manual/install.texi: Use sourceware.org.
72145 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72147         [BZ #13873]
72148         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72149         (__ieee754_pow): Generate overflow and underflow using huge*huge
72150         and tiny*tiny rather than just returning constant infinity or zero
72151         for large exponents.
72152         * math/libm-test.inc (pow_test): Require overflow exceptions for
72153         applicable cases of large exponents.
72155         [BZ #706]
72156         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72157         (__ieee754_pow): Use iterative multiplication algorithm only for
72158         integer exponents with absolute value below 1024.  Check for odd
72159         integer exponents when using algorithm for real exponents.
72160         * math/libm-test.inc (pow_test): Add more tests.
72161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72163 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72165         [BZ #13705]
72166         * math/libm-test.inc (exp_test): Do not allow overflow exception
72167         on underflow test.
72169 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72171         [BZ #13705]
72172         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72173         instead of __kernel_standard_f.
72175 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72177         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72178         * sysdeps/x86_64/memset_chk.S: Likewise.
72180 2012-04-08  Andreas Jaeger  <aj@suse.de>
72182         [BZ #10153]
72183         * manual/startup.texi (Environment Access): Describe return value
72184         for putenv and setenv.
72186         [BZ #6895]
72187         * manual/filesys.texi (Directory Entries): Add description for
72188         DT_LNK.
72190         [BZ #6890]
72191         * manual/filesys.texi (Directory Entries): Clarify that it's file
72192         system not operating system in the description of DT_UNKNOWN.
72194         [BZ #6578]
72195         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72197 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72199         [BZ #6649]
72200         * manual/llio.texi (Opening and Closing Files): Add cross
72201         reference to explain mode argument.
72203 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72205         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72206         * sysdeps/x86_64/memset_chk.S: Likewise.
72208 2012-04-07  David S. Miller  <davem@davemloft.net>
72210         * elf/elf.h (R_SPARC_WDISP10): Define.
72211         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72212         R_SPARC_SIZE32.
72213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72214         R_SPARC_SIZE64 and R_SPARC_H34.
72216 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72218         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72219         conditions and remove no longer applicable assertion.
72221 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72223         * bits/byteswap.h: Include <features.h>.
72224         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72225         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72227 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72229         * bits/byteswap.h (__bswap_16): Removed.
72230         Include <bits/byteswap-16.h> to get __bswap_16.
72231         * sysdeps/i386/bits/byteswap.h: Likewise.
72232         * sysdeps/s390/bits/byteswap.h: Likewise.
72233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72234         * bits/byteswap-16.h: New file.
72235         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72236         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72237         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72238         * string/Makefile (headers): Add bits/byteswap-16.h.
72240 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72242         [BZ #13895]
72243         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72244         extra indirection.
72245         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72246         * nss/tst-nss-static.c: New.
72248 2012-04-06  Robert Millan  <rmh@gnu.org>
72250         [BZ #6486]
72251         * manual/llio.texi (File Position Primitive): lseek
72252         refers to WHENCE when it really means OFFSET.
72254 2012-04-06  Andreas Jaeger  <aj@suse.de>
72256         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72257         strncmp declarations.
72259         * abilist/libc.abilist: Add __poll and __ppoll.
72261 2012-04-05  David S. Miller  <davem@davemloft.net>
72263         * scripts/check-local-headers.sh: Accept a host triplet in the
72264         path matched by the exclude regexp.
72266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72267         definition.
72268         * sysdeps/powerpc/powerpc32/dl-machine.h
72269         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72270         * sysdeps/s390/s390-32/dl-machine.h
72271         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72272         * sysdeps/sparc/sparc32/dl-machine.h
72273         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72274         * sysdeps/sparc/sparc64/dl-machine.h
72275         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72277         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72278         lazy binding.
72279         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72280         undefined symbol errors.
72282         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72283         DT_NEEDED entries.
72285 2012-04-05  Michael Matz  <matz@suse.de>
72287         [BZ #13592]
72288         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72290 2012-04-05  Andreas Jaeger  <aj@suse.de>
72292         [BZ #13908]
72293         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72294         comment.
72296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72299         which ROUND is no valid rounding mode.
72301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72303         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72304         read again.
72305         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72309         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72310         an exception using FPU order intentionally.
72312 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72314         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72315         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72316         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72317         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72319 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72321         [BZ #12340]
72322         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72323         EINVAL when BUFLEN is too smal.
72325 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72327         [BZ #13553]
72328         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72329         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72331 2012-04-03  Andreas Jaeger  <aj@suse.de>
72333         [BZ #13938]
72334         * manual/setjmp.texi (System V contexts): Fix sentence.
72336         [BZ #13926]
72337         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72338         New macro for this case.
72339         [!__GNUC__] (__bswap_64): New inline function for this case.
72340         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72341         * bits/byteswap.h: Likewise.
72342         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72343         ull, guard with __GLIBC_HAVE_LONG_LONG.
72345         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72346         __GLIBC_HAVE_LONG_LONG.
72348         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72349         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72351 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72353         [BZ #13691]
72354         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72355         inptr and inend, rather than using last_ch.
72357 2012-04-02  David S. Miller  <davem@davemloft.net>
72359         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72360         * stdio-common/printf-parse.h (read_int): Change return type to
72361         'int', return -1 on INT_MAX overflow.
72362         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72363         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72364         overflows INT_MAX.  Check for overflow of in-format-string precision
72365         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72366         SIZE_MAX not INT_MAX for integer overflow test.
72367         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72368         skip the construct in the format string but do not record anything.
72369         * stdio-common/bug22.c: Adjust to test both width/prevision
72370         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72371         explicitly for proper errno values.
72373 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72375         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72376         CHAR_MAX.
72377         * string/test-strcmp.c [! WIDE]: Likewise.
72378         * time/tst-mktime2.c: Likewise for INT_MAX.
72379         * string/test-string.h: #include <sys/param.h> for MIN.
72381         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72382         * sysdeps/i386/init-first.c (init): Likewise.
72383         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72384         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72385         * sysdeps/sh/init-first.c (init): Likewise.
72387 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72389         * po/ru.po: Update from translation team.
72390         * po/vi.po: Likewise.
72392 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72394         * resolv/nss_dns/dns-host.c: Merge copyright years.
72396 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72398         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72399         Optimize memcpy with prefetch if
72400         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72401         src, dst pointers have unequal 16 byte alignments.
72403 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72405         [BZ #13928]
72406         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72407         from a CNAME entry and return the minimum ttl for the query.
72408         (gaih_getanswer_slice): Likewise.
72410 2012-03-30  Jeff Law  <law@redhat.com>
72412         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72413         due to long keys.
72414         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72415         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72417         * resolv/nss_dns/dns-host.c: Update copyright year.
72419 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72421         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72422         requests to save a system call.  Fix check that all bytes are sent.
72424         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72425         comments for sendmmsg.
72427 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72429         [BZ #13691]
72430         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72431         with only 1 character between 0x0041 and 0x01b0.
72432         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72433         * wcsmbs/tst-mbsnrtowcs.c: New file.
72435 2012-03-29  David S. Miller  <davem@davemloft.net>
72437         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72438         small copies by hand.
72440 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72442         [BZ #13761]
72443         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72444         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72445         group memberships.
72447 2012-03-28  David S. Miller  <davem@davemloft.net>
72449         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72450         that branches into memcpy.
72451         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72452         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72454         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72456         bits.
72457         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72458         implementation too.
72459         * sysdeps/sparc/mempcpy.S: New file.
72461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72462         the IFUNC routine in the libc case.
72463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72465         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72466         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72467         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72468         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72469         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72470         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72471         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72472         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72474         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72475         loop to 256 bytes instead of 64 bytes and fix test signedness.
72477         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72478         * sysdeps/sparc/sparc32/Makefile: rather than here...
72479         * sysdeps/sparc/sparc64/Makefile: and here.
72481 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72483         * malloc/mallocbug.c: Avoid warnings about unused variables.
72485 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72487         [BZ #13760]
72488         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72489         in the right place. Discard and retry query if response is
72490         larger than input buffer size.
72492 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72494         [BZ #369]
72495         [BZ #2678]
72496         [BZ #3866]
72497         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72498         x for large integer exponent.
72499         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72500         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72501         sign of result as needed afterwards.
72502         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72504         result for underflowing pow the same as for overflow.
72505         (__kernel_standard_l): Handle powl overflow and underflow here
72506         rather than calling __kernel_standard.
72507         * math/libm-test.inc (pow_test): Add more tests.
72509         [BZ #3868]
72510         [BZ #13879]
72511         [BZ #13910]
72512         [BZ #13911]
72513         [BZ #13912]
72514         [BZ #13913]
72515         [BZ #13915]
72516         [BZ #13916]
72517         [BZ #13917]
72518         [BZ #13918]
72519         [BZ #13919]
72520         [BZ #13920]
72521         [BZ #13921]
72522         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72523         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72524         (__kernel_standard_l): New function.
72525         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72526         __kernel_standard.
72527         * math/w_acosl.c (__acosl): Likewise.
72528         * math/w_asinl.c (__asinl): Likewise.
72529         * math/w_atan2l.c (__atan2l): Likewise.
72530         * math/w_atanhl.c (__atanhl): Likewise.
72531         * math/w_coshl.c (__coshl): Likewise.
72532         * math/w_exp10l.c (__exp10l): Likewise.
72533         * math/w_exp2l.c (__exp2l): Likewise.
72534         * math/w_fmodl.c (__fmodl): Likewise.
72535         * math/w_hypotl.c (__hypotl): Likewise.
72536         * math/w_j0l.c (__j0l, __y0l): Likewise.
72537         * math/w_j1l.c (__j1l, __y1l): Likewise.
72538         * math/w_jnl.c (__jnl, __ynl): Likewise.
72539         * math/w_lgammal.c (__lgammal): Likewise.
72540         * math/w_log10l.c (__log10l): Likewise.
72541         * math/w_log2l.c (__log2l): Likewise.
72542         * math/w_logl.c (__logl): Likewise.
72543         * math/w_powl.c (__powl): Likewise.
72544         * math/w_remainderl.c (__remainderl): Likewise.
72545         * math/w_scalbl.c (sysv_scalbl): Likewise.
72546         * math/w_sinhl.c (__sinhl): Likewise.
72547         * math/w_sqrtl.c (__sqrtl): Likewise.
72548         * math/w_tgammal.c (__tgammal): Likewise.
72549         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72550         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72551         * math/libm-test.inc (acos_test): Add more tests.
72552         (acosh_test): Likewise.
72553         (asin_test): Likewise.
72554         (atanh_test): Likewise.
72555         (exp_test): Likewise.
72556         (exp10_test): Likewise.
72557         (exp2_test): Likewise.
72558         (expm1_test): Likewise.
72559         (lgamma_test): Likewise.
72560         (log_test): Likewise.
72561         (log10_test): Likewise.
72562         (log1p_test): Likewise.
72563         (log2_test): Likewise.
72564         (pow_test): Do not allow some spurious overflow exceptions.
72565         (sqrt_test): Add more tests.
72566         (tgamma_test): Likewise.
72567         (y0_test): Likewise.
72568         (y1_test): Likewise.
72569         (yn_test): Likewise.
72571 2012-03-27  Anton Blanchard  <anton@samba.org>
72573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72574         MAP_HUGETLB.
72575         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72579 2012-03-27  David S. Miller  <davem@davemloft.net>
72581         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72583         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72584         have-as-vis3 check.
72586 2012-03-27  Andreas Jaeger  <aj@suse.de>
72588         * sysdeps/x86_64/elf/configure.in: Moved to ...
72589         * sysdeps/x86_64/configure.in: ... here.
72590         * sysdeps/x86_64/elf/start.S: Moved to ...
72591         * sysdeps/x86_64/start.S: ... here.
72592         * sysdeps/x86_64/elf/configure: Delete.
72594         * sysdeps/x86_64/configure.in: Merge contents from
72595         sysdeps/i386/configure.in (without i686 check).
72597         * sysdeps/i386/elf/Versions: Merge into ...
72598         * sysdeps/i386/Versions: ... this.
72599         * sysdeps/i386/elf/Versions: Delete file.
72600         * sysdeps/i386/elf/start.S: Moved to ...
72601         * sysdeps/i386/start.S: ...here.
72602         * sysdeps/i386/elf/configure.in: Merge into...
72603         * sysdeps/i386/configure.in: ...here.
72604         * sysdeps/i386/elf/configure.in: Delete file.
72605         * sysdeps/i386/elf/configure: Delete file.
72607         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72608         * debug/backtracesyms.c: ... here.
72609         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72610         * debug/backtracesymsfd.c: ... here.
72611         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72612         * sysdeps/generic/ifunc-sel.h: ... here.
72614         * sysdeps/unix/i386/start.c: Delete file.
72615         * sysdeps/unix/sparc/start.c: Delete file.
72616         * sysdeps/unix/start.c: Delete file.
72618         * sysdeps/sh/elf/configure.in: Moved to ...
72619         * sysdeps/sh/configure.in: ... here.
72620         * sysdeps/sh/elf/start.S: Moved to ...
72621         * sysdeps/sh/start.S: ... here.
72622         * sysdeps/sh/elf/configure: Delete file.
72624         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72625         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72626         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72627         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72628         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72629         * sysdeps/powerpc/powerpc64/start.S: here.
72630         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72631         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72632         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72633         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72634         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72636         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72637         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72638         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72639         * sysdeps/powerpc/powerpc32/start.S: ... here.
72640         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72641         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72642         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72644         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72645         * sysdeps/powerpc/ifunc-sel.h: ... here.
72646         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72647         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72649         * sysdeps/sparc/elf/configure.in: Moved to ...
72650         * sysdeps/sparc/configure.in: ... here.
72651         * sysdeps/sparc/elf/configure: Delete file.
72652         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72653         * sysdeps/sparc/sparc32/start.S: ... here.
72654         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72655         * sysdeps/sparc/sparc64/start.S: ... here.
72656         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72657         * sysdeps/sparc/sparc32/Makefile: ... this.
72658         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72659         * sysdeps/sparc/sparc64/Makefile: ... this.
72661         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72662         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72663         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72664         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72665         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72666         * sysdeps/s390/s390-32/setjmp.S: ... here.
72667         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72668         * sysdeps/s390/s390-32/configure.in: ... here.
72669         * sysdeps/s390/s390-32/elf/configure: Delete file.
72670         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72671         * sysdeps/s390/s390-32/start.S: ... here.
72673         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72674         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72675         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72676         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72677         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72678         * sysdeps/s390/s390-64/setjmp.S: ... here.
72679         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72680         * sysdeps/s390/s390-64/configure.in: ... here
72681         * sysdeps/s390/s390-64/elf/configure: Delete file.
72682         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72683         * sysdeps/s390/s390-64/start.S: ... here.
72684         * sysdeps/s390/s390-64/elf/configure: Delete.
72686         * configure.in: Remove support for elf directories in sysdeps.
72688         * configure: Regenerated.
72689         * sysdeps/i386/configure: Regenerated.
72690         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72691         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72692         * sysdeps/s390/s390-32/configure: Regenerated.
72693         * sysdeps/s390/s390-64/configure: Regenerated.
72694         * sysdeps/sh/configure: Regenerated.
72695         * sysdeps/sparc/configure: Regenerated.
72696         * sysdeps/x86_64/configure: Regenerated.
72698 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72703         denormal result into account.
72705 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72707         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72708         Reported by Allan McRae <allan@archlinux.org>.
72710 2012-03-23  Jeff Law  <law@redhat.com>
72712         * nss/getnssent.c (__nss_getent): Fix typo.
72714 2012-03-23  David S. Miller  <davem@davemloft.net>
72716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72718 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72720         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72721         to pad to uint64_t for each field.
72722         (dl_tls_index): Replace unsigned long with uint64_t.
72724 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72725         Paul Pluzhnikov  <ppluzhnikov@google.com>
72727         [BZ #6528]
72728         * grp/Makefile (otherlibs): Don't set it.
72729         * inet/Makefile (otherlibs): Likewise.
72730         * login/Makefile (otherlibs): Likewise.
72731         * nscd/Makefile (otherlibs): Likewise.
72732         * posix/Makefile (otherlibs): Likewise.
72733         * pwd/Makefile (otherlibs): Likewise.
72734         * rt/Makefile (otherlibs): Likewise.
72735         * sunrpc/Makefile (otherlibs): Likewise.
72736         * nss/Makefile (otherlibs): Likewise.
72737         Add libnss_files to routines and static-only-routines.
72738         ($(objpfx)getent): Remove rule.
72739         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72740         static-only-routines.
72742 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72744         [BZ #13892]
72745         * math/s_cexp.c: Include <float.h>.
72746         (__cexp): Handle exp result overflowing not necessarily
72747         overflowing both real and imaginary parts of result.
72748         * math/s_cexpf.c: Likewise.
72749         * math/s_cexpl.c: Likewise.
72750         * math/libm-test.inc (cexp_test): Add more tests.
72751         * sysdeps/i386/fpu/libm-test-ulps: Update.
72752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72756         * include/link.h (ELFW): New macro.
72757         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72758         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72760 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72762         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72763         with uint64_t.
72765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72767         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72768         declaration.
72769         (struct La_x32_retval): Likewise.
72771 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72773         * sysdeps/x86_64/preconfigure.in: New file.
72774         * sysdeps/x86_64/preconfigure: New generated file.
72776 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72778         [BZ #13824]
72779         * math/e_exp2l.c: Include <float.h>.
72780         (__ieee754_exp2l): Handle overflow and underflow cases
72781         separately.  Only pass fractional part of argument to
72782         __ieee754_expl.
72783         * math/libm-test.inc (exp2_test): Add more tests.
72785         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72786         negating x to take absolute value.
72787         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72788         Likewise.
72789         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72790         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72791         Likewise.
72792         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72793         computing low part if x was negated.
72794         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72796 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72798         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72799         la_x32_gnu_pltexit.
72800         (pltexit): Cast int_retval to ptrdiff_t.
72801         * elf/tst-auditmod3b.c: Likewise.
72802         * elf/tst-auditmod4b.c: Likewise.
72803         * elf/tst-auditmod5b.c: Likewise.
72804         * elf/tst-auditmod6b.c: Likewise.
72805         * elf/tst-auditmod6c.c: Likewise.
72806         * elf/tst-auditmod7b.c: Likewise.
72808         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72809         and x32_gnu_pltexit.
72811         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72812         __ELF_NATIVE_CLASS.
72813         (La_x32_regs): New macro.
72814         (La_x32_retval): Likewise.
72815         (la_x32_gnu_pltenter): New function prototype.
72816         (la_x32_gnu_pltexit): Likewise.
72818 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72820         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72821         exponent.
72823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72825         * configure.in (libc_cv_cc_nofma): Check for option to disable
72826         generation of FMA instructions.
72827         * configure: Regenerate.
72828         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72829         * sysdeps/ieee754/dbl-64/Makefile: New file.
72830         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72831         Remove brandred-fma4.
72832         (CFLAGS-brandred-fma4.c): Remove.
72833         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72834         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72835         define.
72836         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72837         define.
72839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72841         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72842         LLONG_MAX != LONG_MAX.
72843         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72844         (_fitoa_word): Likewise.
72845         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72846         LLONG_MAX != LONG_MAX.
72847         * stdio-common/_itowa.h: Include <_itoa.h>.
72848         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72849         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72850         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72851         only if not defined.
72852         (_ITOA_WORD_TYPE): Likewise.
72853         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72854         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72856 2012-03-21  David S. Miller  <davem@davemloft.net>
72858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72860 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72862         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72863         of x86_64 when setting libc_cv_slibdir, libdir and
72864         libc_cv_localedir.
72865         * sysdeps/unix/sysv/linux/configure: Regenerated.
72867 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72869         * manual/lang.texi (Old Varargs): Remove section.
72870         (How Variadic): Update menu.
72871         (va_start): Do not mention varargs.h.
72873 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72874             Joseph Myers  <joseph@codesourcery.com>
72876         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72877         link test.
72878         * configure: Regenerated.
72880 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72882         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72883         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72884         conformtest.pl
72886 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72888         * NOTES: Remove.
72889         * Makefile (files-for-dist): Remove NOTES.
72890         (NOTES): Remove rule.
72891         * README: Don't refer to NOTES.
72892         * manual/creature.texi: Don't include macros.texi.
72893         * manual/intro.texi (creature.texi): Remove comment referring to
72894         NOTES.
72896         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72897         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72898         * configure: Regenerated.
72899         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72900         LIBC_TRY_CC_OPTION.
72901         (libc_cv_as_i686): Likewise.
72902         (libc_cv_cc_avx): Likewise.
72903         (libc_cv_cc_sse2avx): Likewise.
72904         (libc_cv_cc_fma4): Likewise.
72905         (libc_cv_cc_novzeroupper): Likewise.
72906         * sysdeps/i386/configure: Regenerated.
72908         [BZ #13883]
72909         * sysdeps/i386/fpu/s_cexp.S: Remove.
72910         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72911         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72912         * math/libm-test.inc (cexp_test): Add more tests.
72913         * sysdeps/i386/fpu/libm-test-ulps: Update.
72914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72916 2012-03-21  Allan McRae  <allan@archlinux.org>
72918         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72920 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72922         [BZ #13871]
72923         * math/w_exp2.c: Do not include <float.h>.
72924         (o_threshold, u_threshold): Remove.
72925         (__exp2): Calculate result before checking finiteness and calling
72926         __kernel_standard.
72927         * math/w_exp2f.c: Likewise.
72928         * math/w_exp2l.c: Likewise.
72929         * math/libm-test.inc (exp2_test): Require overflow exception for
72930         1e6 input.
72932         [BZ #3866]
72933         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72934         range of signed 64-bit integers before using fistpll.  Remove
72935         checks for whether integers fit in mantissa bits.
72936         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72937         the range of signed 32-bit integers before using fistpl.  Remove
72938         checks for whether integers fit in mantissa bits.
72939         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72940         (__ieee754_powl): Test for y outside the range of signed 64-bit
72941         integers before using fistpll.  Reduce 64-bit values to 63-bit
72942         ones as needed.
72943         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72944         divide-by-zero is raised for zero to large negative powers.
72945         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72946         (__ieee754_powl): Test for y outside the range of signed 64-bit
72947         integers before using fistpll.  Reduce 64-bit values to 63-bit
72948         ones as needed.
72949         * math/libm-test.inc (pow_test): Add more tests.
72951 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72953         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72954         <stdio-common/_itoa.h>.
72955         * debug/segfault.c: Likewise.
72956         * elf/dl-cache.c: Likewise.
72957         * elf/dl-minimal.c: Likewise.
72958         * elf/dl-misc.c: Likewise.
72959         * elf/dl-sysdep.c: Likewise.
72960         * elf/dl-version.c: Likewise.
72961         * elf/rtld.c: Likewise.
72962         * hurd/hurdsock.c: Likewise.
72963         * hurd/lookup-retry.c: Likewise.
72964         * malloc/malloc.c: Likewise.
72965         * malloc/mtrace.c: Likewise.
72966         * nscd/nscd_getgr_r.c: Likewise.
72967         * nscd/nscd_getpw_r.c: Likewise.
72968         * nscd/nscd_getserv_r.c: Likewise.
72969         * posix/getopt_init.c: Likewise.
72970         * posix/wordexp.c: Likewise.
72971         * stdio-common/_itoa.c: Likewise.
72972         * stdio-common/printf_fphex.c: Likewise.
72973         * stdio-common/vfprintf.c: Likewise.
72974         * string/_strerror.c: Likewise.
72975         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72976         * sysdeps/i386/i686/hp-timing.h: Likewise.
72977         * sysdeps/mach/_strerror.c: Likewise.
72978         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72979         * sysdeps/mach/hurd/sethostid.c: Likewise.
72980         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72981         * sysdeps/mach/xpg-strerror.c: Likewise.
72982         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72984         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72985         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72986         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72987         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72989         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72990         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72991         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72992         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72993         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72994         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72996         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72997         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72998         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72999         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73000         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73001         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73002         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73004         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73006         * stdio-common/_itoa.h: Moved to ...
73007         * sysdeps/generic/_itoa.h: Here.
73009         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73011         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73012         instead of "_itoa.h" and "_itowa.h".
73013         * stdio-common/vfprintf.: Likewise.
73015 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73017         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73018         <bits/wordsize.h>.
73019         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73020         (__signbit): Likwise.
73021         (llrintf): Likwise.
73022         (llrint): Likwise.
73024 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73026         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73027         __WORDSIZE != 64.
73029 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
73031         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73032         OVERFLOW_EXCEPTION_OK.
73033         * math/libm-test.inc ("Philosophy"): Update comment about
73034         exception testing.
73035         (OVERFLOW_EXCEPTION): Define.
73036         (OVERFLOW_EXCEPTION_OK): Likewise.
73037         (INVALID_EXCEPTION_OK): Renumber.
73038         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73039         (IGNORE_ZERO_INF_SIGN): Likewise.
73040         (test_exceptions): Handle FE_OVERFLOW.
73041         (exp10_test): Expect overflow exceptions.
73042         (exp2_test): Likewise.
73043         (expm1_test): Likewise.
73044         (nextafter_test): Likewise.
73045         (pow_test): Likewise.
73046         (scalbn_test): Likewise.
73047         (scalbln_test): Likewise.
73049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73051         * sysdeps/x86_64/bits/atomic.h
73052         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73053         64bit integer.
73054         (atomic_exchange_acq): Likewise.
73055         (__arch_exchange_and_add_body): Likewise.
73056         (__arch_add_body): Likewise.
73057         (atomic_add_negative): Likewise.
73058         (atomic_add_zero): Likewise.
73060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73062         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73063         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73067         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73068         Check __x86_64__ instead of __WORDSIZE.
73070 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73072         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73074 2012-03-19  David S. Miller  <davem@davemloft.net>
73076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73078         * sysdeps/sparc/fpu/fenv_private.h: New file.
73079         * sysdeps/sparc/fpu/math_private.h: Use it.
73080         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73081         Remove.
73082         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73083         (libc_feholdexcept_setroundl): Remove.
73084         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73085         Remove.
73086         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73087         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73091         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73092         int64_t instead of long int.
73093         (INSERT_WORDS64): Likwise.
73095 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73097         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73098         _Unwind_GetCFA return to _Unwind_Ptr first.
73100 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73102         [BZ #13629]
73103         * math/s_clog.c: Include <float.h>.
73104         (__clog): Scale large or subnormal inputs.
73105         * math/s_clogf.c: Likewise.
73106         * math/s_clogl.c: Likewise.
73107         * math/s_clog10.c: Include <float.h>.
73108         (M_LOG10_2): Define.
73109         (__clog10): Scale large or subnormal inputs.
73110         * math/s_clog10f.c: Likewise.
73111         * math/s_clog10l.c: Likewise.
73112         * math/libm-test.inc (clog_test): Add more tests.
73113         (clog10_test): Likewise.
73114         * sysdeps/i386/fpu/libm-test-ulps: Update.
73115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73117         [BZ #11451]
73118         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73119         x and y.
73120         * math/libm-test.inc (atan2_test): Add another test.
73122         * Makerules (common-objdir-compile): Remove.
73123         * sysdeps/unix/Makefile (config-generated): Do not add
73124         $(unix-generated) to variable.
73125         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73126         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73127         Remove rule.
73128         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73129         Likewise.
73130         [generic bits/local_lim.h] (before-compile): Do not append to
73131         variable.
73132         [generic bits/local_lim.h] (common-generated): Likewise.
73133         [generic sys/param.h] (before-compile): Do not append to variable.
73134         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73135         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73136         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73137         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73138         include.
73139         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73140         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73141         [generic sys/param.h] ($(addprefix
73142         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73143         [generic sys/param.h] (common-generated): Do not append to
73144         variable.
73145         [generic sys/param.h] (sysdep_headers): Likewise.
73146         [generic bits/errno.h] (before-compile): Do not append to
73147         variable.
73148         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73149         rule.
73150         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73151         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73152         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73153         [generic bits/errno.h] (common-generated): Do not append to
73154         variable.
73155         [generic bits/ioctls.h] (before-compile): Do not append to
73156         variable.
73157         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73158         rule.
73159         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73160         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73161         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73162         rule.
73163         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73164         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73165         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73166         [generic bits/ioctls.h] (common-generated): Do not append to
73167         variable.
73168         [generic sys/syscall.h] (syscall.h): Remove variable.
73169         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73170         rule.
73171         [generic sys/syscall.h] (before-compile): Do not append to
73172         variable.
73173         [generic sys/syscall.h] (common-generated): Likewise.
73174         * sysdeps/unix/errnos-tmpl.c: Remove file.
73175         * sysdeps/unix/errnos.awk: Likewise.
73176         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73177         * sysdeps/unix/ioctls.awk: Likewise.
73178         * sysdeps/unix/mk-local_lim.c: Likewise.
73179         * sysdeps/unix/snarf-ioctls: Likewise.
73181 2012-03-19  Richard Henderson  <rth@twiddle.net>
73183         * sysdeps/i386/fpu/fenv_private.h: New file.
73184         * sysdeps/i386/fpu/math_private.h: Use it.
73185         (math_opt_barrier, math_force_eval): Remove.
73186         (libc_feholdexcept_setround_53bit): Remove.
73187         (libc_feupdateenv_53bit): Remove.
73188         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73189         (math_opt_barrier, math_force_eval): Remove.
73190         (libc_feholdexcept): Remove.
73191         (libc_feholdexcept_setround): Remove.
73192         (libc_fetestexcept, libc_fesetenv): Remove.
73193         (libc_feupdateenv_test): Remove.
73194         (libc_feupdateenv, libc_feholdsetround): Remove.
73195         (libc_feresetround): Remove.
73197         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73198         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73200         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73201         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73202         (libc_feupdateenv_testl): New.
73203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73204         (libc_feupdateenv_testf): New.
73205         (libc_feupdateenv): Use libc_feupdateenv_test.
73206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73209         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73210         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73211         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73212         (libc_feresetround_noex): New.
73213         (libc_feresetround_noexf): New.
73214         (libc_feresetround_noexl): New.
73215         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73216         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73217         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73218         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73219         SET_RESTORE_ROUND.
73220         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73222         (__cos): Likewise.
73223         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73224         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73225         SET_RESTORE_ROUND_NOEX.
73226         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73227         SET_RESTORE_ROUND_NOEXF.
73228         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73229         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73230         (libc_feholdsetroundf): New.
73231         (libc_feresetround, libc_feresetroundf): New.
73233         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73234         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73235         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73237         * sysdeps/generic/math_private.h: Include <fenv.h>.
73238         (default_libc_feholdexcept): New.
73239         (default_libc_feholdexcept_setround): New.
73240         (default_libc_fesetenv, default_libc_feupdateenv): New.
73241         (libc_feholdexcept): Only define if undefined.
73242         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73243         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73244         (libc_feholdexcept_setroundl): Likewise.
73245         (libc_feholdexcept_setround_53bit): Likewise.
73246         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73247         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73248         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73249         (libc_feupdateenv_53bit): Likewise.
73250         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73251         (libc_feholdexcept): Convert from macro to inline function.
73252         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73253         (libc_fesetenv, libc_feupdateenv): Likewise.
73255         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73256         not previously defined.
73257         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73258         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73259         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73260         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73261         * sysdeps/ieee754/flt-32/math_private.h: New file.
73262         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73263         math_private.h below SET_FLOAT_WORD.
73264         (__isnan, __isinf_ns, __finite): Remove.
73265         (__isnanf, __isinf_nsf, __finitef): Remove.
73267 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73271 2012-03-17  David S. Miller  <davem@davemloft.net>
73273         [BZ #6471]
73274         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73275         for 2.16.
73277 2012-03-16  David S. Miller  <davem@davemloft.net>
73279         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73280         warnings.
73282         [BZ #6471]
73283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73284         properly.
73285         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73286         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73287         sysdep_routines when subdir is sysvipc.
73288         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73289         __getshmlba helper.
73291         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73295         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73296         [__LP64__].
73298 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73300         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73301         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73302         (__lround): Renamed to ...
73303         (__llround): This.  Replace long int with long long int.
73304         Define lround functions as aliases of llround functions.
73305         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73307 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73309         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73310         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73311         adresses to uintptr_t.  Replace "long int" and "unsigned long
73312         int" with "greg_t" on va_arg.
73314 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73316         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73317         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73319         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73320         Move e_machine check before EI_CLASS check.  Handle x32
73321         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73322         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73323         SKIP_EM_IA_64 and include
73324         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73326         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73327         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73328         (add_system_dir): New macro.
73330         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73331         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73333 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73335         [BZ #2551]
73336         [BZ #2552]
73337         [BZ #2553]
73338         [BZ #2554]
73339         [BZ #2562]
73340         [BZ #2563]
73341         [BZ #2565]
73342         [BZ #2566]
73343         [BZ #2576]
73344         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73345         (y0): Likewise.
73346         * math/w_j0f.c (j0f): Likewise.
73347         (y0f): Likewise.
73348         * math/w_j0l.c (__j0l): Likewise.
73349         (__y0l): Likewise.
73350         * math/w_j1.c (j1): Likewise.
73351         (y1): Likewise.
73352         * math/w_j1f.c (j1f): Likewise.
73353         (y1f): Likewise.
73354         * math/w_j1l.c (__j1l): Likewise.
73355         (__y1l): Likewise.
73356         * math/w_jn.c (jn): Likewise.
73357         (yn): Likewise.
73358         * math/w_jnf.c (jnf): Likewise.
73359         (ynf): Likewise.
73360         * math/w_jnl.c (__jnl): Likewise.
73361         (__ynl): Likewise.
73362         * math/libm-test.inc (j0_test): Add more tests.
73363         (j1_test): Likewise.
73364         (jn_test): Likewise.  Add trailing semicolon to existing test.
73365         (y0_test): Likewise.
73366         (y1_test): Likewise.
73367         * sysdeps/i386/fpu/libm-test-ulps: Update.
73368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73370         [BZ #13851]
73371         [BZ #13854]
73372         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73373         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73374         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73375         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73376         (__tanl): Set errno for infinite argument.
73377         * sysdeps/i386/fpu/mptan.c: Remove.
73378         * sysdeps/i386/fpu/s_tan.S: Likewise.
73379         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73380         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73381         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73382         * math/libm-test.inc (tan_test): Add more tests and enable more
73383         tests for double and long double.
73384         * sysdeps/i386/fpu/libm-test-ulps: Update.
73385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73387 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73389         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73390         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73392 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73394         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73395         * configure.in: Use it for both main tree and add-ons.
73396         * configure: Regenerated.
73398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73400         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73402 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73404         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73405         in comment.
73407         [BZ #13851]
73408         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73409         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73410         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73411         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73412         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73413         infinite argument.
73414         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73416         != 0 for prec == 2.
73417         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73418         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73419         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73420         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73421         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73422         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73423         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73424         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73425         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73426         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73427         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73428         * math/libm-test.inc (cos_test): Add more tests and enable more
73429         tests for long double.
73430         (sin_test): Likewise.
73431         (sincos_test): Likewise.
73432         * sysdeps/i386/fpu/libm-test-ulps: Update.
73433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73435 2012-03-16  David S. Miller  <davem@davemloft.net>
73437         * sysdeps/sparc/fpu/math_private.h: New file.
73439 2012-03-15  David S. Miller  <davem@davemloft.net>
73441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73442         file.
73443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73445         file.
73446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73452         sysdep routines.
73453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73455         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73456         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73458         * sysdeps/sparc/sparc-ifunc.h: New file.
73459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73460         sparc-ifunc.h
73461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73463         Likewise.
73464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73465         Likewise.
73466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73470         Likewise.
73471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73476         Likewise.
73477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73478         Likewise.
73479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73485         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73497         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73498         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73499         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73500         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73501         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73504 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73506         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73507         scaling.
73508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73510 2012-03-15  Andreas Jaeger  <aj@suse.de>
73512         [BZ #13852]
73513         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73514         ieee754/flt-32 implementation for sin, cos and sincos.
73515         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73516         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73517         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73518         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73519         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73520         ieee754/flt-32 implementation for tan.
73522         * math/libm-test.inc (cos_test): Enable some large input tests for
73523         float as well
73524         (sin_test): Likewise.
73525         (sincos_test): Likewise.
73526         (tan_test): Add tests for large input.
73528         * sysdeps/i386/fpu/libm-test-ulps: Update.
73530 2012-03-15  Andreas Jaeger  <aj@suse.de>
73532         [BZ #13658]
73533         * math/libm-test.inc (cos_test): Add more test cases.
73534         (sin_test): Likewise.
73535         (sincos_test): Likewise.
73537 2012-03-15  Andreas Jaeger  <aj@suse.de>
73539         [BZ #13837]
73540         * math/libm-test.inc (cos_test): Add a test case for large input
73541         value.
73542         (sin_test): Likewise.
73543         (sincos_test): Likewise.
73545 2012-03-15  Andreas Jaeger  <aj@suse.de>
73546             Joseph Myers  <joseph@codesourcery.com>
73548         [BZ #13658]
73549         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73550         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73551         * sysdeps/i386/fpu/branred.c: Likewise.
73552         * sysdeps/i386/fpu/dosincos.c: Likewise.
73553         * sysdeps/i386/fpu/mpa.c: Likewise.
73554         * sysdeps/i386/fpu/s_cos.S: Likewise.
73555         * sysdeps/i386/fpu/s_sin.S: Likewise.
73556         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73557         * sysdeps/i386/fpu/sincos32.c: Likewise.
73559         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73560         Define.
73561         (libc_feupdateenv_53bit): Define.
73562         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73563         Define.
73564         (libc_feupdateenv_53bit): Define.
73566         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73567         53 bit (without extend i386 double precision).
73569         * math/libm-test.inc (sincos_test): Add tests for large input.
73570         (sin): Likewise.
73571         (cos): Likewise.
73573         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73575 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73579 2012-03-15  David S. Miller  <davem@davemloft.net>
73581         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73582         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73583         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73584         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73597         file.
73598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73600         file.
73601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73603         file.
73604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73606         file.
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73608         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73609         fmin/fmax sysdep routines.
73610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73612 2012-03-14  David S. Miller  <davem@davemloft.net>
73614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73618         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73619         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73620         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73621         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73633         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73634         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73635         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73636         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73637         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73638         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73639         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73640         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73641         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73642         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73643         routines.
73644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73645         file.
73646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73648         file.
73649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73651         file.
73652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73654         file.
73655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73657         file.
73658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73660         file.
73661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73662         file.
73663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73664         file.
73665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73666         file.
73667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73668         New file.
73669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73670         file.
73671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73672         file.
73673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73675         file.
73676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73678         file.
73679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73681         file.
73682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73684         VIS3 routines.
73686         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73687         New file.
73689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73691         * sysdeps/sparc/configure.in: New file.
73692         * sysdeps/sparc/configure: Generate.
73693         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73694         * configure: Regenerate.
73695         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73696         * config.make.in (have-as-vis3): New.
73697         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73698         available use -Av9d instead of -Av9a.
73699         * sysdeps/sparc/sparc64/Makefile: Likewise.
73700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73702         New file.
73703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73704         file.
73705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73706         New file.
73707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73708         file.
73709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73710         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73711         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73715         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73716         fzeros/fnegs to load 0x80000000 into a float register instead of
73717         using the stack.
73718         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73720 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73723         bits/syscall.h.
73724         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73725         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73726         ($(inst_includedir)/bits/syscall.h): Remove rule.
73727         ($(objpfx)bits/syscall.d): Include instead of
73728         $(objpfx)syscall-list.d.
73729         (generated): Change syscall-list.h and syscall-list.d to
73730         bits/syscall.h and bits/syscall.d.
73732 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73734         [BZ #13846]
73735         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73737 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73739         [BZ #13841]
73740         * math/s_csqrt.c: Include <float.h>.
73741         (__csqrt): Scale large or subnormal inputs.
73742         * math/s_csqrtf.c: Likewise.
73743         * math/s_csqrtl.c: Likewise.
73744         * math/libm-test.inc (csqrt_test): Add more tests.
73745         * sysdeps/i386/fpu/libm-test-ulps: Update.
73746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73748         [BZ #13840]
73749         * math/libm-test.inc (hypot_test): Add more tests.
73751 2012-03-13  David S. Miller  <davem@davemloft.net>
73753         [BZ #13840]
73754         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73755         double-precision for the calculation instead of scaling.
73757 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73759         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73760         manipulate bits before adding and subtracting TWO52[sx].
73761         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73763         Likewise.
73764         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73766 2012-03-13  David S. Miller  <davem@davemloft.net>
73768         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73769         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73771         rtld-global-offsets.h
73772         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73775         large parameters.
73777         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73779         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73780         'err' in the ifdef scope in which it is actually used.
73782         * nss/nss_db/db-init.c: Include string.h
73784 2012-03-12  David S. Miller  <davem@davemloft.net>
73786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73787         masking out of the most significant byte of random value used.
73788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73789         Fix coding style in previous change.
73791         * sysdeps/unix/sysv/linux/kernel-features.h
73792         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73793         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73794         expression.
73795         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73796         later.
73798 2012-03-11  David S. Miller  <davem@davemloft.net>
73800         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73801         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73802         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73803         for 'resultvar' otherwise things get truncated on 64-bit.
73805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73806         Fix masking out of the most significant byte of random value used.
73808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73810 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73814 2012-03-09  David S. Miller  <davem@davemloft.net>
73816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73817         variables with appropriate CPP guards.
73818         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73819         from the frame pointer, not the stack pointer.  Correct layout
73820         comments.  Fix test on resulting framesize and the management of
73821         the outregs buffer for pltexit.  Preserve floating point return
73822         values across _dl_call_pltexit call.
73823         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73824         framesize and the management of the outregs buffer for pltexit.
73825         Preserve floating point return values across _dl_call_pltexit
73826         call.
73827         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73828         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73829         (la_sparc64_gnu_pltexit): New functions.
73830         (print_exit): Fix format string for return register value.
73832 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73834         * sunrpc/Makefile (others): Add rpcgen.
73835         ($(objpfx)rpcgen): Remove special build rule and dependency on
73836         libc.
73837         * sunrpc/rpcgen.c: New file.
73839 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73841         [BZ #13673]
73842         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73843         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73844         * sysdeps/i386/crti.S: Likewise.
73845         * sysdeps/i386/crtn.S: Likewise.
73846         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73847         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73848         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73849         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73850         * sysdeps/sh/crti.S: Likewise.
73851         * sysdeps/sh/crtn.S: Likewise.
73852         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73854         [BZ #13673]
73855         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73856         with URL.
73857         * locale/programs/locfile-kw.gperf: Likewise.
73858         * locale/programs/charmap-kw.h: Regenerated.
73859         * locale/programs/locfile-kw.h: Likewise.
73861         [BZ #13673]
73862         * intl/plural.y: Replace FSF snail mail address with URL.
73863         * intl/plural.c: Regenerated.
73865 2012-03-09  Richard Henderson  <rth@twiddle.net>
73867         * include/math_private.h: Remove file.
73868         * math/math_private.h: Move file ...
73869         * sysdeps/generic/math_private.h: ... here.
73871         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73872         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73873         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73875         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73876         and <math_private.h>.
73877         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73878         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73879         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73880         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73881         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73896         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73899         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73901         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73902         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73903         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73907         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73909         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73910         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73911         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73912         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73913         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73914         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73915         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73917         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73918         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73919         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73920         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73921         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73922         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73923         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73924         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73925         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73926         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73927         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73928         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73929         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73930         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73931         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73932         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73933         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73934         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73936         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73937         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73938         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73940         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73941         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73942         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73943         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73944         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73945         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73948         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73950         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73951         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73955         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73957         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73958         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73959         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73960         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73961         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73964         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73965         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73966         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73967         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73968         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73970         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73971         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73972         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73973         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73974         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73975         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73976         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73977         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73978         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73979         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73980         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73981         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73982         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73983         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73984         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73985         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73987         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73988         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73989         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73990         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73991         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73992         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73993         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73994         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73995         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73996         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73997         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73998         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73999         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74000         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74001         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74002         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74003         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74004         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74005         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74006         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74007         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74008         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74009         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74010         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74011         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74012         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74013         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74014         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74015         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74016         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74017         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74018         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74019         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74020         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74021         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74022         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74023         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74024         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74025         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74026         * sysdeps/ieee754/k_standard.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74062         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74064         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74065         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74066         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74067         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74069         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74070         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74071         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74073         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74074         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74075         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74077         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74078         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74079         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74080         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74083         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74084         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74085         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74086         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74087         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74088         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74089         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74093         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74094         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74095         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74096         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74097         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74099         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74102         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74104         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74108         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74109         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74110         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74111         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74112         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74113         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74114         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74115         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74116         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74117         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74118         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74119         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74120         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74122         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74124         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74125         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74126         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74129         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74131         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74132         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74133         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74134         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74135         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74136         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74137         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74138         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74139         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74140         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74141         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74142         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74143         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74145         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74146         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74148         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74149         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74150         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74151         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74153         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74154         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74155         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74157         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74158         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74159         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74160         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74161         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74162         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74163         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74164         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74165         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74166         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74167         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74168         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74169         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74170         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74171         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74173         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74176         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74177         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74178         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74179         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74180         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74181         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74182         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74183         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74184         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74185         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74186         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74187         * sysdeps/ieee754/s_lib_version.c: Likewise.
74188         * sysdeps/ieee754/s_matherr.c: Likewise.
74189         * sysdeps/ieee754/s_signgam.c: Likewise.
74190         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74191         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74192         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74193         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74194         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74195         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74196         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74197         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74198         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74199         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74200         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74201         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74202         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74203         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74204         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74205         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74206         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74207         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74208         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74209         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74210         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74212 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74214         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74215         * sunrpc/rpc_main.c: Likewise.
74216         * sunrpc/rpc_svcout.c: Likewise.
74218 2012-03-09  David S. Miller  <davem@davemloft.net>
74220         * include/math_private.h: New file.
74222 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74224         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74225         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74226         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74227         from <bits/socket_type.h>.
74228         (enum __socket_type): Don't define here.
74229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74231         bits/socket_type.h.
74233         [BZ #13566]
74234         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74235         checking __USE_GNU.
74237         * Makerules ($(inst_includedir)/%.h): New rule.
74238         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74239         (install-others): Remove variable setting.
74240         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74242 2012-03-08  Richard Henderson  <rth@twiddle.net>
74244         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74245         from macro to inline function; merge with the
74246         !__LIBC_INTERNAL_MATH_INLINES version.
74247         (__ieee754_sqrtf): Likewise.
74249         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74250         to inline function.
74251         (__rintf, __floor, __floorf): Likewise.
74253         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74254         macro to inline function.
74255         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74257         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74258         not <math/math_private.h>.
74260 2012-03-08  David S. Miller  <davem@davemloft.net>
74262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74263         copyright year.
74264         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74266 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74268         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74269         normalization.
74270         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74271         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74273 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74275         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74276         be defined individually, they must be defined as a block.  Define
74277         S for printing a string instead of hidint the different by using a
74278         macro for adding the 'l'.
74279         * stdio-common/tst-fphex-wide.c: Adjust.
74281 2012-03-07  Marek Polacek  <polacek@redhat.com>
74283         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74285 2012-03-08  Marek Polacek  <polacek@redhat.com>
74287         [BZ #13806]
74288         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74289         * stdio-common/tst-fphex.c: Define a few macros to make the
74290         test reusable.  Use them.
74291         * stdio-common/tst-fphex-wide.c: New file.
74293 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74295         [BZ #6911]
74296         * manual/macros.texi (gnusystems): New macro.
74297         (nongnusystems): Likewise.
74298         (gnulinuxhurdsystems): Likewise.
74299         (gnuhurdsystems): Likewise..
74300         (gnulinuxsystems): Likewise.
74301         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74302         variants of the GNU system, not "GNU system".
74303         * manual/conf.texi: Likewise.
74304         * manual/errno.texi: Likewise.  Update example of errno macro
74305         expansion.
74306         * manual/filesys.texi: Likewise.
74307         (getumask): Document as specific to GNU/Hurd.
74308         * manual/install.texi: Likewise.  Reword some references to
74309         GNU/Linux.
74310         * manual/intro.texi: Likewise.
74311         * manual/io.texi: Likewise.
74312         (File Name Portability): Detail which constraints are inapplicable
74313         to all GNU systems and which are only inapplicable to GNU/Hurd.
74314         * manual/job.texi: Likewise.
74315         * manual/llio.texi: Likewise.
74316         (O_NOCTTY): Document as present on GNU/Linux.
74317         * manual/maint.texi: Likewise.
74318         * manual/memory.texi: Likewise.
74319         * manual/pattern.texi: Likewise.
74320         * manual/pipe.texi: Likewise.
74321         * manual/process.texi: Likewise.
74322         * manual/resource.texi: Likewise.
74323         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74324         child on GNU/Hurd.
74325         * manual/setjmp.texi: Likewise.
74326         * manual/signal.texi: Likewise.
74327         * manual/startup.texi: Likewise.
74328         * manual/stdio.texi: Likewise.
74329         * manual/terminal.texi: Likewise.
74330         (ONLCR): Document as POSIX.
74331         (OXTABS): Document availability on GNU/Linux as XTABS.
74332         (ONOEOT): Document availability separately from other bits.
74333         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74334         * manual/time.texi: Likewise.
74335         * manual/users.texi: Likewise.
74336         * INSTALL: Regenerated.
74337         * sysdeps/gnu/errlist.c: Regenerated.
74339         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74340         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74341         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74342         puts.
74343         * configure: Regenerated.
74345 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74347         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74348         default includes instead of AC_HEADER_CHECK.
74349         * sysdeps/i386/configure: Regenerated.
74351         [BZ #10716]
74352         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74353         * math/s_cacoshf.c (__cacoshf): Likewise.
74354         * math/s_cacoshl.c (__cacoshl): Likewise.
74355         * math/s_casinh.c (__casinh): Set signs of result from argument.
74356         * math/s_casinhf.c (__casinhf): Likewise.
74357         * math/s_casinhl.c (__casinhl): Likewise.
74358         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74359         (casinh_test): Add more tests.
74360         * sysdeps/i386/fpu/libm-test-ulps: Update.
74361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74363 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74365         * po/zh_TW.po: Update from translation team.
74367         * login/Makefile (distribute): Remove variable.
74368         * catgets/Makefile: Likewise.
74369         * mach/Makefile: Likewise.
74370         * malloc/Makefile: Likewise.
74371         * misc/Makefile: Likewise.
74372         * iconv/Makefile: Likewise.
74373         * nscd/Makefile: Likewise.
74374         * hurd/Makefile: Likewise.
74375         * manual/Makefile: Likewise.
74376         * locale/Makefile: Likewise.
74377         * intl/Makefile: Likewise.
74378         * conform/Makefile: Likewise.
74379         * nss/Makefile: Likewise.
74380         * time/Makefile: Likewise.
74381         * soft-fp/Makefile: Likewise.
74382         * dirent/Makefile: Likewise.
74383         * gmon/Makefile: Likewise.
74384         * po/Makefile: Likewise.
74385         * rt/Makefile: Likewise.
74386         * socket/Makefile: Likewise.
74387         * math/Makefile: Likewise.
74388         * signal/Makefile: Likewise.
74389         * debug/Makefile: Likewise.
74390         * elf/Makefile: Likewise.
74391         * timezone/Makefile: Likewise.
74392         * stdlib/Makefile: Likewise.
74393         * iconvdata/Makefile: Likewise.
74394         * sunrpc/Makefile: Likewise.
74395         * io/Makefile: Likewise.
74396         * argp/Makefile: Likewise.
74397         * inet/Makefile: Likewise.
74398         * hesiod/Makefile: Likewise.
74399         * grp/Makefile: Likewise.
74400         * csu/Makefile: Likewise.
74401         * wctype/Makefile: Likewise.
74402         * crypt/Makefile: Likewise.
74403         * libio/Makefile: Likewise.
74404         * string/Makefile: Likewise.
74405         * nis/Makefile: Likewise.
74406         * resolv/Makefile: Likewise.
74407         * stdio-common/Makefile: Likewise.
74408         * wcsmbs/Makefile: Likewise.
74409         * dlfcn/Makefile: Likewise.
74410         * posix/Makefile: Likewise.
74412         [BZ #6959]
74413         * timezone/Makefile: Don't install timezone files, just the programs
74414         and scripts.
74416 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74418         * nss/databases.def: Add missing gshadow entry.
74420         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74422 2012-03-06  Marek Polacek  <polacek@redhat.com>
74424         [BZ #13726]
74425         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74426         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74427         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74428         * stdio-common/tst-long-dbl-fphex.c: New file.
74430 2012-03-06  David S. Miller  <davem@davemloft.net>
74432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74433         (set_obp_int): New function.
74434         (get_obp_int): New function.
74435         (__get_clockfreq_via_dev_openprom): Likewise.
74436         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74437         Avoid unused variable warnings on 'val' and use builtin_expect.
74438         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74439         __builtin_expect.
74440         (INLINE_CLONE_SYSCALL): Likewise.
74442 2012-03-05  David S. Miller  <davem@davemloft.net>
74444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74446 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74450         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74451         only for |x| >= 40.
74452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74454 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74457         Replace gettimeofday with __vdso_gettimeofday.
74459         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74460         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74461         __vdso_clock_gettime and __vdso_getcpu.
74463         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74464         time with __vdso_time.
74466 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74468         * manual/lang.texi (size_t): Note types to which size_t may be
74469         equivalent with the GNU C Library, but do not describe when
74470         differences between them are significant.
74472 2012-03-05  Andreas Jaeger  <aj@suse.de>
74474         * sysdeps/i386/fpu/libm-test-ulps: Update.
74476 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74478         [BZ #3976]
74479         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74480         (__ieee754_pow): Save and restore rounding mode and use
74481         round-to-nearest for main computations.
74482         * math/libm-test.inc (pow_test_tonearest): New function.
74483         (pow_test_towardzero): Likewise.
74484         (pow_test_downward): Likewise.
74485         (pow_test_upward): Likewise.
74486         (main): Call the new functions.
74487         * sysdeps/i386/fpu/libm-test-ulps: Update.
74488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74490         [BZ #3976]
74491         * math/libm-test.inc (cosh_test_tonearest): New function.
74492         (cosh_test_towardzero): Likewise.
74493         (cosh_test_downward): Likewise.
74494         (cosh_test_upward): Likewise.
74495         (sinh_test_tonearest): Likewise.
74496         (sinh_test_towardzero): Likewise.
74497         (sinh_test_downward): Likewise.
74498         (sinh_test_upward): Likewise.
74499         (main): Call the new functions.
74500         * sysdeps/i386/fpu/libm-test-ulps: Update.
74501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74503 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74505         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74506         default stack guard is set in last bytes.
74507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74509 2012-03-05  Kees Cook  <keescook@chromium.org>
74511         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74513         [BZ #13656]
74514         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74515         possibly allocate from heap instead of stack.
74516         * stdio-common/bug-vfprintf-nargs.c: New file.
74517         * stdio-common/Makefile (tests): Add nargs overflow test.
74519 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74523 2012-03-03  Marek Polacek  <polacek@redhat.com>
74525         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74526         * math/math_private.h: Likewise.
74527         * stdlib/tst-strtod.c: Likewise.
74528         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74529         * sysdeps/x86_64/bits/atomic.h: Likewise.
74531 2012-03-02  David S. Miller  <davem@davemloft.net>
74533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74537         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74538         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74539         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74540         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74542 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74544         [BZ #13792]
74545         * manual/examples/README: New file, says the example source files
74546         can be used under GPL>=2.
74547         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74548         line containing just "*/".
74549         * manual/examples/add.c: Add copyright header (GPL>=2).
74550         * manual/examples/argp-ex1.c: Likewise.
74551         * manual/examples/argp-ex2.c: Likewise.
74552         * manual/examples/argp-ex3.c: Likewise.
74553         * manual/examples/argp-ex4.c: Likewise.
74554         * manual/examples/atexit.c: Likewise.
74555         * manual/examples/db.c: Likewise.
74556         * manual/examples/dir.c: Likewise.
74557         * manual/examples/dir2.c: Likewise.
74558         * manual/examples/execinfo.c: Likewise.
74559         * manual/examples/filecli.c: Likewise.
74560         * manual/examples/filesrv.c: Likewise.
74561         * manual/examples/fmtmsgexpl.c: Likewise.
74562         * manual/examples/genpass.c: Likewise.
74563         * manual/examples/inetcli.c: Likewise.
74564         * manual/examples/inetsrv.c: Likewise.
74565         * manual/examples/isockad.c: Likewise.
74566         * manual/examples/longopt.c: Likewise.
74567         * manual/examples/memopen.c: Likewise.
74568         * manual/examples/memstrm.c: Likewise.
74569         * manual/examples/mkfsock.c: Likewise.
74570         * manual/examples/mkisock.c: Likewise.
74571         * manual/examples/mygetpass.c: Likewise.
74572         * manual/examples/pipe.c: Likewise.
74573         * manual/examples/popen.c: Likewise.
74574         * manual/examples/rprintf.c: Likewise.
74575         * manual/examples/search.c: Likewise.
74576         * manual/examples/select.c: Likewise.
74577         * manual/examples/setjmp.c: Likewise.
74578         * manual/examples/sigh1.c: Likewise.
74579         * manual/examples/sigusr.c: Likewise.
74580         * manual/examples/stpcpy.c: Likewise.
74581         * manual/examples/strdupa.c: Likewise.
74582         * manual/examples/strftim.c: Likewise.
74583         * manual/examples/strncat.c: Likewise.
74584         * manual/examples/subopt.c: Likewise.
74585         * manual/examples/swapcontext.c: Likewise.
74586         * manual/examples/termios.c: Likewise.
74587         * manual/examples/testopt.c: Likewise.
74588         * manual/examples/testpass.c: Likewise.
74589         * manual/examples/timeval_subtract.c: Likewise.
74591         [BZ #13792]
74592         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74593         function to ...
74594         * manual/timeval_subtract.c.texi: ... here, new file.
74596 2012-03-02  David S. Miller  <davem@davemloft.net>
74598         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74600 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74602         [BZ #3976]
74603         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74604         (__sin): Save and restore rounding mode and use round-to-nearest
74605         for all computations.
74606         (__cos): Save and restore rounding mode and use round-to-nearest
74607         for all computations.
74608         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74609         <fenv.h>.
74610         (tan): Save and restore rounding mode and use round-to-nearest for
74611         all computations.
74612         * math/libm-test.inc (cos_test_tonearest): New function.
74613         (cos_test_towardzero): Likewise.
74614         (cos_test_downward): Likewise.
74615         (cos_test_upward): Likewise.
74616         (sin_test_tonearest): Likewise.
74617         (sin_test_towardzero): Likewise.
74618         (sin_test_downward): Likewise.
74619         (sin_test_upward): Likewise.
74620         (tan_test_tonearest): Likewise.
74621         (tan_test_towardzero): Likewise.
74622         (tan_test_downward): Likewise.
74623         (tan_test_upward): Likewise.
74624         (main): Call the new functions.
74625         * sysdeps/i386/fpu/libm-test-ulps: Update.
74626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74628         [BZ #10135]
74629         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74630         small n, then large n, before computing and testing k+n.
74631         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74632         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74633         Likewise.
74634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74635         Likewise.
74636         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74637         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74638         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74639         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74642         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74643         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74644         * math/libm-test.inc (scalbn_test): Add more tests.
74645         (scalbln_test): Likewise.
74647         * manual/filesys.texi (mode_t): Describe constraints on size and
74648         signedness, not exact equivalence to a particular type.
74649         (ino_t): Likewise.
74650         (ino64_t): Likewise.
74651         (dev_t): Likewise.
74652         (nlink_t): Likewise.
74653         (blkcnt_t): Likewise.
74654         (blkcnt64_t): Likewise.
74655         * manual/llio.texi (off_t): Likewise.
74657         [BZ #3976]
74658         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74659         (__ieee754_exp): Save and restore rounding mode and use
74660         round-to-nearest for all computations.
74661         * math/libm-test.inc (exp_test_tonearest): New function.
74662         (exp_test_towardzero): Likewise.
74663         (exp_test_downward): Likewise.
74664         (exp_test_upward): Likewise.
74665         (main): Call the new functions.
74666         * sysdeps/i386/fpu/libm-test-ulps: Update.
74667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74669 2012-03-01  Chris Demetriou  <cgd@google.com>
74671         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74672         have predictable order.
74674 2012-03-01  David S. Miller  <davem@davemloft.net>
74676         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74678         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74679         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74680         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74681         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74683         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74684         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74685         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74687         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74688         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74689         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74690         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74691         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74695         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74696         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74697         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74699         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74700         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74701         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74702         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74703         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74704         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74705         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74706         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74707         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74708         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74709         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74712         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74713         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74715         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74716         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74717         * sysdeps/sparc/elf/configure: Regenerated.
74719 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74721         * configure.in (AS, LD): Require binutils 2.20 or later.
74722         * configure: Regenerated.
74723         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74724         as required minimum version.
74725         * INSTALL: Regenerated.
74727         [BZ #2541]
74728         [BZ #4108]
74729         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74730         before squaring exponent.
74731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74732         bottom long double and 27 bits of top long double before squaring
74733         exponent.
74734         * math/libm-test.inc (erfc_test): Add more tests.
74735         * sysdeps/i386/fpu/libm-test-ulps: Update.
74736         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74739 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74741         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74742         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74743         containing bit-fields.
74744         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74745         * soft-fp/single.h (_FP_UNION_S): Likewise.
74746         * soft-fp/double.h (_FP_UNION_D): Likewise.
74748 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74750         [BZ #13786]
74751         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74752         not include ../strcmp.S.
74753         [USE_AS_STRNCASECMP_L]: Likewise.
74754         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74755         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74756         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74757         (__strncasecmp_l_ia32): Define as alias to
74758         __strncasecmp_l_nonascii.
74760         [BZ #5794]
74761         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74762         * sysdeps/i386/fpu/libm-test-ulps: Update.
74763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74765         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74768 2012-02-29  Jeff Law  <law@redhat.com>
74770         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74771         out of bounds read.
74773 2012-02-29  Marek Polacek  <polacek@redhat.com>
74775         [BZ #13706]
74776         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74777         * elf/Makefile: Add rules to run tst-unused-dep.out.
74779 2012-02-28  David S. Miller  <davem@davemloft.net>
74781         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74782         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74783         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74784         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74785         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74786         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74788 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74790         * math/libm-test.inc (llround_test): Move one test from
74791         lround_test.  Use TEST_f_L in moved test.
74792         (lround_test): Move misplaced test to llround_test.  Add testcase
74793         from bug 2561.
74795 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74797         * sysdeps/x86_64/fpu/e_expf.S: New file.
74798         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74800 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74802         [BZ #13637]
74803         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74804         of remain_len that may cause incomplete multi-byte character and
74805         false match.
74806         * posix/bug-regex33.c: New file.
74807         * posix/Makefile (tests): Add bug-regex33.
74809 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74811         * manual/macros.texi: New file.
74812         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74813         * manual/libc.texinfo: Include macros.texi.
74814         * manual/creatute.texi: Likewise.
74815         * manual/install.texi: Likewise.
74816         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74817         @glibcadj{} in references to the GNU C Library.
74818         * manual/charset.texi: Likewise.
74819         * manual/conf.texi: Likewise.
74820         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74821         when not using those macros.
74822         * manual/creature.texi: Likewise.
74823         * manual/crypt.texi: Likewise.
74824         * manual/errno.texi: Likewise.
74825         * manual/filesys.texi: Likewise.
74826         * manual/header.texi: Likewise.
74827         * manual/install.texi: Likewise.
74828         * manual/intro.texi: Likewise.
74829         * manual/io.texi: Likewise.
74830         * manual/job.texi: Likewise.
74831         * manual/lang.texi: Likewise.
74832         * manual/libc.texiinfo: Likewise.
74833         * manual/llio.texi: Likewise.
74834         * manual/locale.texi: Likewise.
74835         * manual/maint.texi: Likewise.
74836         * manual/math.texi: Likewise.
74837         * manual/memory.texi: Likewise.
74838         * manual/message.texi: Likewise.
74839         * manual/nss.texi: Likewise.
74840         * manual/pattern.texi: Likewise.
74841         * manual/process.texi: Likewise.
74842         * manual/resource.texi: Likewise.
74843         * manual/search.texi: Likewise.
74844         * manual/setjmp.texi: Likewise.
74845         * manual/signal.texi: Likewise.
74846         * manual/socket.texi: Likewise.
74847         * manual/startup.texi: Likewise.
74848         * manual/stdio.texi: Likewise.
74849         * manual/string.texi: Likewise.
74850         * manual/sysinfo.texi: Likewise.
74851         * manual/syslog.texi: Likewise.
74852         * manual/terminal.texi: Likewise.
74853         * manual/time.texi: Likewise.
74854         * manual/users.texi: Likewise.
74855         * INSTALL: Regenerated.
74856         * NOTES: Regenerated.
74857         * sysdeps/gnu/errlist.c: Regenerated.
74859 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74861         * include/dirent.h: Include <dirstream.h> before
74862         <dirent/dirent.h>.
74864 2012-02-28  David S. Miller  <davem@davemloft.net>
74866         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74867         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74868         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74869         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74871 2012-02-27  David S. Miller  <davem@davemloft.net>
74873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74875         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74876         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74879         frame pointer instead of stack pointer relative arg slot.
74880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74881         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74882         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74884 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74886         [BZ #3992]
74887         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74889 2012-02-27  David S. Miller  <davem@davemloft.net>
74891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74895         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74896         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74897         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74898         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74900 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74902         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74903         later.  Allow versions 5-9.
74904         * configure: Regenerated.
74905         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74906         required minimum version and 4.6 as recommended version.  Do not
74907         mention bugs in GCC 2.7 and 2.8.
74908         * INSTALL: Regenerated.
74910 2012-02-27  David S. Miller  <davem@davemloft.net>
74912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74916         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74917         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74918         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74919         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74921         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74922         manipulate bits before adding and subtracting TWO112[sx].
74923         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74925 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74927         [BZ #13775]
74928         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74929         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74930         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74931         being in POSIX, because they are in 1003.1-2008.
74933         * rt/tst-aio.c: Include <fcntl.h>.
74934         * rt/tst-aio7.c: Likewise.
74935         * rt/tst-aio64.c: Likewise.
74937         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74939 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74941         * manual/install.texi (--with-headers): Describe headers as
74942         interface headers, not private headers.
74943         (Specific advice for GNU/Linux systems): Describe use of headers
74944         from "make headers_install", not private headers from older
74945         kernels.
74946         * INSTALL: Regenerated.
74947         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74948         Change to 2.6.19.
74949         * sysdeps/unix/sysv/linux/configure: Regenerated.
74951         * manual/llio.texi (fclean): Remove documentation.
74953         * manual/Makefile (libc-texi-generated): New variable.  Include
74954         version.texi.
74955         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74956         $(libc-texi-generated), not duplicated list of files.
74957         (version.texi, stamp-version): New rules.
74958         (realclean): Remove $(libc-texi-generated), not individual files
74959         from that list.  Do not remove dir-add.texinfo.
74960         * manual/libc.texinfo: Comment out uses of edition numbers and
74961         references to printed manual.  Remove last-updated dates.
74962         (EDITION): Comment out.
74963         (ISBN): Likewise.
74964         (VERSION, UPDATED): Remove.
74965         (version.texi): Include.
74967 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74969         * sysdeps/posix/spawni.c: Include <signal.h>.
74970         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74971         * sysdeps/pthread/aio_fsync.c: Likewise.
74973 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74975         * conform/Makefile (tests): Run only when not cross-compiling and
74976         when fast-check is not defined.
74978         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74979         * conform/data/limits.h-data: Fixes for POSIX2008.
74980         * conform/run-conformtest.sh: Run all tests.
74981         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74982         headers.
74983         * include/bits/dlfcn.h: Likewise.
74984         * include/langinfo.h: Likewise.
74985         * include/monetary.h: Likewise.
74986         * include/sys/poll.h: Likewise.
74988         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74989         for __USE_GNU.
74990         * posix/spawn.h: Define __need_sigset_t.
74991         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74992         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74993         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74994         to get sigevent_t only.
74995         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74996         only for __USE_GNU.
74997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74998         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74999         process_vm_writev only for __USE_GNU.
75000         * termios/termios.h: Declare tcgetsid also for POSIX2008.
75002         * conform/Makefile: For now ignore errors from run-conformtest.
75003         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
75004         POSIX to avoid namespace pollution.  Don't prepend headers.
75005         * conform/data/aio.h-data: Fixes for POSIX testing.
75006         * conform/data/fcntl.h-data: Likewise.
75007         * conform/data/glob.h-data: Likewise.
75008         * conform/data/grp.h-data: Likewise.
75009         * conform/data/pthread.h-data: Likewise.
75010         * conform/data/pwd.h-data: Likewise.
75011         * conform/data/signal.h-data: Likewise.
75012         * conform/data/spawn.h-data: Likewise.
75013         * conform/data/stdio.h-data: Likewise.
75014         * conform/data/stdlib.h-data: Likewise.
75015         * conform/data/stropts.h-data: Likewise.
75016         * conform/data/sys/mman.h-data: Likewise.
75017         * conform/data/sys/stat.h-data: Likewise.
75018         * conform/data/sys/types.h-data: Likewise.
75019         * conform/data/sys/wait.h-data: Likewise.
75020         * conform/data/time.h-data: Likewise.
75021         * conform/data/unistd.h-data: Likewise.
75022         * conform/data/utime.h-data: Likewise.
75024         * io/sys/stat.h: fchmod was always in POSIX.
75025         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75026         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75027         * rt/aio.h: Define __need_timespec before including <time.h>.
75028         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75029         struct.  Add forward declaration of pthread_attr_t and use it in
75030         sigevent.
75031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75033         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75034         always remove CLK_TCK definition.
75036 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
75038         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75040 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75042         * conform/run-conformtest.sh: New file.
75043         * conform/Makefile: Run run-conformtest for tests.
75044         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75045         support.
75047         * conform/data/uchar.h-data: New file.
75048         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75049         * conform/data/arpa/inet.h-data: Likewise.
75050         * conform/data/assert.h-data: Likewise.
75051         * conform/data/complex.h-data: Likewise.
75052         * conform/data/cpio.h-data: Likewise.
75053         * conform/data/ctype.h-data: Likewise.
75054         * conform/data/dirent.h-data: Likewise.
75055         * conform/data/dlfcn.h-data: Likewise.
75056         * conform/data/errno.h-data: Likewise.
75057         * conform/data/fcntl.h-data: Likewise.
75058         * conform/data/float.h-data: Likewise.
75059         * conform/data/fmtmsg.h-data: Likewise.
75060         * conform/data/fnmatch.h-data: Likewise.
75061         * conform/data/ftw.h-data: Likewise.
75062         * conform/data/glob.h-data: Likewise.
75063         * conform/data/grp.h-data: Likewise.
75064         * conform/data/iconv.h-data: Likewise.
75065         * conform/data/inttypes.h-data: Likewise.
75066         * conform/data/langinfo.h-data: Likewise.
75067         * conform/data/libgen.h-data: Likewise.
75068         * conform/data/limits.h-data: Likewise.
75069         * conform/data/locale.h-data: Likewise.
75070         * conform/data/math.h-data: Likewise.
75071         * conform/data/monetary.h-data: Likewise.
75072         * conform/data/mqueue.h-data: Likewise.
75073         * conform/data/ndbm.h-data: Likewise.
75074         * conform/data/net/if.h-data: Likewise.
75075         * conform/data/netdb.h-data: Likewise.
75076         * conform/data/netinet/in.h-data: Likewise.
75077         * conform/data/nl_types.h-data: Likewise.
75078         * conform/data/poll.h-data: Likewise.
75079         * conform/data/pthread.h-data: Likewise.
75080         * conform/data/pwd.h-data: Likewise.
75081         * conform/data/regex.h-data: Likewise.
75082         * conform/data/sched.h-data: Likewise.
75083         * conform/data/search.h-data: Likewise.
75084         * conform/data/semaphore.h-data: Likewise.
75085         * conform/data/setjmp.h-data: Likewise.
75086         * conform/data/signal.h-data: Likewise.
75087         * conform/data/spawn.h-data: Likewise.
75088         * conform/data/stdarg.h-data: Likewise.
75089         * conform/data/stdio.h-data: Likewise.
75090         * conform/data/stdlib.h-data: Likewise.
75091         * conform/data/string.h-data: Likewise.
75092         * conform/data/strings.h-data: Likewise.
75093         * conform/data/stropts.h-data: Likewise.
75094         * conform/data/sys/ipc.h-data: Likewise.
75095         * conform/data/sys/mman.h-data: Likewise.
75096         * conform/data/sys/msg.h-data: Likewise.
75097         * conform/data/sys/resource.h-data: Likewise.
75098         * conform/data/sys/select.h-data: Likewise.
75099         * conform/data/sys/sem.h-data: Likewise.
75100         * conform/data/sys/shm.h-data: Likewise.
75101         * conform/data/sys/socket.h-data: Likewise.
75102         * conform/data/sys/stat.h-data: Likewise.
75103         * conform/data/sys/statvfs.h-data: Likewise.
75104         * conform/data/sys/time.h-data: Likewise.
75105         * conform/data/sys/timeb.h-data: Likewise.
75106         * conform/data/sys/times.h-data: Likewise.
75107         * conform/data/sys/types.h-data: Likewise.
75108         * conform/data/sys/uio.h-data: Likewise.
75109         * conform/data/sys/un.h-data: Likewise.
75110         * conform/data/sys/utsname.h-data: Likewise.
75111         * conform/data/sys/wait.h-data: Likewise.
75112         * conform/data/syslog.h-data: Likewise.
75113         * conform/data/tar.h-data: Likewise.
75114         * conform/data/termios.h-data: Likewise.
75115         * conform/data/utime.h-data: Likewise.
75116         * conform/data/utmpx.h-data: Likewise.
75117         * conform/data/varargs.h-data: Likewise.
75118         * conform/data/wchar.h-data: Likewise.
75119         * conform/data/wctype.h-data: Likewise.
75120         * conform/data/wordexp.h-data: Likewise.
75122         * include/stropts.h: New file.
75123         * include/uchar.h: New file.
75124         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75125         * include/assert.h: Likewise.
75126         * include/ctype.h: Likewise.
75127         * include/dirent.h: Likewise.
75128         * include/dlfcn.h: Likewise.
75129         * include/fcntl.h: Likewise.
75130         * include/fnmatch.h: Likewise.
75131         * include/glob.h: Likewise.
75132         * include/grp.h: Likewise.
75133         * include/libio.h: Likewise.
75134         * include/locale.h: Likewise.
75135         * include/math.h: Likewise.
75136         * include/net/if.h: Likewise.
75137         * include/netdb.h: Likewise.
75138         * include/netinet/in.h: Likewise.
75139         * include/pthread.h: Likewise.
75140         * include/pwd.h: Likewise.
75141         * include/regex.h: Likewise.
75142         * include/sched.h: Likewise.
75143         * include/search.h: Likewise.
75144         * include/setjmp.h: Likewise.
75145         * include/signal.h: Likewise.
75146         * include/stdio.h: Likewise.
75147         * include/stdlib.h: Likewise.
75148         * include/string.h: Likewise.
75149         * include/sys/cdefs.h: Likewise.
75150         * include/sys/mman.h: Likewise.
75151         * include/sys/msg.h: Likewise.
75152         * include/sys/resource.h: Likewise.
75153         * include/sys/select.h: Likewise.
75154         * include/sys/socket.h: Likewise.
75155         * include/sys/stat.h: Likewise.
75156         * include/sys/statvfs.h: Likewise.
75157         * include/sys/time.h: Likewise.
75158         * include/sys/times.h: Likewise.
75159         * include/sys/uio.h: Likewise.
75160         * include/sys/utsname.h: Likewise.
75161         * include/sys/wait.h: Likewise.
75162         * include/termios.h: Likewise.
75163         * include/time.h: Likewise.
75164         * include/ulimit.h: Likewise.
75165         * include/unistd.h: Likewise.
75166         * include/utime.h: Likewise.
75167         * include/wchar.h: Likewise.
75168         * include/wctype.h: Likewise.
75169         * include/wordexp.h: Likewise.
75171         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75173         * time/time.h: TIME_UTC must be a macro.
75174         Make timespec_get available for ISO C11 only as well.
75176 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75178         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75179         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75181 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75183         * configure.in: Use -o not -a in test for unsupported multi-arch.
75185 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75187         * manual/texinfo.tex: Update to version 2012-01-19.16.
75189 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75191         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75193 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75195         [BZ #13738]
75196         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75197         * manual/fdl-1.3.texi: New file.
75198         * manual/fdl-1.1.texi: File removed.
75200         [BZ #13738]
75201         * manual/libc.texinfo (FDL_VERSION): New @set.
75202         Use it for mention of FDL in cover text.
75203         (Documentation License): Use it in @include file name.
75205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75206             Roland McGrath  <roland@hack.frob.com>
75208         [BZ #5461]
75209         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75210         (not LONG_LONG_MAX and LONG_LONG_MIN.
75211         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75212         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75213         name.
75214         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75218         [BZ #2547]
75219         [BZ #11365]
75220         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75221         manipulate bits before adding and subtracting TWO23[sx].
75222         * math/libm-test.inc (nearbyint_test): Add more tests.
75224 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75226         [BZ #2548]
75227         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75228         bits before adding and subtracting TWO23[sx].
75229         * math/libm-test.inc (rint_test): Add more tests.
75230         (rint_test_tonearest): Likewise.
75231         (rint_test_towardzero): Likewise.
75232         (rint_test_downward): Likewise.
75233         (rint_test_upward: Likewise.
75235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75237         [BZ #10110]
75238         * include/stdc-predef.h: New file.  Extracted from features.h.
75239         * include/features.h: Include stdc-predef.h.
75240         * Makefile (headers): Add stdc-predef.h.
75241         * CONFORMANCE (Compiler limitations): Update.
75243 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75245         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75247 2012-02-21  David S. Miller  <davem@davemloft.net>
75249         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75250         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75252 2012-02-20  David S. Miller  <davem@davemloft.net>
75254         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75255         using a normal save/restore sequence, rather than allocating a
75256         dummy stack frame just to store a frame pointer and restore.
75257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75259 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75261         * manual/install.texi: Fix stray word in line-wrapped comment.
75263 2012-02-20  David S. Miller  <davem@davemloft.net>
75265         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75266         both binutils and gcc support GOTDATA.
75268         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75269         "rd %pc" in the PIC register setup sequences.
75271         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75272         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75273         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75274         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75275         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75277         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75278         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75280         (SYSCALL_ERROR_HANDLER): Likewise.
75281         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75282         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75284         (SYSCALL_ERROR_HANDLER): Likewise.
75286         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75287         (HAVE_GCC_GOTDATA): New.
75288         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75289         relocation support in both binutils and gcc.
75290         * sysdeps/sparc/elf/configure: Regenerate.
75292         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75293         * sysdeps/sparc/sparc32/elf/configure: Delete.
75294         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75295         * sysdeps/sparc/sparc64/elf/configure: Delete.
75296         * sysdeps/sparc/elf/configure.in: New file.
75297         * sysdeps/sparc/elf/configure: Generate.
75299         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75300         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75301         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75302         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75303         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75305 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75307         * manual/install.texi: Do not mention specific glibc version
75308         numbers.
75309         * manual/libc.texinfo (VERSION, UPDATED): Update.
75310         (@copying): Use @copyright{} and range of years.
75312 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75314         [BZ #13695]
75315         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75316         [crti.S not in sysdirs] (generated): Do not append.
75317         [crti.S not in sysdirs] (omit-deps): Likewise.
75318         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75319         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75320         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75321         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75322         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75323         Likewise.
75324         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75325         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75326         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75327         * csu/defs.awk: Remove file.
75328         * sysdeps/generic/initfini.c: Likewise.
75329         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75330         variable.
75331         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75332         Likewise.
75334 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75336         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75337         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75338         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75339         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75341         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75342         <bits/epoll.h>.
75343         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75344         (__EPOLL_PACKED): Define to empty if not defined by
75345         <bits/epoll.h>.
75346         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75348         bits/epoll.h.
75350 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75352         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75353         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75354         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75355         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75356         <bits/timerfd.h>.
75357         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75359         bits/timerfd.h.
75361 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75363         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75364         in C locale.
75365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75366         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75367         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75370 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75372         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75373         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75375 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75377         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75378         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75379         defined.
75380         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75381         Likewise.
75382         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75383         entry for 2.16.
75385 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75387         * math/w_acos.c: Use non-signaling floating-point comparisons.
75388         * math/w_acosf.c: Likewise.
75389         * math/w_acosh.c: Likewise.
75390         * math/w_acoshf.c: Likewise.
75391         * math/w_acoshl.c: Likewise.
75392         * math/w_acosl.c: Likewise.
75393         * math/w_asin.c: Likewise.
75394         * math/w_asinf.c: Likewise.
75395         * math/w_asinl.c: Likewise.
75396         * math/w_atanh.c: Likewise.
75397         * math/w_atanhf.c: Likewise.
75398         * math/w_atanhl.c: Likewise.
75399         * math/w_exp2.c: Likewise.
75400         * math/w_exp2f.c: Likewise.
75401         * math/w_exp2l.c: Likewise.
75402         * math/w_j0.c: Likewise.
75403         * math/w_j0f.c: Likewise.
75404         * math/w_j0l.c: Likewise.
75405         * math/w_j1.c: Likewise.
75406         * math/w_j1f.c: Likewise.
75407         * math/w_j1l.c: Likewise.
75408         * math/w_jn.c: Likewise.
75409         * math/w_jnf.c: Likewise.
75410         * math/w_log.c: Likewise.
75411         * math/w_log10.c: Likewise.
75412         * math/w_log10f.c: Likewise.
75413         * math/w_log10l.c: Likewise.
75414         * math/w_log2.c: Likewise.
75415         * math/w_log2f.c: Likewise.
75416         * math/w_log2l.c: Likewise.
75417         * math/w_logf.c: Likewise.
75418         * math/w_logl.c: Likewise.
75419         * math/w_sqrt.c: Likewise.
75420         * math/w_sqrtf.c: Likewise.
75421         * math/w_sqrtl.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75424         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75425         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75426         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75428 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75430         [BZ #9739]
75431         * manual/string.texi (strnlen): Use correct parameter name in
75432         equivalent expression.
75434 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75436         [BZ #11174]
75437         * manual/users.texi (seteuid): Consistently use neweuid for
75438         argument name.
75440 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75442         [BZ #13704]
75443         * manual/nss.texi (Services in the NSS configuration): Correct
75444         list of services in example configuration file.
75446 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75448         [BZ #11322]
75449         * manual/arith.texi: Remove statements about negative zero
75450         behaving identically to zero.
75452 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75454         [BZ #5993]
75455         * manual/install.texi: Do not document upgrading from libc5.
75457 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75459         [BZ #4596]
75460         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75462 2012-02-18  David S. Miller  <davem@davemloft.net>
75464         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75465         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75466         %o7 across the call.
75467         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75468         instead.
75469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75470         SETUP_PIC_REG_LEAF.
75471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75472         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75473         * sysdeps/sparc/crtn.S: Likewise.
75475 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75477         * aout/Makefile: Remove.
75479 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75481         [BZ #13058]
75482         * manual/examples/argp-ex1.c (main): Format definition in GNU
75483         style.
75484         * manual/examples/argp-ex2.c (main): Likewise.
75485         * manual/examples/argp-ex3.c (main): Likewise.
75486         * manual/examples/argp-ex4.c (main): Likewise.
75487         * manual/examples/longopt.c (main): Use new-style prototype
75488         definition.
75489         * manual/examples/strncat.c (main): Specify return type and use
75490         (void) for arguments.
75491         * manual/examples/subopt.c (main): Use char **argv argument.
75493 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75495         [BZ #5077]
75496         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75497         rounding modes.
75499 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75501         [BZ #6907]
75502         * manual/string.texi (strchr): Change when strchrnul is
75503         recommended.
75505 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75507         [BZ #174]
75508         * manual/locale.texi (setlocale): Document LOCPATH.
75510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75512         [BZ #10210]
75513         * manual/process.texi (execle): Move @dots{} before last argument.
75515 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75517         [BZ #12047]
75518         * manual/charset.texi (Generic Charset Conversion): Fix typo
75519         (LC_TYPE -> LC_CTYPE).
75521 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75523         [BZ #5805]
75524         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75525         (scalbnf): Likewise.
75526         (scalbnl): Likewise.
75527         (scalbln): Likewise.
75528         (scalblnf): Likewise.
75529         (scalblnl): Likewise.
75530         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75531         (vwarnx): Likewise.
75532         (verr): Likewise.
75533         (verrx): Likewise.
75534         * manual/filesys.texi (telldir): Use braces around return type.
75535         * manual/llio.texi (mmap): Add space after comma.
75536         (mmap64): Likewise.
75537         * manual/math.texi (jn): Use @var{} on parameter names.
75538         (jnf): Likewise.
75539         (jnl): Likewise.
75540         (yn): Likewise.
75541         (ynf): Likewise.
75542         (ynl): Likewise.
75543         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75544         line.
75545         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75546         "...".
75547         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75548         (sched_get_priority_max): Likewise.
75549         * manual/signal.texi (sigvec): Add space after comma.
75550         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75551         names.
75552         (if_indextoname): Likewise.
75553         (if_freenameindex): Likewise.
75554         (sendto): Use ',' instead of '.' in prototype.
75555         * manual/startup.texi (syscall): Use @dots{} instead of literal
75556         "...".
75557         * manual/stdio.texi (__fpending): Separate initial words of
75558         paragraph from @deftypefun line.
75559         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75560         "...".
75561         (vsyslog): Use @var{} on parameter names.
75562         * manual/terminal.texi (stty): Use @var{} on parameter names.
75563         * manual/users.texi (getutmp): Use @var{} on parameter names.
75564         (getutmpx): Likewise.
75566 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75568         [BZ #6884]
75569         * manual/stdio.texi (fopen): Fix typos in description of
75570         ",ccs=STRING".
75572 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75574         [BZ #4026]
75575         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75576         get clock_id definition.
75578 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75580         [BZ #4822]
75581         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75582         (madvise): Cast every argument to void on its own.
75584 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75586         [BZ #9902]
75587         * manual/startup.texi (Exit Status): Fix typo.
75589 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75591         [BZ #10140]
75592         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75593         * manual/examples/argp-ex2.c: Likewise.
75594         * manual/examples/argp-ex3.c: Likewise.
75596 2012-02-16  Richard Henderson  <rth@redhat.com>
75598         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75599         * sysdeps/s390/s390-32/initfini.c: Remove.
75600         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75601         * sysdeps/s390/s390-64/initfini.c: Remove.
75603 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75605         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75606         compiler output for sysdeps/generic/initfini.c.
75607         * sysdeps/sh/elf/initfini.c: Remove file.
75609 2012-02-16  David S. Miller  <davem@davemloft.net>
75611         [BZ #11494]
75612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75614         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75615         * sysdeps/sparc/crti.S: New file.
75616         * sysdeps/sparc/crtn.S: New file.
75617         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75618         * sysdeps/sparc/sparc64/Makefile: Likewise.
75620 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75622         [BZ #3335]
75623         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75625 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75627         [BZ #4822]
75628         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75630         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75631         (write, read, close): Likewise.
75632         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75634 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75636         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75637         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75638         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75639         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75640         <bits/signalfd.h>.
75641         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75643         bits/signalfd.h.
75645 2012-02-14  Marek Polacek  <polacek@redhat.com>
75647         * sysdeps/x86_64/crti.S: New file.
75648         * sysdeps/x86_64/crtn.S: New file.
75649         * sysdeps/x86_64/elf/initfini.c: Remove file.
75651 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75653         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75654         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75655         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75656         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75657         <bits/inotify.h>.
75658         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75660         bits/inotify.h.
75662 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75664         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75665         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75666         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75667         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75668         <bits/eventfd.h>.
75669         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75671         bits/eventfd.h.
75673 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75675         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75676         __feraiseexcept instead of feraiseexcept.
75678         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75679         nanosleep invocations.
75680         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75681         strings, and add error checking for a nanosleep invocations.
75683 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75685         Replace FSF snail mail address with URLs, as per GNU coding standards.
75686         Most of the snail mail addresses were wrong anyway, and omitting
75687         them makes the source code easier to maintain.  Almost all of the
75688         changes are to license notices and to locale LC_IDENTIFICATION
75689         addresses, except for this one:
75690         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75691         not its snail mail address.
75693 2012-02-09  Richard Henderson  <rth@twiddle.net>
75695         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75696         of kernel-features.h.
75698         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75700 2012-02-08  Marek Polacek  <polacek@redhat.com>
75702         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75703         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75704         * sysdeps/gnu/_G_config.h: Likewise.
75705         * sysdeps/generic/_G_config.h: Likewise.
75707 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75709         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75710         tests.
75711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75713         * sysdeps/powerpc/powerpc32/crti.S: New file.
75714         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75715         * sysdeps/powerpc/powerpc64/crti.S: New file.
75716         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75718         * Makeconfig (have-initfini): Don't set.
75719         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75720         * configure.in (nopic_initfini): Don't substitute.
75721         * config.h.in (HAVE_INITFINI): Don't #undef.
75722         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75723         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75725 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75727         Support crti.S and crtn.S provided directly by architectures.
75728         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75729         [crti.S in sysdirs] (omit-deps): Likewise.
75730         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75731         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75732         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75733         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75734         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75735         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75736         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75737         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75738         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75739         compiler output for sysdeps/generic/initfini.c.
75740         * sysdeps/i386/elf/Makefile: Remove file.
75741         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75743 2012-02-07  Marek Polacek  <polacek@redhat.com>
75745         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75746         * sysdeps/gnu/_G_config.h: Likewise.
75747         * sysdeps/mach/hurd/_G_config.h: Likewise.
75749 2012-02-07  Marek Polacek  <polacek@redhat.com>
75751         * math/Makefile (tests): Add tst-CMPLX2.
75752         * math/tst-CMPLX2.c: New file.
75754 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75756         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75758         * math/libm-test.inc (jn_test): Add missing L suffix.
75760 2012-02-06  Marek Polacek  <polacek@redhat.com>
75762         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75763         * sysdeps/i386/fpu/e_powf.S: Likewise.
75764         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75765         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75766         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75767         * sysdeps/i386/fpu/e_pow.S: Likewise.
75768         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75769         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75770         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75771         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75772         * sysdeps/i386/fpu/e_log2.S: Likewise.
75773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75774         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75775         * sysdeps/i386/fpu/e_powl.S: Likewise.
75776         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75777         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75778         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75779         * sysdeps/i386/fpu/e_logl.S: Likewise.
75780         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75781         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75782         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75783         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75784         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75785         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75786         * sysdeps/i386/fpu/e_log.S: Likewise.
75787         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75788         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75789         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75790         * sysdeps/i386/fpu/e_logf.S: Likewise.
75791         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75792         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75793         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75794         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75795         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75796         * sysdeps/i386/fpu/e_log10.S: Likewise.
75797         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75798         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75799         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75800         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75801         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75802         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75803         * sysdeps/i386/asm-syntax.h: Likewise.
75804         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75806         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75807         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75808         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75809         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75810         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75811         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75812         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75813         * sysdeps/powerpc/sysdep.h: Likewise.
75814         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75815         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75817 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75819         [BZ #411]
75820         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75822 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75824         * sysdeps/i386/sysdep.h: Include <features.h>.
75825         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75826         version.
75828 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75830         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75831         Define.
75832         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75833         LOAD_PIC_REG_STR.
75835 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75837         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75838         (SETUP_PIC_REG): Use GET_PC_THUNK.
75839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75840         macro.
75842 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75844         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75845         for non-PIC compilation.
75846         (SETUP_PIC_REG): Add .p2align directive.
75847         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75848         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75849         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75850         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75851         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75861         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75862         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75863         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75864         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75865         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75866         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75867         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75869         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75870         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75871         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75873         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75874         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75875         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75876         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75877         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75878         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75879         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75880         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75881         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75882         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75883         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75884         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75885         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75886         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75887         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75889 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75891         * math/tst-CMPLX.c: Include <stdio.h>.
75893 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75895         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75896         float.
75897         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75898         * sysdeps/sparc/bits/mathdef.h: Likewise.
75900 2012-01-31  Marek Polacek  <polacek@redhat.com>
75902         * libio/libio.h: Don't define _PARAMS.
75903         * locale/programs/config.h: Don't define PARAMS.
75904         * stdlib/strtol_l.c: Likewise.
75905         (__strtol_l): Remove PARAMS from the prototype.
75907 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75909         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75910         names.  Just use the correct names.  Remove unnecessary wrapper
75911         functions.
75912         * malloc/arena.c: Likewise.
75913         * malloc/hooks.c: Likewise.
75915         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75916         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75917         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75919 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75921         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75922         into tail calls.
75923         (update_get_addr): New function.
75924         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75925         GET_ADDR_MODULE parameter.
75927 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75929         * crypt/cert.c: Remove __STDC__ conditionals.
75930         * crypt/crypt-entry.c: Likewise.
75931         * crypt/crypt_util.c: Likewise.
75932         * libio/filedoalloc.c: Likewise.
75933         * libio/fileops.c: Likewise.
75934         * libio/genops.c: Likewise.
75935         * libio/iofclose.c: Likewise.
75936         * libio/iofdopen.c: Likewise.
75937         * libio/iofopen.c: Likewise.
75938         * libio/iofopen64.c: Likewise.
75939         * libio/iogetdelim.c: Likewise.
75940         * libio/iopopen.c: Likewise.
75941         * libio/obprintf.c: Likewise.
75942         * libio/oldfileops.c: Likewise.
75943         * libio/oldiofclose.c: Likewise.
75944         * libio/oldiofdopen.c: Likewise.
75945         * libio/oldiofopen.c: Likewise.
75946         * libio/oldiopopen.c: Likewise.
75947         * libio/wfiledoalloc.c: Likewise.
75948         * libio/wgenops.c: Likewise.
75949         * locale/programs/xmalloc.c: Likewise.
75950         * misc/syslog.c: Likewise.
75951         * stdio-common/xbug.c: Likewise.
75952         * string/memchr.c: Likewise.
75953         * string/memcmp.c: Likewise.
75954         * string/memrchr.c: Likewise.
75955         * string/rawmemchr.c: Likewise.
75956         * sysdeps/posix/getcwd.c: Likewise.
75957         * time/strftime_l.c: Likewise.
75959 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75961         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75962         * config.make.in (config-cflags-sse2avx): Define.
75963         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75964         Fix typo.
75966 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75968         * scripts/config.guess: Update from upstream config git repository.
75969         * scripts/config.sub: Likewise.
75971 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75973         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75974         (EM_NUM): Update.
75975         (R_TILEPRO_*, R_TILEGX_*): New macros.
75977         * scripts/firstversions.awk: Fix bug in version range handling.
75979         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75981         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75983         * include/sys/epoll.h: New file.
75984         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75985         libc_hidden_def.
75987 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75989         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75990         Avoid unnecessary __WORDSIZE == 64 test.
75991         (fmaxf): Use VEX format if possible.
75992         (fmax): Likewise.
75993         (fminf): Likewise.
75994         (fmin): Likewise.
75996         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75997         * math/math_private.h: Remove libc_fegetround* and
75998         libc_fesetround*.
75999         * sysdeps/i386/configure.in: Check for -msse2avx.
76000         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76001         also if SSE2AVX is defined.
76002         Remove libc_fegetround* and libc_fesetround*.
76003         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76004         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
76005         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76006         of HAS_YMM_USABLE.
76007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76008         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76013         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76015 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76017         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76018         size is not set.
76019         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76021 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
76023         [BZ #13618]
76024         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76025         relocation.
76026         * Makeconfig (libm): Define.
76027         * elf/Makefile: Add rules to build and run tst-relsort1.
76028         * elf/tst-relsort1.c: New file.
76029         * elf/tst-relsort1mod1.c: New file.
76030         * elf/tst-relsort1mod2.c: New file.
76032 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
76034         * math/s_ldexp.c: Remove __STDC__ conditionals.
76035         * math/s_ldexpf.c: Likewise.
76036         * math/s_ldexpl.c: Likewise.
76037         * math/s_nextafter.c: Likewise.
76038         * math/s_nexttowardf.c: Likewise.
76039         * math/s_significand.c: Likewise.
76040         * math/s_significandf.c: Likewise.
76041         * math/s_significandl.c: Likewise.
76042         * math/w_jnl.c: Likewise.
76043         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76044         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76045         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76046         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76047         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76049         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76050         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76051         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76052         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76053         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76054         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76055         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76056         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76057         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76058         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76059         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76060         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76062         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76063         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76064         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76065         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76066         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76067         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76068         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76069         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76070         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76071         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76072         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76073         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76074         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76075         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76076         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76077         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76078         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76079         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76080         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76081         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76082         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76083         * sysdeps/ieee754/k_standard.c: Likewise.
76084         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76085         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76087         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76088         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76089         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76091         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76092         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76093         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76094         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76095         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76096         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76097         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76098         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76100         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76101         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76102         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76103         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76104         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76105         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76106         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76107         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76108         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76109         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76113         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76114         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76115         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76116         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76117         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76119         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76120         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76122         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76123         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76124         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76126         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76127         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76129         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76130         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76133         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76134         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76135         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76136         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76137         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76138         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76139         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76140         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76141         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76142         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76143         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76145         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76146         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76147         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76151         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76152         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76153         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76156         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76159         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76160         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76161         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76162         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76163         * sysdeps/ieee754/s_matherr.c: Likewise.
76164         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76165         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76169 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76171         * crypt/md5.h: Remove __STDC__ conditionals.
76172         * libio/libioP.h: Likewise.
76173         * locale/programs/config.h: Likewise.
76174         * sysdeps/generic/sysdep.h: Likewise.
76175         * sysdeps/i386/asm-syntax.h: Likewise.
76176         * sysdeps/s390/asm-syntax.h: Likewise.
76177         * sysdeps/unix/sysdep.h: Likewise.
76178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76181 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76183         * libio/libio.h: Remove __STDC__ conditionals.
76184         * malloc/obstack.h: Likewise.
76185         * math/complex.h: Likewise.
76186         * math/math.h: Likewise.
76187         * sysdeps/generic/_G_config.h: Likewise.
76188         * sysdeps/gnu/_G_config.h: Likewise.
76189         * sysdeps/mach/hurd/_G_config.h: Likewise.
76190         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76191         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76192         * sysdeps/sparc/bits/mathdef.h: Likewise.
76194 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76196         [BZ #13583]
76197         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76198         Clean up HAS_* macros.
76199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76200         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76201         possible.
76202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76203         HAS_AVX.
76204         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76205         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76207         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76208         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76210 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76212         * elf/tst-unique3.cc (gets): Remove declaration.
76213         * elf/tst-unique3lib.cc (gets): Likewise.
76214         * elf/tst-unique3lib2.cc (gets): Likewise.
76215         * elf/tst-unique4.cc (gets): Likewise.
76217 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76219         * include/stdio.h: Add C++ protection.  Add gets declarations and
76220         definitions.
76221         * debug/tst-chk1.c: Don't declare gets here.
76222         * stdio-common/tst-gets.c: Likewise.
76224 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76226         * posix/glob: Remove directory.
76228 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76230         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76232 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76234         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76235         of the non-standard EPFNOSUPPORT.
76237 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76239         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76240         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76241         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76243 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76245         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76247 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76249         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76250         transient errors.
76251         * nscd/grpcache.c (cache_addgr): Likewise.
76252         * nscd/hstcache.c (cache_addhst): Likewise.
76253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76254         * nscd/pwdcache.c (cache_addpw): Likewise.
76255         * nscd/servicescache.c (cache_addserv): Likewise.
76257 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76259         * malloc/malloc.c: Various cleanups.
76260         * malloc/hooks.c: Likewise.
76262         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76263         * stdlib/bug-fmtmsg1.c: New file.
76265         * stdlib/fmtmsg.c (init): Add missing unlock.
76266         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76268 2012-01-12  Marek Polacek  <polacek@redhat.com>
76270         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76271         and _GNU_SOURCE.
76273 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76275         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76276         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76277         macro to ensure uniqueness of label name.
76278         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76279         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76281 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76283         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76285         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76286         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76287         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76290 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76292         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76294         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76295         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76296         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76298         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76300         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76301         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76303         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76305         * math/bits/math-finite.h: Add ldexp support.
76307 2012-01-10  Marek Polacek  <polacek@redhat.com>
76309         * locale/programs/localedef.h (show_archive_content): Add noreturn
76310         attribute.
76312 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76314         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76316 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76318         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76320         * io/Makefile (headers): Add bits/poll2.h.
76322 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76325         typo #include statement.
76327 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76329         * include/sys/cdefs.h: Define __attribute_alloc_size.
76330         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76331         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76332         * elf/pldd.c: Likewise.
76333         * iconv/iconv_charmap.c: Likewise.
76334         * iconv/iconvconfig.c: Likewise.
76335         * iconv/strtab.c: Likewise.
76336         * locale/programs/locale.c: Likewise.
76337         * locale/programs/localedef.h: Likewise.
76338         * locale/programs/simple-hash.c: Likewise.
76339         * nscd/nscd.h: Likewise.
76340         * nss/makedb.c: Likewise.
76341         * sysdeps/generic/ldconfig.h: Likewise.
76342         * locale/programs/localedef.c: Remove xmalloc prototype.
76343         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76345 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76348         appropriate.
76350 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76352         * math/Makefile (tests): Add tst-CMPLX.
76353         * math/tst-CMPLX.c: New file.
76355         * math/complex.h (CMPLXL): Fix typo.
76357         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76358         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76359         GLIBC_2.16.
76360         * debug/tst-chk1.c: Add poll and ppoll tests.
76361         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76362         * include/sys/poll.h: Add hidden proto for ppoll.
76363         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76364         * sysdeps/mach/hurd/ppoll.c: Likewise.
76365         * io/ppoll.c: Likewise.
76366         * debug/poll_chk.c: New file.
76367         * debug/ppoll_chk.c: New file.
76368         * include/bits/poll2.h: New file.
76369         * io/bits/poll2.h: New file.
76371         [BZ #1350]
76372         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76374         * configure.in: static is always set to yes.  Remove.
76375         * config.make.in: Don't set build-static.
76376         * Makeconfig: Remove use of build-static.
76377         * dlfcn/Makefile: Likewise.
76378         * elf/Makefile: Likewise.
76379         * math/Makefile: Likewise.
76380         * misc/Makefile: Likewise.
76381         * nptl/Makefile: Likewise.
76382         * sysdeps/mach/hurd/Makefile: Likewise.
76384         * configure.in: PWD_P is not used anymore.
76385         * config.make.in: Remove PWD_P entry.
76387         * configure.in: Remove last remnants of RANLIB.
76388         No need to check for signed size_t anymore.
76389         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76390         and IA-64.
76391         Remove __builtin_expect test because we require at least gcc 3.4.
76392         * aclocal.m4: Likewise.
76394         * wcsmbs/mbrtoc16.c: Implement using towc function.
76395         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76396         * wcsmbs/wcsmbsload.c: Likewise.
76397         * iconv/gconv_simple.c: Likewise.
76398         * iconv/gconv_int.h: Likewise.
76399         * iconv/gconv_builtin.h: Likewise.
76400         * iconv/iconv_prog.c: Remove CHAR16 handling.
76402         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76404         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76406         * configure.in: Remove --with-elf and --enable-bounded options.
76407         Dont set base_machine for ia64.  More non-ELF conditions removed.
76408         Remove testing and setting of leading underscore information.
76409         * config.make.in (build-bounded): Set to no.
76410         * config.h.in: Remove NO_UNDERSCORES entry.
76411         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76412         them.
76413         * csu/start.c: Remove !NO_UNDERSCORE code.
76414         * locale/localeinfo.h: Likewise.
76415         * sysdeps/generic/machine-gmon.h: Likewise.
76416         * sysdeps/generic/sysdep.h: Likewise.
76417         * sysdeps/i386/sysdep.h: Likewise.
76418         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76419         * sysdeps/mach/sysdep.h: Likewise.
76420         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76421         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76422         * sysdeps/sh/sysdep.h: Likewise.
76423         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76424         * sysdeps/unix/i386/sysdep.S: Likewise.
76425         * sysdeps/unix/sparc/start.c: Likewise.
76426         * sysdeps/unix/sparc/sysdep.S: Likewise.
76427         * sysdeps/unix/sparc/sysdep.h: Likewise.
76428         * sysdeps/unix/start.c: Likewise.
76429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76430         * sysdeps/x86_64/sysdep.h: Likewise.
76432 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76434         [BZ #13553]
76435         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76436         for non-gcc.
76437         * argp/argp-fmtstream.h: Use const instead __const.
76438         * argp/argp.h: Likewise.
76439         * assert/assert.h: Likewise.
76440         * bits/fenv.h: Likewise.
76441         * bits/sched.h: Likewise.
76442         * bits/sigset.h: Likewise.
76443         * bits/sigthread.h: Likewise.
76444         * catgets/nl_types.h: Likewise.
76445         * conform/data/pthread.h-data: Likewise.
76446         * crypt/crypt-private.h: Likewise.
76447         * crypt/crypt.h: Likewise.
76448         * crypt/crypt_util.c: Likewise.
76449         * ctype/ctype.h: Likewise.
76450         * debug/execinfo.h: Likewise.
76451         * debug/mbsnrtowcs_chk.c: Likewise.
76452         * debug/mbsrtowcs_chk.c: Likewise.
76453         * debug/wcsnrtombs_chk.c: Likewise.
76454         * debug/wcsrtombs_chk.c: Likewise.
76455         * debug/wcstombs_chk.c: Likewise.
76456         * dirent/dirent.h: Likewise.
76457         * dlfcn/dlfcn.h: Likewise.
76458         * elf/neededtest4.c: Likewise.
76459         * grp/grp.h: Likewise.
76460         * gshadow/gshadow.h: Likewise.
76461         * iconv/gconv.h: Likewise.
76462         * iconv/gconv_int.h: Likewise.
76463         * iconv/gconv_simple.c: Likewise.
76464         * iconv/iconv.h: Likewise.
76465         * iconv/loop.c: Likewise.
76466         * iconv/skeleton.c: Likewise.
76467         * include/aio.h: Likewise.
76468         * include/aliases.h: Likewise.
76469         * include/argz.h: Likewise.
76470         * include/arpa/inet.h: Likewise.
76471         * include/assert.h: Likewise.
76472         * include/dirent.h: Likewise.
76473         * include/dlfcn.h: Likewise.
76474         * include/execinfo.h: Likewise.
76475         * include/fcntl.h: Likewise.
76476         * include/fenv.h: Likewise.
76477         * include/glob.h: Likewise.
76478         * include/grp.h: Likewise.
76479         * include/libintl.h: Likewise.
76480         * include/mntent.h: Likewise.
76481         * include/netdb.h: Likewise.
76482         * include/pwd.h: Likewise.
76483         * include/rpc/netdb.h: Likewise.
76484         * include/sched.h: Likewise.
76485         * include/search.h: Likewise.
76486         * include/shadow.h: Likewise.
76487         * include/signal.h: Likewise.
76488         * include/stdio.h: Likewise.
76489         * include/stdlib.h: Likewise.
76490         * include/string.h: Likewise.
76491         * include/sys/socket.h: Likewise.
76492         * include/sys/stat.h: Likewise.
76493         * include/sys/statfs.h: Likewise.
76494         * include/sys/statvfs.h: Likewise.
76495         * include/sys/syslog.h: Likewise.
76496         * include/sys/time.h: Likewise.
76497         * include/sys/uio.h: Likewise.
76498         * include/time.h: Likewise.
76499         * include/unistd.h: Likewise.
76500         * include/utmp.h: Likewise.
76501         * include/wchar.h: Likewise.
76502         * include/wctype.h: Likewise.
76503         * inet/aliases.h: Likewise.
76504         * inet/arpa/inet.h: Likewise.
76505         * inet/netinet/ether.h: Likewise.
76506         * inet/netinet/in.h: Likewise.
76507         * intl/libintl.h: Likewise.
76508         * io/bits/fcntl2.h: Likewise.
76509         * io/fcntl.h: Likewise.
76510         * io/ftw.h: Likewise.
76511         * io/sys/poll.h: Likewise.
76512         * io/sys/stat.h: Likewise.
76513         * io/sys/statfs.h: Likewise.
76514         * io/sys/statvfs.h: Likewise.
76515         * io/utime.h: Likewise.
76516         * libio/bits/stdio.h: Likewise.
76517         * libio/bits/stdio2.h: Likewise.
76518         * libio/libio.h: Likewise.
76519         * libio/libioP.h: Likewise.
76520         * libio/stdio.h: Likewise.
76521         * locale/lc-ctype.c: Likewise.
76522         * locale/locale.h: Likewise.
76523         * login/utmp.h: Likewise.
76524         * malloc/arena.c: Likewise.
76525         * malloc/malloc.c: Likewise.
76526         * malloc/malloc.h: Likewise.
76527         * malloc/mcheck.c: Likewise.
76528         * malloc/mtrace.c: Likewise.
76529         * math/bits/mathcalls.h: Likewise.
76530         * math/fenv.h: Likewise.
76531         * math/math_private.h: Likewise.
76532         * misc/bits/error.h: Likewise.
76533         * misc/bits/syslog.h: Likewise.
76534         * misc/err.h: Likewise.
76535         * misc/error.h: Likewise.
76536         * misc/fstab.h: Likewise.
76537         * misc/mntent.h: Likewise.
76538         * misc/regexp.h: Likewise.
76539         * misc/search.h: Likewise.
76540         * misc/sgtty.h: Likewise.
76541         * misc/sys/mman.h: Likewise.
76542         * misc/sys/syslog.h: Likewise.
76543         * misc/sys/uio.h: Likewise.
76544         * misc/sys/xattr.h: Likewise.
76545         * misc/ttyent.h: Likewise.
76546         * nis/rpcsvc/ypclnt.h: Likewise.
76547         * nss/nss.h: Likewise.
76548         * posix/bits/unistd.h: Likewise.
76549         * posix/fnmatch.h: Likewise.
76550         * posix/glob.h: Likewise.
76551         * posix/sched.h: Likewise.
76552         * posix/spawn.h: Likewise.
76553         * posix/sys/wait.h: Likewise.
76554         * posix/unistd.h: Likewise.
76555         * posix/wordexp.h: Likewise.
76556         * pwd/pwd.h: Likewise.
76557         * resolv/netdb.h: Likewise.
76558         * resource/sys/resource.h: Likewise.
76559         * rt/aio.h: Likewise.
76560         * rt/bits/mqueue2.h: Likewise.
76561         * rt/mqueue.h: Likewise.
76562         * shadow/shadow.h: Likewise.
76563         * signal/signal.h: Likewise.
76564         * socket/send.c: Likewise.
76565         * socket/sendto.c: Likewise.
76566         * socket/sys/socket.h: Likewise.
76567         * stdio-common/printf.h: Likewise.
76568         * stdlib/bits/stdlib.h: Likewise.
76569         * stdlib/fmtmsg.h: Likewise.
76570         * stdlib/monetary.h: Likewise.
76571         * stdlib/stdlib.h: Likewise.
76572         * stdlib/ucontext.h: Likewise.
76573         * streams/stropts.h: Likewise.
76574         * string/argz.h: Likewise.
76575         * string/bits/string2.h: Likewise.
76576         * string/string.h: Likewise.
76577         * string/strings.h: Likewise.
76578         * sunrpc/rpc/auth.h: Likewise.
76579         * sunrpc/rpc/auth_des.h: Likewise.
76580         * sunrpc/rpc/clnt.h: Likewise.
76581         * sunrpc/rpc/netdb.h: Likewise.
76582         * sunrpc/rpc/pmap_clnt.h: Likewise.
76583         * sunrpc/rpc/xdr.h: Likewise.
76584         * sysdeps/generic/inttypes.h: Likewise.
76585         * sysdeps/generic/net/if.h: Likewise.
76586         * sysdeps/generic/sys/swap.h: Likewise.
76587         * sysdeps/gnu/net/if.h: Likewise.
76588         * sysdeps/gnu/utmpx.h: Likewise.
76589         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76590         * sysdeps/i386/i486/bits/string.h: Likewise.
76591         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76592         * sysdeps/s390/bits/string.h: Likewise.
76593         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76594         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76595         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76596         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76597         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76598         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76599         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76600         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76601         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76602         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76603         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76604         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76605         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76606         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76607         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76608         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76609         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76611         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76612         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76613         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76614         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76615         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76616         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76617         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76618         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76619         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76620         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76621         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76622         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76623         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76624         * sysvipc/sys/ipc.h: Likewise.
76625         * sysvipc/sys/msg.h: Likewise.
76626         * sysvipc/sys/sem.h: Likewise.
76627         * sysvipc/sys/shm.h: Likewise.
76628         * termios/termios.h: Likewise.
76629         * time/sys/time.h: Likewise.
76630         * time/time.h: Likewise.
76631         * wcsmbs/bits/wchar2.h: Likewise.
76632         * wcsmbs/uchar.h: Likewise.
76633         * wcsmbs/wchar.h: Likewise.
76634         * wctype/wctype.h: Likewise.
76636         [BZ #13551]
76637         * Makeconfig: Remove all but ELF support including AIX support.
76638         * Makerules: Likewise.
76639         * config.h.in: Likewise.
76640         * config.make.in: Likewise.
76641         * configure: Likewise.
76642         * configure.in: Likewise.
76643         * csu/Makefile: Likewise.
76644         * csu/version.c: Likewise.
76645         * debug/Makefile: Likewise.
76646         * dlfcn/Makefile: Likewise.
76647         * elf/Makefile: Likewise.
76648         * extra-lib.mk: Likewise.
76649         * iconv/Makefile: Likewise.
76650         * include/libc-symbols.h: Likewise.
76651         * include/shlib-compat.h: Likewise.
76652         * resolv/Makefile: Likewise.
76653         * resolv/res_libc.c: Likewise.
76654         * rt/Makefile: Likewise.
76655         * sysdeps/i386/asm-syntax.h: Likewise.
76656         * sysdeps/i386/sysdep.h: Likewise.
76657         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76658         * sysdeps/mach/sysdep.h: Likewise.
76659         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76660         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76661         * sysdeps/s390/asm-syntax.h: Likewise.
76662         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76663         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76664         * sysdeps/sh/sysdep.h: Likewise.
76665         * sysdeps/unix/sparc/sysdep.h: Likewise.
76666         * sysdeps/wordsize-32/divdi3.c: Likewise.
76667         * sysdeps/x86_64/sysdep.h: Likewise.
76669         * argp/Versions: Remove _argp_unlock_xxx.
76671         [BZ #13559]
76672         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76673         * abilist/libBrokenLocale.abilist: Likewise.
76674         * abilist/libanl.abilist: Likewise.
76675         * abilist/libc.abilist: Likewise.
76676         * abilist/libcrypt.abilist: Likewise.
76677         * abilist/libdl.abilist: Likewise.
76678         * abilist/libm.abilist: Likewise.
76679         * abilist/libnsl.abilist: Likewise.
76680         * abilist/libpthread.abilist: Likewise.
76681         * abilist/libresolv.abilist: Likewise.
76682         * abilist/librt.abilist: Likewise.
76683         * abilist/libthread_db.abilist: Likewise.
76684         * abilist/libutil.abilist: Likewise.
76685         * abilist/libnss_db.abilist: New file.
76687         * scripts/abilist.awk: Add support for indirect functions.
76689         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76691         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76693         * shlib-versions: Remove entries for ports architectures.
76695         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76696         files in ports.
76697         * elf/stackguard-macros.h: Remove support for IA-64.
76698         * elf/tst-auditmod1.c: Likewise.
76699         * sysdeps/generic/ldsodefs.h: Likewise.
76701         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76702         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76703         configure files.
76705         [BZ #13552]
76706         * configure.in: Remove --enable-omitfp support.
76707         * FAQ.in: Adjust.
76708         * config.make.in: Likewise.
76709         * Makeconfig: Likewise.
76710         * manual/install.texi: Likewise.
76712         In case anyone cares, the IA-64 architecture could move to ports.
76713         * sysdeps/ia64/*: Removed.
76714         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76715         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76717         [BZ #13555]
76718         * configure.in: Remove entries for unsupported architectures.
76720         [BZ #13533]
76721         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76722         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76723         routines.
76724         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76725         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76726         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76727         fall back to using wcrtomb.
76728         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76729         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76730         renaming.
76731         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76732         * wcsmbs/tst-c16c32-1.c: New file.
76734         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76735         local variable.
76737         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76739         * elf/tst-unique3.cc: Add explicit declaration of gets.
76740         * elf/tst-unique3lib.cc: Likewise.
76741         * elf/tst-unique3lib2.cc: Likewise.
76742         * elf/tst-unique4.cc: Likewise.
76744         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76746 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76748         [BZ #13566]
76749         * assert/assert.h (static_assert): Don't define for C++.
76750         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76751         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76753 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76755         * iconv/loop.c (single loop): Fix assertion in storing of
76756         remaining bytes.
76758         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76760 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76762         * posix/getconf.c: Update copyright year.
76763         * nss/getent.c: Likewise.
76764         * nss/makedb.c: Likewise.
76765         * iconv/iconvconfig.c: Likewise.
76766         * iconv/iconv_prog.c: Likewise.
76767         * elf/ldconfig.c: Likewise.
76768         * elf/pldd.c: Likewise.
76769         * elf/sotruss.ksh: Likewise.
76770         * catgets/gencat.c: Likewise.
76771         * csu/version.c: Likewise.
76772         * elf/ldd.bash.in: Likewise.
76773         * elf/sprof.c (print_version): Likewise.
76774         * locale/programs/locale.c: Likewise.
76775         * locale/programs/localedef.c: Likewise.
76776         * login/programs/pt_chown.c: Likewise.
76777         * nscd/nscd.c (print_version): Likewise.
76778         * debug/xtrace.sh: Likewise.
76779         * malloc/memusage.sh: Likewise.
76780         * malloc/mtrace.pl: Likewise.
76781         * debug/catchsegv.sh: Likewise.
76783 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76785         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76786         pure attribute.
76788 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76790         [BZ #13533]
76791         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76792         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76793         transformations.
76794         * iconv/gconv_int.h: Likewise.
76795         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76796         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76797         from libc for GLIBC_2.16.
76798         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76799         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76800         * wcsmbs/uchar.h: Really define mbstate_t.
76801         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76802         * wcsmbs/c16rtomb.c: New file.
76803         * wcsmbs/mbrtoc16.c: New file.
76804         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76805         for C/POSIX locale.
76806         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76807         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76809         * wcsmbs/wchar.h: Add missing __restrict.
76811 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76813         [BZ #13532]
76814         * time/Makefile (routines): Add timespec_get.
76815         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76816         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76817         timespec for ISO C11.
76818         * time/timespec_get.c: New file.
76819         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76820         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76822         [BZ #13531]
76823         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76824         * stdlib/stdlib.h: Declare aligned_alloc.
76825         * Versions.def: Add GLIBC_2.16 for libc.
76826         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76828         [BZ 13527]
76829         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76830         ISO C11.
76832         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76833         code.
76835         [BZ #13528]
76836         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76838         [BZ #13529]
76839         * assert/assert.h (static_assert): Define.
76841         * version.h: Update for 2.16 development version.
76843         [BZ #13526]
76844         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76845         _ISOC11_SOURCE.
76847         * version.h (RELEASE): Bump for 2.15 release.
76848         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76850         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76851         Patch by Marek Polacek <mpolacek@redhat.com>.
76853         * bits/byteswap.h: Protect long long constants with __extension__.
76854         * sysdeps/i386/bits/byteswap.h: Likewise.
76855         * sysdeps/ia64/bits/byteswap.h: Likewise.
76856         * sysdeps/s390/bits/byteswap.h: Likewise.
76857         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76859 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76861         [BZ #13540]
76862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76863         destination buffer.
76864         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76866 2011-12-23  Marek Polacek  <polacek@redhat.com>
76868         * elf/dl-addr.c (determine_info): Add inline keyword.
76869         * elf/tst-auditmod4b.c (check_avx): Likewise.
76870         * elf/tst-auditmod6b.c (check_avx): Likewise.
76871         * elf/tst-auditmod6c.c (check_avx): Likewise.
76872         * elf/tst-auditmod7b.c (check_avx): Likewise.
76874 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76876         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76877         !__SSE_MATH__.
76879 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76881         [BZ #13540]
76882         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76883         processing for last bytes.
76885 2011-08-06  Bruno Haible  <bruno@clisp.org>
76887         [BZ #13061]
76888         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76889         U+0385, not to U+1FEE.
76891         [BZ #13062]
76892         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76893         entry for U+00A5 U+0301.
76895 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76897         [BZ #13166]
76898         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76899         buffer for the output is too small.
76901         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76902         optimization.
76904         [BZ #13185]
76905         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76906         SSE flags if possible.
76908 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76910         [BZ #13540]
76911         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76912         processing for last bytes.
76914 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76916         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76917         (syscall-list-default-options, syscall-list-default-condition)
76918         (syscall-list-includes): Define.
76919         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76920         list of ABIs and options and #if conditions for each ABI.  Do not
76921         handle common syscalls between ABIs specially.
76922         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76923         Remove.
76924         (syscall-list-variants, syscall-list-32bit-options)
76925         (syscall-list-32bit-condition, syscall-list-64bit-options)
76926         (syscall-list-64bit-condition): Define.
76927         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76928         (syscall-list-variants, syscall-list-32bit-options)
76929         (syscall-list-32bit-condition, syscall-list-64bit-options)
76930         (syscall-list-64bit-condition): Define.
76931         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76932         Remove.
76933         (syscall-list-variants, syscall-list-32bit-options)
76934         (syscall-list-32bit-condition, syscall-list-64bit-options)
76935         (syscall-list-64bit-condition): Define.
76936         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76937         Remove.
76938         (syscall-list-variants, syscall-list-32bit-options)
76939         (syscall-list-32bit-condition, syscall-list-64bit-options)
76940         (syscall-list-64bit-condition): Define.
76942 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76944         * locale/iso-639.def: Add brx entry.
76946         [BZ #13328]
76947         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76948         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76950         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76951         __feraiseexcept_renamed.
76953 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76955         [BZ #13538]
76956         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76957         EPOLLET with unsigned values.
76958         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76959         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76961         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76962         to large cancellation.
76963         * math/s_cacoshf.c: Likewise.
76964         * math/s_cacoshl.c: Likewise.
76966 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76968         [BZ #13305]
76969         [BZ #12786]
76970         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76971         * math/s_cacoshf.c: Likewise.
76972         * math/s_cacoshl.c: Likewise.
76974 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76976         [BZ #13439]
76977         * iconv/gconv.h: Define __GCONV_SWAP.
76978         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76979         * iconvdata/utf-16.c: Likewise.
76980         * iconvdata/utf-32.c: Likewise.
76982 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76984         [BZ #13524]
76985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76986         numerator after shifting it by one limb.
76988 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76991         under [__USE_EXTERN_INLINES].
76993 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76995         [BZ #13446]
76996         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76998 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77000         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77001         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77002         optimized code.
77003         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77004         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77005         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77006         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77007         for strncasecmp/strncasecmp_l compilation.
77008         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77009         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77011 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
77013         [BZ #13484]
77014         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77015         of __asm__.
77017 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77019         [BZ #13506]
77020         * time/tzfile.c (__tzfile_read): Check values from file header.
77022 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77024         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77025         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77026         * powerpc/powerpc32/dl-start.S: Likewise.
77027         * powerpc/powerpc32/elf/start.S: Likewise.
77028         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77029         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77030         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77031         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77032         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77033         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77034         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77035         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77036         * powerpc/powerpc32/fpu/s_round.S: Likewise.
77037         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77038         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77039         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77040         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77041         * powerpc/powerpc32/memset.S: Likewise.
77042         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77043         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77044         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77045         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77046         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77047         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77048         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77049         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77050         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77051         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77052         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77053         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77054         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77056 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77058         * math/libm-test.inc: Added more nearbyint tests.
77059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77060         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77064 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77066         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77067         FD_CLOEXEC.
77069 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77071         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77072         Add wcscpy-ssse3 wcscpy-c.
77073         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77074         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77075         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77076         * sysdeps/x86_64/wcschr.S: New file.
77077         * sysdeps/x86_64/wcsrchr.S: New file.
77078         * string/test-strcmp.c: Remove checking of wcscmp function for
77079         wrong alignments.
77080         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77081         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77082         wcsrchr-sse2 wcsrchr-c.
77083         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77084         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77085         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77086         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77087         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77088         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77089         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77090         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77091         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77092         * wcsmbc/wcschr.c (WCSCHR): New macro.
77094 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77096         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77097         * wcsmbs/test-wcsrchr.c: New file.
77098         * string/test-strrchr.c: Add wcsrchr support.
77099         (WIDE): New macro.
77100         * wcsmbs/test-wcscpy.c: New file.
77101         * string/test-strcpy.c: Add wcscpy support.
77102         (WIDE): New macro.
77104 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77106         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77107         the inner loop.
77109 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77111         [BZ #13472]
77112         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77114 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77116         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77117         Minor optimizations.
77119         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77120         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77121         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77123 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77125         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77126         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77127         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77128         for gcc to avoid warnings.
77129         * inet/Makefile (tests): Add tst-checks.
77130         * inet/tst-checks.c: New file.
77132         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77133         warning.
77135         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77136         __wmemcmp_sse2.
77138         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77139         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77141         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77143 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77145         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77146         problem.
77148         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77150 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77152         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77153         conditional on GCC version.
77154         (__arch_compare_and_exchange_val_8_acq)
77155         (__arch_compare_and_exchange_val_16_acq)
77156         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77157         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77158         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77160 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77162         * sysdeps/sh/backtrace.c: New file.
77164 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77166         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77167         parenthesis.
77169 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77171         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77172         falling back to utime.
77174 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77176         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77177         expectations for float.
77179 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77181         * locale/weight.h (findidx): Add parameter len.
77182         * locale/weightwc.h (findidx): Likewise.
77183         * posix/fnmatch_loop.c (FCT): Adjust caller.
77184         * posix/regcomp.c (build_equiv_class): Likewise.
77185         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77186         * posix/regexec.c (check_node_accept_bytes): Likewise.
77187         * string/strcoll_l.c (STRCOLL): Likewise.
77188         * string/strxfrm_l.c (STRXFRM): Likewise.
77190 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77192         * Makefile.in: Remove CVSOPT handling.
77193         * configure.in: Remove use of AC_REVISION.
77194         * iconvdata/Makefile (distribute): No need to filter out CVS.
77195         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77196         handling.
77198 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77200         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77201         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77202         [USE_AS_STRNCASECMP_L]: Likewise.
77203         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77204         NO_TLS_DIRECT_SEG_REFS.
77205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77206         Fix argument offsets for non-PIC.
77207         [USE_AS_STRNCASECMP_L]: Likewise.
77208         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77209         NO_TLS_DIRECT_SEG_REFS.
77211 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77213         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77214         O_CLOEXEC.
77215         * locale/loadlocale.c (_nl_load_locale): Likewise.
77217 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77219         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77220         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77221         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77222         (SYSCALL_GETTIME): Set errno on error.
77224         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77225         count references to noai6ai_cached.
77227 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77229         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77231         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77232         FD_CLOEXEC for /proc/self/maps.
77234         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77235         FD_CLOEXEC for /proc/meminfo.
77237         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77238         gai.conf.
77240         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77241         FD_CLOEXEC for given file.
77243         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77245         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77246         FD_CLOEXEC for /etc/hosts.
77247         (_gethtent): Likewise.
77249         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77251         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77252         cancellation and set FD_CLOEXEC for /etc/netgroup.
77254         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77255         reading /etc/publickey.
77257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77258         allow cancellation when reading /etc/group.
77260         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77261         cancellation.
77262         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77264         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77265         when using data file.
77267         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77269         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77270         (write_nis_obj): Use "c" and "e" in fopen.
77272         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77274         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77276         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77278         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77280         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77281         locale.alias.
77283         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77285         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77287         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77289         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77290         file parsing and set FD_CLOEXEC.
77292 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77294         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77296 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77298         * malloc/arena.c (arena_get2): Don't call reused_arena when
77299         _int_new_arena failed.
77301 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77303         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77304         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77309         to compile strcasecmp and strncasecmp.
77310         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77311         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77315 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77317         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77318         locale-defines.sym to gen-as-const-headers.
77319         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77320         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77322         to compile strcasecmp and strncasecmp.
77323         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77324         strcasecmp_l and strncasecmp_l.
77325         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77326         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77327         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77328         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77329         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77330         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77331         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77332         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77333         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77334         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77335         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77337 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77339         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77340         result of SYSDEP_GETTIME_CPU to retval.
77341         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77342         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77344         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77345         variable.
77347         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77348         mantissa words.
77349         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77351         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77352         from unused variable.
77354         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77355         DWARF definitions.
77356         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77357         for assembling.
77359         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77360         over namespaces.
77362         * sunrpc/rpc_prot.c (rejected): Fix case value.
77364         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77365         unsigned long long int to avoid warnings in shift.
77367         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77368         of use of trans.
77369         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77370         variable tmp.
77372         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77373         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77374         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77376         * nis/nis_table.c (nis_list): Use variable of correct type for
77377         result of __follow_path call.
77379 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77381         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77382         of math functions ceil, trunc, floor, round, and sqrt, when
77383         avaliable on the platform.
77384         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77385         name clash.
77386         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77387         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77388         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77390 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77392         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77395 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77397         * include/unistd.h: Fix __readlink return type.
77398         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77400 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77402         * stdlib/ucontext.h: Undo last change for makecontext.
77404 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77406         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77408         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77409         * setjmp/setjmp.h: Mark functions as non-leaf.
77410         * setjmp/bits/setjmp2.h: Likewise.
77411         * stdlib/ucontext.h: Likewise.
77413 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77415         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77416         (reused_arena): Don't check arena limit.
77417         (arena_get2): Atomically check arena limit.
77419 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77421         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77422         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77425         instructions.
77427 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77429         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77430         handler when locking.
77432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77433         Fix size of allocated buffer.
77435 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77437         [BZ #10103]
77438         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77439         declarations for long double functions.
77440         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77442         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77444 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77446         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77447         installed.
77449         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77450         is disabled.
77452 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77454         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77456 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77458         * include/alloca.h (stackinfo_alloca_round): Define.
77459         (extend_alloca): Use it.
77460         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77461         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77462         here.
77464         * scripts/check-local-headers.sh: Ignore libaudit.h.
77466         * nscd/Makefile (extra-objs): Make recursively expanded.
77468 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77470         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77471         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77473         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77474         * posix/tst-rfc3484-2.c: Likewise.
77475         * posix/tst-rfc3484-3.c: Likewise.
77477         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77478         process_vm_writev.
77479         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77480         process_vm_writev.
77481         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77482         process_vm_writev from libc using GLIBC_2.15 version.
77484         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77486 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77488         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77489         stack usage.
77491 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77493         [BZ #13367]
77494         * nss/getent.c (initgroups_keys): Show error message in case no group
77495         names are given.
77497         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77498         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77499         __bump_nl_timestamp.
77500         * nscd/connections (nscd_init): When host database is served open
77501         netlink socket and request notification about configuration changes.
77502         (main_loop_poll): Track netlink file descriptor and bump timestamp
77503         in case data becomes available.
77504         (main_loop_epoll): Likewise.
77505         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77506         (database_pers_head): Add extra_data fileds.
77507         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77508         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77509         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77510         Adjust caller.
77511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77512         in6ai data, call __free_in6ai.
77513         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77514         Add -DHAVE_NETLINK.
77515         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77516         interface information.  Reuse previous data if netlink timestamp
77517         is not changed.
77518         (__bump_nl_timestamp): New function.
77519         (__free_in6ai): New function.
77521 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77523         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77524         close_not_cancel_no_status here.
77525         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77527 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77529         [BZ #13276]
77530         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77531         return value.
77533         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77534         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77535         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77537 2011-07-03  Andreas Jaeger  <aj@suse.de>
77539         [BZ #10709]
77540         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77541         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77542         * math/libm-test.inc (sin_test): Add test case.
77544 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77546         [BZ #13337]
77547         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77548         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77550         * elf/chroot_canon.c (chroot_canon): Cleanups.
77552         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77554         [BZ #13335]
77555         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77556         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77558         * string/test-strchr.c: Make usable for strchrnul testing.
77559         * string/test-strchrnul.c: New file.
77560         * string/Makefile (strop-tests): Add strchrnul.
77562         * po/it.po: Update from translation team.
77563         * po/es.po: Likewise.
77565 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77567         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77568         the three constants needed as parameters.  Drop the others.
77569         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77570         __m128i_strloadu_tolower.
77571         Create and initialize variable zero and use it in all the places
77572         where _mm_setzero_si128 was used.
77574         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77575         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77576         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77577         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77578         anymore.
77579         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77580         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77581         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77582         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77583         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77584         __mpranred, __mptan.
77585         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77586         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77587         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77588         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77589         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77590         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77592         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77593         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77595 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77597         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77598         redefine if SHARED.
77599         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77602         wide char related routines to wcsmbs subdir.
77604 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77606         [BZ #13344]
77607         * misc/sys/cdefs.h (__THROWNL): Define.
77608         * posix/unistd.h: Use __THREADNL instead of __THREAD
77609         for memory synchronization functions.
77611 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77613         [BZ #13349]
77614         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77615         doesn't exist.
77616         * manual/stdio.texi (Obstack Streams): Node removed.
77618 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77620         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77621         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77622         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77624         * math/math_private.h (math_force_eval): Allow non-addressable
77625         arguments.
77626         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77628 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77630         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77631         file is not needed.
77633         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77636         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77640         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77641         Add AVX variants.
77642         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77643         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77644         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77645         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77646         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77647         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77648         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77649         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77650         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77651         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77652         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77653         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77654         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77655         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77656         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77657         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77658         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77659         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77660         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77662         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77663         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77665         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77666         place.  Use VEX encoding when compiling for AVX.
77668 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77670         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77671         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77673         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77675 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77677         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77678         useless if() expression.
77679         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77680         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77681         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77682         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77683         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77684         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77685         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77686         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77687         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77688         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77689         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77690         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77691         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77692         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77693         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77694         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77695         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77696         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77697         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77699         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77701 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77703         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77704         condition.
77705         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77707 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77709         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77710         .text section.  Avoid duplicate constants.
77711         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77719         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77720         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77721         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77722         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77723         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77724         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77725         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77727         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77728         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77730         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77731         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77732         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77733         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77734         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77735         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77736         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77737         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77738         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77739         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77740         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77741         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77742         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77743         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77744         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77745         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77746         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77747         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77748         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77749         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77750         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77751         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77752         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77753         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77754         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77755         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77757 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77759         * sysdeps/x86_64/dla.h: Move to ...
77760         * sysdeps/x86_64/fpu/dla.h: ...here.
77761         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77762         situations.  Use __builtin_fma only for gcc 4.6 and up.
77764         * config.make.in: Add have-mfma4 entry.
77765         * configure.in: Substitute libc_cv_cc_fma4.
77766         * math/Makefile (dbl-only-routines): Add sincostab.
77767         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77768         Use __sincostab not sincos.
77769         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77770         name is a macro.
77771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77775         using __copysign.
77776         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77777         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77778         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77779         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77780         and __inv.
77781         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77782         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77783         __copysign.
77784         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77785         define aliases when function name is a macro.
77786         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77787         sysdeps/ieee754/dbl-64/sincos.tbl.
77788         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77789         fma4-enabled routines.
77790         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77791         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77792         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77793         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77794         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77795         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77796         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77797         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77798         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77799         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77800         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77801         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77802         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77803         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77804         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77805         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77806         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77807         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77808         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77809         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77810         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77811         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77813         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77814         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77815         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77816         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77817         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77818         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77819         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77821         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77822         rename.
77823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77829         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77832 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77834         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77836 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77840         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77841         prediction.
77842         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77844         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77845         Remove unused variable magic_bits.
77846         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77848         * string/strnlen.c: Define and use STRNLEN macro.
77849         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77850         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77851         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77852         * wcsmbs/wcslen.c: Define and use WCSLEN.
77853         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77854         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77855         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77856         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77857         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77858         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77859         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77861 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77864         strnlen-sse2-no-bsf.
77865         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77866         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77867         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77868         Add strnlen support.
77869         (USE_AS_STRNLEN): New macro.
77870         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77871         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77872         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77873         * sysdeps/x86_64/wcslen.S: New file.
77875 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77877         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77878         XMM-moves are used for copying on small sizes.
77880 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77882         * wcsmbs/Makefile (strop-tests): Add wcschr.
77883         * wcsmbs/test-wcschr.c: New file.
77884         * string/test-strchr.c: Update.
77885         Add wcschr support.
77886         (WIDE): New macro.
77888 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77890         * wcsmbs/Makefile (strop-tests): Add wcslen.
77891         * wcsmbs/test-wcslen.c: New file.
77892         * string/test-strlen.c: Update.
77893         Add wcslen support.
77894         (WIDE): New macro.
77896 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77898         * po/it.po: Update from translation team.
77900 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77902         * sysdeps/x86_64/wcscmp.S: Update.
77903         Fix wrong comparison semantics.
77904         wcscmp shall use signed comparison not unsigned.
77905         Don't use substraction to avoid overflow bug.
77906         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77907         * wcsmbc/wcscmp.c: Likewise.
77908         * string/test-strcmp.c: Likewise.
77909         Add new tests to check cases with negative values.
77911 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77913         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77914         * sysdeps/x86_64/dla.h: ...here.  New file.
77915         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77919         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77920         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77925 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77928         __ynl_finite aliases.
77930 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77934         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77935         define DLA_FMA.
77936         [DLA_FMA] (EMULV): Use DLA_FMA.
77937         [DLA_FMA] (MUL12): Use EMULV.
77938         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77939         that are not needed.
77940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77945         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77946         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77948 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77950         * math/s_nan.c: Undef __nan.
77951         * math/s_nanf.c: Undef __nanf.
77952         * math/s_nanl.c: Undef __nanl.
77953         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77954         "math_private.h".
77956 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77958         * math/s_catan.c: Add branch predictions.
77959         * math/s_catanf.c: Likewise.
77960         * math/s_catanh.c: Likewise.
77961         * math/s_catanhf.c: Likewise.
77962         * math/s_catanhl.c: Likewise.
77963         * math/s_catanl.c: Likewise.
77964         * math/s_cexp.c: Likewise.
77965         * math/s_cexpf.c: Likewise.
77966         * math/s_cexpl.c: Likewise.
77967         * math/s_clog.c: Likewise.
77968         * math/s_clog10.c: Likewise.
77969         * math/s_clog10f.c: Likewise.
77970         * math/s_clog10l.c: Likewise.
77971         * math/s_clogf.c: Likewise.
77972         * math/s_clogl.c: Likewise.
77973         * math/s_csqrt.c: Likewise.
77974         * math/s_csqrtf.c: Likewise.
77975         * math/s_csqrtl.c: Likewise.
77976         * math/s_ctanf.c: Likewise.
77977         * math/s_ctanh.c: Likewise.
77978         * math/s_ctanhf.c: Likewise.
77979         * math/s_ctanhl.c: Likewise.
77980         * math/s_ctanl.c: Likewise.
77982         * math/math_private.h: Define __nan, __nanf, __nanl.
77983         * math/s_cacosh.c: Include <math_private.h>.
77984         * math/s_cacoshl.c: Likewise.
77985         * math/s_casinh.c: Likewise.
77986         * math/s_casinhf.c: Likewise.
77987         * math/s_casinhl.c: Likewise.
77988         * math/s_ccos.c: Rely entire on ccosh.
77989         * math/s_ccosf.c: Rely entire on ccoshf.
77990         * math/s_ccosl.c: Rely entirely on ccoshl.
77991         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77992         Remove tests for FE_INVALID.
77993         * math/s_ccoshf.c: Likewise.
77994         * math/s_ccoshl.c: Likewise.
77995         * math/s_csin.c: Likewise.
77996         * math/s_csinf.c: Likewise.
77997         * math/s_csinh.c Likewise.
77998         * math/s_csinhf.c: Likewise.
77999         * math/s_csinhl.c: Likewise.
78000         * math/s_csinl.c: Likewise.
78001         * math/s_ctan.c: Likewise.
78002         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78003         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78004         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78006 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
78008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78009         compilation problems.
78011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78012         __builtin_expect.
78014 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
78016         * sysdeps/i386/configure.in: Test for -mfma4 option.
78017         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78018         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78019         COMMON_CPUID_INDEX_80000001.
78020         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78021         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78022         use it if FMA3 is not supported.
78023         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78025         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78026         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78028 2011-10-20  Andreas Schwab  <schwab@redhat.com>
78030         [BZ #12892]
78031         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78032         it would create a cycle with a link time dependency.
78034 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
78036         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78037         instruction.
78038         * string/Makefile (strop-tests): Add rawmemchr.
78039         * string/test-rawmemchr.c: New file.
78041         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78042         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78043         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78044         when compiling str{,n}casecmp and when AVX is available.  Hook up
78045         new optimized code in initializers.
78047 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78049         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78050         __feraiseexcept instead of feraiseexcept.
78052 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78054         * math/math_private.h: Define defaults for libc_fetestexcept and
78055         libc_feupdateenv.
78056         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78057         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78058         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78059         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78060         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78061         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78062         libc_fetestexcept and libc_feupdateenv.
78064         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78065         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78066         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78067         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78068         libc_feholdexcept_setround.
78070         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78071         Add s_nearbyint-c and s_nearbyintf-c.
78072         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78073         nearbyintf inlines.
78074         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78075         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78076         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78077         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78079         * math/math_private.h: Define defaults for libc_fegetround,
78080         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78081         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78082         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78083         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78084         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78085         standard functions.
78086         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78087         Remove comments and hacks for old compiler versions.
78088         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78089         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78090         libc_feholdexceptl.
78092 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78094         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78095         (__feraiseexcept_renamed): Add __NTH.
78096         (feraiseexcept): Add __NTH.  Rename local variables to fix
78097         namespace violations.
78099 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78101         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78103         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78105         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78106         recently added interfaces.
78107         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78109         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78110         about macro parameter expansion.
78112         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78113         __NO_MATH_INLINES is defined.  Cleanups.
78115         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78116         and __floorf is target has SSE4.1.
78117         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78118         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78119         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78120         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78122         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78123         name.
78124         (floorf): Likewise.
78126         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78128 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78130         * misc/sys/cdefs.h: Fix last change.
78132         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78133         database lookup.
78135 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78137         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78139         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78141         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78143         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78144         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78145         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78146         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78147         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78148         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78149         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78150         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78151         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78152         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78153         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78154         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78155         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78156         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78157         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78158         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78159         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78160         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78162         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78163         ceil, ceilf, floor, floorf.
78165         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78166         Perform IRELATIVE relocations last.
78168         * elf/do-rel.h: Add another parameter nrelative, replacing the
78169         local variable with the same name.  Change name of the function
78170         to end in Rel or Rela (uppercase).
78171         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78172         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78173         elf_dynamic_do_##reloc function.
78175 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78177         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78178         is sufficient, at least on modern CPUs.
78180         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78182         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78183         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78185         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78186         __expl_finite.
78187         * math/bits/math-finite.h: Add entries for exp.
78188         * math/e_expl.c: Add __*_finite alias.
78189         * sysdeps/i386/fpu/e_exp.S: Likewise.
78190         * sysdeps/i386/fpu/e_expf.S: Likewise.
78191         * sysdeps/i386/fpu/e_expl.c: Likewise.
78192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78193         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78194         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78195         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78196         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78197         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78198         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78200         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78201         is sufficient, at least on modern CPUs.
78203         * ctype/ctype-info.c (__ctype_init): Define.
78204         * include/ctype.h (__ctype_init): Declare.
78205         (__ctype_b_loc): The variable is always initialized.
78206         (__ctype_toupper_loc): Likewise.
78207         (__ctype_tolower_loc): Likewise.
78208         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78209         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78211 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78213         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78215         * configure.in: Also look in $cxxmachine/include for C++ system
78216         headers.
78218 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78220         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78221         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78222         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78223         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78225         (USE_AS_WMEMCMP): New macro.
78226         Fixing indents.
78227         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78228         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78229         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78230         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78232         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78233         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78234         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78235         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78236         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78237         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78238         (USE_AS_WMEMCMP): New macro.
78239         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78240         * sysdeps/string/test-memcmp.c: Update.
78241         Fix simple_wmemcmp.
78242         Add new tests.
78243         * wcsmbs/wmemcmp.c: Update.
78244         (WMEMCMP): New macro.
78245         Fix overflow bug.
78247 2011-10-12  Andreas Jaeger  <aj@suse.de>
78249         [BZ #13268]
78250         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78252 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78254         * libio/iofwide.c (do_length): Avoid warning.
78256         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78258 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78260         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78262         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78263         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78264         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78265         * sysdeps/i386/i686/fpu/e_log.S: New file.
78266         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78267         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78269         * ctype/ctype.h: Add support for inlined isXXX functions when
78270         compiling C++ code.
78272 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78274         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78276         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78278 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78280         [BZ #13291]
78281         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78283 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78285         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78286         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78287         feraiseexcept.
78289         * sysdeps/x86_64/memrchr.S: Check for zero size.
78291         * string/stratcliff.c: Add memrchr tests.
78293 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78295         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78296         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78297         rawmemchr-sse2 rawmemchr-sse2-bsf.
78298         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78299         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78300         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78301         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78302         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78303         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78304         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78305         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78306         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78307         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78308         * string/memrchr.c (MEMRCHR): New macro.
78310 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78312         Add integration with gcc's -ffinite-math-only and optimize wrapper
78313         functions in libm.
78314         * Versions.def: Define GLIBC_2.15 version for libm.
78315         * math/Makefile (headers): Add bits/math-finite.h.
78316         * math/bits/math-finite.h: New file.
78317         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78318         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78319         * math/e_acoshl.c: Add __*_finite alias.
78320         * math/e_acosl.c: Likewise.
78321         * math/e_asinl.c: Likewise.
78322         * math/e_atan2l.c: Likewise.
78323         * math/e_atanhl.c: Likewise.
78324         * math/e_coshl.c: Likewise.
78325         * math/e_exp10.c: Likewise.
78326         * math/e_exp10f.c: Likewise.
78327         * math/e_exp10l.c: Likewise.
78328         * math/e_exp2l.c: Likewise.
78329         * math/e_fmodl.c: Likewise.
78330         * math/e_gammal_r.c: Likewise.
78331         * math/e_hypotl.c: Likewise.
78332         * math/e_j0l.c: Likewise.
78333         * math/e_j1l.c: Likewise.
78334         * math/e_jnl.c: Likewise.
78335         * math/e_lgammal_r.c: Likewise.
78336         * math/e_log10l.c: Likewise.
78337         * math/e_log2l.c: Likewise.
78338         * math/e_logl.c: Likewise.
78339         * math/e_powl.c: Likewise.
78340         * math/e_sinhl.c: Likewise.
78341         * math/e_sqrtl.c: Likewise.
78342         * math/e_scalb.c: Completely rewritten and optimized.
78343         * math/e_scalbf.c: Likewise.
78344         * math/e_scalbl.c: Likewise.
78345         * math/w_acos.c: Likewise.
78346         * math/w_acosf.c: Likewise.
78347         * math/w_acosl.c: Likewise.
78348         * math/w_acosh.c: Likewise.
78349         * math/w_acoshf.c: Likewise.
78350         * math/w_acoshl.c: Likewise.
78351         * math/w_asin.c: Likewise.
78352         * math/w_asinf.c: Likewise.
78353         * math/w_asinl.c: Likewise.
78354         * math/w_atan2.c: Likewise.
78355         * math/w_atan2f.c: Likewise.
78356         * math/w_atan2l.c: Likewise.
78357         * math/w_atanh.c: Likewise.
78358         * math/w_atanhf.c: Likewise.
78359         * math/w_atanhl.c: Likewise.
78360         * math/w_exp10.c: Likewise.
78361         * math/w_exp10f.c: Likewise.
78362         * math/w_exp10l.c: Likewise.
78363         * math/w_fmod.c: Likewise.
78364         * math/w_fmodf.c: Likewise.
78365         * math/w_fmodl.c: Likewise.
78366         * math/w_j0.c: Likewise.
78367         * math/w_j0f.c: Likewise.
78368         * math/w_j0l.c: Likewise.
78369         * math/w_j1.c: Likewise.
78370         * math/w_j1f.c: Likewise.
78371         * math/w_j1l.c: Likewise.
78372         * math/w_jn.c: Likewise.
78373         * math/w_jnf.c: Likewise.
78374         * math/w_log.c: Likewise.
78375         * math/w_logf.c: Likewise.
78376         * math/w_logl.c: Likewise.
78377         * math/w_log10.c: Likewise.
78378         * math/w_log10f.c: Likewise.
78379         * math/w_log10l.c: Likewise.
78380         * math/w_log2.c: Likewise.
78381         * math/w_log2f.c: Likewise.
78382         * math/w_log2l.c: Likewise.
78383         * math/w_pow.c: Likewise.
78384         * math/w_powf.c: Likewise.
78385         * math/w_powl.c: Likewise.
78386         * math/w_remainder.c: Likewise.
78387         * math/w_remainderf.c: Likewise.
78388         * math/w_remainderl.c: Likewise.
78389         * math/w_scalb.c: Likewise.
78390         * math/w_scalbf.c: Likewise.
78391         * math/w_scalbl.c: Likewise.
78392         * math/w_sqrt.c: Likewise.
78393         * math/w_sqrtf.c: Likewise.
78394         * math/w_sqrtl.c: Likewise.
78395         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78396         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78397         used.
78398         * math/math_private.h: Declare __kernel_standard_f.
78399         * math/w_cosh.c: Remove cruft and optimize a bit.
78400         * math/w_coshf.c: Likewise.
78401         * math/w_coshl.c: Likewise.
78402         * math/w_exp2.c: Likewise.
78403         * math/w_exp2f.c: Likewise.
78404         * math/w_exp2l.c: Likewise.
78405         * math/w_hypot.c: Likewise.
78406         * math/w_hypotf.c: Likewise.
78407         * math/w_hypotl.c: Likewise.
78408         * math/w_lgamma.c: Likewise.
78409         * math/w_lgamma_r.c: Likewise.
78410         * math/w_lgammaf.c: Likewise.
78411         * math/w_lgammaf_r.c: Likewise.
78412         * math/w_lgammal.c: Likewise.
78413         * math/w_lgammal_r.c: Likewise.
78414         * math/w_sinh.c: Likewise.
78415         * math/w_sinhf.c: Likewise.
78416         * math/w_sinhl.c: Likewise.
78417         * math/w_tgamma.c: Likewise.
78418         * math/w_tgammaf.c: Likewise.
78419         * math/w_tgammal.c: Likewise.
78420         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78421         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78422         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78423         Minor optimizations.  Pretty printing.  Remove cruft.
78424         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78426         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78428         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78429         * sysdeps/i386/fpu/e_asin.S: Likewise.
78430         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78431         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78432         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78433         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78434         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78435         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78436         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78437         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78438         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78439         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78440         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78441         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78442         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78443         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78444         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78445         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78446         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78447         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78448         * sysdeps/i386/fpu/e_log.S: Likewise.
78449         * sysdeps/i386/fpu/e_log10.S: Likewise.
78450         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78451         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78452         * sysdeps/i386/fpu/e_log2.S: Likewise.
78453         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78454         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78455         * sysdeps/i386/fpu/e_logf.S: Likewise.
78456         * sysdeps/i386/fpu/e_logl.S: Likewise.
78457         * sysdeps/i386/fpu/e_pow.S: Likewise.
78458         * sysdeps/i386/fpu/e_powf.S: Likewise.
78459         * sysdeps/i386/fpu/e_powl.S: Likewise.
78460         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78461         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78462         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78463         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78464         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78465         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78466         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78467         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78468         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78469         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78470         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78471         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78472         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78473         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78474         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78475         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78476         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78477         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78478         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78479         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78480         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78482         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78483         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78485         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78486         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78489         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78490         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78491         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78492         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78493         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78494         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78495         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78496         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78497         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78498         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78499         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78500         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78501         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78502         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78503         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78504         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78505         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78506         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78507         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78508         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78509         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78510         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78511         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78514         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78515         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78516         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78517         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78518         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78519         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78520         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78521         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78522         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78524         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78525         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78526         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78527         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78528         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78529         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78530         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78531         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78532         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78533         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78534         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78535         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78536         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78539         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78540         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78541         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78542         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78543         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78544         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78546         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78547         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78548         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78550         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78551         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78552         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78553         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78554         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78555         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78556         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78557         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78558         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78559         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78560         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78561         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78562         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78563         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78564         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78565         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78566         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78567         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78568         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78569         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78570         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78571         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78572         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78573         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78574         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78575         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78576         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78577         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78578         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78579         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78580         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78581         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78582         (__isnanf): Likewise.
78583         (__isinf_ns): Likewise.
78584         (__isinf_nsf): Likewise.
78585         (__finite): Likewise.
78586         (__finitef): Likewise.
78587         (__ieee754_sqrt): Define as macro.
78588         (__ieee754_sqrtf): Define as macro.
78589         (__ieee754_sqrtl): Define as macro.
78590         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78591         inlined copy.
78592         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78593         __FINITE_MATH_ONLY__ consistent.
78594         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78596 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78598         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78599         of rawmemchr.
78601         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78603 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78605         * po/ja.po: Update from translation team.
78607 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78609         * locale/programs/locarchive.c (prepare_address_space): New function.
78610         (create_archive, enlarge_archive, open_archive): Use it.
78612         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78613         inside [SHARED], where it is used.
78615         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78617         * nss/getent.c (netgroup_keys): Remove unused variable.
78618         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78620 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78622         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78623         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78625         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78626         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78627         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78628         * math/Makefile (libm-calls): Add s_isinf_ns.
78629         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78630         * math/multc3.c: Likewise.
78631         * math/s_casin.c: Likewise.
78632         * math/s_casinf.c: Likewise.
78633         * math/s_casinl.c: Likewise.
78634         * math/s_ccos.c: Likewise.
78635         * math/s_ccosf.c: Likewise.
78636         * math/s_ccosl.c: Likewise.
78637         * math/s_ctan.c: Likewise.
78638         * math/s_ctanf.c: Likewise.
78639         * math/s_ctanh.c: Likewise.
78640         * math/s_ctanhf.c: Likewise.
78641         * math/s_ctanhl.c: Likewise.
78642         * math/s_ctanl.c: Likewise.
78643         * math/w_fmod.c: Likewise.
78644         * math/w_fmodf.c: Likewise.
78645         * math/w_fmodl.c: Likewise.
78646         * math/w_remainder.c: Likewise.
78647         * math/w_remainderf.c: Likewise.
78648         * math/w_remainderl.c: Likewise.
78649         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78650         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78651         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78653         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78654         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78655         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78656         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78658         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78659         of the number.
78660         * stdio-common/printf_fphex.c: Likewise.
78661         * stdio-common/printf_size.c: Likewise.
78663         * math/e_exp10.c: Include math_private.h using <...> not "...".
78664         * math/e_exp10f.c: Likewise.
78665         * math/e_exp10l.c: Likewise.
78666         * math/e_exp2l.c: Likewise.
78667         * math/e_j0l.c: Likewise.
78668         * math/e_j1l.c: Likewise.
78669         * math/e_jnl.c: Likewise.
78670         * math/e_lgammal_r.c: Likewise.
78671         * math/e_rem_pio2l.c: Likewise.
78672         * math/e_scalb.c: Likewise.
78673         * math/e_scalbf.c: Likewise.
78674         * math/e_scalbl.c: Likewise.
78675         * math/k_cosl.c: Likewise.
78676         * math/k_sinl.c: Likewise.
78677         * math/k_tanl.c: Likewise.
78678         * math/s_cacoshf.c: Likewise.
78679         * math/s_catan.c: Likewise.
78680         * math/s_catanf.c: Likewise.
78681         * math/s_catanh.c: Likewise.
78682         * math/s_catanhf.c: Likewise.
78683         * math/s_catanhl.c: Likewise.
78684         * math/s_catanl.c: Likewise.
78685         * math/s_ccosh.c: Likewise.
78686         * math/s_ccoshf.c: Likewise.
78687         * math/s_ccoshl.c: Likewise.
78688         * math/s_cexp.c: Likewise.
78689         * math/s_cexpf.c: Likewise.
78690         * math/s_cexpl.c: Likewise.
78691         * math/s_clog.c: Likewise.
78692         * math/s_clog10.c: Likewise.
78693         * math/s_clog10f.c: Likewise.
78694         * math/s_clog10l.c: Likewise.
78695         * math/s_clogf.c: Likewise.
78696         * math/s_clogl.c: Likewise.
78697         * math/s_csin.c: Likewise.
78698         * math/s_csinf.c: Likewise.
78699         * math/s_csinh.c: Likewise.
78700         * math/s_csinhf.c: Likewise.
78701         * math/s_csinhl.c: Likewise.
78702         * math/s_csinl.c: Likewise.
78703         * math/s_csqrt.c: Likewise.
78704         * math/s_csqrtf.c: Likewise.
78705         * math/s_csqrtl.c: Likewise.
78706         * math/s_ctan.c: Likewise.
78707         * math/s_ctanf.c: Likewise.
78708         * math/s_ctanh.c: Likewise.
78709         * math/s_ctanhf.c: Likewise.
78710         * math/s_ctanhl.c: Likewise.
78711         * math/s_ctanl.c: Likewise.
78712         * math/s_ldexp.c: Likewise.
78713         * math/s_ldexpf.c: Likewise.
78714         * math/s_ldexpl.c: Likewise.
78715         * math/s_significand.c: Likewise.
78716         * math/s_significandf.c: Likewise.
78717         * math/s_significandl.c: Likewise.
78718         * math/w_acos.c: Likewise.
78719         * math/w_acosf.c: Likewise.
78720         * math/w_acosh.c: Likewise.
78721         * math/w_acoshf.c: Likewise.
78722         * math/w_acoshl.c: Likewise.
78723         * math/w_acosl.c: Likewise.
78724         * math/w_asin.c: Likewise.
78725         * math/w_asinf.c: Likewise.
78726         * math/w_asinl.c: Likewise.
78727         * math/w_atan2.c: Likewise.
78728         * math/w_atan2f.c: Likewise.
78729         * math/w_atan2l.c: Likewise.
78730         * math/w_atanh.c: Likewise.
78731         * math/w_atanhf.c: Likewise.
78732         * math/w_atanhl.c: Likewise.
78733         * math/w_cosh.c: Likewise.
78734         * math/w_coshf.c: Likewise.
78735         * math/w_coshl.c: Likewise.
78736         * math/w_dremf.c: Likewise.
78737         * math/w_exp10.c: Likewise.
78738         * math/w_exp10f.c: Likewise.
78739         * math/w_exp10l.c: Likewise.
78740         * math/w_exp2.c: Likewise.
78741         * math/w_exp2f.c: Likewise.
78742         * math/w_fmod.c: Likewise.
78743         * math/w_fmodf.c: Likewise.
78744         * math/w_fmodl.c: Likewise.
78745         * math/w_hypot.c: Likewise.
78746         * math/w_hypotf.c: Likewise.
78747         * math/w_hypotl.c: Likewise.
78748         * math/w_j0.c: Likewise.
78749         * math/w_j0f.c: Likewise.
78750         * math/w_j0l.c: Likewise.
78751         * math/w_j1.c: Likewise.
78752         * math/w_j1f.c: Likewise.
78753         * math/w_j1l.c: Likewise.
78754         * math/w_jn.c: Likewise.
78755         * math/w_jnf.c: Likewise.
78756         * math/w_jnl.c: Likewise.
78757         * math/w_lgamma.c: Likewise.
78758         * math/w_lgamma_r.c: Likewise.
78759         * math/w_lgammaf.c: Likewise.
78760         * math/w_lgammaf_r.c: Likewise.
78761         * math/w_lgammal.c: Likewise.
78762         * math/w_lgammal_r.c: Likewise.
78763         * math/w_log.c: Likewise.
78764         * math/w_log10.c: Likewise.
78765         * math/w_log10f.c: Likewise.
78766         * math/w_log10l.c: Likewise.
78767         * math/w_log2.c: Likewise.
78768         * math/w_log2f.c: Likewise.
78769         * math/w_log2l.c: Likewise.
78770         * math/w_logf.c: Likewise.
78771         * math/w_logl.c: Likewise.
78772         * math/w_pow.c: Likewise.
78773         * math/w_powf.c: Likewise.
78774         * math/w_powl.c: Likewise.
78775         * math/w_remainder.c: Likewise.
78776         * math/w_remainderf.c: Likewise.
78777         * math/w_remainderl.c: Likewise.
78778         * math/w_scalb.c: Likewise.
78779         * math/w_scalbf.c: Likewise.
78780         * math/w_scalbl.c: Likewise.
78781         * math/w_sinh.c: Likewise.
78782         * math/w_sinhf.c: Likewise.
78783         * math/w_sinhl.c: Likewise.
78784         * math/w_sqrt.c: Likewise.
78785         * math/w_sqrtf.c: Likewise.
78786         * math/w_sqrtl.c: Likewise.
78787         * math/w_tgamma.c: Likewise.
78788         * math/w_tgammaf.c: Likewise.
78789         * math/w_tgammal.c: Likewise.
78791         * po/ja.po: Update from translation team.
78793 2011-09-29  Andreas Jaeger  <aj@suse.de>
78795         [BZ #13179]
78796         * sunrpc/netname.c (netname2host): Fix logic.
78798         [BZ #6779]
78799         [BZ #6783]
78800         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78801         correctly.
78802         * math/w_remainder.c (__remainder): Likewise.
78803         * math/w_remainderf.c (__remainderf): Likewise.
78804         * math/libm-test.inc (remainder_test): Add test cases.
78806 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78808         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78809         sdiv_qrnnd.
78811 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78813         * string/test-memcmp.c: Avoid unncessary #defines.
78814         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78816 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78818         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78819         Use new sse2 version for core i3 - i7 as it's faster
78820         than sse42 version.
78821         (bit_Prefer_PMINUB_for_stringop): New.
78822         * sysdeps/x86_64/rawmemchr.S: Update.
78823         Replace with faster SSE2 version.
78824         * sysdeps/x86_64/memrchr.S: New file.
78825         * sysdeps/x86_64/memchr.S: Update.
78826         Replace with faster SSE2 version.
78828 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78830         * elf/dl-load.c (lose): Add cast to avoid warning.
78832 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78834         * po/ca.po: Update from translation team.
78836         * inet/getnetgrent_r.c: Hook up nscd.
78837         * nscd/Makefile (routines): Add nscd_netgroup.
78838         (nscd-modules): Add netgroupcache.
78839         (CFLAGS-netgroupcache.c): Define.
78840         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78841         (cache_search): Add const to second parameter.
78842         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78843         INNETGR.
78844         (dbs): Add netgrdb entry.
78845         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78846         (verify_persistent_db): Handle netgrdb.
78847         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78848         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78849         GETFDNETGR.
78850         (netgroup_response_header): Define.
78851         (innetgroup_response_header): Define.
78852         (datahead): Add netgroup_response_header and innetgroup_response_header
78853         elements.
78854         * nscd/nscd.conf: Add entries for netgroup cache.
78855         * nscd/nscd.h (dbtype): Add netgrdb.
78856         (_PATH_NSCD_NETGROUP_DB): Define.
78857         (netgroup_iov_disabled): Declare.
78858         (xmalloc, xcalloc, xrealloc): Move declarations here.
78859         (cache_search): Adjust prototype.
78860         Add netgroup-related prototypes.
78861         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78862         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78863         (__nscd_innetgr): Declare.
78864         * nscd/selinux.c (perms): Use access_vector_t as element type and
78865         add netgroup-related initializers.
78866         * nscd/netgroupcache.c: New file.
78867         * nscd/nscd_netgroup.c: New file.
78868         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78869         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78870         For four parameters use innetgr.
78871         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78872         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78873         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78874         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78876         * nscd/connections.c (register_traced_file): Don't register file
78877         for disabled databases.
78879 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78881         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78883         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78884         from tree and freeing node.
78886 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78888         * nss/nsswitch.c (__nss_database_lookup): Handle
78889         nss_parse_service_list out of memory case.
78891 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78893         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78894         out of memory case.
78896 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78898         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78899         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78900         pass it down.
78901         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78902         elf_machine_rela, elf_machine_lazy_rel.
78903         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78904         (ELF_DYNAMIC_DO_REL): Likewise.
78905         (ELF_DYNAMIC_DO_RELA): Likewise.
78906         (ELF_DYNAMIC_RELOCATE): Likewise.
78907         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78908         to ELF_DYNAMIC_DO_REL.
78909         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78910         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78911         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78912         elf_machine_rela.
78913         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78914         skip_ifunc, don't call ifunc function if non-zero.
78915         (elf_machine_rela): Likewise.
78916         (elf_machine_lazy_rel): Likewise.
78917         (elf_machine_lazy_rela): Likewise.
78918         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78919         (elf_machine_lazy_rel): Likewise.
78920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78921         Likewise.
78922         (elf_machine_lazy_rel): Likewise.
78923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78924         Likewise.
78925         (elf_machine_lazy_rel): Likewise.
78926         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78927         (elf_machine_lazy_rel): Likewise.
78928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78929         (elf_machine_lazy_rel): Likewise.
78930         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78931         (elf_machine_lazy_rel): Likewise.
78932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78933         (elf_machine_lazy_rel): Likewise.
78934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78935         (elf_machine_lazy_rel): Likewise.
78936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78937         (elf_machine_lazy_rel): Likewise.
78939 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78941         * nss/nss_files/files-init.c (_nss_files_init): Use static
78942         initialization for all the *_traced_file variables.
78944 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78946         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78948 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78950         [BZ #13226]
78951         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78953 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78956         Reread the line before reparsing it.
78958 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78960         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78962 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78963             Maxim Kuvyrkov  <maxim@codesourcery.com>
78964             Joseph Myers  <joseph@codesourcery.com>
78966         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78967         if needed for __stack_chk_guard.
78969 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78971         * sysdeps/posix/spawni.c (script_execute): Always define it.
78972         It will be optimized away if unused.
78973         (maybe_script_execute): New function.
78974         (__spawni): Call it.
78976         * Makerules: Don't include tls.make.
78977         (config-tls): Always set to thread.
78978         * tls.make.c: File removed.
78980 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78982         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78983         * config.make.in (CPPFLAGS-config): New substituted variable.
78985 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78987         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78989         [BZ #13192]
78990         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78991         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78993 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78995         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78996         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78998         (CALL_FAIL): Likewise.
78999         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79000         (CALL_FAIL): Macro removed.
79001         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79003 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79005         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79006         for __FINITE_MATH_ONLY__ == 1.
79008 2011-09-15  Andreas Schwab  <schwab@redhat.com>
79010         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79011         __ieee754_sqrt instead of sqrt.
79012         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79013         __ieee754_sqrtf instead of sqrtf.
79014         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79015         __floorf instead of floorf.
79016         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79017         __floorf, __truncf instead of floorf, truncf.
79019 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
79021         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79023         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79024         __extern_always_inline.
79025         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79026         32-bit.
79028 2011-09-14  Andreas Schwab  <schwab@redhat.com>
79030         * elf/rtld.c (dl_main): Also relocate in dependency order when
79031         doing symbol dependency testing.
79033 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
79035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79036         Always define `refsym'.
79038 2011-09-13  Andreas Schwab  <schwab@redhat.com>
79040         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79041         (__FD_ELT): Renamed from __FDELT.
79042         * misc/bits/select2.h (__FD_ELT): Likewise.
79043         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79044         __FD_MASK instead of __FDELT, __FDMASK.
79045         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79046         Likewise.
79047         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79048         Likewise.
79050         * elf/Makefile (gen-ldd): Fix pattern.
79052         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79053         (init_tls): Likewise.
79055 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79057         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79059 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79061         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79062         `struct cmsghdr *' instead of `void *'.
79063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79064         Likewise.
79066 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79068         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79069         if non-absolute.
79070         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79071         ldd_rewrite_script.
79073 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79075         * configure.in: Remove --with-tls option.
79076         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79077         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79078         out in case it is missing.
79079         * sysdeps/ia64/elf/configure.in: Likewise.
79080         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79081         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79082         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79083         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79084         * sysdeps/sh/elf/configure.in: Likewise.
79085         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79086         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79087         * sysdeps/x86_64/elf/configure.in: Likewise.
79088         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79089         * sysdeps/mach/hurd/tls.h: Likewise.
79091         [BZ #13067]
79092         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79094         [BZ #13090]
79095         * configure.in: Fix use of AC_INIT.
79097         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79099 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79101         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79102         __set_errno.
79103         * malloc/hooks.c: Likewise.
79105         [BZ #11929]
79106         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79107         variables statically.
79108         (narenas): Initialize.
79109         (list_lock): Initialize.
79110         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79111         initializtion of main_arena and list_lock.  Small cleanups.
79112         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79113         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79114         Add initializers to main_arena and mp_.
79115         (malloc_state): Remove pagesize member.  Change all users to use
79116         GLRO(dl_pagesize).
79118         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79119         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79120         is always initialized.
79122         * malloc/malloc.c: Removed unused configurations and dead code.
79123         * malloc/arena.c: Likewise.
79124         * malloc/hooks.c: Likewise.
79125         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79127         * include/tls.h: Removed.  USE___THREAD must always be defined.
79128         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79129         * elf/dl-libc.c: Likewise.
79130         * elf/dl-tsd.c: Likewise.
79131         * include/errno.h: Likewise.
79132         * include/netdb.h: Likewise.
79133         * include/resolv.h: Likewise.
79134         * inet/herrno-loc.c: Likewise.
79135         * inet/herrno.c: Likewise.
79136         * malloc/arena.c: Likewise.
79137         * malloc/hooks.c: Likewise.
79138         * malloc/malloc.c: Likewise.
79139         * resolv/res-state.c: Likewise.
79140         * resolv/res_libc.c: Likewise.
79141         * sysdeps/i386/dl-machine.h: Likewise.
79142         * sysdeps/ia64/dl-machine.h: Likewise.
79143         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79144         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79145         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79146         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79147         * sysdeps/sh/dl-machine.h: Likewise.
79148         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79149         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79150         * sysdeps/unix/i386/sysdep.S: Likewise.
79151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79152         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79155         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79156         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79157         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79161         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79162         * sysdeps/x86_64/dl-machine.h: Likewise.
79163         * tls.make.c: Likewise.
79165         * configure.in: Remove --with-__thread option.  Make tests for
79166         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79167         tls_model attribute fail if no support is available.  Remove
79168         USE_IN_LIBIO.
79169         * Makeconfig: Adjust for dropped configure option.  All features are
79170         now mandatory.
79171         * Makerules: Likewise.
79172         * Versions.def: Likewise.
79173         * argp/argp-fmtstream.c: Likewise.
79174         * argp/argp-fmtstream.h: Likewise.
79175         * argp/argp-help.c: Likewise.
79176         * assert/assert.c: Likewise.
79177         * config.h.in: Likewise.
79178         * config.make.in: Likewise.
79179         * configure: Likewise.
79180         * configure.in: Likewise.
79181         * csu/Versions: Likewise.
79182         * csu/init.c: Likewise.
79183         * elf/tst-audit2.c: Likewise.
79184         * elf/tst-tls10.c: Likewise.
79185         * elf/tst-tls10.h: Likewise.
79186         * elf/tst-tls11.c: Likewise.
79187         * elf/tst-tls12.c: Likewise.
79188         * elf/tst-tls14.c: Likewise.
79189         * elf/tst-tlsmod11.c: Likewise.
79190         * elf/tst-tlsmod12.c: Likewise.
79191         * elf/tst-tlsmod13.c: Likewise.
79192         * elf/tst-tlsmod13a.c: Likewise.
79193         * elf/tst-tlsmod14a.c: Likewise.
79194         * elf/tst-tlsmod15b.c: Likewise.
79195         * elf/tst-tlsmod16a.c: Likewise.
79196         * elf/tst-tlsmod16b.c: Likewise.
79197         * elf/tst-tlsmod7.c: Likewise.
79198         * elf/tst-tlsmod8.c: Likewise.
79199         * elf/tst-tlsmod9.c: Likewise.
79200         * gmon/gmon.c: Likewise.
79201         * grp/fgetgrent_r.c: Likewise.
79202         * grp/putgrent.c: Likewise.
79203         * hurd/fopenport.c: Likewise.
79204         * include/libc-symbols.h: Likewise.
79205         * include/tls.h: Likewise.
79206         * intl/gettextP.h: Likewise.
79207         * intl/loadinfo.h: Likewise.
79208         * locale/global-locale.c: Likewise.
79209         * locale/localeinfo.h: Likewise.
79210         * mach/devstream.c: Likewise.
79211         * malloc/arena.c: Likewise.
79212         * malloc/set-freeres.c: Likewise.
79213         * misc/err.c: Likewise.
79214         * misc/getttyent.c: Likewise.
79215         * misc/mntent_r.c: Likewise.
79216         * posix/getopt.c: Likewise.
79217         * posix/wordexp.c: Likewise.
79218         * pwd/fgetpwent_r.c: Likewise.
79219         * resolv/Versions: Likewise.
79220         * resolv/res_hconf.c: Likewise.
79221         * shadow/fgetspent_r.c: Likewise.
79222         * shadow/putspent.c: Likewise.
79223         * stdio-common/printf_fphex.c: Likewise.
79224         * stdio-common/tmpfile.c: Likewise.
79225         * stdlib/abort.c: Likewise.
79226         * stdlib/fmtmsg.c: Likewise.
79227         * sunrpc/auth_unix.c: Likewise.
79228         * sunrpc/clnt_perr.c: Likewise.
79229         * sunrpc/clnt_tcp.c: Likewise.
79230         * sunrpc/clnt_udp.c: Likewise.
79231         * sunrpc/clnt_unix.c: Likewise.
79232         * sunrpc/openchild.c: Likewise.
79233         * sunrpc/svc_simple.c: Likewise.
79234         * sunrpc/svc_tcp.c: Likewise.
79235         * sunrpc/svc_udp.c: Likewise.
79236         * sunrpc/svc_unix.c: Likewise.
79237         * sunrpc/xdr.c: Likewise.
79238         * sunrpc/xdr_array.c: Likewise.
79239         * sunrpc/xdr_rec.c: Likewise.
79240         * sunrpc/xdr_ref.c: Likewise.
79241         * sunrpc/xdr_stdio.c: Likewise.
79243 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79245         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79247 2011-07-03  Andreas Jaeger  <aj@suse.de>
79249         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79250         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79251         regenerate with gen-libm-tests.pl.
79253 2010-05-12  Petr Baudis  <pasky@suse.cz>
79255         [BZ #11589]
79256         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79257         around j0() zero points by switching to j1().
79258         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79259         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79261         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79263 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79265         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79266         instead of 0.
79267         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79268         instead of 0.
79269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79270         Patch in part by Pavel Roskin <proski@gnu.org>.
79272         [BZ #13138]
79273         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79274         realloc.
79275         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79276         Free memory block if necessary.
79278         [BZ #12847]
79279         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79280         be NULL.  Don't lock in this case.
79282 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79284         * elf/elf.h (ELFOSABI_GNU): New macro.
79285         (ELFOSABI_LINUX): Define to that.
79287 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79289         * string/strncat.c (strncat): Undef the symbol in case it has been
79290         defined in bits/string.h.
79292 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79294         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79296         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79297         link map.
79299 2011-08-17  Andreas Jaeger  <aj@suse.de>
79301         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79303 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79304             Ian Lance Taylor  <iant@google.com>
79306         * math/libm-test.inc (lround_test): New testcase.
79307         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79309 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79311         * Makefile: Remove support for automatic cvs check-ins.
79312         * Makerules: Likewise.
79313         * config.make.in: Likewise.
79314         * configure.in: Likewise.
79315         * intl/Makefile: Likewise.
79316         * locale/Makefile: Likewise.
79317         * po/Makefile: Likewise.
79318         * posix/Makefile: Likewise.
79319         * sysdeps/gnu/Makefile: Likewise.
79320         * sysdeps/mach/hurd/Makefile: Likewise.
79321         * sysdeps/sparc/sparc32/Makefile: Likewise.
79323         [BZ #13118]
79324         * posix/Makefile (bug-regex32-ENV): Define.
79325         Patch by John Stanley <jpsinthemix@verizon.net>.
79327         * misc/Makefile (headers): Add bits/select2.h.
79328         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79329         * misc/bits/select2.h: New file.
79330         * include/bits/select2.h: New file.
79331         * debug/Makefile (routines): Add fdelt_chk.
79332         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79333         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79334         FD_ISSET.
79335         * debug/fdelt_chk.c: New file.
79337         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79338         * wcsmbs/test-wmemcmp.c: Likewise.
79339         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79340         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79342 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79344         * string/Makefile (strop-tests): Add memcmp.
79345         * string/test-wmemcmp.c: New file.
79346         * string/test-memcmp.c: Add wmemcmp support.
79348 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79350         [BZ #13153]
79351         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79352         2011-07-19 change.
79354         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79355         garbage value in a __mach_port_mod_refs call in the cases of the
79356         task-self and thread-self ports.
79358 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79360         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79362 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79364         * elf/dl-load.c (lose): Check for non-null L.
79366 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79368         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79370         * elf/dl-libc.c (dlerror_run): Pass back error code from
79371         dl_catch_error.
79373         [BZ #13123]
79374         * elf/dl-load.c (lose): Free l_origin if it is valid.
79376         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79377         names.
79378         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79379         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79380         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79381         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79382         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79383         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79385 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79387         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79388         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79389         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79390         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79391         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79392         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79393         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79394         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79395         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79396         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79398 2011-08-15  Alan Modra  <amodra@gmail.com>
79400         [BZ #13092]
79401         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79402         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79403         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79404         ppc_mcount to static-only-routines.
79405         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79406         __mcount_internal.
79407         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79408         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79410 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79412         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79413         for finite and infinity parameters.
79415 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79417         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79418         and add nop instructions for throughput optimization.
79419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79421 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79423         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79424         aligned copy for power7 with vector-scalar instructions.
79425         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79427 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79429         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79430         AVX check.
79432 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79434         [BZ #13144]
79435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79436         last change.
79438 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79440         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79441         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79442         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79443         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79444         clock_gettime.
79446 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79448         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79449         Forgot to demangle the pointer.
79451         * sysdeps/i386/sysdep.h: Define atom_text_section.
79452         * sysdeps/x86_64/sysdep.h: Likewise.
79453         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79454         section with atom_text_section.
79455         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79456         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79457         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79458         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79459         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79461         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79462         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79463         already be defined.  Change to take two parameters and don't assign
79464         result to variable.  Adjust all users.
79465         Define INTERNAL_GETTIME if not already defined.
79466         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79467         call.
79468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79469         HAVE_CLOCK_GETTIME_VSYSCALL.
79470         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79473         gettimeofday vsyscall, just use time.
79475 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79478         <errno.h>.
79480 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79482         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79483         syscall on x86-64.
79484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79485         syscall.
79486         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79488         syscall if possible.
79490 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79492         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79493         e_ident.  Don't pass to find_mapsXX.
79494         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79496 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79499         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79500         * sysdeps/x86_64/multiarch/strchr.S: Update.
79501         Check bit_slow_BSF bit.
79502         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79503         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79504         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79506 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79508         [BZ #13134]
79509         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79510         before glibc 2.15.
79511         (tryshell): Define.
79512         (__spawni): Change last parameter to be flag.  Test
79513         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79514         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79515         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79516         * posix/spawni.c: Likewise.
79517         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79518         * posix/spawnp.c: Likewise.  Change normal version to use
79519         SPAWN_XFLAGS_USE_PATH.
79520         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79521         SPAWN_XFLAGS_TRY_SHELL.
79523         [BZ #13150]
79524         * posix/glob.h: Remove gcc 1.x support.
79526         [BZ #13068]
79527         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79529 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79532         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79533         strrchr-sse2-bsf
79534         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79535         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79536         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79538         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79539         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79541 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79543         * sysdeps/x86_64/wcscmp.S: New file.
79545         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79546         wcscmp-c wcscmp-sse2
79547         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79548         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79549         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79550         * wcsmbs/wcscmp.c: Allow renaming.
79552 2011-09-05  David S. Miller  <davem@davemloft.net>
79554         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79555         stack slot, rather than the struct return pointer slot.
79556         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79557         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79559         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79561 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79563         * po/ja.po: Update from translation team.
79565         [BZ #13144]
79566         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79567         kernel in 64-bit binaries.
79569 2011-09-01  David S. Miller  <davem@davemloft.net>
79571         * elf/elf.h (HWCAP_SPARC_*): Move to..
79572         * sysdeps/sparc/sysdep.h: this new file and add new values.
79573         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79574         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79575         _DL_HWCAP_COUNT to 24.
79576         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79577         entries.
79578         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79579         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79580         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79581         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79582         instead of magic constants.
79583         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79585 2011-08-31  David S. Miller  <davem@davemloft.net>
79587         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79589         Reimplement to do errno handling inline.
79590         (SYSCALL_ERROR_HANDLER): New macro.
79591         (__SYSCALL_STRING): Do not do errno handling in asm.
79592         (__CLONE_SYSCALL_STRING): Delete.
79593         (__INTERNAL_SYSCALL_STRING): Delete.
79594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79595         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79596         (PSEUDO): Reimplement to do errno handling inline.
79597         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79598         (SYSCALL_ERROR_HANDLER): New macro.
79599         (__SYSCALL_STRING): Do not do errno handling in asm.
79600         (__CLONE_SYSCALL_STRING): Delete.
79601         (__INTERNAL_SYSCALL_STRING): Delete.
79602         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79603         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79604         i386.
79605         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79606         (inline_syscall*): Add 'err' argument.
79607         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79608         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79609         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79610         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79612         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79613         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79615 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79617         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79619 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79621         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79622         directive.
79624 2011-08-24  David S. Miller  <davem@davemloft.net>
79626         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79628 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79630         * elf/Makefile: Add rules to build and run unload8 test.
79631         * elf/unload8.c: New file.
79632         * elf/unload8mod1.c: New file.
79633         * elf/unload8mod1x.c: New file.
79634         * elf/unload8mod2.c: New file.
79635         * elf/unload8mod3.c: New file.
79637         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79638         it wasn't used.
79640 2011-08-23  David S. Miller  <davem@davemloft.net>
79642         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79643         subtract stack bias.
79644         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79645         %sp not %fp in calculations.
79646         (_JMPBUF_UNWINDS_ADJ): Likewise.
79648         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79649         (aio_suspend): Call it to force an exception region around the
79650         AIO_MISC_WAIT() invocation.
79652 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79654         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79655         backslash.
79657 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79659         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79660         protection macro.
79661         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79662         and <dl-machine.h>.
79663         (Elf64_FuncDesc): Remove.
79665 2011-08-22  David S. Miller  <davem@davemloft.net>
79667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79668         sigaltstack check, add missing cfi directives.
79669         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79670         missing cfi directives, and sigaltstack handling.
79672 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79674         [BZ #11724]
79675         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79676         object is seen twice.
79677         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79679         * elf/Makefile (distribute): Add tst-initorder2.c.
79680         (tests): Add tst-initorder2.
79681         (modules-names): Add tst-initorder2a tst-initorder2b
79682         tst-initorder2c tst-initorder2d.  Add rules to build them.
79683         ($(objpfx)tst-initorder2.out): New rule.
79684         * elf/tst-initorder2.c: New file.
79685         * elf/tst-initorder2.exp: New file.
79687 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79689         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79691         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79692         dependencies back to end of function.
79694         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79695         $(elfobjdir)/ld.so.
79697 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79699         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79700         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79702         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79703         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79704         of __vdso_gettimeofday.
79705         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79706         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79707         attribute_hidden.
79708         (_libc_vdso_platform_setup): Remove initialization of
79709         __vdso_gettimeofday and __vdso_time.
79711 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79713         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79714         and fgetc_unlocked.
79715         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79716         getc_unlocked.
79718         * elf/dl-open.c (add_to_global): Report additions to the global scope
79719         for LD_DEBUG=scopes.
79720         (dl_open_worker): Also print scope of newly loaded dependencies.
79721         (_dl_show_scope): Indicate if there is no scope.
79723         [BZ #13114]
79724         * stdio-common/Makefile (tests): Add bug24.
79725         * stdio-common/bug24.c: New file.
79727 2011-08-19  Andreas Jaeger  <aj@suse.de>
79729         [BZ #13114]
79730         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79731         non-existant file when using close-on-exec mode.
79733 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79736         the very first instruction.
79738         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79739         the CFI state in the end.
79740         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79741         inclusion of dl-trampoline.h.
79742         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79744 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79746         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79747         expectations for long double.
79749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79750         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79752 2011-08-14  David S. Miller  <davem@davemloft.net>
79754         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79755         artificual limit depends upon the system page size.
79757 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79759         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79760         * resolv/Makefile: Define CFLAGS-libresolv.
79762 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79764         * nss/makedb.c (compute_tables): Make variables used in nested
79765         function static.
79767 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79769         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79770         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79771         if buffer was too small.
79773         * elf/pldd.c (main): Attach to all threads in the process.
79774         Rewrite /proc handling to use *at functions.
79776 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79778         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79779         specifies first scope to show.
79780         (dl_open_worker): Update callers.  Move printing scope of new
79781         object to before the relocation.
79782         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79783         * sysdeps/generic/ldsodefs.h: Update declaration.
79785         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79786         string for the scope number.
79788 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79790         * nscd/servicescache.c (cache_addserv): Make sure written is always
79791         initialized.
79793 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79795         * sysdeps/i386/i486/bits/atomic.h
79796         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79797         statement expression, so as to suppress "set but not used" warning.
79798         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79800         * string/strncat.c (STRNCAT): Use prototype definition.
79802         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79803         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79804         -Iprograms here.
79805         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79806         (localedef-modules): Add localedef.
79807         (locale-modules): Add locale.
79809         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79810         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79811         to avoid a warning.
79813 2011-08-14  David S. Miller  <davem@davemloft.net>
79815         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79816         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79818 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79820         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79821         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79822         * elf/rtld.c (dl_main): Set l_name of vDSO.
79823         Call _dl_show_scope when DL_DEBUG_SCOPES.
79824         (process_dl_debug): Recognize scopes flag and also set it for all.
79825         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79826         Declare _dl_show_scope.
79828         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79829         (do_dlopen): Pass caller_dlopen to dl_open.
79830         (__libc_dlopen_mode): Initialize caller_dlopen.
79832         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79833         of libc.  Make tolower call locale-independent.  Optimize a bit by
79834         using isdigit instead of isalnum.
79835         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79837 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79839         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79840         was a dependency or dynamically loaded.
79842 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79844         * intl/l10nflist.c: Allow architecture-specific pop function.
79845         * sysdeps/x86_64/l10nflist.c: New file.
79847         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79848         classification.
79850 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79852         * include/dirent.h: Add libc_hidden_proto for scandirat and
79853         scandirat64.  Don't declare __scandirat64.
79854         * dirent/scandirat.c: Add libc_hidden_def.
79855         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79856         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79858 2011-08-10  David S. Miller  <davem@davemloft.net>
79860         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79861         enum.
79862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79864         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79866 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79868         * Versions.def [libc]: Add GLIBC_2.15.
79869         * dirent/Makefile (routines): Add scandirat and scandirat64.
79870         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79871         GLIBC_2.15.
79872         * dirent/dirent.h: Declare scandirat and scandirat64.
79873         * dirent/scandirat.c: New file.
79874         * dirent/scandirat64.c: New file.
79875         * sysdeps/wordsize-64/scandirat.c: New file.
79876         * sysdeps/wordsize-64/scandirat64.c: New file.
79877         * dirent/opendir.c: Define opendirat.
79878         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79879         using scandirat.
79880         * dirent/scandir64.c: Adjust for scandir.c change.
79881         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79882         __scandirat64, and __scandir_cancel_handler.
79883         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79884         additional parameter and use openat instead of open (outside of ld.so).
79885         Add new __opendir as wrapper around __opendirat.
79886         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79887         here without requiring old scandirat implementation.
79889 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79891         * dirent/scandir.c (cancel_handler): Renamed to
79892         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79893         defined.  Adjust users.
79894         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79895         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79897 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79899         * string/test-string.h (IMPL): Use __STRING to expand name and then
79900         stringify it.
79902         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79903         of cleanups.
79905 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79907         * string/Makefile: Update.
79908         (strop-tests): Append strncat.
79909         * string/test-wcscmp.c: New file.
79910         New comprehensive test for wcscmp.
79911         * string/test-strcmp.c: Update.
79912         (WIDE): New define.
79914 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79916         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79917         line.
79919 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79922         encoding to ACE if AI_IDN.
79924 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79926         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79927         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79929 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79931         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79932         Fix overflow bug in strncat.
79933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79935         * string/test-strncat.c: Update.
79936         Add new tests for checking overflow bugs.
79938 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79941         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79942         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79943         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79944         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79945         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79946         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79947         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79948         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79951         (USE_AS_STRCAT): Define.
79952         Add strcat and strncat support.
79953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79955 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79957         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79958         __n bigger than INT_MAX+1.
79959         (__strncmp_g): Likewise.
79961 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79963         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79964         * libio/stido.h: Likewise.
79966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79967         (AF_NFC): Define.
79968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79969         (AF_NFC): Define.
79971         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79972         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79973         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79974         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79975         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79977         [BZ #13021]
79978         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79979         installed.
79981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79982         typo.
79983         (_dl_x86_64_save_sse): Likewise.
79985 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79988         OSXSAVE.
79989         (_dl_x86_64_save_sse): Likewise.
79991         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79993         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79995 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79997         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79998         change.
79999         (_dl_x86_64_save_sse): Use correct AVX check.
80001 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80003         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80004         bug in strncpy/strncat.
80005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80007 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
80009         * string/tester.c (test_strcat): Add tests for different alignments
80010         of source and destination.
80011         (test_strncat): Likewise.
80013 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80015         [BZ #12852]
80016         * posix/glob.c (glob): Check passed in values before using them in
80017         expressions to avoid some overflows.
80018         (glob_in_dir): Likewise.
80020         [BZ #13007]
80021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80022         check for AVX enablement so that we don't crash with old kernels and
80023         new hardware.
80024         * elf/tst-audit4.c: Add same checks here.
80025         * elf/tst-audit6.c: Likewise.
80027         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80029 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
80031         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80033 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80035         * po/cs.po: Update from translation team.
80036         * po/bg.po: Likewise.
80038 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
80040         * misc/sys/cdefs.h: Add support for const attribute.
80041         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80042         to gnu_dev_{major,minor,makedev} functions.
80044 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80046         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80048 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80050         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80051         strlen results.
80053 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80056         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80057         register in order to avoid conflicts with the soft frame pointer
80058         being held in r11 when necessary.
80059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80060         (INTERNAL_VSYSCALL_NCS): Likewise.
80062 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80064         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80065         * elf/dl-fini.c (_dl_fini): Adjust caller.
80066         * elf/dl-close.c (_dl_close_worker): Likewise.
80067         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80069 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80071         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80072         "aux_cache->nlibs < 0".
80074         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80075         in the reload-count case.
80077 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80080         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80081         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80082         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80083         * sysdeps/x86_64/multiarch/strcat.S: New file.
80084         * sysdeps/x86_64/multiarch/strncat.S: New file.
80085         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80086         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80087         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80088         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80089         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80090         (USE_AS_STRCAT): Define.
80091         Add strcat and strncat support.
80092         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80093         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80094         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80095         * string/strncat.c: Update.
80096         (USE_AS_STRNCAT): Define.
80097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80098         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80099         and i7.
80100         * sysdeps/x86_64/multiarch/init-arch.h
80101         (bit_Prefer_PMINUB_for_stringop): New.
80102         (index_Prefer_PMINUB_for_stringop): Likewise.
80103         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80104         bit_Prefer_PMINUB_for_stringop.
80106 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80108         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80109         buffer64.
80110         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80111         of casting of buffer.
80112         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80113         buffer32 and buffer64.
80114         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80115         writes instead of casting of buffer.
80116         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80117         buffer32.
80118         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80119         casting of buffer.
80121 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80123         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80125 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80127         * nscd/nscd.c (termination_handler): Don't do anything for a database
80128         if it has not yet been initialized.
80130 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80132         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80134 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80136         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80138 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80140         * po/nl.po: Update from translation team.
80141         * po/sv.po: Likewise.
80143 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80145         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80146         now disallowed by GCC.
80148         * configure.in (use-default-link): Default to yes if a test -shared
80149         link meets our qualifications.
80150         * configure: Regenerated.
80152         * config.make.in (output-format): New variable.
80153         * configure.in: Check for ld --print-output-format support.
80154         * configure: Regenerated.
80155         * Makerules ($(common-objpfx)format.lds)
80156         [$(output-format) != unknown]: Just use $(output-format),
80157         instead of the linker-script munging.
80159 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80161         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80162         of $(common-objpfx)shlib.lds.
80163         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80165         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80166         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80168         * configure.in (-z relro check): Adjust test code to add a large
80169         writable data section after it.
80170         * configure: Regenerated.
80172 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80174         * configure.in (-z relro check): Fix test code to make the variable
80175         truly const.
80176         * configure: Regenerated.
80178 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80180         * nscd/nscd.h (struct traced_file): Define.
80181         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80182         elements.  Add traced_files.
80183         (inotify_fd): Declare.
80184         (register_traced_file): Declare.
80185         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80186         (inotify_fd): Export.
80187         (resolv_conf_descr): Remove.
80188         (nscd_init): Move inotify descriptor creation to main.
80189         Don't register files for notification here.
80190         (register_traced_file): New function.
80191         (invalidate_cache): Don't use reset_res to determine whether to call
80192         res_init, go through the list of registered files.
80193         (main_loop_poll): The inotify descriptors are now stored in the
80194         structures for the traced files.
80195         (main_loop_epoll): Likewise.
80196         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80197         to __nss_disable_nscd.
80198         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80199         for a database anymore.  Check the records for all the registered
80200         files instead.
80201         * nss/Makefile (libnss_files-routines): Add files-init.
80202         (libnss_db-routines): Add db-init.
80203         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80204         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80205         * nss/nss_db/db-init.c: New file.
80206         * nss/nss_files/files-init.c: New file.
80207         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80208         __nss_lookup_function.
80209         (__nss_lookup_function): Call nss_load_library.
80210         (nss_load_all_libraries): New function.
80211         (__nss_disable_nscd): Take parameter with callback function for files
80212         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80213         used for the cached services.
80214         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80215         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80216         options for features to all the files in nscd.
80218         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80220 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80222         * csu/elf-init.c (__libc_csu_init): Comment typo.
80224 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80226         * po/pl.po: Update from translation team.
80227         * po/ja.po: Likewise.
80228         * po/ru.po: Likewise.
80229         * po/ko.po: Likewise.
80230         * po/fr.po: Likewise.
80232 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80234         * configure.in (.ctors/.dtors header and trailer check):
80235         Use an empirical test on a built program.
80236         * configure: Regenerated.
80238         * configure.in (-z relro check): Use an empirical test on a built DSO.
80239         Detect, but do not require, on ia64.
80240         * configure: Regenerated.
80242         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80243         Update tests that use readelf to use $READELF instead.
80244         * configure: Regenerated.
80246 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80248         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80249         if the result is not used.
80251 2011-07-05  Andreas Jaeger  <aj@suse.de>
80253         [BZ#9696]
80254         * stdlib/tst-strtod.c: Add testcase.
80256 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80258         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80259         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80260         The latter has a higher limit.  Take additional parameter to pass to
80261         the new function.
80262         (__pathconf): Pass file to __statfs_link_max.
80263         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80264         __statfs_link_max.
80265         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80266         __statfs_link_max.
80268         [BZ #12868]
80269         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80270         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80271         Handle Lustre.
80272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80273         (__statfs_filesize_max): Likewise.
80274         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80276 2011-07-05  Andreas Jaeger  <aj@suse.de>
80278         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80280 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80282         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80283         `status' variable.
80284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80285         Likewise.
80287 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80289         * Makefile (strop-tests): Add strncat.
80290         * string/test-strncat.c: New file.
80292 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80294         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80296 2011-06-21  Andreas Jaeger  <aj@suse.de>
80298         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80299         Copy rule from iconvdata/Makefile.
80301 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80303         [BZ #12922]
80304         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80305         but no long options are defined, just return 'W'.
80307 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80309         [BZ #9696]
80310         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80312 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80314         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80315         netgroups to read.
80316         (innetgr): Likewise.
80318 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80320         * config.make.in (install_root): Default to $(DESTDIR).
80322 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80324         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80326 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80328         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80330         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80331         containing directory rather than embedding absolute directory names.
80333         * scripts/check-local-headers.sh: Rewritten using awk.
80334         Match by word, not by line.  Print error messages for matches.
80335         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80337         * Makerules [shlib-lds-flags empty]:
80338         ($(common-objpfx)libc_pic.opts): New target.
80339         ($(common-objpfx)libc_pic.os.clean): New target.
80340         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80342         * config.make.in (OBJCOPY): New variable.
80343         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80344         * configure: Regenerated.
80346         * config.make.in (use-default-link): New variable.
80347         * configure.in (use_default_link): Grok --with-default-link to set it.
80348         * configure: Regenerated.
80349         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80350         (shlib-lds, shlib-lds-flags): Define to empty.
80352         * Makerules (shlib-lds): New variable.
80353         (shlib-lds-flags): New variable.
80354         (build-shlib, build-moduile, build-module-asneeded): Use it.
80355         ($(common-objpfx)libc.so): Use $(shlib-lds).
80356         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80357         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80359         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80360         DT_FLAGS/DT_FLAGS_1 with zero flags.
80362         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80363         linker script munging.
80365 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80367         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80368         as 128-bit value.
80369         * crypt/sha512.c (sha512_process_block): Perform total addition using
80370         128-bit if possible.
80371         (__sha512_finish_ctx): Likewise.
80372         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80373         as 64-bit value.
80374         * crypt/sha256.c (SWAP64): Define.
80375         (sha256_process_block): Perform total addition using 64-bit if
80376         possible.
80377         (__sha256_finish_ctx): Likewise.
80379 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80381         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80383         * nscd/hstcache.c (cache_addhst): Likewise.
80384         * nscd/grpcache.c (cache_addgr): Likewise.
80385         * nscd/aicache.c (addhstaiX): Likewise.
80386         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80388 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80390         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80392         * nscd/hstcache.c (cache_addhst): Likewise.
80393         * nscd/grpcache.c (cache_addgr): Likewise.
80394         * nscd/aicache.c (addhstaiX): Likewise.
80396 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80398         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80399         domain only when needed.
80401 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80404         is always restored.
80406 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80408         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80409         are re-adding the entry.
80410         * nscd/servicescache.c (cache_addserv): Likewise.
80412 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80414         * sysdeps/generic/dl-irel.h: fix protection against multiple
80415         inclusions.
80416         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80418 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80420         [BZ #12935]
80421         * malloc/memusage.sh: Fix quoting in message.
80422         * debug/xtrace.sh: Likewise.
80424         * configure.in: Remove support for --experimental-malloc option, make
80425         it the default.
80426         * config.make.in: Likewise.
80427         * malloc/Makefile: Likewise.
80429 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80431         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80432         two-byte characters.
80434 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80436         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80437         AC_CACHE_CHECK invocation.
80438         * configure: Regenerated.
80440         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80442 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80444         [BZ #12350]
80445         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80446         bit from old_res_options.
80448         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80450         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80451         value type for setfct.
80453 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80456         __gettimeofday instead of gettimeofday.
80458 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80460         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80462 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80466         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80467         info.
80469 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80472         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80473         strcpy-sse2-unaligned strncpy-sse2-unaligned
80474         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80475         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80476         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80477         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80478         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80479         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80481         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80482         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80483         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80484         (STRCPY): Support SSE2 and SSSE3 versions.
80486 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80488         [BZ #12874]
80489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80490         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80491         kernels which artificially limit size of requests.
80493 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80496         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80497         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80498         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80499         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80500         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80501         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80502         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80503         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80504         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80505         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80506         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80507         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80508         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80509         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80511         Enable unaligned load optimization for Intel Core i3, i5 and i7
80512         processors.
80513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80514         Define.
80515         (index_Fast_Unaligned_Load): Define.
80516         (HAS_FAST_UNALIGNED_LOAD): Define.
80518 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80520         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80522 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80524         [BZ #12907]
80525         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80526         until it is clear that the information is realy needed.
80527         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80529 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80533 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80536         /sys/devices/system/cpu/online if it is usable.
80538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80539         reading the information from the /proc filesystem to once a second.
80541 2011-06-21  Andreas Jaeger  <aj@suse.de>
80543         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80544         NULL after inclusion of kernel headers.
80546 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80548         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80549         calls to internal_setent.
80551         [BZ #12885]
80552         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80553         addresses using gethostbyname4_r ignore IPv4 addresses.
80555         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80556         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80558         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80560 2011-06-20  David S. Miller  <davem@davemloft.net>
80562         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80563         inclusions.
80564         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80566         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80567         (elf_irel): Use it.
80568         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80569         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80570         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80571         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80572         * sysdeps/x86_64/dl-irel.h: Likewise.
80574         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80575         * elf/dl-sym.c: Likewise.
80577 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80579         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80580         need to dereference resplen2.
80582 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80584         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80586 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80588         * Makeconfig: Define vardbdir and inst_vardbdir.
80589         * nss/Makefile: Add rules to install db-Makefile.
80591         * nss/nss_db/db-XXX.c: Cleanup.
80593         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80594         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80595         GLIBC_PRIVATE.
80596         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80597         * nss/makedb.c: Implement -g option to specify that value strings
80598         are generated and should not be added to table iterated over for
80599         get*ent calls.
80600         * nss/nss_db/db-initgroups.c: New file.
80602         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80603         interface.
80605         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80606         (internal_getgrouplist): Adjust to name change.
80607         Update use_initgroups_entry if this is not the first call.
80608         * nss/databases.def: Add initgroups entry.
80610         * nss/makedb.c (compute_tables): Check result of multiple hash table
80611         sizes to minimize maximum chain length.
80613 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80615         * Versions.def: Add entry for libnss_db.
80616         * shlib-versions: Likewise.
80617         * nss/Makefile: Add rules to build libnss_db.
80618         * nss/Versions: Add libnss_db information.  Organize libnss_files
80619         entries better.
80620         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80621         makedb progra.  Some minor improvements to generate smaller files.
80622         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80623         here from...
80624         * nss/makedb.c: ...here.
80625         Improve database format to be smaller and require less memory at
80626         runtime.
80627         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80628         db anymore.
80629         * nss/nss_db/db-netgrp.c: Likewise.
80630         * nss/nss_db/db-open.c: Likewise.
80631         * nss/nss_files/flies-XXX.x: Adjust comments.
80632         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80633         * nss/nss_files/files-grp.c: Likewise.
80634         * nss/nss_files/files-hosts.c: Likewise.
80635         * nss/nss_files/files-network.c: Likewise.
80636         * nss/nss_files/files-proto.c: Likewise.
80637         * nss/nss_files/files-pwd.c: Likewise.
80638         * nss/nss_files/files-rpc.c: Likewise.
80639         * nss/nss_files/files-service.c: Likewise.
80640         * nss/nss_files/files-sgrp.c: Likewise.
80641         * nss/nss_files/files-spwd.c: Likewise.
80642         * nss/nss_db/db-alias.c: Removed.
80643         * nss/nss_db/dummy-db.h: Removed.
80645 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80647         * nss/makedb.c: Rewritten to not use database library.
80648         * nss/Makefile: Update to build new makedb program.
80650 2011-06-14  Andreas Jaeger  <aj@suse.de>
80652         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80653         memset declaration.
80655 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80658         tmpbuf.
80660 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80662         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80663         * elf/Makefile ($(objpfx)ld.so): Likewise.
80665         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80666         Don't list ld.so twice in dependencies.
80668         * posix/bug-regex31.c: Include <stdlib.h>.
80670         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80672         * nis/nss_compat/compat-spwd.c
80673         (getspent_next_nss_netgr): Remove unused variable.
80674         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80676         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80677         nonmembers" output to use the right array.
80679         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80681         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80683         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80684         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80685         * catgets/gencat.c (read_input_file): Likewise.
80686         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80688         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80689         variable definition inside #if's controlling its use.
80691         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80693         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80695         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80697         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80698         unreachable code.
80700         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80702         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80703         * configure: Regenerated.
80705         * Makerules: Revert last change.
80706         * elf/Makefile: Likewise.
80708 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80710         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80711         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80712         (reloc-link): Likewise.
80714 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80716         * elf/Makefile: Add rules to build pldd.
80717         * elf/pldd.c: New file.
80718         * elf/pldd-xx.c: New file.
80720 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80722         * version.h: Update for 2.15 development version.
80724 2011-06-07  David S. Miller  <davem@davemloft.net>
80726         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80727         ifuncs.
80728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80729         elf_machine_lazy_rel): Likewise.
80730         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80732         elf_machine_lazy_rel): Likewise.
80733         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80734         dl_hwcap via passed in argument.
80735         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80736         Likewise.
80738 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80740         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80742 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80744         [BZ #12849]
80745         * manual/fdl-1.1.texi: New file, verbatim from:
80746         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80747         * manual/lgpl-2.1.texi: New file, verbatim from:
80748         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80749         * manual/Makefile (licenses): New variable, list those new file names.
80750         (texis): Use it.
80751         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80753         * manual/fdl.texi: File removed.
80754         * manual/lesser.texi: File removed.
80755         * manual/libc.texinfo (Copying, Documentation License):
80756         Use new @include file names, put @appendix directive before @include.
80758 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80760         [BZ #12841]
80761         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80762         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80763         (mq_open): Add __NTH.
80765 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80768         Assume Intel Core i3/i5/i7 processor if AVX is available.
80770 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80773         typo.
80775 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80777         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80778         memory.  Use alloca_account.  Fix memory leak when retrying.
80780 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80782         * version.h (RELEASE): Bump for 2.14 release.
80783         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80785         * config.make.in (RANLIB): Remove entry.
80787 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80789         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80790         (libc.pot): Work around missing support for .ksh extension in xgettext.
80792         [BZ #12684]
80793         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80794         if both request failed.
80795         (send_dg): In case of server errors clear resplen or *resplen2.
80797         [BZ #12454]
80798         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80799         when there are multiple maps.
80800         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80801         (_dl_fini): Remove test here.
80803         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80805 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80807         [BZ #12350]
80808         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80809         bit from old_res_options.
80810         (gaih_inet): Likewise.
80812         [BZ #11099]
80813         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80814         as signed.
80816         * resolv/res_init.c (res_setoptions): Make the code more compact.
80818         [BZ #11558]
80819         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80820         set RES_USEVC.
80822         [BZ #11634]
80823         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80825         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80827         [BZ #11781]
80828         * malloc/malloc.h: Declare malloc hook variables as volatile.
80830         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80831         in last patch.
80833         [BZ #11799]
80834         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80835         raise in the comment.
80836         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80837         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80838         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80840 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80842         [BZ #12811]
80843         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80844         grow the buffers more if it already has to be sufficient.
80845         (build_wcs_upper_buffer): Likewise.
80846         * posix/regexec.c (check_matching): Likewise.
80847         (clean_state_log_if_needed): Likewise.
80848         (extend_buffers): Don't enlarge buffers beyond size of the input
80849         buffer.
80850         Patches mostly by Emil Wojak <emil@wojak.eu>.
80851         * posix/bug-regex32.c: New file.
80852         * posix/Makefile (tests): Add bug-regex32.
80854         * locale/findlocale.c (_nl_find_locale): Return right away if
80855         _nl_explode_name failed.
80856         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80858         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80860         * debug/xtrace.sh: Unify messages.
80861         * malloc/memusage.sh: Likewise.
80863         [BZ #12813]
80864         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80865         time symbol from vDSO.  Substitute with vsyscall if not available.
80866         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80867         __vdso_time.
80869         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80870         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80871         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80872         Add sendmmsg and internal_sendmmsg.
80873         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80874         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80875         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80877         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80878         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80879         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80881 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80883         [BZ #12813]
80884         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80885         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80886         available.
80887         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80888         __vdso_getcpu.
80890         [BZ #12814]
80891         * iconvdata/Makefile (tests): Add bug-iconv9.
80892         * iconvdata/bug-iconv9.c: New file.
80894 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80896         [BZ #12814]
80897         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80899 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80901         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80902         (struct user_regs_struct): Change intcs field back to cs.
80904 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80906         * po/ja.po: Update from translation team.
80908 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80910         [BZ #12795]
80911         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80912         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80914 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80916         * stdlib/longlong.h: Update from GCC.
80918 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80920         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80921         parameter name.
80922         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80923         Add parameter name.
80924         (__sysconf): Pass it down.
80926 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80928         [BZ #12671]
80929         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80930         some situations.
80931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80932         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80933         add in in __libc_use_alloca calls.  Adjust callers.
80934         (glob): Use malloc in some situations.
80936         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80937         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80938         pltexit.
80940 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80942         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80943         and CLOCK_BOOTTIME_ALARM.
80945         [BZ #12782]
80946         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80947         is returned.
80949         * string/_strerror.c (__strerror_r): Print negative errors as signed
80950         numbers.
80952         [BZ #12777]
80953         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80954         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80955         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80957         * configure.in: Fix typo in redirection and correct removal of test
80958         files in two cases.
80960         [BZ #12788]
80961         * locale/setlocale.c (new_composite_name): Fix test to check for
80962         identical name of all categories.
80964         [BZ #12792]
80965         * libio/filedoalloc.c (local_isatty): New function.
80966         (_IO_file_doallocate): Use local_isatty.
80967         * stdio-common/perror.c (perror): In case a new stream is used
80968         forward the stream error.
80969         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80970         error flag.
80972 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80974         [BZ #11884]
80975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80976         alloca.
80977         * include/alloca.h (extend_alloca_account): Define.
80979         [BZ #11857]
80980         * posix/regex.h: Fix comments with documentation of user-accessible
80981         fields after compilation and describe correct free'ing of pattern
80982         after re_compile_pattern.
80983         Patch by Reuben Thomas <rrt@sc3d.org>.
80985 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80987         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80988         and -mno-altivec to prevent the compiler from using Altivec and/or
80989         VSX instructions when the corresponding registers are not available.
80991 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80993         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80995 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80997         * libio/freopen.c (freopen): Use __dup2, not dup2.
80998         * libio/freopen64.c (freopen64): Likewise.
81000 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81002         [BZ #12775]
81003         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81004         * math/Makefile (tests): Add test-powl.
81005         (CFLAGS-test-powl.c): Define.
81006         * math/test-powl.c: New file.
81008 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81010         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81012 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
81014         [BZ #11837]
81015         * iconvdata/gb18030.c: Update to GB18020-2005.
81017 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
81019         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81020         RE_SYNTAX_POSIX_AWK): Update to match recent development.
81021         Patch by Aharon Robbins <arnold@skeeve.com>.
81023         [BZ #11892]
81024         * stdlib/putenv.c (putenv): Don't always create copy of the variable
81025         on the stack.
81027         [BZ #11895]
81028         * misc/pselect.c (__pselect): Handle timeout value errors hidden
81029         through underflows.
81031         [BZ #12766]
81032         * misc/error.c (error_at_line): Ensure file_name and old_file_name
81033         point to strings before performing equality test for error_one_per_line
81034         mode.
81036         [BZ #11697]
81037         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81039         [BZ #11820]
81040         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81041         (struct user_fpregs_struct): Avoid __uint*_t types.
81043         [BZ #6420]
81044         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81045         symbol info.  Use it instead of calling _dl_addr locally.
81046         (lock_and_info): New function.
81047         (tr_freehook): Call lock_and_info and pass symbol info as additional
81048         parameter to tr_where.
81049         (tr_mallochook): Likewise.
81050         (tr_reallochook): Likewise.
81051         (tr_memalignhook): Likewise.
81053         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81054         used and couldn't be at all thread-safe.
81056 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81058         * libio/freopen.c (freopen): Don't close old file descriptor
81059         before the new one is opened.  Instead dup the new file descriptor
81060         to the old one after the new stream is created.
81061         * libio/freopen64.c (freopen64): Likewise.
81062         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81063         * libio/fileops.c (_IO_new_file_close_it): Handle new
81064         _IO_FLAGS2_NOCLOSE flag.
81065         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81066         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81067         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81068         _IO_FLAGS2_NOCLOSE flag.
81069         * include/unistd.h: Add hidden_proto for dup3.
81070         Define __have_dup3.
81071         * io/dup3.c: Define hidden symbol.
81072         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81074         [BZ #7101]
81075         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81076         when an incomplete long option is used.
81077         * posix/tst-getopt_long1.c: New file.
81078         * posix/Makefile (tests): Add tst-getopt_long1.
81080         [BZ #10138]
81081         * scripts/config.guess: Update from autoconf-2.68.
81082         * scripts/config.sub: Likewise.
81084         [BZ #10157]
81085         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81086         tests into ...
81087         (has_cpuclock): ...this.  New function.
81088         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81089         macro here based on has_cpuclock code.
81091         [BZ #10149]
81092         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81093         First byte (not low byte) is now always NUL.
81094         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81096         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81097         Use non-cancelable interfaces.
81099         [BZ #9809]
81100         * locale/iso-639.def: Add entry for Sorani.
81102         [BZ #11901]
81103         * include/stdlib.h: Move include protection to the right place.
81104         Define abort_msg_s.  Declare __abort_msg with it.
81105         * stdlib/abort.c (__abort_msg): Adjust type.
81106         * assert/assert.c (__assert_fail_base): New function.  Majority
81107         of code from __assert_fail.  Allocate memory for __abort_msg with
81108         mmap.
81109         (__assert_fail): Now call __assert_fail_base.
81110         * assert/assert-perr.c: Remove bulk of implementation.  Use
81111         __assert_fail_base.
81112         * include/assert.hL Declare __assert_fail_base.
81113         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81114         mmap.
81115         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81117 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81119         [BZ #11952]
81120         [BZ #12453]
81121         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81122         until all modules are registered in the DTV.
81123         * elf/Makefile: Add rules to build and run tst-tls19.
81124         * elf/tst-tls19.c: New file.
81125         * elf/tst-tls19mod1.c: New file.
81126         * elf/tst-tls19mod2.c: New file.
81127         * elf/tst-tls19mod3.c: New file.
81128         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81130         [BZ #12083]
81131         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81132         correctly.
81134         [BZ #12601]
81135         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81136         two-byte sequence errors.
81137         * iconvdata/Makefile (tests): Add bug-iconv8.
81138         * iconvdata/bug-iconv8.c: New file.
81140         [BZ #12626]
81141         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81142         buf2 definition.
81144         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81146         [BZ #12432]
81147         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81148         (dummy_getcfa): New function.
81149         (init): Get _Unwind_GetCFA address, use dummy if not found.
81150         (backtrace_helper): In recursion check, also check whether CFA changes.
81151         (__backtrace): Completely initialize arg.
81153         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81154         storing incomplete byte sequence in state object.  Avoid testing for
81155         guaranteed too small input if we know there is enough data available.
81157 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81159         * Makeconfig (+link-pie): Indent.
81160         * Rules (binaries-pie): Define if $(have-fpie) and
81161         $(build-shared).
81162         (binaries-shared): Also filter out $(binaries-pie).
81163         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81164         * nscd/Makefile (others-pie): Add nscd.
81165         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81166         ($(objpfx)nscd): Remove command override.
81167         * login/Makefile (others-pie): Add pt_chown.
81168         ($(objpfx)pt_chown): Remove command override.
81169         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81170         remove command overrides.
81172 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81174         * libio/tst_putwc.c: Fix error messages.
81176         [BZ #12724]
81177         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81178         currently writing and seek to current position when not.
81179         * libio/Makefile (tests): Add bug-fclose1.
81180         * libio/bug-fclose1.c: New file.
81182 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81184         [BZ #12511]
81185         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81186         don't set DF_1_NODELETE here.
81187         (do_lookup_x): When entering new entry test for copy relocation
81188         and if necessary set DF_1_NODELETE flag.
81189         * elf/tst-unique4.cc: New file.
81190         * elf/tst-unique4.h: New file.
81191         * elf/tst-unique4lib.cc: New file.
81192         * elf/Makefile: Add rules to build and run tst-unique4.
81193         Patch by Piotr Bury <pbury@goahead.com>.
81195 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81197         [BZ #12052]
81198         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81200         [BZ #12625]
81201         * misc/mntent_r.c (addmntent): Flush the stream after the output
81203         [BZ #12393]
81204         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81205         (is_trusted_path_normalize): Skip initial colon.  Append slash
81206         to empty buffer.  Duplicate is_trusted_path code but allow
81207         constructed patch to be prefix.
81208         (is_dst): Allow $ORIGIN followed by /.
81209         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81210         Correct testing of result of is_trusted_path_normalize
81211         (decompose_rpath): Fix warning.
81213 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81215         [BZ #11257]
81216         * grp/initgroups.c (internal_getgrouplist): When we found the service
81217         list through the initgroups entry in nsswitch.conf do not always
81218         continue on a successful lookup.  Don't always use the
81219         __nss_group_database value if it is set.
81220         * nss/nsswitch.conf (initgroups): Change action for successful db
81221         lookup to continue for compatibility.
81223 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81225         [BZ #11532]
81226         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81227         and CP774 modules.
81228         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81229         and CP774 modules.
81230         * iconvdata/tst-tables.sh: Likewise.
81231         * iconvdata/cp770.c: New file.
81232         * iconvdata/cp771.c: New file.
81233         * iconvdata/cp772.c: New file.
81234         * iconvdata/cp773.c: New file.
81235         * iconvdata/cp774.c: New file.
81236         * iconvdata/testdata/CP770: New file.
81237         * iconvdata/testdata/CP770..UTF8: New file.
81238         * iconvdata/testdata/CP771: New file.
81239         * iconvdata/testdata/CP771..UTF8: New file.
81240         * iconvdata/testdata/CP772: New file.
81241         * iconvdata/testdata/CP772..UTF8: New file.
81242         * iconvdata/testdata/CP773: New file.
81243         * iconvdata/testdata/CP773..UTF8: New file.
81244         * iconvdata/testdata/CP774: New file.
81245         * iconvdata/testdata/CP774..UTF8: New file.
81247         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81248         END CHARMAP line.
81249         * iconvdata/gen-8bit-gap.sh: Likewise.
81250         * iconvdata/gen-8bit.sh: Likewise.
81252         * locale/iso-639.def: Add ary entry.
81254         [BZ #11258]
81255         * locale/C-translit.h.in: Add U20A1 transliteration.
81257         [BZ #12178]
81258         * locale/iso-639.def: Add wae entry.
81259         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81261         [BZ #12545]
81262         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81263         for n.
81265         [BZ #12711]
81266         * locale/C-translit.h.in: Add entry for U20B9.
81267         Patch by pravin.d.s@gmail.com.
81269 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81271         [BZ #12713]
81272         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81273         ENAMETOOLONG use generic getcwd.
81274         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81275         in rtld.  Use *stat64.
81276         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81277         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81278         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81279         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81280         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81281         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81282         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81283         __fstatat64 macros.
81284         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81285         * dirent/rewinddir.c: Add libc_hidden_def.
81286         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81287         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81289         * include/dirent.h (__alloc_dir): Add flags parameter.
81290         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81291         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81292         __alloc_dir.
81293         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81294         from fdopendir if O_CLOEXEC is already set.
81296 2011-03-15  Alan Modra  <amodra@gmail.com>
81298         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81299         l_tls_firstbyte_offset non-zero.  Save padding offset in
81300         l_tls_firstbyte_offset for later use.
81301         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81302         freeing static tls block.
81304 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81306         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81307         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81308         being defined by the kernel headers.
81310 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81312         [BZ #12734]
81313         * resolv/resolv.h: Define RES_NOTLDQUERY.
81314         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81315         no-tld-query and set RES_NOTLDQUERY.
81316         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81317         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81318         modern BIND to search name as TLD unless forbidden.
81320 2011-05-07  Petr Baudis  <pasky@suse.cz>
81321             Ulrich Drepper  <drepper@gmail.com>
81323         [BZ #12393]
81324         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81325         (is_trusted_path): ...to here.
81326         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81327         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81328         using is_trusted_path_normalize() in setuid scripts.
81330 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81332         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81333         __BEGIN/__END_DECLS.
81335 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81338         NSS_STATUS_NOTFOUND if no record was found.
81340 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81342         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81343         (headers-not-in-tirpc): Remove rpc/netdb.h
81344         * resolv/netdb.h: Revert last change.
81346 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81348         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81349         circular dependency between libgcc.a and libc.a.
81351 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81353         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81354         * nis/Makefile: Don't install rpcsvc/*.
81355         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81356         instead of <rpc/types.h>.
81357         (MAXHOSTNAMELEN): Define.
81359 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81361         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81363 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81365         [BZ #12714]
81366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81367         gethostbyname4_r when IPv6 results are possible.
81369 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81371         [BZ #12723]
81372         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81373         _PC_PIPE_BUF handling.
81375 2011-04-30  Bruno Haible  <bruno@clisp.org>
81377         [BZ #12717]
81378         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81379         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81380         to 'int'.
81381         * inet/getnameinfo.c (getnameinfo): Likewise.
81383 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81385         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81386         to groups setting in database lookup.
81387         * nss/nsswitch.conf: Add initgroups entry.
81389 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81391         [BZ #12685]
81392         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81393         mode string.
81394         Patch by Eric Blake <eblake@redhat.com>.
81396 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81398         * sunrpc/Makefile (need-export-routines): Add svc_run.
81399         (routines): Remove svc_run.
81400         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81401         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81402         * sunrpc/svc_run.c (svc_run): Likewise.
81403         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81405 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81408         problem in reallocation in last patch.
81410 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81412         * sunrpc/Makefile: Move inclusion of Rules.
81414 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81416         * nss/nss_files/files-initgroups.c: New file.
81417         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81418         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81419         _nss_files_initgroups_dyn.
81421 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81423         * elf/elf.h (R_ARM_IRELATIVE): Define.
81425 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81427         * po/ru.po: Update from translation team.
81429 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81431         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81432         dependencies.
81434 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81436         [BZ #12653]
81437         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81438         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81439         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81443 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81445         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81446         differing bytes.
81447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81448         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81451 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81453         [BZ #12420]
81454         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81455         storing it.
81456         * stdlib/bug-getcontext.c: New file.
81457         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81459 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81461         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81462         instructions into .machine "z9-109".
81463         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81464         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81466 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81468         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81469         between environment variables and auxiliary vector.
81471 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81473         * Makefile: Add rules to build linkobj/libc.so.
81474         * include/libc-symbols.h: Define libc_hidden_nolink.
81475         * include/rpc/auth.h: Mark functions which are to be hidden.
81476         * include/rpc/auth_des.h: Likewise.
81477         * include/rpc/auth_unix.h: Likewise.
81478         * include/rpc/clnt.h: Likewise.
81479         * include/rpc/des_crypt.h: Likewise.
81480         * include/rpc/key_prot.h: Likewise.
81481         * include/rpc/pmap_clnt.h: Likewise.
81482         * include/rpc/pmap_prot.h: Likewise.
81483         * include/rpc/pmap_rmt.h: Likewise.
81484         * include/rpc/rpc_msg.h: Likewise.
81485         * include/rpc/svc.h: Likewise.
81486         * include/rpc/svc_auth.h: Likewise.
81487         * include/rpc/xdr.h: Likewise.
81488         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81489         * nss/Makefile: Likewise.
81490         * sunrpc/Makefile: Don't install headers.  Build library with normal
81491         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81492         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81493         for the compat linking library.  Remove use of INTDEF/INTUSE.
81494         * sunrpc/auth_none.c: Likewise.
81495         * sunrpc/auth_unix.c: Likewise.
81496         * sunrpc/authdes_prot.c: Likewise.
81497         * sunrpc/authuxprot.c: Likewise.
81498         * sunrpc/clnt_gen.c: Likewise.
81499         * sunrpc/clnt_perr.c: Likewise.
81500         * sunrpc/clnt_raw.c: Likewise.
81501         * sunrpc/clnt_simp.c: Likewise.
81502         * sunrpc/clnt_tcp.c: Likewise.
81503         * sunrpc/clnt_udp.c: Likewise.
81504         * sunrpc/clnt_unix.c: Likewise.
81505         * sunrpc/des_crypt.c: Likewise.
81506         * sunrpc/des_soft.c: Likewise.
81507         * sunrpc/get_myaddr.c: Likewise.
81508         * sunrpc/key_call.c: Likewise.
81509         * sunrpc/key_prot.c: Likewise.
81510         * sunrpc/netname.c: Likewise.
81511         * sunrpc/pm_getmaps.c: Likewise.
81512         * sunrpc/pm_getport.c: Likewise.
81513         * sunrpc/pmap_clnt.c: Likewise.
81514         * sunrpc/pmap_prot.c: Likewise.
81515         * sunrpc/pmap_prot2.c: Likewise.
81516         * sunrpc/pmap_rmt.c: Likewise.
81517         * sunrpc/publickey.c: Likewise.
81518         * sunrpc/rpc_cmsg.c: Likewise.
81519         * sunrpc/rpc_common.c: Likewise.
81520         * sunrpc/rpc_dtable.c: Likewise.
81521         * sunrpc/rpc_prot.c: Likewise.
81522         * sunrpc/rpc_thread.c: Likewise.
81523         * sunrpc/rtime.c: Likewise.
81524         * sunrpc/svc.c: Likewise.
81525         * sunrpc/svc_auth.c: Likewise.
81526         * sunrpc/svc_authux.c: Likewise.
81527         * sunrpc/svc_raw.c: Likewise.
81528         * sunrpc/svc_run.c: Likewise.
81529         * sunrpc/svc_simple.c: Likewise.
81530         * sunrpc/svc_tcp.c: Likewise.
81531         * sunrpc/svc_udp.c: Likewise.
81532         * sunrpc/svc_unix.c: Likewise.
81533         * sunrpc/svcauth_des.c: Likewise.
81534         * sunrpc/xcrypt.c: Likewise.
81535         * sunrpc/xdr.c: Likewise.
81536         * sunrpc/xdr_array.c: Likewise.
81537         * sunrpc/xdr_float.c: Likewise.
81538         * sunrpc/xdr_intXX_t.c: Likewise.
81539         * sunrpc/xdr_mem.c: Likewise.
81540         * sunrpc/xdr_rec.c: Likewise.
81541         * sunrpc/xdr_ref.c: Likewise.
81542         * sunrpc/xdr_sizeof.c: Likewise.
81543         * sunrpc/xdr_stdio.c: Likewise.
81545 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81547         [BZ #12650]
81548         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81549         * sysdeps/ia64/dl-tls.h: Likewise.
81550         * sysdeps/powerpc/dl-tls.h: Likewise.
81551         * sysdeps/s390/dl-tls.h: Likewise.
81552         * sysdeps/sh/dl-tls.h: Likewise.
81553         * sysdeps/sparc/dl-tls.h: Likewise.
81554         * sysdeps/x86_64/dl-tls.h: Likewise.
81555         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81557 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81559         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81560         rpath element also skip the following colon.
81561         (expand_dynamic_string_token): Add is_path parameter and pass
81562         down to DL_DST_REQUIRED and _dl_dst_substitute.
81563         (decompose_rpath): Call expand_dynamic_string_token with
81564         non-zero is_path.  Ignore empty rpaths.
81565         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81566         with zero is_path.
81568 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81571         Make cancelable.
81573 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81575         [BZ #12655]
81576         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81577         Patch by Filipe David Manana <fdmanana@apache.org>.
81579 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81581         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81582         Maintain aligned stack.
81583         (CHECK_RSP): Remove unused macro.
81585 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81587         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81588         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81590 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81592         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81594         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81596 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81598         [BZ #12518]
81599         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81600         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81601         * sysdeps/x86_64/memmove.c: New file.
81602         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81603         (memcpy): Renamed to ...
81604         (__new_memcpy): This.
81605         (memcpy): Provide GLIBC_2_14 memcpy.
81606         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81607         (memcpy): Provide GLIBC_2_2_5 memcpy.
81609 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81611         [BZ #12631]
81612         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81614 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81616         * misc/syncfs.c: New file.
81617         * misc/Makefile (routines): Add syncfs.
81618         * posix/unistd.h: Declare syncfs.
81619         * sysdeps/unix/syscalls.list: Add syncfs.
81621 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81623         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81624         open_by_handle_at.
81625         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81626         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81630         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81631         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81633 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81635         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81636         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81637         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81639         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81641         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81643         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81644         sync_file_range.c with -fexceptions.
81645         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81646         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81647         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81648         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81649         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81650         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81652         sync_file_range as cancellation point
81653         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81654         now a wrapper around __call_sync_file_range with cancellation handling.
81655         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81656         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81657         function name to __call_sync_file_range.
81658         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81659         Add call_sync_file_range.
81661 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81664         bits/timex.h.
81666 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81668         * iconv/iconv.h: Fix typo in comment.
81669         * io/fcntl.h: Likewise.
81670         * libio/stdio.h: Likewise.
81671         * posix/spawn.h: Likewise.
81672         * posix/unistd.h: Likewise.
81673         * stdlib/stdlib.h: Likewise.
81674         * time/time.h: Likewise.
81675         * wcsmbs/wchar.h: Likewise.
81677         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81678         open_by_handle): Add.
81679         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81680         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81681         Augment a few comments.
81682         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81686         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81687         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81688         open_by_handle.
81690         * io/fcntl.h (AT_EMPTY_PATH): Define.
81692 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81694         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81695         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81696         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81697         to...
81698         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81699         * Versions.def: Add GLIBC_2.14.
81700         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81701         Export.
81703 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81705         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81706         round counter.
81707         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81709 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81711         [BZ #12597]
81712         * string/test-strncmp.c (do_page_test): New function.
81713         (check2): Likewise.
81714         (test_main): Call check2.
81715         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81717 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81719         [BZ #12587]
81720         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81721         Handle cache information in CPU leaf 4.
81722         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81724 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81726         [BZ #12583]
81727         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81728         character representation.
81729         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81731 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81733         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81734         END(__isnan) to END(__isnanf) to match function entry point/label
81735         EALIGN(__isnanf,...).
81737 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81739         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81741 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81743         [BZ #12510]
81744         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81745         copy from the symbol referenced in the relocation to initialize the
81746         used variable.
81747         Patch by Piotr Bury <pbury@goahead.com>.
81748         * elf/Makefile: Add rules to build and tst-unique3.
81749         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81750         * elf/tst-unique3.cc: New file.
81751         * elf/tst-unique3.h: New file.
81752         * elf/tst-unique3lib.cc: New file.
81753         * elf/tst-unique3lib2.cc: New file.
81755         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81757 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81759         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81760         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81761         to _start.
81763 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81765         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81766         to-be-loaded object along a path to loader is ld.so.
81768 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81769             Ulrich Drepper  <drepper@gmail.com>
81771         * sysdeps/x86_64/memset.S: After aligning destination, code
81772         branches to different locations depending on the value of
81773         misalignment, when multiarch is enabled. Fix this.
81775 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81777         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81778         Set _x86_64_preferred_memory_instruction for AMD processsors.
81779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81780         Set bit_Prefer_SSE_for_memop for AMD processors.
81782 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81784         * libio/fmemopen.c (fmemopen): Optimize a bit.
81786 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81788         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81790 2011-03-03  Roland McGrath  <roland@redhat.com>
81792         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81794 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81796         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81797         __bzero_ultra1 instead of __memset_ultra1.
81799 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81800             Ulrich Drepper  <drepper@gmail.com>
81802         [BZ #12509]
81803         * include/link.h (struct link_map): Add l_orig_initfini.
81804         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81805         returning unsuccessfully.
81806         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81807         close of a file loaded at startup, restore the original l_initfini
81808         list.
81809         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81810         list, store the pointer.
81811         * elf/Makefile ($(objpfx)noload-mem): New rule.
81812         (noload-ENV): Define.
81813         (tests): Add $(objpfx)noload-mem.
81814         * elf/noload.c: Include <memcheck.h>.
81815         (main): Call mtrace.  Close all opened handles.
81817 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81819         [BZ #12454]
81820         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81821         dependencies are missing.
81823 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81825         Fix __if_freereq crash: Unlike the generic version which uses free,
81826         Hurd needs munmap.
81827         * sysdeps/mach/hurd/ifreq.h: New file.
81829 2011-01-27  Petr Baudis  <pasky@suse.cz>
81830             Ulrich Drepper  <drepper@gmail.com>
81832         [BZ 12445]#
81833         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81834         to extend_alloca().
81835         * stdio-common/bug23.c: New file.
81836         * stdio-common/Makefile (tests): Add bug23.
81838 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81839             Ulrich Drepper  <drepper@gmail.com>
81841         [BZ #12489]
81842         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81843         before performing relro protection.  At old place add assertion
81844         to make sure nothing changed.
81846 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81847             Glauber de Oliveira Costa  <glommer@gmail.com>
81849         * elf/elf.h: Add new ARM TLS relocs.
81851 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81854         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81855         cast from r3.
81856         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81857         'tests' variable.
81858         * sysdeps/wordsize-64/tst-writev.c: New file.
81860 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81862         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81863         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81864         insns in _dl_start to prevent a TOC reference before relocs are
81865         resolved.
81867 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81869         [BZ #12469]
81870         * Makeconfig: Remove RANLIB definition.
81871         * Makerules: Don't use RANLIB.
81872         * aclocal.m4: Remove ranlib test.
81873         * configure.in: No need to check for ranlib.
81874         * elf/rtld-Rules: Don't use RANLIB.
81876 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81878         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81879         protection macro.
81880         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81881         inclusion protection macro.
81883         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81884         SIGRTMIN and SIGRTMAX and print information in that case only when
81885         SIGRTMIN is defined.
81887 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81889         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81890         arginfo fn returning -1.
81892         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81893         and thousands string is zero terminated.
81895 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81898         sysdeps/unix/sysv/linux/bits/socket.h.
81900 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81902         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81903         (__CPU_COUNT): Remove old macros.
81904         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81905         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81906         (__CPU_ALLOC, __CPU_FREE): Add macros.
81907         (__sched_cpualloc, __sched_cpufree): Add declarations.
81909 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81911         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81912         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81913         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81914         (readdhstai): Return value of addhstaiX call.
81915         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81916         (addgrbyX): Return value returned by cache_addgr.
81917         (readdgrbyname): Return value returned by addgrbyX.
81918         (readdgrbygid): Likewise.
81919         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81920         (addpwbyX): Return value returned by cache_addpw.
81921         (readdpwbyname): Return value returned by addhstbyX.
81922         (readdpwbyuid): Likewise.
81923         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81924         (addservbyX): Return value returned by cache_addserv.
81925         (readdservbyname): Return value returned by addservbyX:
81926         (readdservbyport): Likewise.
81927         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81928         (addhstbyX): Return value returned by cache_addhst.
81929         (readdhstbyname): Return value returned by addhstbyX.
81930         (readdhstbyaddr): Likewise.
81931         (readdhstbynamev6): Likewise.
81932         (readdhstbyaddrv6): Likewise.
81933         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81934         (readdinitgroups): Return value returned by addinitgroupsX.
81935         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81936         (prune_cache): Keep track of timeout value of re-added entries.
81937         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81938         * nscd/nscd.h: Adjust prototypes of readd* functions.
81940 2011-02-04  Roland McGrath  <roland@redhat.com>
81942         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81943         (nis_stats): Likewise.
81944         * nis/nis_modify.c (nis_modify): Likewise.
81945         * nis/nis_remove.c (nis_remove): Likewise.
81946         * nis/nis_add.c (nis_add): Likewise.
81948         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81950         * posix/fnmatch_loop.c: Add some consts.
81952         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81954 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81956         [BZ #12460]
81957         * config.make.in (config-cflags-novzeroupper): Define.
81958         * configure.in: Substitute libc_cv_cc_novzeroupper.
81959         * elf/Makefile (AVX-CFLAGS): Define.
81960         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81961         (CFLAGS-tst-auditmod4a.c): Likewise.
81962         (CFLAGS-tst-auditmod4b.c): Likewise.
81963         (CFLAGS-tst-auditmod6b.c): Likewise.
81964         (CFLAGS-tst-auditmod6c.c): Likewise.
81965         (CFLAGS-tst-auditmod7b.c): Likewise.
81966         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81968 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81970         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81971         function to the callback.
81972         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81974 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81976         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81977         of errno.
81979 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81981         [BZ #11724]
81982         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81983         of constructors.
81984         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81985         of destructors.
81986         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81988         [BZ #11724]
81989         * elf/Makefile: Add rules to build and run new test.
81990         * elf/tst-initorder.c: New file.
81991         * elf/tst-initorder.exp: New file.
81992         * elf/tst-initordera1.c: New file.
81993         * elf/tst-initordera2.c: New file.
81994         * elf/tst-initordera3.c: New file.
81995         * elf/tst-initordera4.c: New file.
81996         * elf/tst-initorderb1.c: New file.
81997         * elf/tst-initorderb2.c: New file.
81998         * elf/tst-order-a1.c: New file.
81999         * elf/tst-order-a2.c: New file.
82000         * elf/tst-order-a3.c: New file.
82001         * elf/tst-order-a4.c: New file.
82002         * elf/tst-order-b1.c: New file.
82003         * elf/tst-order-b2.c: New file.
82004         * elf/tst-order-main.c: New file.
82005         New test case by George Gensure <werkt0@gmail.com>.
82007 2010-10-01  Andreas Schwab  <schwab@redhat.com>
82009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82010         decoding ACE if AI_CANONIDN.
82012 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
82014         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82016 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
82018         * version.h (RELEASE): Bump for 2.13 release.
82019         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82021         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82023         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82024         MADV_NOHUGEPAGE.
82025         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82026         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82027         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82029         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82032         * posix/getconf.c: Update copyright year.
82033         * catgets/gencat.c: Likewise.
82034         * csu/version.c: Likewise.
82035         * debug/catchsegv.sh: Likewise.
82036         * debug/xtrace.sh: Likewise.
82037         * elf/ldconfig.c: Likewise.
82038         * elf/ldd.bash.in: Likewise.
82039         * elf/sprof.c (print_version): Likewise.
82040         * iconv/iconv_prog.c: Likewise.
82041         * iconv/iconvconfig.c: Likewise.
82042         * locale/programs/locale.c: Likewise.
82043         * locale/programs/localedef.c: Likewise.
82044         * malloc/memusage.sh: Likewise.
82045         * malloc/mtrace.pl: Likewise.
82046         * nscd/nscd.c (print_version): Likewise.
82047         * nss/getent.c: Likewise.
82049         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82050         PF_CAIF, and PF_ALG.
82051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82053 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82055         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82056         (modules-names): Use them.
82057         (ifunc-test-modules, ifunc-pie-tests): Define.
82058         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82059         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82060         (test-extras): Likewise.
82061         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82062         $(compile-command.c).
82063         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82064         (all-built-dso): Define.
82065         (check-textrel.out, check-execstack.out): Depend on it.
82067         * configure.in: Don't override --enable-multi-arch.
82069 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82071         [BZ #6812]
82072         * nscd/hstcache.c (tryagain): Define.
82073         (cache_addhst): Return tryagain not notfound for temporary errors.
82074         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82075         failed.
82077 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82079         [BZ #10563]
82080         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82081         to make the syscall.
82082         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82084         [BZ #12378]
82085         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82086         and fall back to matching as normal character if the string ends before
82087         the matching ']' is found.  This is what POSIX requires.
82088         * posix/testfnm.c: Adjust test result.
82089         * posix/globtest.sh: Adjust test result.  Add new test.
82090         * posix/tst-fnmatch.input: Likewise.
82091         * posix/tst-fnmatch2.c: Add new test.
82093 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82095         * elf/Makefile (check-execstack): Revert last change.  Depend on
82096         check-execstack.h.
82097         (check-execstack.h): New target.
82098         (generated): Add check-execstack.h.
82099         * elf/check-execstack.c: Include "check-execstack.h".
82100         (main): Revert last change.
82101         (handle_file): Return zero if GNU_STACK is absent and
82102         DEFAULT_STACK_PERMS doesn't include PF_X.
82104 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82106         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82107         in child fails because the descriptor is already closed.
82108         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82109         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82110         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82112         [BZ #12397]
82113         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82114         syscall.
82116         [BZ #10484]
82117         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82118         temporary buffer used to handle multi lookups locally.
82119         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82121 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82123         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82124         loader is ld.so.
82126 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82128         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82129         alignment for SSE2.
82131 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82133         [BZ #12394]
82134         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82135         characters.  When rounding increased number of integer digits recompute
82136         number of groups.
82137         * stdio-common/tst-grouping.c: New file.
82138         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82140 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82142         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82143         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82145         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82146         void.
82147         * bits/select.h: Likewise.
82149 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82151         * po/ja.po: Update from translation team.
82153 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82155         [BZ #11155]
82156         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82157         implementation just like for lxstat, fxstatat, et al.
82159 2010-12-27  Jim Meyering  <meyering@redhat.com>
82161         [BZ #12348]
82162         * posix/regexec.c (build_trtable): Return failure indication upon
82163         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82165 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82167         [BZ #12201]
82168         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82169         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82170         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82171         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82173         [BZ #12207]
82174         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82176         [BZ #12204]
82177         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82178         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82180 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82182         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82183         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82184         script has SORT_BY_INIT_PRIORITY.
82185         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82186         NO_CTORS_DTORS_SECTIONS is defined.
82187         * elf/soinit.c: Likewise.
82188         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82189         NO_CTORS_DTORS_SECTIONS is defined.
82190         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82191         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82192         * sysdeps/sh/init-first.c: Likewise.
82193         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82195 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82197         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82198         always use the slow path.
82200 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82202         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82203         similar rule which adds the sysdep directories to the header search in
82204         order to pick up the correct platform stackinfo.h.
82205         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82206         perform test if it is, otherwise return successfully without testing.
82207         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82208         DEFAULT_STACK_PERMS define in stackinfo.h.
82209         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82210         defined in stackinfo.h.
82211         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82212         DEFAULT_STACK_PERMS defined in stackinfo.h.
82213         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82214         * sysdeps/ia64/stackinfo.h: Likewise.
82215         * sysdeps/s390/stackinfo.h: Likewise.
82216         * sysdeps/sh/stackinfo.h: Likewise.
82217         * sysdeps/sparc/stackinfo.h: Likewise.
82218         * sysdeps/x86_64/stackinfo.h: Likewise.
82219         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82220         PF_X for powerpc64.  Retain PF_X for powerpc32.
82222 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82224         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82225         accurately.
82226         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82227         GETDENTS_64BIT_ALIGNED.
82229 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82231         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82233 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82235         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82236         _GNU_SOURCE.
82238         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82239         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82240         Remove __restrict.
82241         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82242         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82244 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82246         [BZ #11655]
82247         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82248         are initialized.
82250 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82252         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82254 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82256         * po/it.po: Update from translation team.
82258 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82261         unused codes.
82263 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82265         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82267 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82269         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82270         specially.
82271         (gaih_getanswer_slice): Likewise.
82273 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82277 2010-05-31  Petr Baudis  <pasky@suse.cz>
82279         [BZ #11149]
82280         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82281         silently even in the chroot mode.
82283 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82285         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82286         last patch a bit.  Pretty printing
82288 2010-05-31  Petr Baudis <pasky@suse.cz>
82290         [BZ #10085]
82291         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82292         initialization of skip_initgroups_dyn.
82294 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82296         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82297         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82299 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82301         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82303 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82305         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82306         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82307         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82308         ($(objpfx)tst-fnmatch-mem): New rule.
82309         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82310         * posix/tst-fnmatch.c (main): Call mtrace.
82312 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82315         Support Intel processor model 6 and model 0x2c.
82317 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82319         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82320           signed comparison.
82322 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82324         [BZ #12205]
82325         * string/test-strncasecmp.c (check_result): New function.
82326         (do_one_test): Use it.
82327         (check1): New function.
82328         (test_main): Use it.
82329         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82330         Support strcasecmp and strncasecmp.
82332 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82334         [BZ #12194]
82335         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82336         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82338 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82340         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82341         IFUNC support.
82342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82343         memset-x86-64.
82344         * sysdeps/x86_64/multiarch/bzero.S: New file.
82345         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82346         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82347         * sysdeps/x86_64/multiarch/memset.S: New file.
82348         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82350         Set bit_Prefer_SSE_for_memop for Intel processors.
82351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82352         Define.
82353         (index_Prefer_SSE_for_memop): Define.
82354         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82356 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82358         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82359         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82361 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82363         [BZ #12191]
82364         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82365         (__x86_64_raw_data_cache_size_half): Likewise.
82366         (__x86_64_raw_shared_cache_size): Likewise.
82367         (__x86_64_raw_shared_cache_size_half): Likewise.
82369         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82370         (__x86_64_raw_data_cache_size_half): Likewise.
82371         (__x86_64_raw_shared_cache_size): Likewise.
82372         (__x86_64_raw_shared_cache_size_half): Likewise.
82373         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82374         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82375         and __x86_64_raw_shared_cache_size_half.  Round
82376         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82377         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82378         to multiple of 256 bytes.
82380 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82382         [BZ #12167]
82383         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82384         of inacessible symlinks.  Verify result of symlink before returning it.
82385         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82386         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82388 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82390         * math/math.h (isinf): Fix typo in comment.
82392 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82394         * po/da.po: Update from translation team.
82396 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82398         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82399         is added to the list.
82401 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82402             Ulrich Drepper  <drepper@gmail.com>
82404         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82405         the global list here.  Move code to...
82406         (_dl_add_to_namespace_list): ...here.  New function.
82407         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82408         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82409         * elf/dl-load.c (lose): Don't remove the element from the list.
82410         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82411         (_dl_map_object): Likewise.
82413 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82415         [BZ #12159]
82416         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82417         into all bytes of SSE register.
82418         Patch by Richard Li <richardpku@gmail.com>.
82420 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82422         [BZ #12140]
82423         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82424         perturbing.
82426 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82428         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82429         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82430         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82431         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82433         submachine.
82434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82436 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82438         * include/dlfcn.h (__RTLD_SECURE): Define.
82439         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82440         mode & __RTLD_SECURE instead.
82441         (open_path): Rename preloaded parameter to secure.
82442         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82443         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82444         * elf/dl-deps.c (openaux): Likewise.
82445         * elf/rtld.c (struct map_args): Remove is_preloaded.
82446         (map_doit): Don't use it.
82447         (dl_main): Likewise.
82448         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82449         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82451 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82453         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82454         (sysd-rules-targets): Remove duplicates.
82455         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82456         rtld-%.$o dependency.
82458 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82460         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82461         _dl_map_object do it.
82463 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82465         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82466         fast fma builtins, define the macros in the C99 standard.
82467         (FP_FAST_FMAF): Likewise.
82468         (FP_FAST_FMAL): Likewise.
82469         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82471         * bits/mathdef.h: Update copyright year.
82472         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82474 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82476         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82477         builtins, define the macros in the C99 standard.
82478         (FP_FAST_FMAF): Likewise.
82479         (FP_FAST_FMAL): Likewise.
82480         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82481         multiply/add.
82482         (FP_FAST_FMAF): Likewise.
82484 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82486         [BZ #3268]
82487         * math/libm-test.inc (fma_test): Some new testcases.
82488         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82489         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82490         y and infinite z.  Do multiplication by C already in long double.
82491         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82493         y and infinite z.  Do bitwise or of inexact bit into u.d.
82494         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82495         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82496         * sysdeps/i386/fpu/s_fma.S: Removed.
82497         * sysdeps/i386/fpu/s_fmal.S: Removed.
82499 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82501         [BZ #3268]
82502         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82504         computation is not scheduled after fetestexcept.  Fix value
82505         of minimum denormal long double.
82507 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82509         [BZ #3268]
82510         * math/libm-test.inc (fma_test): Add some more tests.
82511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82512         correctly.
82514 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82516         * scripts/data/localplt-s390-linux-gnu.data: New file.
82517         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82519 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82521         [BZ #3268]
82522         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82523         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82524         instead of dbl-64.
82525         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82526         inlines.
82527         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82529         if one of x and y is very large and the other is subnormal.
82530         * sysdeps/s390/fpu/s_fmaf.c: New file.
82531         * sysdeps/s390/fpu/s_fma.c: New file.
82532         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82533         * sysdeps/powerpc/fpu/s_fma.S: New file.
82534         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82535         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82536         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82538 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82540         [BZ #3268]
82541         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82542         fma tests.
82543         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82544         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82545         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82546         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82547         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82548         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82549         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82551 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82553         [BZ #12078]
82554         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82555         * posix/bug-regex31.input: Add test case.
82557 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82559         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82560         * posix/bug-regex31.input: New file.
82562         [BZ #12078]
82563         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82564         (parse_sub_exp): Fix last change, use postorder.
82566         * posix/bug-regex31.c: New file.
82567         * posix/Makefile: Add rules to build and run bug-regex31.
82569         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82571         [BZ #12078]
82572         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82574         [BZ #12108]
82575         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82576         to have entries in sys_siglist.
82578         [BZ #12093]
82579         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82580         be NULL.
82582 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82584         [BZ #3268]
82585         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82586         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82587         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82588         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82589         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82590         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82591         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82592         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82593         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82594         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82595         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82596         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82597         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82598         * math/ftestexcept.c (fetestexcept): Likewise.
82599         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82600         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82601         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82602         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82603         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82604         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82605         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82607 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82609         [BZ #12107]
82610         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82611         newline.
82613 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82615         * string/bug-strstr1.c: New file.
82616         * string/Makefile: Add rules to build and run bug-strstr1.
82618 2010-10-05  Eric Blake  <eblake@redhat.com>
82620         [BZ #12092]
82621         * string/str-two-way.h (two_way_long_needle): Always clear memory
82622         when skipping input due to the shift table.
82624 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82626         [BZ #12005]
82627         * malloc/mcheck.c: Handle large requests.
82629         [BZ #12077]
82630         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82631         for strncmp and strncasecmp.
82632         * string/stratcliff.c: Add tests for strcmp and strncmp.
82633         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82635 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82637         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82638         __set_fpscr.
82640 2010-09-30  Andreas Jaeger  <aj@suse.de>
82642         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82643         (CGROUP_SUPER_MAGIC): Define.
82644         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82645         Handle btrfs and cgroup file systems.
82646         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82647         Likewise.
82649 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82651         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82652         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82654 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82656         [BZ #12067]
82657         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82658         trying to locate the ELF header.
82660 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82662         [BZ #11611]
82663         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82664         Mask out sign-bit copies when constructing f_fsid.
82666 2010-09-24  Petr Baudis <pasky@suse.cz>
82668         * debug/stack_chk_fail_local.c: Add missing licence exception.
82669         * debug/warning-nop.c: Likewise.
82671 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82673         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82674         implementing getdents64 using getdents syscall, set d_type if
82675         __ASSUME_GETDENTS32_D_TYPE.
82677 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82679         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82680         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82682 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82684         [BZ #12037]
82685         * posix/unistd.h: Undo change of feature selection for ftruncate from
82686         2010-01-11.
82688 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82690         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82691         detection.
82693 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82695         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82696         fanotify_mark.
82697         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82699 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82701         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82702         variables after CHECK_SP call.
82703         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82705 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82706             Ulrich Drepper  <drepper@redhat.com>
82708         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82709         re-relocationg ld.so.
82710         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82711         _dl_init_paths call.
82712         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82713         here anymore.
82715 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82717         * resolv/res_init.c (__res_vinit): Count the default server we added.
82719 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82720             Ulrich Drepper  <drepper@redhat.com>
82722         [BZ #11968]
82723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82724         (____longjmp_chk): Use %ebx for saving value across system call.
82725         Add unwind info.
82727 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82729         * manual/Makefile: Don't mix pattern rules with normal rules.
82731 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82733         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82734         operation.
82735         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82736         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82737         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82738         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82740         Likewise.
82742 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82744         [BZ #11979]
82745         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82746         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82748 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82750         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82751         * sysdeps/x86_64/addmul_1.S: Likewise.
82752         * sysdeps/x86_64/lshift.S: Likewise.
82753         * sysdeps/x86_64/mul_1.S: Likewise.
82754         * sysdeps/x86_64/rshift.S: Likewise.
82755         * sysdeps/x86_64/sub_n.S: Likewise.
82756         * sysdeps/x86_64/submul_1.S: Likewise.
82758 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82760         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82761         Define __sched_param instead of SCHED_* and sched_param when
82762         <bits/sched.h> is included with __need_schedparam defined.
82763         * bits/sched.h [__need_schedparam]
82764         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82765         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82766         (__defined_schedparam): Define to 1.
82767         (__sched_param): New structure, identical to sched_param.
82768         (__need_schedparam): Undefine.
82770 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82772         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82773         (epoll_create1): Declare.
82775         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82777 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82779         [BZ #7066]
82780         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82781         shifting retval into place.
82783 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82785         * nis/rpcsvc/nis.h: Update copyright notice.
82786         * nis/rpcsvc/nis.x: Likewise.
82787         * nis/rpcsvc/nis_callback.h: Likewise.
82788         * nis/rpcsvc/nis_callback.x: Likewise.
82789         * nis/rpcsvc/nis_object.x: Likewise.
82790         * nis/rpcsvc/nis_tags.h: Likewise.
82791         * nis/rpcsvc/yp.h: Likewise.
82792         * nis/rpcsvc/yp.x: Likewise.
82793         * nis/rpcsvc/ypupd.h: Likewise.
82794         * nis/yp_xdr.c: Likewise.
82795         * nis/ypupdate_xdr.c: Likewise.
82797         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82798         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82799         (pmap_getport): Use __libc_rpc_getport.
82800         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82801         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82802         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82804 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82807         fanotify_mark.
82809 2010-08-27  Roland McGrath  <roland@redhat.com>
82811         * sysdeps/i386/i686/multiarch/Makefile
82812         (CFLAGS-varshift.c): New variable.
82814 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82816         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82817         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82819         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82821         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82823 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82825         * sysdeps/x86_64/strlen.S: Unroll the loop.
82826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82827         strlen-sse2 strlen-sse2-bsf.
82828         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82829         __strlen_no_bsf if bit_Slow_BSF is set.
82830         (__strlen_sse42): Removed.
82831         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82832         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82834 2010-08-25  Roland McGrath  <roland@redhat.com>
82836         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82837         * sysdeps/x86_64/multiarch/varshift.c: New file.
82838         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82839         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82840         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82841         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82843 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82846         strlen-sse2 strlen-sse2-bsf.
82847         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82848         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82849         (__strlen_sse2): Removed.
82850         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82851         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82853         bit_Slow_BSF for Atom.
82854         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82855         (index_Slow_BSF): Define.
82856         (HAS_SLOW_BSF): Define.
82858 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82860         [BZ #10851]
82861         * resolv/res_init.c (__res_vinit): When no server address at all
82862         is given default to loopback.
82864 2010-08-24  Roland McGrath  <roland@redhat.com>
82866         * configure.in: Remove config-name.h generation.
82867         * configure: Regenerated.
82868         * config-name.in: File removed.
82869         * scripts/config-uname.sh: New file.
82870         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82871         ($(objdir)config-name.h): New target.
82873         * sunrpc/rpc_parse.h: Avoid nested comment.
82875 2010-08-24  Richard Henderson  <rth@redhat.com>
82876             Ulrich Drepper  <drepper@redhat.com>
82877             H.J. Lu  <hongjiu.lu@intel.com>
82879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82881         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82882         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82883         _mm_alignr_epi8 with _mm_loadu_si128.
82884         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82885         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82886         (__m128i_shift_right): Removed.
82887         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82888         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82889         * sysdeps/x86_64/multiarch/varshift.h: New file.
82890         * sysdeps/x86_64/multiarch/varshift.S: New file.
82892 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82894         * configure.in: Move assembler checks to before sysdep dir checking.
82896 2010-08-20  Petr Baudis  <pasky@suse.cz>
82898         * LICENSES: Sync the sunrpc license.
82900 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82902         * sunrpc/auth_des.c: Update copyright notice once again.
82903         * sunrpc/auth_none.c: Likewise.
82904         * sunrpc/auth_unix.c: Likewise.
82905         * sunrpc/authdes_prot.c: Likewise.
82906         * sunrpc/authuxprot.c: Likewise.
82907         * sunrpc/bindrsvprt.c: Likewise.
82908         * sunrpc/clnt_gen.c: Likewise.
82909         * sunrpc/clnt_perr.c: Likewise.
82910         * sunrpc/clnt_raw.c: Likewise.
82911         * sunrpc/clnt_simp.c: Likewise.
82912         * sunrpc/clnt_tcp.c: Likewise.
82913         * sunrpc/clnt_udp.c: Likewise.
82914         * sunrpc/clnt_unix.c: Likewise.
82915         * sunrpc/des_crypt.c: Likewise.
82916         * sunrpc/des_soft.c: Likewise.
82917         * sunrpc/get_myaddr.c: Likewise.
82918         * sunrpc/getrpcport.c: Likewise.
82919         * sunrpc/key_call.c: Likewise.
82920         * sunrpc/key_prot.c: Likewise.
82921         * sunrpc/openchild.c: Likewise.
82922         * sunrpc/pm_getmaps.c: Likewise.
82923         * sunrpc/pm_getport.c: Likewise.
82924         * sunrpc/pmap_clnt.c: Likewise.
82925         * sunrpc/pmap_prot.c: Likewise.
82926         * sunrpc/pmap_prot2.c: Likewise.
82927         * sunrpc/pmap_rmt.c: Likewise.
82928         * sunrpc/rpc/auth.h: Likewise.
82929         * sunrpc/rpc/auth_unix.h: Likewise.
82930         * sunrpc/rpc/clnt.h: Likewise.
82931         * sunrpc/rpc/des_crypt.h: Likewise.
82932         * sunrpc/rpc/key_prot.h: Likewise.
82933         * sunrpc/rpc/netdb.h: Likewise.
82934         * sunrpc/rpc/pmap_clnt.h: Likewise.
82935         * sunrpc/rpc/pmap_prot.h: Likewise.
82936         * sunrpc/rpc/pmap_rmt.h: Likewise.
82937         * sunrpc/rpc/rpc.h: Likewise.
82938         * sunrpc/rpc/rpc_des.h: Likewise.
82939         * sunrpc/rpc/rpc_msg.h: Likewise.
82940         * sunrpc/rpc/svc.h: Likewise.
82941         * sunrpc/rpc/svc_auth.h: Likewise.
82942         * sunrpc/rpc/types.h: Likewise.
82943         * sunrpc/rpc/xdr.h: Likewise.
82944         * sunrpc/rpc_clntout.c: Likewise.
82945         * sunrpc/rpc_cmsg.c: Likewise.
82946         * sunrpc/rpc_common.c: Likewise.
82947         * sunrpc/rpc_cout.c: Likewise.
82948         * sunrpc/rpc_dtable.c: Likewise.
82949         * sunrpc/rpc_hout.c: Likewise.
82950         * sunrpc/rpc_main.c: Likewise.
82951         * sunrpc/rpc_parse.c: Likewise.
82952         * sunrpc/rpc_parse.h: Likewise.
82953         * sunrpc/rpc_prot.c: Likewise.
82954         * sunrpc/rpc_sample.c: Likewise.
82955         * sunrpc/rpc_scan.c: Likewise.
82956         * sunrpc/rpc_scan.h: Likewise.
82957         * sunrpc/rpc_svcout.c: Likewise.
82958         * sunrpc/rpc_tblout.c: Likewise.
82959         * sunrpc/rpc_util.c: Likewise.
82960         * sunrpc/rpc_util.h: Likewise.
82961         * sunrpc/rpcinfo.c: Likewise.
82962         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82963         * sunrpc/rpcsvc/key_prot.x: Likewise.
82964         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82965         * sunrpc/rpcsvc/mount.x: Likewise.
82966         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82967         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82968         * sunrpc/rpcsvc/rex.x: Likewise.
82969         * sunrpc/rpcsvc/rstat.x: Likewise.
82970         * sunrpc/rpcsvc/rusers.x: Likewise.
82971         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82972         * sunrpc/rpcsvc/spray.x: Likewise.
82973         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82974         * sunrpc/rtime.c: Likewise.
82975         * sunrpc/svc.c: Likewise.
82976         * sunrpc/svc_auth.c: Likewise.
82977         * sunrpc/svc_authux.c: Likewise.
82978         * sunrpc/svc_raw.c: Likewise.
82979         * sunrpc/svc_run.c: Likewise.
82980         * sunrpc/svc_simple.c: Likewise.
82981         * sunrpc/svc_tcp.c: Likewise.
82982         * sunrpc/svc_udp.c: Likewise.
82983         * sunrpc/svc_unix.c: Likewise.
82984         * sunrpc/svcauth_des.c: Likewise.
82985         * sunrpc/xcrypt.c: Likewise.
82986         * sunrpc/xdr.c: Likewise.
82987         * sunrpc/xdr_array.c: Likewise.
82988         * sunrpc/xdr_float.c: Likewise.
82989         * sunrpc/xdr_mem.c: Likewise.
82990         * sunrpc/xdr_rec.c: Likewise.
82991         * sunrpc/xdr_ref.c: Likewise.
82992         * sunrpc/xdr_sizeof.c: Likewise.
82993         * sunrpc/xdr_stdio.c: Likewise.
82995         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82996         handling.
82998 2010-08-19  Andreas Schwab  <schwab@redhat.com>
83000         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83002 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
83004         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83005         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83006         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83007         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83008         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83009         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83010         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83011         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83013         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83014         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83015         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83016         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83017         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83019 2010-07-26  Anton Blanchard  <anton@samba.org>
83021         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83022         * malloc/arena.c (heap_trim): Likewise.
83024 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
83026         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83027         here.  Not...
83028         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83029         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83031 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
83033         * sysdeps/i386/elf/Makefile: New file.
83035 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83037         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83038         from fanotify_init.
83039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83042 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83044         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83045         of strncasecmp_l.
83046         * sysdeps/multiarch/strcmp.S: Likewise.
83048 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83050         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83051         strncase_l-nonascii.
83052         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83053         Add strncase_l-ssse3.
83054         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83055         * sysdeps/x86_64/strcmp.S: Likewise.
83056         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83057         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83058         * sysdeps/x86_64/strncase.S: New file.
83059         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83060         * sysdeps/x86_64/strncase_l.S: New file.
83061         * string/Makefile (strop-tests): Add strncasecmp.
83062         * string/test-strncasecmp.c: New file.
83064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83065         warning.
83067         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83068         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83070 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83072         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83074 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83076         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83077         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83078         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83080 2010-05-01  Alan Modra  <amodra@gmail.com>
83082         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83083         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83084         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83085         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83086         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83087         tidying.  Don't tail-call __sigjmp_save for static lib.
83088         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83089         save location.
83090         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83091         (CALL_MCOUNT): Add eh info, and nop after bl.
83092         (TAIL_CALL_SYSCALL_ERROR): New macro.
83093         (PSEUDO_RET): Use it.
83094         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83095         Correct save location of integer regs and cr.
83096         (_dl_profile_resolve): Correct cr save location.  Delete nops
83097         after bl when SHARED.  Reduce cfi size a little by better
83098         placement of cfi directives.
83099         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83100         make a stack frame.  Instead use parm save area as a temp.
83101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83102         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83104         Don't make a stack frame for parent, use parm save area.
83105         Increase child stack frame to 112 bytes.  Don't save unused reg,
83106         and adjust reg usage.  Set up cfi on error recovery and
83107         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83109         (__makecontext): Add dummy nop after jump to exit.
83110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83111         Use correct parm save area and cr save, reduce stack frame.
83112         Correct cfi for possible PSEUDO_RET frame setup.
83113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83114         Branch to local label emitted by PSEUDO_RET rather than
83115         __syscall_error.
83117 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83119         [BZ #11904]
83120         * locale/programs/locale.c (print_assignment): New function.
83121         (show_locale_vars): Use it.
83123 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83125         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83126         field.
83127         (struct statfs64): Likewise.
83128         (_STATFS_F_FLAGS): Define.
83129         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83131         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83132         (ST_VALID): Define locally.
83133         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83134         __statvfs_getflags, use the provided value.
83135         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83136         __ASSUME_STATFS_F_FLAGS.
83138         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83140         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83141         Add sys/fanotify.h.
83142         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83143         fanotify_mask for GLIBC_2.13.
83144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83145         fanotify_init and fanotify_mark.
83146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83147         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83149         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83150         Add prlimit.
83151         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83152         prlimit64 for GLIBC_2.13.
83153         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83154         prlimit64.
83155         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83156         syscall.
83157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83158         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83159         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83161         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83162         add prlimit alias.
83163         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83165         [BZ #11903]
83166         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83167         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83169         * nss/Makefile: Add rules to build and run tst-nss-test1.
83170         * shlib-versions: Add entry for libnss_test1.
83171         * nss/nss_test1.c: New file.
83172         * nss/tst-nss-test1.c: New file.
83174         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83175         (__nss_configure_lookup): Set appropriate entry in
83176         __nss_configure_lookup to true.
83177         * nss/nsswitch.h: Define enum with indeces of databases in
83178         databases and __nss_database_custom arrays.  Declare
83179         __nss_database_custom.
83180         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83181         to avoid using nscd when custom rules are installed.
83182         * nss/getXXbyYY_r.c: Likewise.
83183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83185         * nss/nss_files/files-parse.c: Whitespace fixes.
83187 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83189         [BZ #11883]
83190         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83191         * posix/fnmatch_loop.c: Likewise.
83193 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83195         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83196         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83197         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83198         * Versions.def [GLIBC_2.13]: Add.
83200 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83202         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83203         Also fail if tpwd after pwuid call is NULL.
83205 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83207         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83208         when converting to ms.
83210 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83212         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83213         EOPNOTSUPP errors with ENOTTY.
83214         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83215         EOPNOTSUPP errors with ENOTTY.
83217 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83219         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83220         Add strcasecmp_l-ssse3.
83221         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83222         strcasecmp.
83223         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83224         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83225         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83227 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83229         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83231         * string/Makefile (strop-tests): Add strcasecmp.
83232         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83233         strcasecmp_l-nonascii.
83234         (gen-as-const-headers): Add locale-defines.sym.
83235         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83236         * sysdeps/x86_64/strcasecmp.S: New file.
83237         * sysdeps/x86_64/strcasecmp_l.S: New file.
83238         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83239         * sysdeps/x86_64/locale-defines.sym: New file.
83240         * string/test-strcasecmp.c: New file.
83242         * string/test-strcasestr.c: Test both ends of the range of characters.
83243         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83245 2010-07-29  Roland McGrath  <roland@redhat.com>
83247         [BZ #11856]
83248         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83250 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83252         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83253         for ld.so.
83255 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83257         * manual/memory.texi (Malloc Tunable Parameters): Document
83258         M_PERTURB.
83260 2010-07-26  Roland McGrath  <roland@redhat.com>
83262         [BZ #11840]
83263         * configure.in (-fgnu89-inline check): Set and substitute
83264         gnu89_inline, not libc_cv_gnu89_inline.
83265         * configure: Regenerated.
83266         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83268 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83270         * string/test-strnlen.c: New file.
83271         * string/Makefile (strop-tests): Add strnlen.
83272         * string/tester.c (test_strnlen): Add a few more test cases.
83273         * string/tst-strlen.c: Better error reporting.
83275         * sysdeps/x86_64/strnlen.S: New file.
83277 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83279         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83280         lower-latency instructions.
83282 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83284         * string/test-strcasestr.c: New file.
83285         * string/test-strstr.c: New file.
83286         * string/Makefile (strop-tests): Add strstr and strcasestr.
83287         * string/str-two-way.h: Don't undefine MAX.
83288         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83290 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83293         strcasestr-nonascii.
83294         (CFLAGS-strcasestr-nonascii.c): Define.
83295         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83296         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83297         Remove unused attribute.
83299 2010-07-20  Roland McGrath  <roland@redhat.com>
83301         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83302         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83303         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83304         like LD_HWCAP_MASK can disable hwcaps.
83306 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83308         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83310 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83312         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83313         call in strcasestr.
83314         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83315         __strcasestr_sse42_nonascii.
83316         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83317         strcasestr-nonascii.c.
83318         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83320 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83322         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83323         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83324         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83325         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83327 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83329         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83330         fcntl.
83332 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83334         [BZ #11577]
83335         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83336         dl_signal_cerror.
83338 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83340         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83341         _PC_PIPE_BUF using F_GETPIPE_SZ.
83343 2010-07-05  Roland McGrath  <roland@redhat.com>
83345         * manual/arith.texi (Rounding Functions): Fix rint description
83346         implicit in round description.
83348 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83350         * elf/Makefile: Fix linking for a few tests to make recent linker
83351         happy.
83353 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83355         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83356         $(common-objpfx)libc_nonshared.a.
83358 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83360         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83361         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83362         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83363         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83364         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83365         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83366         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83367         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83382         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83383         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83384         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83385         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83386         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83387         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83388         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83389         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83390         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83391         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83392         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83393         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83409 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83411         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83412         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83413         * string/memmove.c (memmove): Renamed to ...
83414         (MEMMOVE): ...this.  Default to memmove.
83415         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83416         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83417         (END_CHK): Define.
83418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83419         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83420         mempcpy-ssse3-back memmove-ssse3-back.
83421         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83423         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83424         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83425         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83426         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83427         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83428         * sysdeps/x86_64/multiarch/memmove.c: New file.
83429         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83430         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83431         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83432         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83433         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83434         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83435         Define.
83436         (index_Fast_Copy_Backward): Define.
83437         (HAS_ARCH_FEATURE): Define.
83438         (HAS_FAST_REP_STRING): Define.
83439         (HAS_FAST_COPY_BACKWARD): Define.
83441 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83443         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83444         Restore proper fallback handling.
83446 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83448         [BZ #11701]
83449         * posix/group_member.c (__group_member): Correct checking loop.
83451         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83452         OOM in getpwuid_r correctly.  Return error number when the caller
83453         should return, otherwise -1.
83454         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83455         call returning > 0 value.
83456         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83458 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83460         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83461         libc_nonshared.a from targets in modules-names.
83463 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83465         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83466         requires it.
83468 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83471         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83472         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83473         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83475 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83477         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83479 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83481         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83482         and F_GETPIPE_SZ.
83483         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83487         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83488         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83490 2010-06-14  Roland McGrath  <roland@redhat.com>
83492         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83494 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83496         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83497         __REDIRECT followed by __THROW.
83498         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83499         * posix/getopt.h (getopt): Likewise.
83501 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83503         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83504         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83505         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83506         in AT_FLAGS.
83507         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83508         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83510 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83514 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83516         [BZ #11640]
83517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83518         Properly check family and model.
83520 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83522         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83524 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83526         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83528 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83530         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83531         symbol reference.
83533 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83535         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83536         symbol reference.
83538 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83540         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83541         and internal_recvmmsg.
83542         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83543         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83544         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83545         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83547         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83548         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83549         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83551 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83553         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83555 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83557         POWER7 optimizations.
83558         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83559         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83561 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83563         * version.h: Update for 2.13 development version.
83565 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83567         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83568         exceptions.  Return 0.
83570 2010-05-07  Roland McGrath  <roland@redhat.com>
83572         * elf/ldconfig.c (main): Add a const.
83574 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83576         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83577         (args_options): Add no-idn option.
83578         (ahosts_keys_int): Add idn_flags to ai_flags.
83579         (parse_option): Handle 'i' option to clear idn_flags.
83581         * malloc/malloc.c (_int_free): Possible race in the most recently
83582         added check.  Only act on the data if no current modification
83583         happened.
83585 See ChangeLog.17 for earlier changes.